Datoka API

Signed receipts for client-declared 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.

Buy only for a caller-approved need to retain a third-party signed commitment: response handoff, archived decision input, or change investigation. Local logs may suffice for disposable data. Never fabricate hashes. Recipient verification is free and offline.

Try without a wallet: https://datoka-api.bhazarstudio.workers.dev/demo/
MCP resources: datoka-api://integration and datoka-api://demo-receipt
Pass the already issued demo receipt JSON to verify_api_receipt. Do not purchase a demo receipt.
Use cases: https://datoka-api.bhazarstudio.workers.dev/use-cases
First paid receipt: https://datoka-api.bhazarstudio.workers.dev/first-receipt
English end-to-end integration: https://datoka-api.bhazarstudio.workers.dev/agent-integration
Quickstart: https://datoka-api.bhazarstudio.workers.dev/quickstart
SDK (pinned 0.3.11): https://datoka-api.bhazarstudio.workers.dev/sdk/0.3.11/datoka-api.js
SDK manifest: https://datoka-api.bhazarstudio.workers.dev/sdk/0.3.11/manifest.json
Free integration check: https://datoka-api.bhazarstudio.workers.dev/sdk/0.3.11/check-integration.mjs
Offline evidence transfer: https://datoka-api.bhazarstudio.workers.dev/sdk/0.3.11/evidence.mjs
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
Support and recovery: https://datoka-api.bhazarstudio.workers.dev/support
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"]. Direct HTTP purchase is validated; paid forwarding through Smithery is not.

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