Datoka API

Signed receipts for your API exchanges.

# Datoka API

Signed commitments for client-declared HTTP exchanges.
Public issuance: 0.002 USDC per receipt via x402 v2 on the network shown in /pricing. Preparation and verification are free.

Quickstart: https://datoka-api.bhazarstudio.workers.dev/quickstart
SDK: https://datoka-api.bhazarstudio.workers.dev/sdk/datoka-api.js
API: https://datoka-api.bhazarstudio.workers.dev/openapi.json
Catalog: https://datoka-api.bhazarstudio.workers.dev/catalog
Pricing: https://datoka-api.bhazarstudio.workers.dev/pricing
MCP (Streamable HTTP): https://datoka-api.bhazarstudio.workers.dev/mcp
Example (synthetic hash values): https://datoka-api.bhazarstudio.workers.dev/example.json

POST /v1/operations/prepare_api_exchange
POST /v1/operations/issue_api_receipt
POST /v1/operations/verify_api_receipt
POST /v1/operations/get_api_public_keys

Hash URL, application body bytes and explicitly selected headers locally. Never submit raw API content or credentials. Save the event, idempotencyKey and ORIGINAL payment authorization before sending payment. Reuse them unchanged after any timeout; a pending payment must not be replaced. EOA EIP-3009 signatures supported. MCP payment metadata: params._meta["x402/payment"].

Receipts attest client declarations, not independent observations, response truth or qualified timestamps. No blockchain anchoring of the receipt. USDC payment settlement is separate from receipt integrity. Verify offline with independently trusted issuer public keys.