API · x402

JSON Schema validation — validate JSON records, invoices and payloads against the bound…

JSON Schema validation — validate JSON records, invoices and payloads against the bounded Draft 2020-12 Atlas profile; return valid status and deterministic JSON Pointer errors. This validator subset supports exact numbers and local references with Go RE2 pat…

by data-tools.use.x402atlas.com · discovered, not yet claimed by its owner · updated 2026-10-12

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

JSON Schema validation — validate JSON records, invoices and payloads against the bounded Draft 2020-12 Atlas profile; return valid status and deterministic JSON Pointer errors. This validator subset supports exact numbers and local references with Go RE2 patterns; unsupported schemas are rejected and remote schemas are never loaded.

Tags: json-schema · draft2020-12 · validation · local-ref · structured-data · bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/34872.json for the price and payment options.
  3. Pay. Call GET https://data-tools.use.x402atlas.com/json-schema-validate. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, Arbitrum One, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon, Arbitrum One, Solana
Calls (30d)
3 · 2 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactPolygon
eip155:137
USDC$0.010x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactArbitrum One
eip155:42161
USDC$0.010x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.01ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "additionalProperties": false,
      "description": "Complete structured-data result",
      "properties": {
        "_atlas": {
          "additionalProperties": false,
          "description": "Optional Atlas documentation metadata injected by the platform",
          "properties": {
            "docs": {
              "description": "Documentation URL",
              "format": "uri",
              "maxLength": 512,
              "type": "string"
            },
            "related": {
              "description": "Related Atlas routes",
              "items": {
                "additionalProperties": false,
                "description": "Related route",
                "properties": {
                  "bridge": {
                    "description": "Bridge name",
                    "type": "string"
                  },
                  "docs": {
                    "description": "Documentation URL",
                    "type": "string"
                  },
                  "summary": {
                    "description": "Capability summary",
                    "type": "string"
                  },
                  "url": {
                    "description": "Paid route URL",
                    "type": "string"
                  }
                },
                "required": [
                  "bridge",
                  "url",
                  "docs",
                  "summary"
                ],
                "type": "object"
              },
              "maxItems": 3,
              "type": "array"
            }
          },
          "required": [
            "docs"
          ],
          "type": "object"
        },
        "algorithm_version": {
          "const": "draft2020-12-atlas-profile-v1",
          "description": "Pinned deterministic algorithm or profile",
          "type": "string"
        },
        "errors": {
          "description": "Sorted validation errors, [] for valid instances; at most 100 then warning",
          "items": {
            "additionalProperties": false,
            "description": "Safe validation detail",
            "properties": {
              "instance_pointer": {
                "description": "RFC 6901 instance pointer",
                "type": "string"
              },
              "keyword": {
                "description": "Failed assertion keyword",
                "type": "string"
              },
              "message": {
                "description": "Safe message without supplied values",
                "type": "string"
              },
              "schema_pointer": {
                "description": "RFC 6901 assertion pointer",
                "type": "string"
              }
            },
            "required": [
              "instance_pointer",
              "schema_pointer",
              "keyword",
              "message"
            ],
            "type": "object"
          },
          "maxItems": 100,
          "type": "array"
        },
        "input": {
          "additionalProperties": false,
          "description": "Normalized input summary",
          "properties": {
            "instance_node_count": {
              "description": "Instance JSON nodes",
              "maximum": 50000,
              "minimum": 0,
              "type": "integer"
            },
            "profile": {
              "const": "draft2020-12-atlas-profile-v1",
              "description": "Applied profile",
              "type": "string"
            },
            "schema_node_count": {
              "description": "Supplied schema JSON nodes",
              "maximum": 50000,
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "profile",
            "schema_node_count",
            "instance_node_count"
          ],
          "type": "object"
        },
        "operation": {
          "const": "json-schema-validate",
          "description": "Stable capability operation, identical across packaging variants",
          "type": "string"
        },
        "valid": {
          "description": "True if the instance satisfies the supported profile; false is a successful HTTP 200 validation result; unsupported schemas or work exhaustion are HTTP errors",
          "type": "boolean"
        },
        "warnings": {
          "description": "Deterministic warnings; empty array when none",
          "items": {
            "description": "Warning message; no original cell or document values",
            "type": "string"
          },
          "maxItems": 100,
          "type": "array"
        }
      },
      "required": [
        "algorithm_version",
        "errors",
        "input",
        "operation",
        "valid",
        "warnings"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "_atlas": {
      "docs": "https://example.com",
      "related": [
        {
          "bridge": "string",
          "docs": "string",
          "summary": "string",
          "url": "string"
        }
      ]
    },
    "algorithm_version": "string",
    "errors": [
      {
        "instance_pointer": "string",
        "keyword": "string",
        "message": "string",
        "schema_pointer": "string"
      }
    ],
    "input": {
      "instance_node_count": 0,
      "profile": "string",
      "schema_node_count": 0
    },
    "operation": "string",
    "valid": true,
    "warnings": [
      "string"
    ]
  },
  "type": "string"
}

Examples

curl
curl "https://data-tools.use.x402atlas.com/json-schema-validate"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://data-tools.use.x402atlas.com/json-schema-validate");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://data-tools.use.x402atlas.com/json-schema-validate")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
data-tools.use.x402atlas.com
Endpoint
https://data-tools.use.x402atlas.com/json-schema-validate
Machine-readable
/resources/34872.json