Datoka API
v0.3.12Signed API declarations for agent handoffs. Free demo and verification; receipts cost 0.002 USDC.
Endpoint health
online- Last checked
- 11/20/2026, 3:17:18 AM
- Latency
- 492 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:dev.workers.bhazarstudio.datoka-api%2Fapi
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"dev.workers.bhazarstudio.datoka-api/api": {
"url": "https://datoka-api.bhazarstudio.workers.dev/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
4 shown · authentication unknown
Get API Public Keys
get_api_public_keys
Return issuer public keys. Establish issuer trust independently before offline verification.
Schema valid · SHA-256 8c64e91ad9c4…
View input schema
{ "type": "object", "properties": {}, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false }Issue API Receipt
issue_api_receipt
Buy a portable signed commitment to a declared API exchange when a recipient needs independently verifiable receipt integrity: response handoff, archived decision input, or change investigation. Costs 0.002 USDC per receipt via x402 when enabled; verification is free. A local log may suffice for disposable data. Requires caller-approved budget. Keep event, idempotency key and original payment unchanged on retry. Attests a client declaration, not provider origin, content truth or independent observation.
Schema valid · SHA-256 8808c00fa39d…
View input schema
{ "type": "object", "properties": { "event": { "type": "object", "properties": { "version": { "type": "string", "const": "datoka.api.exchange.v1", "description": "Declaration format version; preserve this literal." }, "attestation": { "type": "string", "const": "client_declared", "description": "The caller declares the exchange; Datoka does not independently observe it." }, "apiId": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$", "description": "Caller-chosen API identifier; not a certified provider identity." }, "exchangeId": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$", "description": "Stable identifier for one declared HTTP exchange." }, "method": { "type": "string", "enum": [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS" ], "description": "Actual HTTP method of the locally captured exchange, for example GET." }, "status": { "type": "integer", "minimum": 200, "maximum": 599, "description": "Actual HTTP response status, including error responses; for example 200 or 404." }, "startedAt": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$", "description": "Declared UTC start with milliseconds, for example 2026-10-07T08:00:00.000Z." }, "completedAt": { "type": "string", "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$", "description": "Declared UTC completion with milliseconds; must be at or after startedAt." }, "targetHash": { "type": "object", "properties": { "algorithm": { "type": "string", "const": "sha256", "description": "Digest algorithm; always sha256." }, "digest": { "type": "string", "pattern": "^[a-f0-9]{64}$", "description": "SHA-256 of exact locally captured bytes, encoded as 64 lowercase hexadecimal characters." } }, "required": [ "algorithm", "digest" ], "additionalProperties": false, "description": "SHA-256 of the exact UTF-8 target URL, computed locally. Never invent a digest or send the URL itself." }, "requestBodyHash": { "anyOf": [ { "type": "object", "properties": { "algorithm": { "type": "string", "const": "sha256", "description": "Digest algorithm; always sha256." }, "digest": { "type": "string", "pattern": "^[a-f0-9]{64}$", "description": "SHA-256 of exact locally captured bytes, encoded as 64 lowercase hexadecimal characters." } }, "required": [ "algorithm", "digest" ], "additionalProperties": false }, { "type": "null" } ], "description": "SHA-256 of exact application request bytes; null means no body, not an empty body." }, "responseBodyHash": { "anyOf": [ { "type": "object", "properties": { "algorithm": { "type": "string", "const": "sha256", "description": "Digest algorithm; always sha256." }, "digest": { "type": "string", "pattern": "^[a-f0-9]{64}$", "description": "SHA-256 of exact locally captured bytes, encoded as 64 lowercase hexadecimal characters." } }, "required": [ "algorithm", "digest" ], "additionalProperties": false }, { "type": "null" } ], "description": "SHA-256 of exact application response bytes after HTTP decoding. Preserve those bytes; do not reserialize JSON." }, "requestHeadersHash": { "type": "object", "properties": { "algorithm": { "type": "string", "const": "sha256", "description": "Digest algorithm; always sha256." }, "digest": { "type": "string", "pattern": "^[a-f0-9]{64}$", "description": "SHA-256 of exact locally captured bytes, encoded as 64 lowercase hexadecimal characters." } }, "required": [ "algorithm", "digest" ], "additionalProperties": false, "description": "SHA-256 of locally canonicalized selected request headers. Never send raw headers." }, "responseHeadersHash": { "type": "object", "properties": { "algorithm": { "type": "string", "const": "sha256", "description": "Digest algorithm; always sha256." }, "digest": { "type": "string", "pattern": "^[a-f0-9]{64}$", "description": "SHA-256 of exact locally captured bytes, encoded as 64 lowercase hexadecimal characters." } }, "required": [ "algorithm", "digest" ], "additionalProperties": false, "description": "SHA-256 of locally canonicalized selected response headers." }, "bodyEncoding": { "type": "string", "const": "application_bytes", "description": "Hash application bytes after HTTP decoding, without JSON reserialization." }, "headerEncoding": { "type": "string", "const": "jcs-selected-headers-v1", "description": "Use the SDK header selection and JCS canonicalization before hashing." } }, "required": [ "version", "attestation", "apiId", "exchangeId", "method", "status", "startedAt", "completedAt", "targetHash", "requestBodyHash", "responseBodyHash", "requestHeadersHash", "responseHeadersHash", "bodyEncoding", "headerEncoding" ], "additionalProperties": false, "description": "Commitment-only HTTP exchange declaration built locally with the SDK. No raw URLs, headers or bodies." }, "idempotencyKey": { "type": "string", "pattern": "^[\\x21-\\x7e]{16,200}$", "description": "One stable key per purchase, saved before payment. Keep it, the event and original payment authorization unchanged on retries." } }, "required": [ "event", "idempotencyKey" ], "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false }
Connections
streamable-http
https://datoka-api.bhazarstudio.workers.dev/mcp