{"info":{"description":"Pay-per-request crypto and web context services for agents. Payment rail: x402 (HTTP 402). No accounts, no API keys.","title":"1-cent-requests API","version":"0.1.0"},"openapi":"3.1.0","paths":{"/services/token-risk":{"post":{"description":"Honeypot, tax, and ownership risk for any EVM token in one call.\n\nPrice: $0.01 per request via x402. All upstream providers are free public APIs; the cent covers aggregation, normalization, caching, and payment overhead.","operationId":"token-risk","requestBody":{"content":{"application/json":{"example":{"chain":"ethereum","tokenAddress":"0x6b175474e89094c44da98b954eedeac495271d0f"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","base","bsc","ethereum","optimism","polygon"]},"chainId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"tokenAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["tokenAddress"]}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Token Risk Scanner","tags":["crypto-context"]}},"/services/pool-snapshot":{"post":{"description":"Price, liquidity, volume, and pair metadata for a token or pair.\n\nPrice: $0.01 per request via x402. Free public market data; priced for aggregation and caching value.","operationId":"pool-snapshot","requestBody":{"content":{"application/json":{"example":{"chain":"base","tokenAddress":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","base","bsc","ethereum","optimism","polygon"]},"chainId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pairAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"tokenAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Pool & Liquidity Snapshot","tags":["crypto-context"]}},"/services/contract-explain":{"post":{"description":"Verification, source, ABI, and proxy clues for a smart contract.\n\nPrice: $0.01 per request via x402. Sourcify works with zero keys; an Etherscan key adds proxy detection and richer metadata.","operationId":"contract-explain","requestBody":{"content":{"application/json":{"example":{"chainId":1,"contractAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chainId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"contractAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["chainId","contractAddress"]}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Contract Explain","tags":["crypto-context"]}},"/services/protocol-context":{"post":{"description":"DeFi protocol fundamentals: TVL, chains, category, fees, links.\n\nPrice: $0.01 per request via x402. DefiLlama free endpoints; Exa fallback only fires on misses.","operationId":"protocol-context","requestBody":{"content":{"application/json":{"example":{"protocol":"aave"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"protocol":{"type":"string","minLength":1,"maxLength":100,"description":"DefiLlama protocol slug or human name, e.g. `aave` or `Uniswap V3`."}},"required":["protocol"]}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Protocol Context","tags":["crypto-context"]}},"/services/phishing-check":{"post":{"description":"Crypto phishing verdict for a URL or domain, from local list data.\n\nPrice: $0.01 per request via x402. Runs entirely on mirrored local data; the cheapest route in the catalog.","operationId":"phishing-check","requestBody":{"content":{"application/json":{"example":{"url":"https://uniswap-airdrop.example.com/claim"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string","minLength":3,"maxLength":2000,"description":"URL or bare domain to check."}},"required":["url"]}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Phishing URL Check","tags":["crypto-context"]}},"/services/wallet-brief":{"post":{"description":"Native balance, top token balances, and recent transfer summary.\n\nPrice: $0.01 per request via x402. Requires an Alchemy key (generous free tier). Several upstream calls per request, still comfortably under a cent.","operationId":"wallet-brief","requestBody":{"content":{"application/json":{"example":{"chainId":1,"walletAddress":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chainId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"walletAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["chainId","walletAddress"]}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Wallet Brief","tags":["crypto-context"]}},"/services/approval-risk":{"post":{"description":"Token approvals, unlimited allowances, and revoke recommendations.\n\nPrice: $0.01 per request via x402. Requires a Moralis or Alchemy key. The Alchemy fallback scans a bounded recent block range, so coverage is partial.","operationId":"approval-risk","requestBody":{"content":{"application/json":{"example":{"chainId":1,"walletAddress":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chainId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"walletAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["chainId","walletAddress"]}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Approval Risk Checker","tags":["crypto-context"]}},"/services/exa/search":{"post":{"description":"Capped neural web search via Exa: up to 10 results, no deep modes.\n\nPrice: $0.01 per request via x402. Exa charges ~$0.007 per capped search, leaving a thin margin. Deep/summary modes exceed one cent and are rejected with unsupported_options.","operationId":"exa-search","requestBody":{"content":{"application/json":{"example":{"numResults":5,"query":"x402 payment protocol adoption"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"category":{"type":"string","enum":["company","news","research paper","github","pdf"]},"numResults":{"default":5,"type":"integer","minimum":1,"maximum":10},"query":{"type":"string","minLength":2,"maxLength":500}},"required":["query"],"additionalProperties":false}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Exa Web Search","tags":["web-context"]}},"/services/exa/contents":{"post":{"description":"Clean text for up to 5 URLs via Exa contents.\n\nPrice: $0.01 per request via x402. ~$0.001 per page at Exa; capped at 5 URLs per request.","operationId":"exa-contents","requestBody":{"content":{"application/json":{"example":{"urls":["https://docs.x402.org/introduction"]},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"urls":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","format":"uri"}}},"required":["urls"],"additionalProperties":false}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Exa Page Contents","tags":["web-context"]}},"/services/firecrawl/map":{"post":{"description":"Discover the URL structure of a site in one bounded call.\n\nPrice: $0.01 per request via x402. 1 Firecrawl credit per call (~$0.001 on paid plans).","operationId":"firecrawl-map","requestBody":{"content":{"application/json":{"example":{"url":"https://docs.x402.org"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"search":{"type":"string","maxLength":200},"url":{"type":"string","format":"uri"}},"required":["url"],"additionalProperties":false}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Firecrawl Map","tags":["web-context"]}},"/services/firecrawl/search":{"post":{"description":"Web search via Firecrawl: up to 10 results, no page scraping.\n\nPrice: $0.01 per request via x402. 2 Firecrawl credits per 10 results (~$0.002). Scrape options are rejected.","operationId":"firecrawl-search","requestBody":{"content":{"application/json":{"example":{"query":"EIP-3009 transferWithAuthorization"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"limit":{"default":5,"type":"integer","minimum":1,"maximum":10},"query":{"type":"string","minLength":2,"maxLength":500}},"required":["query"],"additionalProperties":false}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Firecrawl Search","tags":["web-context"]}},"/services/firecrawl/scrape":{"post":{"description":"Markdown for a single page, main content only.\n\nPrice: $0.01 per request via x402. 1 Firecrawl credit per page. Enhanced/JSON modes exceed the envelope and are rejected.","operationId":"firecrawl-scrape","requestBody":{"content":{"application/json":{"example":{"url":"https://docs.x402.org/introduction"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"onlyMainContent":{"default":true,"type":"boolean"},"url":{"type":"string","format":"uri"}},"required":["url"],"additionalProperties":false}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Firecrawl Scrape","tags":["web-context"]}},"/services/context7/resolve-library":{"post":{"description":"Resolve a library or framework name to a Context7 docs ID.\n\nPrice: $0.01 per request via x402. Priced against Context7 Pro included-call economics (~$0.002/call). Daily caps protect against overage, which costs exactly one cent per call.","operationId":"context7-resolve-library","requestBody":{"content":{"application/json":{"example":{"libraryName":"hono"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"libraryName":{"type":"string","minLength":1,"maxLength":200}},"required":["libraryName"],"additionalProperties":false}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Context7 Resolve Library","tags":["web-context"]}},"/services/context7/query-docs":{"post":{"description":"Current library docs for a Context7 library ID and topic.\n\nPrice: $0.01 per request via x402. Priced against Context7 Pro included-call economics. Token budget is capped at 5000 per request.","operationId":"context7-query-docs","requestBody":{"content":{"application/json":{"example":{"libraryId":"/honojs/hono","topic":"middleware"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"libraryId":{"type":"string","pattern":"^\\/[\\w.-]+\\/[\\w.-]+(?:\\/[\\w.-]+)?$"},"tokens":{"default":2500,"type":"integer","minimum":500,"maximum":5000},"topic":{"type":"string","maxLength":200}},"required":["libraryId"],"additionalProperties":false}}},"required":true},"responses":{"200":{"description":"Service response envelope: { service, requestId, cache, providers, warnings, data }"},"400":{"description":"validation_error or unsupported_options"},"402":{"description":"x402 payment required. Retry with a signed payment or, in local dev mode, the X-Dev-Bypass header."},"503":{"description":"provider_unconfigured — required provider key missing"}},"summary":"Context7 Query Docs","tags":["web-context"]}}},"servers":[{"url":"https://api.1cent.sivaram.dev"}]}