{"openapi": "3.1.0", "info": {"title": "Kadena Nexus", "version": "1.3.0", "description": "Preflight wallet checks, USDT/USDC freeze checks, hack alerts and live gas fees on 13 chains, for AI agents.", "x-guidance": "Every service is a GET that answers JSON. GET /v1 is free and lists all services and prices. GET /v1/fees gives transfer fees on all chains, GET /v1/fees/{chain} on one. GET /v1/address-check?address=... (or /v1/address-check/{network}/{address}) says whether an address is linked to reported stolen funds. GET /v1/preflight?address=... is the one call to make before paying an address: risk, freeze and fee with a verdict. GET /v1/freeze-check?address=... says whether the issuer has frozen USDT or USDC at an address. GET /v1/incidents lists public hacks and exploits of the last 30 days. GET /v1/early-warnings gives unconfirmed warnings from the last 48 hours; a warning is not a confirmed theft.", "contact": {"email": "Saudi.KDA@kadena.ws"}}, "servers": [{"url": "https://agentpay.kadena.ws"}], "paths": {"/v1": {"get": {"operationId": "catalog", "summary": "The list of services and prices", "security": [], "responses": {"200": {"description": "The catalog"}}}}, "/v1/usage": {"get": {"operationId": "usage", "summary": "Paid requests delivered so far, per service", "security": [], "responses": {"200": {"description": "The counts"}}}}, "/v1/fees": {"get": {"operationId": "gas_fees_and_transfer_costs_on_13_blockchains_live", "summary": "Gas fees and transfer costs on 13 blockchains, live", "tags": ["Gas fees"], "x-payment-info": {"price": {"mode": "fixed", "currency": "USD", "amount": "0.010000"}, "protocols": [{"x402": {}}]}, "responses": {"200": {"description": "The answer", "content": {"application/json": {"schema": {"type": "object", "properties": {"service": {"type": "string"}, "at": {"type": "string"}, "fees": {"type": "array", "items": {"type": "object", "additionalProperties": true}}}, "required": ["service"]}}}}, "402": {"description": "Payment Required"}}}}, "/v1/early-warnings": {"get": {"operationId": "early_warning_alerts_of_possible_crypto_hacks", "summary": "Early warning alerts of possible crypto hacks", "tags": ["Security alerts"], "x-payment-info": {"price": {"mode": "fixed", "currency": "USD", "amount": "0.050000"}, "protocols": [{"x402": {}}]}, "responses": {"200": {"description": "The answer", "content": {"application/json": {"schema": {"type": "object", "properties": {"service": {"type": "string"}, "at": {"type": "string"}, "warnings": {"type": "array", "items": {"type": "object", "additionalProperties": true}}}, "required": ["service"]}}}}, "402": {"description": "Payment Required"}}, "parameters": [{"name": "network", "in": "query", "required": false, "description": "Leave out for every network", "schema": {"type": "string", "enum": ["ethereum", "bsc", "arbitrum", "base"]}}]}}, "/v1/address-check": {"get": {"operationId": "wallet_address_risk_check_for_hacks_scams_and_stolen_funds", "summary": "Wallet address risk check for hacks, scams and stolen funds", "tags": ["Address risk"], "x-payment-info": {"price": {"mode": "fixed", "currency": "USD", "amount": "0.020000"}, "protocols": [{"x402": {}}]}, "responses": {"200": {"description": "The answer", "content": {"application/json": {"schema": {"type": "object", "properties": {"service": {"type": "string"}, "risk": {"type": "string"}, "summary": {"type": "string"}, "reasons": {"type": "array", "items": {"type": "object", "additionalProperties": true}}, "note": {"type": "string"}}, "required": ["service"]}}}}, "402": {"description": "Payment Required"}}, "parameters": [{"name": "address", "in": "query", "required": true, "description": "The address to check", "schema": {"type": "string", "example": "0x098B716B8Aaf21512996dC57EB0615e2383E2f96"}}, {"name": "network", "in": "query", "required": false, "description": "Leave out to read the network from the form of the address", "schema": {"type": "string", "enum": ["ethereum", "bsc", "arbitrum", "base", "polygon", "optimism", "avalanche", "tron", "bitcoin", "solana"]}}]}}, "/v1/freeze-check": {"get": {"operationId": "usdt_and_usdc_freeze_and_blacklist_check", "summary": "USDT and USDC freeze and blacklist check", "tags": ["Address risk"], "x-payment-info": {"price": {"mode": "fixed", "currency": "USD", "amount": "0.010000"}, "protocols": [{"x402": {}}]}, "responses": {"200": {"description": "The answer", "content": {"application/json": {"schema": {"type": "object", "properties": {"service": {"type": "string"}, "frozen": {"type": ["boolean", "null"]}, "summary": {"type": "string"}, "checks": {"type": "array", "items": {"type": "object", "additionalProperties": true}}, "note": {"type": "string"}}, "required": ["service"]}}}}, "402": {"description": "Payment Required"}}, "parameters": [{"name": "address", "in": "query", "required": true, "description": "An 0x address or a Tron address", "schema": {"type": "string", "example": "0x098B716B8Aaf21512996dC57EB0615e2383E2f96"}}]}}, "/v1/preflight": {"get": {"operationId": "preflight_check_before_paying_an_address:_wallet_risk_stablecoin_freeze_and_transfer_fee", "summary": "Preflight check before paying an address: wallet risk, stablecoin freeze and transfer fee", "tags": ["Address risk"], "x-payment-info": {"price": {"mode": "fixed", "currency": "USD", "amount": "0.025000"}, "protocols": [{"x402": {}}]}, "responses": {"200": {"description": "The answer", "content": {"application/json": {"schema": {"type": "object", "properties": {"service": {"type": "string"}, "verdict": {"type": "string", "enum": ["stop", "caution", "nothing found"]}, "verdictFrom": {"type": "string"}, "summary": {"type": "string"}, "unreadChecks": {"type": "array", "items": {"type": "string", "enum": ["risk", "freeze", "fee"]}, "description": "Checks that gave no reading this time; empty when all were read"}, "risk": {"type": "object", "additionalProperties": true}, "freeze": {"type": "object", "additionalProperties": true}, "fee": {"type": "object", "additionalProperties": true}, "note": {"type": "string"}}, "required": ["service"]}}}}, "402": {"description": "Payment Required"}}, "parameters": [{"name": "address", "in": "query", "required": true, "description": "The address to check", "schema": {"type": "string", "example": "0x098B716B8Aaf21512996dC57EB0615e2383E2f96"}}, {"name": "network", "in": "query", "required": false, "description": "Leave out to read the network from the form of the address", "schema": {"type": "string", "enum": ["ethereum", "bsc", "arbitrum", "base", "polygon", "optimism", "avalanche", "tron", "bitcoin", "solana"]}}]}}, "/v1/incidents": {"get": {"operationId": "crypto_hack_and_exploit_alerts_feed", "summary": "Crypto hack and exploit alerts feed", "tags": ["Security alerts"], "x-payment-info": {"price": {"mode": "fixed", "currency": "USD", "amount": "0.030000"}, "protocols": [{"x402": {}}]}, "responses": {"200": {"description": "The answer", "content": {"application/json": {"schema": {"type": "object", "properties": {"service": {"type": "string"}, "count": {"type": "number"}, "incidents": {"type": "array", "items": {"type": "object", "additionalProperties": true}}, "note": {"type": "string"}}, "required": ["service"]}}}}, "402": {"description": "Payment Required"}}, "parameters": [{"name": "network", "in": "query", "required": false, "description": "Leave out for every network", "schema": {"type": "string", "enum": ["ethereum", "bsc", "arbitrum", "base", "polygon", "optimism", "avalanche", "tron", "bitcoin", "solana"]}}]}}, "/v1/proof": {"get": {"operationId": "receipt_proof:_record_a_file_commitment_on_kadena_and_get_a_receipt", "summary": "Receipt Proof: record a file commitment on Kadena and get a receipt", "tags": ["Proof"], "x-payment-info": {"price": {"mode": "fixed", "currency": "KDA", "amount": "0.005"}, "protocols": [{"x402": {}}]}, "responses": {"200": {"description": "The answer", "content": {"application/json": {"schema": {"type": "object", "properties": {"service": {"type": "string"}, "status": {"type": "string", "enum": ["pending", "confirmed", "under refund review", "refunded"]}, "commitment": {"type": "string"}, "network": {"type": "string"}, "chain": {"type": "string"}, "module": {"type": "string"}, "requestKey": {"type": ["string", "null"]}, "issuedAt": {"type": "string"}, "check": {"type": "string"}, "shows": {"type": "string"}, "doesNotShow": {"type": "string"}}, "required": ["service"]}}}}, "402": {"description": "Payment Required"}}, "description": "Record a salted SHA-256 commitment of any file on Kadena and get a receipt. The file is never uploaded, and its hash and salt are never sent to us. Returns \"recording pending\" with a request key; the free status route shows the block once confirmed. Anyone holding the file and the receipt can verify the match with a free verifier that reads a Kadena node directly. Shows that the file matches a fingerprint recorded at or before a block time; does not show authorship, delivery time or accuracy. Unconfirmed after 24 hours: a refund review opens automatically.", "parameters": [{"name": "commitment", "in": "query", "required": true, "description": "SHA-256 of 32 salt bytes followed by the 32 bytes of the file's SHA-256, as 64 hex characters", "schema": {"type": "string", "pattern": "^[0-9a-fA-F]{64}$", "example": "b8b0c104743ced5f41efc910653e4daef8b6566f0bd2cb738ad5c8336cf23beb"}}]}}, "/v1/sample/fees": {"get": {"operationId": "sample_fees", "security": [], "summary": "A free sample answer of fees, with made-up contents", "responses": {"200": {"description": "The sample"}}}}, "/v1/sample/fee": {"get": {"operationId": "sample_fee", "security": [], "summary": "A free sample answer of fee, with made-up contents", "responses": {"200": {"description": "The sample"}}}}, "/v1/sample/address-check": {"get": {"operationId": "sample_address_check", "security": [], "summary": "A free sample answer of address-check, with made-up contents", "responses": {"200": {"description": "The sample"}}}}, "/v1/sample/preflight": {"get": {"operationId": "sample_preflight", "security": [], "summary": "A free sample answer of preflight, with made-up contents", "responses": {"200": {"description": "The sample"}}}}, "/v1/sample/freeze-check": {"get": {"operationId": "sample_freeze_check", "security": [], "summary": "A free sample answer of freeze-check, with made-up contents", "responses": {"200": {"description": "The sample"}}}}, "/v1/sample/incidents": {"get": {"operationId": "sample_incidents", "security": [], "summary": "A free sample answer of incidents, with made-up contents", "responses": {"200": {"description": "The sample"}}}}, "/v1/sample/early-warnings": {"get": {"operationId": "sample_early_warnings", "security": [], "summary": "A free sample answer of early-warnings, with made-up contents", "responses": {"200": {"description": "The sample"}}}}, "/v1/sample/proof": {"get": {"operationId": "sample_proof", "security": [], "summary": "A free sample answer of proof, with made-up contents", "responses": {"200": {"description": "The sample"}}}}}}