API · x402

Crypto Market Data Integrity Attestation for agents and trading systems

Crypto Market Data Integrity Attestation for agents and trading systems. Validate caller-supplied crypto market observations for causal timing, freshness, gaps, sequencing, identity consistency, and cryptographic record hashes. Returns deterministic PASS/FAIL…

by api.tradebot.devs.surf · discovered, not yet claimed by its owner · updated 2026-09-29

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

Crypto Market Data Integrity Attestation for agents and trading systems. Validate caller-supplied crypto market observations for causal timing, freshness, gaps, sequencing, identity consistency, and cryptographic record hashes. Returns deterministic PASS/FAIL, safe_to_use, named checks, and attestation identity. Use before analytics, research, or trading workflows. No market data acquisition or redistribution; no trade recommendation.

Tags: market-data · data-quality · attestation · provenance · trading-agents · 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/38182.json for the price and payment options.
  3. Pay. Call GET https://api.tradebot.devs.surf/v1/market-data-attestation. 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, 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
Calls (30d)
2 · 2 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x1bdd0cf6c2457765afeb717bc1e5d74b27d45a0f300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x1bdd0cf6c2457765afeb717bc1e5d74b27d45a0f",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "attestation_id": {
          "description": "Deterministic identity derived from the method version and the observation and policy hashes; independent of wall clock.",
          "pattern": "^mda1_[0-9a-f]{64}$",
          "type": "string"
        },
        "attested_at_ms": {
          "maximum": 9223372036854776000,
          "minimum": 0,
          "type": "integer"
        },
        "checks": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "check": {
                "minLength": 1,
                "type": "string"
              },
              "evidence": {
                "additionalProperties": {
                  "type": [
                    "boolean",
                    "integer",
                    "null",
                    "string"
                  ]
                },
                "type": "object"
              },
              "status": {
                "enum": [
                  "PASS",
                  "FAIL"
                ],
                "type": "string"
              }
            },
            "required": [
              "check",
              "status",
              "evidence"
            ],
            "type": "object"
          },
          "maxItems": 14,
          "minItems": 14,
          "type": "array"
        },
        "dataset_id": {
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        },
        "disclaimer": {
          "const": "Integrity validation of caller-supplied observations only; no market data is acquired or redistributed, and no ownership, licensing, investment, or trading determination is made.",
          "type": "string"
        },
        "failed_checks": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 14,
          "type": "array",
          "uniqueItems": true
        },
        "first_event_time_ms": {
          "maximum": 9223372036854776000,
          "minimum": 0,
          "type": "integer"
        },
        "last_event_time_ms": {
          "maximum": 9223372036854776000,
          "minimum": 0,
          "type": "integer"
        },
        "latest_received_time_ms": {
          "maximum": 9223372036854776000,
          "minimum": 0,
          "type": "integer"
        },
        "method_version": {
          "const": "market-data-integrity-attestation-v1.0.0",
          "type": "string"
        },
        "observation_count": {
          "maximum": 512,
          "minimum": 1,
          "type": "integer"
        },
        "observations_sha256": {
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        "policy_sha256": {
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        "safe_to_use": {
          "type": "boolean"
        },
        "schema_version": {
          "const": "market-data-attestation-request-v1",
          "type": "string"
        },
        "source_label": {
          "maxLength": 128,
          "minLength": 1,
          "type": "string"
        },
        "verdict": {
          "enum": [
            "PASS",
            "FAIL"
          ],
          "type": "string"
        }
      },
      "required": [
        "schema_version",
        "attestation_id",
        "attested_at_ms",
        "dataset_id",
        "source_label",
        "verdict",
        "safe_to_use",
        "observation_count",
        "first_event_time_ms",
        "last_event_time_ms",
        "latest_received_time_ms",
        "observations_sha256",
        "policy_sha256",
        "checks",
        "failed_checks",
        "method_version",
        "disclaimer"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "attestation_id": "string",
    "attested_at_ms": 0,
    "checks": [
      {
        "check": "string",
        "evidence": {},
        "status": "PASS"
      }
    ],
    "dataset_id": "string",
    "disclaimer": "string",
    "failed_checks": [
      "string"
    ],
    "first_event_time_ms": 0,
    "last_event_time_ms": 0,
    "latest_received_time_ms": 0,
    "method_version": "string",
    "observation_count": 0,
    "observations_sha256": "string",
    "policy_sha256": "string",
    "safe_to_use": true,
    "schema_version": "string",
    "source_label": "string",
    "verdict": "PASS"
  },
  "type": "string"
}

Examples

curl
curl "https://api.tradebot.devs.surf/v1/market-data-attestation"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.tradebot.devs.surf/v1/market-data-attestation");
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://api.tradebot.devs.surf/v1/market-data-attestation")
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
api.tradebot.devs.surf
Endpoint
https://api.tradebot.devs.surf/v1/market-data-attestation
Machine-readable
/resources/38182.json