{"openapi":"3.1.0","info":{"title":"AntSeedStats public API","version":"2.45.0","description":"Read-only JSON over Antseed, the open intelligence network, as indexed by antseedstats.com. Providers keep their protocol name, seller, in paths, op ids and field names. No authentication. 60 requests per minute per IP. CORS open. Money as integer micro-USDC plus a formatted string; timestamps in UTC seconds; days as UTC YYYY-MM-DD. Every response carries meta.as_of_block and a Link header to the page that shows the same figures. The same endpoints are MCP tools at https://antseedstats.com/mcp (or locally from npm: @antseedstats/mcp-server); the site's front door for agents is https://antseedstats.com/llms.txt. Data licence: CC BY 4.0, attribute to AntSeedStats (antseedstats.com).","contact":{"name":"gekko.eth","url":"https://x.com/gekko_eth"},"license":{"name":"CC BY 4.0","identifier":"CC-BY-4.0","url":"https://creativecommons.org/licenses/by/4.0/"}},"externalDocs":{"description":"Endpoint docs with a curl per endpoint, the MCP setup and the page for agents","url":"https://antseedstats.com/developers"},"servers":[{"url":"https://antseedstats.com/api/v1"}],"x-mcp":{"url":"https://antseedstats.com/mcp","npm":"@antseedstats/mcp-server"},"x-llms":"https://antseedstats.com/llms.txt","x-for-agents":"https://antseedstats.com/for-agents","paths":{"/network/health":{"get":{"operationId":"network.health","tags":["Network"],"summary":"Services providers report failing now","description":"Provider-reported service health across the network (metadata v13/v14, SDK 0.2.157+): a provider's node checks each model it lists about every 5 minutes (a 1-token probe, or what live buyer requests showed) and signs the result into its announcement; buyer nodes skip a model marked failing. We read the announcements, we probe no one. Providers on an older SDK report nothing and are not counted: null is not healthy. by_seller lists every reporting provider, the all-healthy first (best reputation first) then the troubled from the fewest problems to the most; failing_services every service marked failing, with the reason in the SDK's code and in plain words. Figures refresh with each crawl and each 5-minute price re-read.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"at_ts":{"type":"integer","description":"Unix seconds this view was assembled"},"services":{"type":"integer","description":"Every advertised service on the network still served (a service failing for a day or more is not served and is out of every figure but not_served)"},"reported":{"type":"integer","description":"Services with a health report"},"failing":{"type":"integer","description":"Reported failing, under a day"},"healthy":{"type":"integer","description":"Reported healthy"},"unknown":{"type":"integer","description":"Reported but not checked yet"},"not_served":{"type":"integer","description":"Failing for a day or more: the provider stopped serving them; listed in not_served_services for the record"},"sellers":{"type":"integer","description":"Announcing peers"},"sellers_reporting":{"type":"integer","description":"Peers whose announcement carries health"},"sellers_failing":{"type":"integer","description":"Reporting peers with at least one failing service"},"performance_services":{"type":"integer","description":"Services with a last-hour performance report"},"requests_last_hour":{"type":"integer","description":"Sum of reported buyer requests over the last hour"},"by_seller":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"agent_id":{"type":["string","null"],"description":"On-chain agent id; null for an announce-only peer"},"proven":{"type":"boolean","description":"Has settled on-chain"},"reputation":{"type":["number","null"],"description":"The SDK's buyer trust score 0 to 100, from the announcement"},"services":{"type":"integer","description":"Advertised services"},"reported":{"type":"integer","description":"With a health report"},"failing":{"type":"integer","description":"Failing"},"healthy":{"type":"integer","description":"Healthy"},"unknown":{"type":"integer","description":"Not checked yet"},"top_reason":{"type":["string","null"],"description":"Most common failing reason code"},"top_reason_label":{"type":["string","null"],"description":"The same in plain words"},"since_ts":{"type":["integer","null"],"description":"Unix seconds of the oldest failure"},"checked_ts":{"type":["integer","null"],"description":"Unix seconds of the newest check"},"requests_last_hour":{"type":["integer","null"],"description":"Reported buyer requests, summed"}}}},"failing_services":{"type":"array","items":{"type":"object","properties":{"seller":{"type":"string","description":"Lowercase 0x"},"seller_name":{"type":["string","null"],"description":"Announced name (untrusted)"},"advertised_as":{"type":"string","description":"Raw model name"},"reason":{"type":["string","null"],"description":"SDK reason code"},"reason_label":{"type":["string","null"],"description":"Plain words"},"http_status":{"type":["integer","null"],"description":"Upstream HTTP status of the last failed check"},"source":{"type":["string","null"],"description":"probe or traffic","enum":["probe","traffic"]},"since_ts":{"type":["integer","null"],"description":"Unix seconds of the first failure"},"checked_ts":{"type":["integer","null"],"description":"Unix seconds of the last check"},"requests_last_hour":{"type":["integer","null"],"description":"Reported buyer requests for it"}}}},"not_served_services":{"type":"array","items":{"type":"object","properties":{"seller":{"type":"string","description":"Lowercase 0x"},"seller_name":{"type":["string","null"],"description":"Announced name (untrusted)"},"advertised_as":{"type":"string","description":"Raw model name"},"reason":{"type":["string","null"],"description":"SDK reason code"},"reason_label":{"type":["string","null"],"description":"Plain words"},"http_status":{"type":["integer","null"],"description":"Upstream HTTP status of the last failed check"},"source":{"type":["string","null"],"description":"probe or traffic","enum":["probe","traffic"]},"since_ts":{"type":["integer","null"],"description":"Unix seconds of the first failure, a day or more ago"},"checked_ts":{"type":["integer","null"],"description":"Unix seconds of the last check"},"requests_last_hour":{"type":["integer","null"],"description":"Reported buyer requests for it"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/network/summary":{"get":{"operationId":"network.summary","tags":["Network"],"summary":"Lifetime totals, windows, current epoch","description":"The home page numbers. Lifetime settled USDC and fees come from every ChannelSettled event. active_users and tokens_consumed are the home's \"Total active users\" and \"Tokens consumed\" headlines, computed by the same function as the page. The 24h, 7d and 30d windows are rolling (not calendar) and count distinct buyers and providers inside the window. paid_usage_24h comes from settlements whose buyers shared a per-model split, so it is a lower bound.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"lifetime":{"type":"object","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"fees_micro":{"type":"integer","description":"fees in micro-USDC (integer, 6 decimals)"},"fees_usd":{"type":"string","description":"fees in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Settlement events"},"buyers":{"type":"integer","description":"Distinct buyers that settled"},"sellers":{"type":"integer","description":"Distinct providers that settled"},"tokens_in":{"type":"integer","description":"Input tokens (MetadataRecorded)"},"tokens_out":{"type":"integer","description":"Output tokens"},"requests":{"type":"integer","description":"Requests"}}},"active_users":{"type":"object","description":"The home's Total active users, lifetime","properties":{"total":{"type":"integer","description":"The home's Total active users: buyers + providers + DIEM stakers"},"buyers":{"type":"integer","description":"Buyers who reserved a channel, plus free-tier buyers who never opened a paid one"},"sellers":{"type":"integer","description":"Distinct providers that settled"},"diem_stakers":{"type":"integer","description":"Wallets staking in the DIEM pool"}}},"tokens_consumed":{"type":"object","description":"The home's Tokens consumed, lifetime","properties":{"total":{"type":"integer","description":"The home's Tokens consumed: paid + free"},"paid":{"type":"integer","description":"Paid input + output tokens"},"free":{"type":"integer","description":"Free-tier input + output tokens"}}},"windows":{"type":"object","description":"Rolling windows ending now","properties":{"24h":{"type":"object","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Settles"},"buyers":{"type":"integer","description":"Distinct buyers"},"sellers":{"type":"integer","description":"Distinct providers"}}},"7d":{"type":"object","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Settles"},"buyers":{"type":"integer","description":"Distinct buyers"},"sellers":{"type":"integer","description":"Distinct providers"}}},"30d":{"type":"object","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Settles"},"buyers":{"type":"integer","description":"Distinct buyers"},"sellers":{"type":"integer","description":"Distinct providers"}}}}},"paid_usage_24h":{"type":"object","description":"Rolling 24h from per-model usage (lower bound)","properties":{"requests":{"type":"integer","description":"Paid requests"},"tokens":{"type":"integer","description":"Paid tokens"},"images":{"type":"integer","description":"Generated images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"},"free_requests":{"type":"integer","description":"Free-tier requests"},"free_tokens":{"type":"integer","description":"Free-tier tokens"},"models":{"type":"integer","description":"Distinct models used"},"coverage":{"type":"number","description":"Share of settlements carrying a per-model split, 0 to 1"}}},"generative_7d":{"type":"object","description":"Images and video of the last 7 days (lower bound); the home panel","properties":{"images":{"type":"integer","description":"Generated images"},"videos":{"type":"integer","description":"Videos delivered"},"video_seconds":{"type":"integer","description":"Seconds of video"},"spend_micro":{"type":"integer","description":"spend in micro-USDC (integer, 6 decimals)"},"spend_usd":{"type":"string","description":"spend in USDC, formatted with 2 decimals"}}},"modality_7d":{"type":"object","description":"Spend of the last 7 days by modality; each attributed event counts in exactly one (lower bound: buyers that share the per-model split); the home By modality panel","properties":{"text":{"type":"object","description":"Events with no images, video or speech characters, on a model (not a data service)","properties":{"spend_micro":{"type":"integer","description":"spend in micro-USDC (integer, 6 decimals)"},"spend_usd":{"type":"string","description":"spend in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Input plus output tokens of the text events (no image credit)"}}},"images":{"type":"object","description":"Events with images and no video","properties":{"spend_micro":{"type":"integer","description":"spend in micro-USDC (integer, 6 decimals)"},"spend_usd":{"type":"string","description":"spend in USDC, formatted with 2 decimals"},"images":{"type":"integer","description":"Generated images"}}},"video":{"type":"object","description":"Events with video seconds","properties":{"spend_micro":{"type":"integer","description":"spend in micro-USDC (integer, 6 decimals)"},"spend_usd":{"type":"string","description":"spend in USDC, formatted with 2 decimals"},"videos":{"type":"integer","description":"Videos delivered"},"video_seconds":{"type":"integer","description":"Seconds of video"}}},"speech":{"type":["object","null"],"description":"Events with speech characters and no images or video; null on a window computed before speech was counted","properties":{"spend_micro":{"type":"integer","description":"spend in micro-USDC (integer, 6 decimals)"},"spend_usd":{"type":"string","description":"spend in USDC, formatted with 2 decimals"},"characters":{"type":"integer","description":"Characters read aloud (metadata v5, since 4 Nov 2026)"}}},"data":{"type":["object","null"],"description":"Events on a data service (a provider's own HTTP API billed per completed request, told apart by its service name); null when none was settled in the window","properties":{"spend_micro":{"type":"integer","description":"spend in micro-USDC (integer, 6 decimals)"},"spend_usd":{"type":"string","description":"spend in USDC, formatted with 2 decimals"},"requests":{"type":"integer","description":"Completed requests"}}},"attributed_micro":{"type":"integer","description":"attributed in micro-USDC (integer, 6 decimals)"},"attributed_usd":{"type":"string","description":"attributed in USDC, formatted with 2 decimals"}}},"epoch":{"type":"object","properties":{"number":{"type":"integer","description":"Current epoch"},"starts_ts":{"type":"integer","description":"UTC seconds"},"ends_ts":{"type":"integer","description":"UTC seconds"},"seconds_left":{"type":"integer","description":"Until the next epoch"}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/network/daily":{"get":{"operationId":"network.daily","tags":["Network"],"summary":"Per UTC day: settled, users, tokens, media","description":"One row per UTC calendar day with no gaps. Settled and fees from ChannelSettled; tokens and requests from MetadataRecorded (paid); free usage from the free-tier counters; users are distinct accounts that settled that day; images and video (seconds, videos, spend) from the per-model usage reports, paid only, since free-tier reports carry no image or video counter. The image, video and speech cells are null on days before that counter's first report (no reading existed), and 0 after it is a real zero. Today is partial.","parameters":[{"name":"from","in":"query","required":false,"description":"First UTC day, YYYY-MM-DD (default: 30 days ago)","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"description":"Last UTC day, YYYY-MM-DD (default: today)","schema":{"type":"string","format":"date"}},{"name":"format","in":"query","required":false,"description":"json (default) or csv","schema":{"type":"string","enum":["json","csv"],"default":"json"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"from":{"type":"string","description":"First day returned"},"to":{"type":"string","description":"Last day returned"},"days":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC calendar day"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"fees_micro":{"type":"integer","description":"fees in micro-USDC (integer, 6 decimals)"},"fees_usd":{"type":"string","description":"fees in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Settlement events"},"users":{"type":"integer","description":"Distinct accounts that settled (buyers plus providers)"},"new_users":{"type":"integer","description":"Accounts whose first settlement is this day"},"buyers":{"type":"integer","description":"Distinct buyers"},"sellers":{"type":"integer","description":"Distinct providers"},"free_only_users":{"type":"integer","description":"Accounts active on the free tier only"},"tokens_in":{"type":"integer","description":"Paid input tokens"},"tokens_out":{"type":"integer","description":"Paid output tokens"},"requests":{"type":"integer","description":"Paid requests"},"free_tokens":{"type":"integer","description":"Free-tier tokens"},"free_requests":{"type":"integer","description":"Free-tier requests"},"images":{"type":["integer","null"],"description":"Images generated (metadata v3 and later; null before the first image report)"},"images_spend_micro":{"type":["integer","null"],"description":"images spend in micro-USDC (integer, 6 decimals)"},"images_spend_usd":{"type":["string","null"],"description":"images spend in USDC, formatted with 2 decimals"},"video_seconds":{"type":["integer","null"],"description":"Seconds of video generated (metadata v4, since 8 Oct 2026; null before the first video report)"},"videos":{"type":["integer","null"],"description":"Videos delivered"},"video_spend_micro":{"type":["integer","null"],"description":"video spend in micro-USDC (integer, 6 decimals)"},"video_spend_usd":{"type":["string","null"],"description":"video spend in USDC, formatted with 2 decimals"},"characters":{"type":["integer","null"],"description":"Speech characters read aloud (metadata v5, since 4 Nov 2026; null before the first speech report)"},"speech_spend_micro":{"type":["integer","null"],"description":"speech spend in micro-USDC (integer, 6 decimals)"},"speech_spend_usd":{"type":["string","null"],"description":"speech spend in USDC, formatted with 2 decimals"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}},"text/csv":{"schema":{"type":"string"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/leaders":{"get":{"operationId":"leaders","tags":["Network"],"summary":"Last 24h leaders, wash left out","description":"The 'Happening now' band. Rolling 24h window. Providers we treat as wash trading are left out of every ranking (excluded_sellers says how many were active); this is our judgement, not a chain fact. Model rankings use per-model usage shared by buyers, so they are lower bounds.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"window_hours":{"type":"integer","description":"24"},"seller":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"buyers":{"type":"integer","description":"Distinct buyers"}}},"top_model_by_sales":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"requests":{"type":"integer","description":"Requests"},"buyers":{"type":"integer","description":"Buyers"}}},"top_model_by_tokens":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"requests":{"type":"integer","description":"Requests"},"buyers":{"type":"integer","description":"Buyers"}}},"top_free_model":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"tokens":{"type":"integer","description":"Free tokens"},"requests":{"type":"integer","description":"Free requests"},"buyers":{"type":"integer","description":"Buyers"}}},"free_models":{"type":"array","description":"Every model served free in the window, most free tokens first (the home's Top free models card)","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"tokens":{"type":"integer","description":"Free tokens"},"requests":{"type":"integer","description":"Free requests"},"buyers":{"type":"integer","description":"Buyers"}}}},"free_buyers":{"type":"integer","description":"Distinct buyers of free usage in the window"},"excluded_sellers":{"type":"integer","description":"Wash-trading providers active in the window and left out"}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/distribution":{"get":{"operationId":"distribution","tags":["Network"],"summary":"Who the volume concentrates on","description":"Lifetime settled USDC split across buyers and across providers: the top accounts with their share, the concentration indices (largest share, top three, HHI, effective number, Gini) and the Lorenz curve of each side. Every provider counts here, wash included: concentration is a chain fact, not a ranking.","parameters":[{"name":"top","in":"query","required":false,"description":"Rows per side","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"buyers":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"share":{"type":"number","description":"Share of the side's total, 0 to 1"},"settles":{"type":"integer","description":"Settlements"}}}},"concentration":{"type":"object","description":"Concentration of settled volume over this side","properties":{"total":{"type":"number","description":"Sum of the weights (USDC settled)"},"count":{"type":"integer","description":"Non-zero counterparties"},"top_share":{"type":"number","description":"Largest single share, 0 to 1"},"top3_share":{"type":"number","description":"Top three combined, 0 to 1"},"hhi":{"type":"number","description":"Herfindahl-Hirschman index, sum of squared shares, 0 to 1"},"effective":{"type":"number","description":"1 over HHI: effective number of equal-sized counterparties"},"gini":{"type":"number","description":"0 even, towards 1 one dominates"}}},"lorenz":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","description":"Share of accounts, 0 to 1"},"y":{"type":"number","description":"Share of volume, 0 to 1"}}}}}},"sellers":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"share":{"type":"number","description":"Share of the side's total, 0 to 1"},"settles":{"type":"integer","description":"Settlements"}}}},"concentration":{"type":"object","description":"Concentration of settled volume over this side","properties":{"total":{"type":"number","description":"Sum of the weights (USDC settled)"},"count":{"type":"integer","description":"Non-zero counterparties"},"top_share":{"type":"number","description":"Largest single share, 0 to 1"},"top3_share":{"type":"number","description":"Top three combined, 0 to 1"},"hhi":{"type":"number","description":"Herfindahl-Hirschman index, sum of squared shares, 0 to 1"},"effective":{"type":"number","description":"1 over HHI: effective number of equal-sized counterparties"},"gini":{"type":"number","description":"0 even, towards 1 one dominates"}}},"lorenz":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number","description":"Share of accounts, 0 to 1"},"y":{"type":"number","description":"Share of volume, 0 to 1"}}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sellers":{"get":{"operationId":"sellers","tags":["Providers"],"summary":"Every provider, lifetime and 6h to 30d","description":"The provider leaderboard. Lifetime figures from ChannelSettled and MetadataRecorded; revenue, tokens and points also over the last 6 and 24 hours, 7 and 30 days. points_* are the provider points of Antseed's usage accounting (sellerPointsByEpoch), counted like USDC (a dollar counted as paid is one point before the policies), but they are points, not dollars: points_7d is a number with 2 decimals, points_7d_micro the contract's 6-decimal integer, and points_7d / revenue_7d_usd is points per dollar. wash_registry is Antseed's on-chain verdict; organic is our view (registry plus confirmed clusters). The default view is all: nothing is hidden unless you ask.","parameters":[{"name":"sort","in":"query","required":false,"description":"Sort key, descending","schema":{"type":"string","enum":["revenue_7d","revenue_6h","revenue_24h","revenue_30d","revenue","tokens","tokens_6h","tokens_24h","tokens_7d","tokens_30d","points_6h","points_24h","points_7d","points_30d","requests"],"default":"revenue_7d"}},{"name":"view","in":"query","required":false,"description":"organic leaves out providers in the on-chain wash registry plus our confirmed clusters; all keeps every provider","schema":{"type":"string","enum":["all","organic"],"default":"all"}},{"name":"limit","in":"query","required":false,"description":"Rows to return (1 to 1000)","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"offset","in":"query","required":false,"description":"Rows to skip","schema":{"type":"integer","minimum":0,"maximum":1000000,"default":0}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer","description":"Providers matching the view"},"sellers":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x address"},"agent_id":{"type":["string","null"],"description":"On-chain agent id (null for announce-only peers)"},"name":{"type":["string","null"],"description":"Display name from the provider's own announcement (untrusted text)"},"verified":{"type":"boolean","description":"Has a domain or GitHub proof we verified"},"live":{"type":"boolean","description":"Announcing on the DHT right now"},"tee_advertised":{"type":"boolean","description":"Announces Antseed's TEE verifier (antseed-verifier) right now: the provider's claim, not an attestation we checked. Antseed's own Full / Partial TEE need a buyer's node to verify it"},"revenue_micro":{"type":"integer","description":"revenue in micro-USDC (integer, 6 decimals)"},"revenue_usd":{"type":"string","description":"revenue in USDC, formatted with 2 decimals"},"revenue_7d_micro":{"type":"integer","description":"revenue 7d in micro-USDC (integer, 6 decimals)"},"revenue_7d_usd":{"type":"string","description":"revenue 7d in USDC, formatted with 2 decimals"},"revenue_6h_micro":{"type":"integer","description":"revenue 6h in micro-USDC (integer, 6 decimals)"},"revenue_6h_usd":{"type":"string","description":"revenue 6h in USDC, formatted with 2 decimals"},"revenue_prev_6h_micro":{"type":"integer","description":"revenue prev 6h in micro-USDC (integer, 6 decimals)"},"revenue_prev_6h_usd":{"type":"string","description":"revenue prev 6h in USDC, formatted with 2 decimals"},"revenue_24h_micro":{"type":"integer","description":"revenue 24h in micro-USDC (integer, 6 decimals)"},"revenue_24h_usd":{"type":"string","description":"revenue 24h in USDC, formatted with 2 decimals"},"revenue_prev_24h_micro":{"type":"integer","description":"revenue prev 24h in micro-USDC (integer, 6 decimals)"},"revenue_prev_24h_usd":{"type":"string","description":"revenue prev 24h in USDC, formatted with 2 decimals"},"revenue_30d_micro":{"type":"integer","description":"revenue 30d in micro-USDC (integer, 6 decimals)"},"revenue_30d_usd":{"type":"string","description":"revenue 30d in USDC, formatted with 2 decimals"},"revenue_prev_30d_micro":{"type":"integer","description":"revenue prev 30d in micro-USDC (integer, 6 decimals)"},"revenue_prev_30d_usd":{"type":"string","description":"revenue prev 30d in USDC, formatted with 2 decimals"},"fees_micro":{"type":"integer","description":"fees in micro-USDC (integer, 6 decimals)"},"fees_usd":{"type":"string","description":"fees in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Lifetime settlement events"},"channels":{"type":"integer","description":"Lifetime payment channels"},"tokens":{"type":"integer","description":"Lifetime tokens served, input plus output (MetadataRecorded)"},"tokens_6h":{"type":"integer","description":"Tokens served in the last 6 hours, input plus output, the revenue_6h window"},"tokens_24h":{"type":"integer","description":"Tokens served in the last 24 hours"},"tokens_7d":{"type":"integer","description":"Tokens served in the last 7 days"},"tokens_30d":{"type":"integer","description":"Tokens served in the last 30 days"},"points_6h":{"type":"number","description":"points 6h: usage points the provider earned (2 decimals)"},"points_6h_micro":{"type":"integer","description":"points 6h in the contract's unit (integer, 6 decimals)"},"points_24h":{"type":"number","description":"points 24h: usage points the provider earned (2 decimals)"},"points_24h_micro":{"type":"integer","description":"points 24h in the contract's unit (integer, 6 decimals)"},"points_7d":{"type":"number","description":"points 7d: usage points the provider earned (2 decimals)"},"points_7d_micro":{"type":"integer","description":"points 7d in the contract's unit (integer, 6 decimals)"},"points_30d":{"type":"number","description":"points 30d: usage points the provider earned (2 decimals)"},"points_30d_micro":{"type":"integer","description":"points 30d in the contract's unit (integer, 6 decimals)"},"requests":{"type":"integer","description":"Lifetime requests (MetadataRecorded)"},"models":{"type":"integer","description":"Models advertised"},"reputation":{"type":["number","null"],"description":"Trust score 0 to 100 (Antseed SDK formula, recomputed by us)"},"ghost_rate":{"type":["number","null"],"description":"Share of channels opened and never settled, 0 to 1"},"wash_registry":{"type":"boolean","description":"Proven wash trader in Antseed's on-chain registry (chain fact), on any key of the provider's agent: a mark follows the agent across its keys"},"organic":{"type":"boolean","description":"In our Organic view: not in the registry and not in a cluster we confirmed (our judgement)"},"first_settle_ts":{"type":["integer","null"],"description":"First settlement, UTC seconds (null if none)"},"last_settle_ts":{"type":["integer","null"],"description":"Last settlement, UTC seconds (null if none)"},"previous_keys":{"type":"array","description":"Older keys of this provider's agent, folded into this row (one provider is one agent id: a key joins only when the previous key transferred the agent to it on-chain). Empty for almost every provider","items":{"type":"string","description":"Lowercase 0x address"}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sellers/{address}":{"get":{"operationId":"sellers.detail","tags":["Providers"],"summary":"One provider: totals, trust, verification","description":"Everything the provider page shows. trust holds the parts of the Antseed trust score as we recompute them from on-chain inputs with the SDK (0.2.168: power up to 70, usage up to 30, identity up to +20, free model +5, capped at 100, times the model-check multiplier; history is reported but scores 0); wash_registry comes from the registry contract.","parameters":[{"name":"address","in":"path","required":true,"description":"Provider address (0x, 40 hex, any case)","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"agent_id":{"type":["string","null"],"description":"On-chain agent id"},"peer_id":{"type":["string","null"],"description":"DHT peer id"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"model_checks":{"type":["object","null"],"description":"Antseed's model checks, read live off AntseedVerificationResults; null when the provider has no live verdict or the state could not be read (see the page: never shown as x0 on a failed read)","properties":{"same":{"type":"integer","description":"Live SAME verdicts (answers as the advertised model), every service of the agent"},"diff":{"type":"integer","description":"Live DIFF verdicts (very likely another model; two auditors agreed)"},"points_multiplier":{"type":["number","null"],"description":"The verification policy's multiplier on this provider's, its buyers' and its pool's points from each settlement on (rates read from the policy); null when no policy is registered"},"read_ts":{"type":"integer","description":"UTC seconds of the read (every 5 min)"},"tokens_flagged":{"type":["boolean","null"],"description":"Whether a DIFF that counts now was marked by the auditors' token-count test (its signed token counts do not match the model's own tokenizer), shown on the page for a provider whose points are cut (below x1); false at x1 or above, null when its checks could not be read"}}},"rank":{"type":["integer","null"],"description":"Position by lifetime revenue among the Organic providers; null for a provider outside Organic (see organic)"},"share":{"type":["number","null"],"description":"Share of the Organic providers' lifetime revenue, 0 to 1; null outside Organic"},"revenue_micro":{"type":"integer","description":"revenue in micro-USDC (integer, 6 decimals)"},"revenue_usd":{"type":"string","description":"revenue in USDC, formatted with 2 decimals"},"revenue_7d_micro":{"type":"integer","description":"revenue 7d in micro-USDC (integer, 6 decimals)"},"revenue_7d_usd":{"type":"string","description":"revenue 7d in USDC, formatted with 2 decimals"},"revenue_prev_7d_micro":{"type":"integer","description":"revenue prev 7d in micro-USDC (integer, 6 decimals)"},"revenue_prev_7d_usd":{"type":"string","description":"revenue prev 7d in USDC, formatted with 2 decimals"},"fees_micro":{"type":"integer","description":"fees in micro-USDC (integer, 6 decimals)"},"fees_usd":{"type":"string","description":"fees in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Settlements"},"channels":{"type":"integer","description":"Channels"},"buyers":{"type":"integer","description":"Distinct buyers"},"tokens":{"type":"integer","description":"Tokens served"},"requests":{"type":"integer","description":"Requests"},"reputation":{"type":["number","null"],"description":"Trust score 0 to 100"},"trust":{"type":"object","properties":{"history":{"type":["number","null"],"description":"0 to 50"},"usage":{"type":["number","null"],"description":"0 to 20"},"power":{"type":["number","null"],"description":"0 to 10"},"identity":{"type":["number","null"],"description":"0 to 20"},"identity_kind":{"type":["string","null"],"description":"Kind of identity claim"},"free_models":{"type":["number","null"],"description":"5 when the provider announces a free model, else null (added on top of the parts, total capped at 100)"},"epoch":{"type":["integer","null"],"description":"Epoch the score was computed for"}}},"ghost_rate":{"type":["number","null"],"description":"Channels never settled over channels opened, 0 to 1"},"stake_usdc":{"type":["number","null"],"description":"USDC stake on-chain"},"verified":{"type":"boolean","description":"Owner ✓: has a domain or GitHub proof we verified. About who runs the provider, not about its models (that is model_checks)"},"verification":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","description":"domain or github"},"target":{"type":"string","description":"Domain or GitHub user"},"verified":{"type":"boolean","description":"Effective state"},"href":{"type":"string","description":"Verified resource"}}}},"live":{"type":"boolean","description":"Announcing on the DHT now"},"wash_registry":{"type":"boolean","description":"Proven wash trader on-chain, on any key of the provider's agent"},"organic":{"type":"boolean","description":"In our Organic view"},"tee_advertised":{"type":"boolean","description":"Announces Antseed's TEE verifier (antseed-verifier) right now: the provider's claim, not an attestation we checked"},"routers":{"type":"array","description":"Routing services it last announced (irp-suggest); empty when not a router. A router picks a provider for the buyer; it is never listed as a model","items":{"type":"string","description":"Routing service id"}},"data_services":{"type":"array","description":"Data services it announces (openapi-data, metadata v18): its own HTTP API, billed per completed request. Not models: never in a model list or ranking","items":{"type":"object","properties":{"service":{"type":"string","description":"Announced service name"},"usd_per_request":{"type":["number","null"],"description":"USD per completed request (a 2xx answer with a body); null when no price is announced"},"free":{"type":"boolean","description":"The request price is 0"}}}},"first_settle_ts":{"type":["integer","null"],"description":"UTC seconds"},"last_settle_ts":{"type":["integer","null"],"description":"UTC seconds"},"keys":{"type":"array","description":"Every key of the provider's agent when it changed keys (current first); empty otherwise. Every figure above adds up all of them, and any of them answers here","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x address"},"current":{"type":"boolean","description":"The agent's current key (address above)"},"first_settle_ts":{"type":["integer","null"],"description":"First settlement by this key, UTC seconds"},"last_settle_ts":{"type":["integer","null"],"description":"Last settlement by this key, UTC seconds"},"transfer_tx":{"type":["string","null"],"description":"The ERC-8004 transfer that brought the agent to this key; null for the first key"},"revenue_micro":{"type":"integer","description":"revenue in micro-USDC (integer, 6 decimals)"},"revenue_usd":{"type":"string","description":"revenue in USDC, formatted with 2 decimals"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sellers/{address}/daily":{"get":{"operationId":"sellers.daily","tags":["Providers"],"summary":"One provider per UTC day (the cross-check)","description":"The cross-check series. settled is what changed hands on-chain for this provider that day (every ChannelSettled where it is the provider), which is why it can differ from what the provider measured as served. Tokens come from MetadataRecorded for the provider's agent and are null for announce-only peers.","parameters":[{"name":"address","in":"path","required":true,"description":"Provider address (0x, 40 hex, any case)","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},{"name":"from","in":"query","required":false,"description":"First UTC day, YYYY-MM-DD (default: 30 days ago)","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"description":"Last UTC day, YYYY-MM-DD (default: today)","schema":{"type":"string","format":"date"}},{"name":"format","in":"query","required":false,"description":"json (default) or csv","schema":{"type":"string","enum":["json","csv"],"default":"json"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"from":{"type":"string","description":"First day"},"to":{"type":"string","description":"Last day"},"days":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"fees_micro":{"type":"integer","description":"fees in micro-USDC (integer, 6 decimals)"},"fees_usd":{"type":"string","description":"fees in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Settlements"},"buyers":{"type":"integer","description":"Distinct buyers"},"tokens_in":{"type":["integer","null"],"description":"Input tokens"},"tokens_out":{"type":["integer","null"],"description":"Output tokens"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}},"text/csv":{"schema":{"type":"string"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sellers/{address}/checks":{"get":{"operationId":"sellers.checks","tags":["Providers"],"summary":"Model checks of one provider","description":"Auditors approved by Antseed send a provider fixed questions and compare its answers with the real model's; SAME means it answers as the model it advertises, DIFF that it very likely serves another (two auditors must agree on the same test). Since Antseed's audit rules of 26 Nov 2026 a DIFF can also come from a token-count or an echo test (billed output above what the model writes): diff_by names it, and such a row carries no question figures. Each check comes with the counts behind it from the auditors' evidence on IPFS, kept only when its hash matches the one on-chain: answers that differed against the real model's own noise. models is each advertised service's latest check, from whichever round audited it last, DIFF first; counts_now says whether it is the service's live verdict on-chain now (a verdict counts until its valid_until_epoch unless a newer audit replaces it; the newer one may count before its evidence is read), so an older fail stays on record without reading as a live one; a PENDING right after it can keep beside it the recorded check that still counts. epoch is the live epoch. rounds is every round with the multiplier right after it. live and points_multiplier are read off the chain every 5 minutes and null when that read is stale (then epoch and counts_now are null too).","parameters":[{"name":"address","in":"path","required":true,"description":"Provider address (0x, 40 hex, any case)","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"agent_id":{"type":["string","null"],"description":"Agent id"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"epoch":{"type":["integer","null"],"description":"The live epoch of Antseed's verification results; null when the live state is missing or stale"},"unread":{"type":["integer","null"],"description":"Live verdicts the contract counts for this provider, recorded in the last 24 hours, that no check here counts yet (a newer audit or a decided PENDING whose evidence is still on its way from IPFS): while above 0, models is behind live. null when the live state is missing or stale"},"evidence_missing":{"type":["integer","null"],"description":"Live verdicts counted for over 24 hours whose evidence never reached us (not published, or its hash did not match): the chain counts them, we cannot show their figures. null when the live state is missing or stale"},"live":{"type":["object","null"],"description":"Live off the chain; null when not audited or the read is stale","properties":{"same":{"type":"integer","description":"Models passing now"},"diff":{"type":"integer","description":"Models failing now"},"points_multiplier":{"type":["number","null"],"description":"The verification policy's multiplier on its $ANTS points now"}}},"models":{"type":"array","description":"Each advertised service's latest check, whichever round, DIFF first; counts_now marks the ones that count now","items":{"type":"object","properties":{"service":{"type":"string","description":"The name the provider advertises"},"model":{"type":"string","description":"The model as the auditor names it"},"epoch":{"type":"integer","description":"Epoch of the round"},"audited_ts":{"type":"integer","description":"Unix seconds of the latest report"},"first_round":{"type":"boolean","description":"The 21-oct-2026 round on Antseed's first audit contract, before checks counted for points"},"verdict":{"type":"string","description":"The verdict the contract recorded for that round. PENDING: one DIFF report, a second auditor decides","enum":["SAME","DIFF","UNDETERMINED","PENDING"]},"close_call":{"type":"boolean","description":"A DIFF the questions decided that no auditor could call on its first set of questions (decided after extra sets); never one another test marked"},"diff_by":{"type":["array","null"],"description":"A DIFF (or a lone DIFF report) the questions did not decide: the other tests that marked it (tokens, output-echo, output-offset), empty when the evidence names none (decided before any question). The row then carries no question figures. null for a DIFF the questions decided, and for every other verdict","items":{"type":"string","description":"A test"}},"not_tested":{"type":["string","null"],"description":"Why no auditor could test it; null when tested"},"valid_until_epoch":{"type":["integer","null"],"description":"The check counts while the epoch is below this; null for the first round"},"counts_now":{"type":["boolean","null"],"description":"Whether this check is the service's live verdict on-chain now (from the same live read as live; never the first round). Its SAME or DIFF is what live and the points multiplier are made of; an UNDETERMINED counts for nothing. The page's main table shows these and folds the rest below it. null when our data holds no recorded verdict for this check yet (a PENDING, or a SAME/UNDETERMINED whose status event is not read yet: see valid_until_epoch null) or the live state is missing or stale"},"diffs":{"type":["integer","null"],"description":"Answers that differed in the lead read (lead_auditor's deciding read); reads are never added"},"total":{"type":["integer","null"],"description":"Answers compared in that read"},"lead_auditor":{"type":["string","null"],"description":"The read the row's figures come from: among the reads that agree with the verdict, the one with the largest margin (furthest over the line for a DIFF, closest to it for a SAME)"},"auditors_split":{"type":"boolean","description":"The auditors that got answers disagreed (one DIFF, one SAME); each read is in reads"},"noise_ceiling":{"type":["number","null"],"description":"The lead read's 99% upper bound of the noise rate"},"fail_line":{"type":["integer","null"],"description":"The lead read's fail line: this many different answers or more fails"},"line_rate":{"type":["number","null"],"description":"That line as a share of the read's answers"},"margin":{"type":["integer","null"],"description":"diffs − fail_line in the lead read: 0 or more fails, below 0 passes"},"times_noise":{"type":["number","null"],"description":"The lead read's share that differed ÷ the real model's own share in it"},"noise_diffs":{"type":["integer","null"],"description":"The real model's own differences in the lead read"},"noise_total":{"type":["integer","null"],"description":"The real model's answers compared in it"},"reads":{"type":"array","description":"Each auditor's read","items":{"type":"object","properties":{"auditor":{"type":"string","description":"Auditor address, lowercase"},"audited_ts":{"type":"integer","description":"Unix seconds the report reached the chain"},"verdict":{"type":"string","description":"This auditor's own verdict","enum":["SAME","DIFF","UNDETERMINED"]},"outcome":{"type":["string","null"],"description":"Why the audit could not run (the provider's error code); null when it ran"},"first_diffs":{"type":["integer","null"],"description":"Answers that differed on the first set of questions"},"first_total":{"type":["integer","null"],"description":"Questions answered on the first set"},"p_value":{"type":["number","null"],"description":"Binomial p-value of the first set"},"extra_sets":{"type":"integer","description":"Extra sets of questions run on a close call"},"diffs":{"type":["integer","null"],"description":"Answers that differed in the deciding read (pooled over the extra sets when they were stored pooled)"},"total":{"type":["integer","null"],"description":"Answers in the deciding read"},"noise_diffs":{"type":["integer","null"],"description":"The real model's answers that differed from each other in the same read: the noise"},"noise_total":{"type":["integer","null"],"description":"The real model's answers compared"},"pooled_p_value":{"type":["number","null"],"description":"p-value of the pooled read; null without extra sets"},"noise_ceiling":{"type":["number","null"],"description":"The 99% upper bound of the noise rate in the deciding read, what the provider is tested against"},"proof_url":{"type":["string","null"],"description":"The provider's evidence file (questions, answers, comparison) through an IPFS gateway"},"fail_line":{"type":["integer","null"],"description":"This many different answers or more fails the deciding read: the line the verdict used, from that read's own noise ceiling and the rule's p-value threshold"},"margin":{"type":["integer","null"],"description":"diffs − fail_line: 0 or more fails, below 0 passes"},"alpha":{"type":["number","null"],"description":"The p-value the deciding read had to fall below to fail: 0.005 on a first set or a look before the last, 0.05 on the last look and in the 20-oct first round; null under a rule we do not know"},"planned_fail_line":{"type":["integer","null"],"description":"The first set's line planned before the run, in the provider's evidence file (criticalMismatchCount); the run's own noise can move the real line above it"},"probe_count":{"type":["integer","null"],"description":"Questions in the first set"},"power":{"type":["number","null"],"description":"Chance the first set catches a provider serving another model"},"flagged_by":{"type":["array","null"],"description":"The tests that marked this read DIFF, in the auditor's words: kbf (the questions), tokens (the token-count pre-check), output-echo and output-offset (the echo test: billed output above what the model writes). Empty for a read no test marked; null when the evidence does not say (before Antseed's audit rules of 26 Nov 2026)","items":{"type":"string","description":"A test"}},"questions_verdict":{"type":["string","null"],"description":"What the questions alone said (SAME, DIFF…), apart from the other tests; null when the evidence does not say"},"inactive_checks":{"type":["array","null"],"description":"Checks the auditor ran and recorded but that do not count toward the verdict under the current rules (output-cap, flips); null when the evidence does not say","items":{"type":"string","description":"A check"}},"detail":{"type":["object","null"],"description":"From the provider's own evidence file, hash-checked; null until read","properties":{"subjects":{"type":"array","items":{"type":"object","properties":{"subject":{"type":"string","description":"Subject of the questions"},"differed":{"type":"integer","description":"Answers that differed"},"answered":{"type":"integer","description":"Answers compared"}}}},"examples":{"type":"array","description":"The misses furthest from the real model","items":{"type":"object","properties":{"domain":{"type":"string","description":"Subject"},"question":{"type":"string","description":"The question"},"reference":{"type":["string","null"],"description":"The real model's answer (number or text)"},"answer":{"type":["string","null"],"description":"The provider's answer (number or text)"}}}},"latency_ms":{"type":["integer","null"],"description":"Median answer time"},"audit_cost_usd":{"type":["number","null"],"description":"What the audit spent buying from the provider"},"reasoning":{"type":["object","null"],"description":"How the provider handled being asked not to reason (the reference answers without)","properties":{"strategy":{"type":["string","null"],"description":"How the auditor finally asked"},"attempts":{"type":"array","items":{"type":"object","properties":{"strategy":{"type":"string","description":"How the auditor asked: a way to switch reasoning off or, since 26 Nov 2026, the model's one fixed level (chat-reasoning-effort-none, -minimal as its fallback, -low)"},"reasoning_tokens":{"type":["integer","null"],"description":"Reasoning tokens the provider still used"},"valid_answers":{"type":["integer","null"],"description":"Answers it could parse"}}}}}}}}}}},"references":{"type":["array","null"],"description":"What the auditors compared against","items":{"type":"object","properties":{"model":{"type":["string","null"],"description":"Reference model id"},"type":{"type":["string","null"],"description":"Where it was called (openrouter)"},"provider_pin":{"type":"array","items":{"type":"string","description":"Provider"}},"overrides":{"type":["object","null"],"description":"Request settings the auditor forced (reasoning effort)","properties":{}}}}},"model_id":{"type":["string","null"],"description":"Our canonical model id (for /models/{id})"},"model_display":{"type":["string","null"],"description":"Model name"}}}},"rounds":{"type":"array","description":"Newest first","items":{"type":"object","properties":{"epoch":{"type":"integer","description":"Epoch"},"started_ts":{"type":"integer","description":"Unix seconds of the round's first report"},"first_round":{"type":"boolean","description":"Before checks counted for points"},"passed":{"type":"integer","description":"SAME"},"failed":{"type":"integer","description":"DIFF"},"not_tested":{"type":"integer","description":"UNDETERMINED"},"pending":{"type":"integer","description":"DIFF with one report, waiting for a second"},"rules_change":{"type":"boolean","description":"The first round under Antseed's audit rules of 26 Nov 2026 (a DIFF can come from the token-count or echo test, not only the questions), with an older round before it: fails on either side are not counted the same way"},"points_multiplier":{"type":["number","null"],"description":"The multiplier right after the round; null before points"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/sellers/{address}/models":{"get":{"operationId":"sellers.models","tags":["Providers"],"summary":"What a provider advertises and sold","description":"advertised is the signed metadata as the network sees it (token prices in USD per 1M tokens; image and video listings carry their unit price, and modality says which applies). sold is decoded from settlements whose buyers shared a per-model split, so it is a lower bound and names come as advertised.","parameters":[{"name":"address","in":"path","required":true,"description":"Provider address (0x, 40 hex, any case)","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},{"name":"period","in":"query","required":false,"description":"Adds sold_period: settled USD, tokens, requests and distinct buyers per model over the last 6 or 24 hours, 7 or 30 days (rolling, the same windows as /sellers revenue_6h ... revenue_30d), only models with a sale in it. sold stays lifetime","schema":{"type":"string","enum":["6h","24h","7d","30d","all"],"default":"all"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"model_checks":{"type":["object","null"],"description":"Antseed's model checks, read live off AntseedVerificationResults; null when the provider has no live verdict or the state could not be read (see the page: never shown as x0 on a failed read)","properties":{"same":{"type":"integer","description":"Live SAME verdicts (answers as the advertised model), every service of the agent"},"diff":{"type":"integer","description":"Live DIFF verdicts (very likely another model; two auditors agreed)"},"points_multiplier":{"type":["number","null"],"description":"The verification policy's multiplier on this provider's, its buyers' and its pool's points from each settlement on (rates read from the policy); null when no policy is registered"},"read_ts":{"type":"integer","description":"UTC seconds of the read (every 5 min)"}}},"advertised":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"model_display":{"type":"string","description":"Name"},"advertised_as":{"type":"string","description":"Raw announced name"},"input_usd_per_m":{"type":["number","null"],"description":"USD per 1M input"},"cached_input_usd_per_m":{"type":["number","null"],"description":"USD per 1M cached input"},"output_usd_per_m":{"type":["number","null"],"description":"USD per 1M output"},"free":{"type":"boolean","description":"Text: both token rates are 0. Image: the image price is 0. Speech: the character price is 0. Data: the request price is 0. Video: never"},"protocols":{"type":["string","null"],"description":"CSV of API protocols"},"categories":{"type":["string","null"],"description":"Provider tags, CSV"},"list_input_usd_per_m":{"type":["number","null"],"description":"List USD per 1M input (OpenRouter, or Venice when OpenRouter has none); null when there is none"},"list_source":{"type":["string","null"],"description":"Where the list price comes from","enum":["openrouter","venice"]},"save_pct":{"type":["number","null"],"description":"Percent below list (1-99, 100 when free). Text: input rate vs list_input_usd_per_m. Image: image_usd vs list_image_usd. Speech: usd_per_1m_chars vs list_usd_per_1m_chars. Null when not cheaper, no list price, or a video model"},"modality":{"type":"string","description":"What the listing serves; for image, video, speech and data the token prices are protocol fallbacks (null). data is a provider's own HTTP API, billed per completed request: not a model","enum":["text","image","video","speech","decision","data"]},"image_usd":{"type":["number","null"],"description":"USD per generated image; null when not unit-billed per image"},"video_usd_per_second":{"type":["number","null"],"description":"USD per second of video (720p when priced by resolution)"},"video_usd_per_video":{"type":["number","null"],"description":"USD per finished video, for providers pricing per generation"},"list_image_usd":{"type":["number","null"],"description":"Venice list USD per image (image listings only)"},"usd_per_1m_chars":{"type":["number","null"],"description":"Speech: USD per 1M input characters (the text read aloud); null when not a speech listing"},"list_usd_per_1m_chars":{"type":["number","null"],"description":"Speech: Venice list USD per 1M characters (speech listings only); null when Venice has no list price for the model"},"speech_voices":{"type":["array","null"],"description":"Speech: the voices it accepts; another voice is refused unless speech_custom_voices","items":{"type":"string","description":"Voice name"}},"speech_formats":{"type":["array","null"],"description":"Speech: the response formats it returns","items":{"type":"string","description":"Audio format"}},"speech_custom_voices":{"type":["boolean","null"],"description":"Speech: also takes account-specific voice ids"},"usd_per_request":{"type":["number","null"],"description":"Data: USD per completed request (0 is free); null when not a data listing or no price is announced"},"model_check":{"type":["string","null"],"description":"Antseed's live model check on this listing: SAME (answers as the model) or DIFF (very likely another model); null when none is live","enum":["SAME","DIFF"]},"health":{"type":["string","null"],"description":"Provider-reported state of this service: healthy, failing or unknown. null when the provider reports none (SDK older than 0.2.157), which is not the same as healthy","enum":["healthy","failing","unknown"]},"health_reason":{"type":["string","null"],"description":"Why it fails, the SDK's code: timeout, rate_limited, out_of_credit, auth, model_unavailable, upstream_error, unreachable, init_failed"},"health_source":{"type":["string","null"],"description":"probe (the provider's own 5-minute check) or traffic (live buyer requests)","enum":["probe","traffic"]},"health_checked_ts":{"type":["integer","null"],"description":"Unix seconds of the evidence behind health"},"health_since_ts":{"type":["integer","null"],"description":"Unix seconds of the first failure of the current streak"},"health_http_status":{"type":["integer","null"],"description":"Upstream HTTP status of the last failed check"},"health_not_served":{"type":"boolean","description":"Failing for a day or more: the provider stopped serving it; out of every count and catalog, listed for the record"},"requests_last_hour":{"type":["integer","null"],"description":"Buyer requests in the provider's last hour, as the provider counts them"},"success_rate":{"type":["number","null"],"description":"Share of them answered without a server-side failure, 0 to 1"},"first_token_ms_p50":{"type":["integer","null"],"description":"Median ms to the first streamed token, provider-measured"},"first_token_ms_p90":{"type":["integer","null"],"description":"90th percentile ms to the first token"},"tokens_per_second_p50":{"type":["integer","null"],"description":"Median output speed, tokens per second"}}}},"sold":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"model_display":{"type":"string","description":"Name"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"requests":{"type":"integer","description":"Requests"},"buyers":{"type":"integer","description":"Distinct buyers"},"other":{"type":["boolean","null"],"description":"True only on the catch-all row: usage the Antseed SDK keeps in one bucket once a channel passes 31 models (model \"other\")"},"data":{"type":"boolean","description":"A data service, not a model: model is its announced service name"}}}},"period":{"type":["string","null"],"description":"The window of sold_period; only with period other than all"},"period_as_of_ts":{"type":["integer","null"],"description":"UTC seconds of the clock the window was cut from (cached up to ~5 min); only with period other than all"},"sold_period":{"type":["array","null"],"description":"Only with period other than all: what sold in the window, from the per-model reports settled in it (the same lower bound as sold), largest first","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"model_display":{"type":"string","description":"Name"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"requests":{"type":"integer","description":"Requests"},"buyers":{"type":"integer","description":"Distinct buyers who bought it in the window"},"other":{"type":["boolean","null"],"description":"True only on the catch-all row (model \"other\")"},"data":{"type":"boolean","description":"A data service, not a model"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/registry":{"get":{"operationId":"registry","tags":["Providers"],"summary":"Antseed's on-chain wash registry","description":"The providers Antseed itself has proven to be wash trading, as written in the on-chain registry (M001, 6-sep-2026): the list is a chain fact we only read. Our own clusters are not in it; they stay a flag (organic) on the provider endpoints. Usage points from epoch 22 leave these providers out.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer","description":"Providers in the registry"},"sellers":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"agent_id":{"type":["string","null"],"description":"On-chain agent id"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/buyers/top":{"get":{"operationId":"buyers.top","tags":["Buyers"],"summary":"Who is buying now: this week and top","description":"The /buyers page. totals counts every wallet over rolling windows: buyers in the last 24 hours and 7 days, the 7 days before (the page's comparison), USD settled in 7 days and the share of it from the 10 largest buyers, new buyers (first settlement ever in the last 7 days) and what they spent, and regulars (settled in each of the last 4 closed calendar weeks, Monday to Sunday UTC). free_tier counts the wallets on the free tier only this week (buyer-signed, unpaid reports, easier to fake than a payment). spend_mix_7d sorts the week's buyers into spend bands. buyers ranks wallets by USD settled in the period; the organic view counts only spend with organic providers and leaves out buyers with none. A buyer is a wallet: Antseed has no buyer names.","parameters":[{"name":"period","in":"query","required":false,"description":"Rolling window of the ranking","schema":{"type":"string","enum":["24h","7d","30d"],"default":"7d"}},{"name":"view","in":"query","required":false,"description":"organic leaves out providers in the on-chain wash registry plus our confirmed clusters; all keeps every provider","schema":{"type":"string","enum":["all","organic"],"default":"organic"}},{"name":"limit","in":"query","required":false,"description":"Rows to return (1 to 1000)","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"offset","in":"query","required":false,"description":"Rows to skip","schema":{"type":"integer","minimum":0,"maximum":1000000,"default":0}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"period":{"type":"string","description":"The window ranked"},"view":{"type":"string","description":"organic or all"},"totals":{"type":"object","properties":{"buyers_24h":{"type":"integer","description":"Wallets that settled in the last 24 hours"},"buyers_7d":{"type":"integer","description":"Wallets that settled in the last 7 days"},"buyers_prev_7d":{"type":"integer","description":"Wallets that settled 14 to 7 days ago"},"spent_7d_micro":{"type":"integer","description":"spent 7d in micro-USDC (integer, 6 decimals)"},"spent_7d_usd":{"type":"string","description":"spent 7d in USDC, formatted with 2 decimals"},"top10_share_7d":{"type":["number","null"],"description":"Share of spent_7d from the week's 10 largest buyers, 0 to 1"},"new_7d":{"type":"integer","description":"Wallets whose first settlement ever is in the last 7 days"},"new_7d_spent_micro":{"type":"integer","description":"new 7d spent in micro-USDC (integer, 6 decimals)"},"new_7d_spent_usd":{"type":"string","description":"new 7d spent in USDC, formatted with 2 decimals"},"regulars":{"type":"integer","description":"Wallets that settled in each of the last regular_weeks closed calendar weeks"},"regular_weeks":{"type":"integer","description":"Closed calendar weeks a regular settled in, each"}}},"free_tier":{"type":"object","properties":{"only_7d":{"type":"integer","description":"Wallets that used the free tier in the last 7 days and settled nothing in them (buyer-signed, unpaid reports)"},"new_7d":{"type":"integer","description":"Free-only wallets first seen in the last 7 days"},"regulars":{"type":"integer","description":"Free-only wallets that used the free tier in each of the last regular_weeks closed calendar weeks"},"then_paid_7d":{"type":"integer","description":"Of the last 7 days' first-time payers, the wallets that used the free tier before"}}},"spend_mix_7d":{"type":"object","description":"The last 7 days' buyers by what each one settled, every provider","properties":{"bands":{"type":"array","items":{"type":"object","properties":{"band":{"type":"string","description":"under1, 1to10, 10to100 or 100plus"},"from_usd":{"type":"number","description":"Lower bound of the band, USD, inclusive"},"buyers":{"type":"integer","description":"Wallets whose 7-day spend falls in the band"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"}}}},"one_seller":{"type":"integer","description":"Buyers of the 7 days that paid a single provider"},"five_plus_sellers":{"type":"integer","description":"Buyers of the 7 days that paid five providers or more"}}},"total":{"type":"integer","description":"Buyers in the period and view"},"buyers":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer","description":"Position in the period and view"},"address":{"type":"string","description":"Lowercase 0x"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"share":{"type":"number","description":"Share of the period's USD in the view, 0 to 1"},"sellers":{"type":"integer","description":"Distinct providers paid in the period (organic providers only in the organic view)"},"first_settle_ts":{"type":"integer","description":"First settlement ever, UTC seconds"},"is_new":{"type":"boolean","description":"First settlement in the last 7 days"},"streak_weeks":{"type":"integer","description":"Calendar weeks in a row with a settlement, up to the current week (or the last closed one); 0 under 2"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/buyers/daily":{"get":{"operationId":"buyers.days","tags":["Buyers"],"summary":"Buyers per UTC day, paid and free","description":"The /buyers chart. active: wallets that settled at least one paid channel that UTC day. new: wallets whose first settlement ever was that day. total: wallets that had settled by the end of the day. The free_ columns are the free tier, from buyer-signed, unpaid reports (easier to fake than a payment): free_active, wallets active that day only through free usage; free_new, wallets first seen on the free tier that day that have never paid; free_total, the running count of those. Every wallet, no gaps; today is partial.","parameters":[{"name":"from","in":"query","required":false,"description":"First UTC day, YYYY-MM-DD (default: 30 days ago)","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"description":"Last UTC day, YYYY-MM-DD (default: today)","schema":{"type":"string","format":"date"}},{"name":"format","in":"query","required":false,"description":"json (default) or csv","schema":{"type":"string","enum":["json","csv"],"default":"json"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"from":{"type":"string","description":"First day"},"to":{"type":"string","description":"Last day"},"days":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day"},"active":{"type":"integer","description":"Wallets that settled that day"},"new":{"type":"integer","description":"Wallets whose first settlement was that day"},"total":{"type":"integer","description":"Wallets that had settled by the end of that day"},"free_active":{"type":"integer","description":"Wallets active that day only through the free tier"},"free_new":{"type":"integer","description":"Free-only wallets first seen that day"},"free_total":{"type":"integer","description":"Free-only wallets seen by the end of that day"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}},"text/csv":{"schema":{"type":"string"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/buyers/history":{"get":{"operationId":"buyers.history","tags":["Buyers"],"summary":"Buyers since the start: retention","description":"The /buyers all-time figures. total_ever counts every wallet that settled a paid channel; free_only_wallets the ones that only used the free tier (never in total_ever). still_buying: of the wallets whose first settlement is older than 30 days, the ones that settled in the last 30; the page shows the all view, organic reads only settlements with organic providers (first and last ones included). mix_7d splits the last 7 days' buyers into new (first settlement ever in the 7 days), regular (settled in each of the last 4 closed calendar weeks) and returning (the rest). weeks are calendar weeks, Monday 00:00 UTC, from the first settlement on; the last one is partial; new is the week of a wallet's first settlement ever, with any provider, in both views. cohorts group wallets by that first week; active[k] counts the members that settled k weeks later.","parameters":[{"name":"view","in":"query","required":false,"description":"organic leaves out providers in the on-chain wash registry plus our confirmed clusters; all keeps every provider","schema":{"type":"string","enum":["all","organic"],"default":"all"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"view":{"type":"string","description":"all or organic: the view of weeks"},"total_ever":{"type":"integer","description":"Wallets that ever settled a paid channel"},"free_only_wallets":{"type":"integer","description":"Wallets that used only the free tier (buyer-signed reports)"},"free_then_paid":{"type":"integer","description":"Wallets that used the free tier before their first payment (in total_ever)"},"still_buying":{"type":"object","properties":{"days":{"type":"integer","description":"The window, in days"},"all":{"type":"object","properties":{"base":{"type":"integer","description":"Wallets whose first settlement is older than the window"},"kept":{"type":"integer","description":"Of those, the ones that settled inside it"},"share":{"type":["number","null"],"description":"kept over base, 0 to 1"}}},"organic":{"type":"object","properties":{"base":{"type":"integer","description":"Same, organic providers only"},"kept":{"type":"integer","description":"Same, organic providers only"},"share":{"type":["number","null"],"description":"kept over base, 0 to 1"}}}}},"kept_from_prev_7d":{"type":"integer","description":"Of the wallets that settled 14 to 7 days ago, the ones that settled again in the last 7 days"},"mix_7d":{"type":"object","description":"The last 7 days' buyers in three groups that add up to the week's buyers, every provider","properties":{"new":{"type":"object","properties":{"buyers":{"type":"integer","description":"Wallets"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"}}},"regular":{"type":"object","properties":{"buyers":{"type":"integer","description":"Wallets"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"}}},"returning":{"type":"object","properties":{"buyers":{"type":"integer","description":"Wallets"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"}}}}},"weeks":{"type":"array","items":{"type":"object","properties":{"week":{"type":"string","description":"Monday of the calendar week, UTC"},"buyers":{"type":"integer","description":"Wallets that settled in it"},"new":{"type":"integer","description":"Of those, first settlement ever in it"},"returning":{"type":"integer","description":"The others"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"partial":{"type":"boolean","description":"The current week, still running"}}}},"cohorts":{"type":"array","items":{"type":"object","properties":{"week":{"type":"string","description":"Monday of the cohort's first week"},"buyers":{"type":"integer","description":"Wallets whose first settlement was in it"},"active":{"type":"array","description":"From k = 0, the cohort's own week","items":{"type":"integer","description":"Members that settled k weeks later"}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/buyers/free-to-paid":{"get":{"operationId":"buyers.free_to_paid","tags":["Buyers"],"summary":"From free to paid","description":"The /buyers section on the free tier's paying wallets. converted counts wallets whose first free use came before their first payment (paid_first, the other way round, is not in it); paid_within says how many paid within a day, a week, a month of that first free use. spent is what they have settled since, spent_7d in the last 7 days, and share_of_spend_7d its share of every buyer's last 7 days. same_seller: converted wallets that have paid the provider of their first free use. weeks groups the wallets that were free when they arrived by the calendar week of their first free use (Monday, UTC) and counts the ones that paid within 7 days; partial while some have not had their 7 days. providers lists the provider of each wallet's first free use, with at least one conversion. Free usage is signed by the buyer and unpaid (easier to fake); the payments are on-chain settlements.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"converted":{"type":"integer","description":"Wallets whose first free use came before their first payment"},"converted_7d":{"type":"integer","description":"Of those, the ones whose first payment fell in the last 7 days"},"paid_within":{"type":"object","properties":{"day":{"type":"integer","description":"First payment within 24 hours of the first free use"},"week":{"type":"integer","description":"Within 7 days"},"month":{"type":"integer","description":"Within 30 days"}}},"median_hours":{"type":["number","null"],"description":"Median hours from first free use to first payment"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"spent_7d_micro":{"type":"integer","description":"spent 7d in micro-USDC (integer, 6 decimals)"},"spent_7d_usd":{"type":"string","description":"spent 7d in USDC, formatted with 2 decimals"},"all_spent_7d_micro":{"type":"integer","description":"all spent 7d in micro-USDC (integer, 6 decimals)"},"all_spent_7d_usd":{"type":"string","description":"all spent 7d in USDC, formatted with 2 decimals"},"share_of_spend_7d":{"type":["number","null"],"description":"spent_7d over all_spent_7d, 0 to 1"},"same_seller":{"type":"integer","description":"Converted wallets that have paid the provider of their first free use"},"paid_first":{"type":"integer","description":"Wallets that paid before their first free use (not in converted)"},"weeks":{"type":"array","items":{"type":"object","properties":{"week":{"type":"string","description":"Monday of the week of the first free use, UTC"},"wallets":{"type":"integer","description":"Wallets free when they arrived that week"},"paid_within_7d":{"type":"integer","description":"Of those, paid within 7 days"},"rate":{"type":"number","description":"paid_within_7d over wallets, 0 to 1"},"partial":{"type":"boolean","description":"Some of the week's wallets have not had their 7 days"}}}},"sellers":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"organic":{"type":"boolean","description":"Counted by the Organic view"},"free_wallets":{"type":"integer","description":"Wallets whose first free use was with this provider and had not paid before"},"converted":{"type":"integer","description":"Of those, the ones that later paid, any provider"},"rate":{"type":"number","description":"converted over free_wallets, 0 to 1"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/buyers":{"get":{"operationId":"buyers","tags":["Buyers"],"summary":"Every buyer, lifetime spend","description":"The /buyers/all leaderboard. Lifetime spend from every ChannelSettled where the address is the buyer; tokens and requests from MetadataRecorded. spent_organic and sellers_organic count only organic providers; view=organic lists the buyers with some, and the spent sort then ranks by spent_organic. totals adds the lifetime counts and the escrow flows (also on /buyers/escrow). ants_earned and staked_ants are the $ANTS side (per epoch and per pool in /buyers/{address}/rewards). Free-tier-only buyers are not listed; see /buyers/{address}.","parameters":[{"name":"view","in":"query","required":false,"description":"organic leaves out providers in the on-chain wash registry plus our confirmed clusters; all keeps every provider","schema":{"type":"string","enum":["all","organic"],"default":"all"}},{"name":"sort","in":"query","required":false,"description":"Sort key, descending; spent_7d ranks by the rolling last 7 days","schema":{"type":"string","enum":["spent","spent_7d","settles","tokens","requests","last_settle","ants_earned","staked"],"default":"spent"}},{"name":"limit","in":"query","required":false,"description":"Rows to return (1 to 1000)","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"offset","in":"query","required":false,"description":"Rows to skip","schema":{"type":"integer","minimum":0,"maximum":1000000,"default":0}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer","description":"Buyers listed"},"totals":{"type":"object","properties":{"paying":{"type":"integer","description":"Buyers that settled at least once"},"depositors":{"type":"integer","description":"Addresses that deposited into escrow"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"escrow_deposited_micro":{"type":"integer","description":"escrow deposited in micro-USDC (integer, 6 decimals)"},"escrow_deposited_usd":{"type":"string","description":"escrow deposited in USDC, formatted with 2 decimals"},"escrow_withdrawn_micro":{"type":"integer","description":"escrow withdrawn in micro-USDC (integer, 6 decimals)"},"escrow_withdrawn_usd":{"type":"string","description":"escrow withdrawn in USDC, formatted with 2 decimals"},"escrow_net_micro":{"type":"integer","description":"escrow net in micro-USDC (integer, 6 decimals)"},"escrow_net_usd":{"type":"string","description":"escrow net in USDC, formatted with 2 decimals"}}},"buyers":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x address"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"spent_7d_micro":{"type":["integer","null"],"description":"USDC settled in the rolling last 7 days, micro-USDC (null on the detail endpoint)"},"spent_7d_usd":{"type":["string","null"],"description":"USDC settled in the rolling last 7 days, 2 decimals (null on the detail endpoint)"},"settles":{"type":"integer","description":"Lifetime settlement events as the buyer"},"channels":{"type":"integer","description":"Payment channels opened"},"sellers":{"type":"integer","description":"Distinct providers paid"},"tokens":{"type":"integer","description":"Lifetime tokens bought, input plus output (MetadataRecorded)"},"requests":{"type":"integer","description":"Lifetime requests (MetadataRecorded)"},"deposited_micro":{"type":"integer","description":"deposited in micro-USDC (integer, 6 decimals)"},"deposited_usd":{"type":"string","description":"deposited in USDC, formatted with 2 decimals"},"first_settle_ts":{"type":["integer","null"],"description":"First settlement, UTC seconds (null if none)"},"last_settle_ts":{"type":["integer","null"],"description":"Last settlement, UTC seconds (null if none)"},"spent_organic_micro":{"type":"integer","description":"spent organic in micro-USDC (integer, 6 decimals)"},"spent_organic_usd":{"type":"string","description":"spent organic in USDC, formatted with 2 decimals"},"sellers_organic":{"type":"integer","description":"Distinct organic providers paid"},"ants_earned":{"type":["number","null"],"description":"$ANTS earned in closed epochs since 22 (usage-rewards contract); null when it could not be read"},"staked_ants":{"type":["number","null"],"description":"$ANTS principal in provider pools, counting now or from the next epoch; null when the pools could not be read"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/buyers/escrow":{"get":{"operationId":"buyers.escrow","tags":["Buyers"],"summary":"Buyer escrow: deposited, withdrawn, net","description":"The /buyers/escrow page. Buyers fund an escrow (AntseedDeposits) before they open channels. deposited sums every deposit, withdrawn every WithdrawalExecuted, net is the difference (an accounting net, not a balance read). depositors counts the wallets that deposited at least once, paying those that settled at least once.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"depositors":{"type":"integer","description":"Wallets that deposited into escrow"},"paying":{"type":"integer","description":"Wallets that settled at least once"},"deposited_micro":{"type":"integer","description":"deposited in micro-USDC (integer, 6 decimals)"},"deposited_usd":{"type":"string","description":"deposited in USDC, formatted with 2 decimals"},"withdrawn_micro":{"type":"integer","description":"withdrawn in micro-USDC (integer, 6 decimals)"},"withdrawn_usd":{"type":"string","description":"withdrawn in USDC, formatted with 2 decimals"},"net_micro":{"type":"integer","description":"net in micro-USDC (integer, 6 decimals)"},"net_usd":{"type":"string","description":"net in USDC, formatted with 2 decimals"}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/buyers/{address}":{"get":{"operationId":"buyers.detail","tags":["Buyers"],"summary":"One buyer: spend, providers, models","description":"Everything the buyer page shows. providers is where the spend went; models is the per-model split the buyer itself shared with its settlements (shares_per_model false means it never did, so models is empty). free is the buyer's own free-tier usage reports, never counted as spend. A free-only buyer answers with paid figures at zero.","parameters":[{"name":"address","in":"path","required":true,"description":"Buyer address (0x, 40 hex, any case)","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x address"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"spent_7d_micro":{"type":["integer","null"],"description":"USDC settled in the rolling last 7 days, micro-USDC (null on the detail endpoint)"},"spent_7d_usd":{"type":["string","null"],"description":"USDC settled in the rolling last 7 days, 2 decimals (null on the detail endpoint)"},"settles":{"type":"integer","description":"Lifetime settlement events as the buyer"},"channels":{"type":"integer","description":"Payment channels opened"},"sellers":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"share":{"type":"number","description":"Share of this buyer's spend, 0 to 1"},"settles":{"type":"integer","description":"Settlements"}}}},"tokens":{"type":"integer","description":"Lifetime tokens bought, input plus output (MetadataRecorded)"},"requests":{"type":"integer","description":"Lifetime requests (MetadataRecorded)"},"deposited_micro":{"type":"integer","description":"deposited in micro-USDC (integer, 6 decimals)"},"deposited_usd":{"type":"string","description":"deposited in USDC, formatted with 2 decimals"},"first_settle_ts":{"type":["integer","null"],"description":"First settlement, UTC seconds (null if none)"},"last_settle_ts":{"type":["integer","null"],"description":"Last settlement, UTC seconds (null if none)"},"paid":{"type":"boolean","description":"Has settled at least one paid channel"},"shares_per_model":{"type":"boolean","description":"Its settlements carry a per-model split"},"models":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"model_display":{"type":"string","description":"Name"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"requests":{"type":"integer","description":"Requests"},"sellers":{"type":"integer","description":"Providers it bought this model from"},"other":{"type":["boolean","null"],"description":"True only on the catch-all row: usage the Antseed SDK keeps in one bucket once a channel passes 31 models (model \"other\")"},"data":{"type":"boolean","description":"A data service (a provider's own HTTP API billed per completed request), not a model: model is its announced service name"}}}},"free":{"type":"object","description":"Null when the address never reported free usage","properties":{"tokens":{"type":"integer","description":"Free-tier tokens"},"requests":{"type":"integer","description":"Free-tier requests"},"sellers":{"type":"integer","description":"Distinct providers"},"channels":{"type":"integer","description":"Channels"},"first_ts":{"type":["integer","null"],"description":"UTC seconds"},"last_ts":{"type":["integer","null"],"description":"UTC seconds"},"models":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"model_display":{"type":"string","description":"Name"},"tokens":{"type":"integer","description":"Tokens"},"requests":{"type":"integer","description":"Requests"},"sellers":{"type":"integer","description":"Providers"},"data":{"type":"boolean","description":"A data service (a provider's own HTTP API billed per completed request), not a model: model is its announced service name"}}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/buyers/{address}/daily":{"get":{"operationId":"buyers.daily","tags":["Buyers"],"summary":"One buyer per UTC day","description":"Spend per UTC calendar day: every ChannelSettled where the address is the buyer, bucketed by day, no gaps from the first settlement to today. Today is partial.","parameters":[{"name":"address","in":"path","required":true,"description":"Buyer address (0x, 40 hex, any case)","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},{"name":"from","in":"query","required":false,"description":"First UTC day, YYYY-MM-DD (default: 30 days ago)","schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"description":"Last UTC day, YYYY-MM-DD (default: today)","schema":{"type":"string","format":"date"}},{"name":"format","in":"query","required":false,"description":"json (default) or csv","schema":{"type":"string","enum":["json","csv"],"default":"json"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"from":{"type":"string","description":"First day"},"to":{"type":"string","description":"Last day"},"days":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day"},"spent_micro":{"type":"integer","description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":"string","description":"spent in USDC, formatted with 2 decimals"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}},"text/csv":{"schema":{"type":"string"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/buyers/{address}/rewards":{"get":{"operationId":"buyers.rewards","tags":["Buyers"],"summary":"One buyer's $ANTS: earned, claimed, staked","description":"The buyer page's Rewards & stake section. Per epoch since 22, what the address's settled usage earned from the usage-rewards contract (pendingBuyerReward, which keeps the amount after a claim) and whether it was claimed (buyerEpochClaimed); the open epoch is what the usage so far would pay and moves until it closes. stakes are the positions it holds in provider pools that count now or from the next epoch, with what it ever settled with that provider: 0 means it stakes behind a provider it never bought from. earned_ants and the epoch figures are null when the contract could not be read; stakes_read false means the pools could not be read, so stakes is unknown, not empty.","parameters":[{"name":"address","in":"path","required":true,"description":"Buyer address (0x, 40 hex, any case)","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"epoch":{"type":"integer","description":"Current epoch"},"earned_ants":{"type":["number","null"],"description":"Earned in closed epochs since 22"},"claimed_ants":{"type":["number","null"],"description":"Of that, claimed"},"unclaimed_ants":{"type":["number","null"],"description":"Of that, still claimable"},"accruing_ants":{"type":["number","null"],"description":"The open epoch so far"},"staked_ants":{"type":"number","description":"Principal in provider pools, counting now or from the next epoch"},"stakes_read":{"type":"boolean","description":"The pools could be read"},"legacy_claimed_ants":{"type":"number","description":"Claimed from the pre-epoch-22 emissions contract"},"epochs":{"type":"array","items":{"type":"object","properties":{"epoch":{"type":"integer","description":"Epoch"},"usage_usd":{"type":"number","description":"Settled usage the contract counted, USD"},"earned_ants":{"type":"number","description":"ANTS earned"},"claimed":{"type":"boolean","description":"Claimed"},"open":{"type":"boolean","description":"The current epoch (an estimate until it closes)"}}}},"stakes":{"type":"array","items":{"type":"object","properties":{"position_id":{"type":"integer","description":"Position id (lANTS NFT id)"},"agent_id":{"type":"integer","description":"Pool agent id"},"seller":{"type":["string","null"],"description":"The pool's provider, lowercase 0x"},"seller_name":{"type":["string","null"],"description":"Announced name (untrusted)"},"principal_ants":{"type":"number","description":"ANTS locked"},"epochs_remaining":{"type":"integer","description":"Epochs left on the lock"},"max_locked":{"type":"boolean","description":"At the maximum lock"},"pending":{"type":"boolean","description":"Counts from the next epoch"},"leaving":{"type":"boolean","description":"Stops counting at the end of this epoch"},"spent_with_seller_micro":{"type":"integer","description":"spent with seller in micro-USDC (integer, 6 decimals)"},"spent_with_seller_usd":{"type":"string","description":"spent with seller in USDC, formatted with 2 decimals"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/models":{"get":{"operationId":"models","tags":["Models and prices"],"summary":"Catalogue: providers, prices, usage","description":"One row per canonical model (name variants merged). Prices are the min and max advertised across providers. Usage is lifetime and a lower bound (per-model splits are opt-in). all counts every provider; organic leaves out wash-trading providers. The default view is organic, like the site; models with no organic usage are still listed.","parameters":[{"name":"view","in":"query","required":false,"description":"organic leaves out providers in the on-chain wash registry plus our confirmed clusters; all keeps every provider","schema":{"type":"string","enum":["all","organic"],"default":"organic"}},{"name":"period","in":"query","required":false,"description":"Adds usage_period: sales, tokens and buyers over the last 24 hours, 7, 30 or 90 days (rolling) in the chosen view, and revenue/tokens sort on it (the page's Top models periods)","schema":{"type":"string","enum":["24h","7d","30d","90d","all"],"default":"all"}},{"name":"sort","in":"query","required":false,"description":"Sort key, descending, applied to the chosen view","schema":{"type":"string","enum":["revenue","tokens","requests","sellers"],"default":"revenue"}},{"name":"limit","in":"query","required":false,"description":"Rows to return (1 to 1000)","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"offset","in":"query","required":false,"description":"Rows to skip","schema":{"type":"integer","minimum":0,"maximum":1000000,"default":0}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer","description":"Models"},"top_today":{"type":["object","null"],"description":"The page's Top sales and Top free boxes (rolling 24 hours, lower bound). null when it could not be read","properties":{"sales":{"type":"array","description":"The 3 models with the most USDC settled in the last 24 hours, Organic providers","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"buyers":{"type":"integer","description":"Buyers"}}}},"free":{"type":["array","null"],"description":"The 3 free models with the most tokens served in the last 24 hours, Organic providers, routers left out; null right after a deploy","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"free_tokens":{"type":"integer","description":"Free-tier tokens"},"buyers":{"type":"integer","description":"Buyers"}}}}}},"models":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"custom":{"type":"boolean","description":"A provider's own model, not in any catalog"},"sellers":{"type":"integer","description":"Providers advertising it"},"image_generation":{"type":"boolean","description":"Priced per image"},"video_generation":{"type":"boolean","description":"Native video, priced per second or per video"},"min_input_usd_per_m":{"type":["number","null"],"description":"Cheapest input price"},"max_input_usd_per_m":{"type":["number","null"],"description":"Dearest input price"},"min_output_usd_per_m":{"type":["number","null"],"description":"Cheapest output"},"max_output_usd_per_m":{"type":["number","null"],"description":"Dearest output"},"min_image_usd":{"type":["number","null"],"description":"Cheapest price per image"},"min_video_usd_per_s":{"type":["number","null"],"description":"Cheapest price per second of video, 720p"},"min_video_usd":{"type":["number","null"],"description":"Cheapest price per video"},"speech_generation":{"type":"boolean","description":"Speech (text to audio), priced per character"},"min_usd_per_1m_chars":{"type":["number","null"],"description":"Cheapest price per 1M characters of speech"},"usage":{"type":"object","description":"In the chosen view","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"},"requests":{"type":"integer","description":"Requests"},"buyers":{"type":"integer","description":"Buyers"},"sellers":{"type":"integer","description":"Providers with sales"}}},"usage_all":{"type":"object","description":"Every provider, always","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"},"requests":{"type":"integer","description":"Requests"},"buyers":{"type":"integer","description":"Buyers"},"sellers":{"type":"integer","description":"Providers with sales"}}},"usage_period":{"type":["object","null"],"description":"Only with period other than all: the window in the chosen view","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"buyers":{"type":"integer","description":"Buyers"}}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/models/{id}/checks":{"get":{"operationId":"models.checks","tags":["Models and prices"],"summary":"Model checks: who passed for one model","description":"Every provider of the model that the approved auditors checked, with the counts behind each verdict from their evidence on IPFS (kept only when its hash matches the one on-chain): answers that differed from the real model against the real model's own noise. providers is each provider's latest check of the model, from whichever round audited it last, DIFF first; the page's table shows the ones that count now and folds the rest. counts_now says whether it still counts, epoch is the live epoch; every advertised spelling of the model counts. references says what the auditors compared against (model, provider, reasoning setting).","parameters":[{"name":"id","in":"path","required":true,"description":"Canonical model id or an advertised name","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"services":{"type":"array","items":{"type":"string","description":"Advertised spellings with evidence"}},"epoch":{"type":["integer","null"],"description":"The live epoch of Antseed's verification results; null when the live state is missing or stale"},"unread":{"type":["integer","null"],"description":"Live verdicts on this model's advertised spellings, recorded in the last 24 hours, that no check here counts yet (evidence still on its way from IPFS): while above 0, the page's figures are behind the chain and it says so. null when the live state is missing or stale"},"evidence_missing":{"type":["integer","null"],"description":"Live verdicts on this model counted for over 24 hours whose evidence never reached us: the chain counts them, we cannot show their figures. null when the live state is missing or stale"},"sellers":{"type":"array","description":"Each provider's latest check, whichever round, DIFF first; counts_now marks the ones that count now","items":{"type":"object","properties":{"service":{"type":"string","description":"The name the provider advertises"},"model":{"type":"string","description":"The model as the auditor names it"},"epoch":{"type":"integer","description":"Epoch of the round"},"audited_ts":{"type":"integer","description":"Unix seconds of the latest report"},"first_round":{"type":"boolean","description":"The 21-oct-2026 round on Antseed's first audit contract, before checks counted for points"},"verdict":{"type":"string","description":"The verdict the contract recorded for that round. PENDING: one DIFF report, a second auditor decides","enum":["SAME","DIFF","UNDETERMINED","PENDING"]},"close_call":{"type":"boolean","description":"A DIFF the questions decided that no auditor could call on its first set of questions (decided after extra sets); never one another test marked"},"diff_by":{"type":["array","null"],"description":"A DIFF (or a lone DIFF report) the questions did not decide: the other tests that marked it (tokens, output-echo, output-offset), empty when the evidence names none (decided before any question). The row then carries no question figures. null for a DIFF the questions decided, and for every other verdict","items":{"type":"string","description":"A test"}},"not_tested":{"type":["string","null"],"description":"Why no auditor could test it; null when tested"},"valid_until_epoch":{"type":["integer","null"],"description":"The check counts while the epoch is below this; null for the first round"},"counts_now":{"type":["boolean","null"],"description":"Whether this check is the service's live verdict on-chain now (from the same live read as live; never the first round). Its SAME or DIFF is what live and the points multiplier are made of; an UNDETERMINED counts for nothing. The page's main table shows these and folds the rest below it. null when our data holds no recorded verdict for this check yet (a PENDING, or a SAME/UNDETERMINED whose status event is not read yet: see valid_until_epoch null) or the live state is missing or stale"},"diffs":{"type":["integer","null"],"description":"Answers that differed in the lead read (lead_auditor's deciding read); reads are never added"},"total":{"type":["integer","null"],"description":"Answers compared in that read"},"lead_auditor":{"type":["string","null"],"description":"The read the row's figures come from: among the reads that agree with the verdict, the one with the largest margin (furthest over the line for a DIFF, closest to it for a SAME)"},"auditors_split":{"type":"boolean","description":"The auditors that got answers disagreed (one DIFF, one SAME); each read is in reads"},"noise_ceiling":{"type":["number","null"],"description":"The lead read's 99% upper bound of the noise rate"},"fail_line":{"type":["integer","null"],"description":"The lead read's fail line: this many different answers or more fails"},"line_rate":{"type":["number","null"],"description":"That line as a share of the read's answers"},"margin":{"type":["integer","null"],"description":"diffs − fail_line in the lead read: 0 or more fails, below 0 passes"},"times_noise":{"type":["number","null"],"description":"The lead read's share that differed ÷ the real model's own share in it"},"noise_diffs":{"type":["integer","null"],"description":"The real model's own differences in the lead read"},"noise_total":{"type":["integer","null"],"description":"The real model's answers compared in it"},"reads":{"type":"array","description":"Each auditor's read","items":{"type":"object","properties":{"auditor":{"type":"string","description":"Auditor address, lowercase"},"audited_ts":{"type":"integer","description":"Unix seconds the report reached the chain"},"verdict":{"type":"string","description":"This auditor's own verdict","enum":["SAME","DIFF","UNDETERMINED"]},"outcome":{"type":["string","null"],"description":"Why the audit could not run (the provider's error code); null when it ran"},"first_diffs":{"type":["integer","null"],"description":"Answers that differed on the first set of questions"},"first_total":{"type":["integer","null"],"description":"Questions answered on the first set"},"p_value":{"type":["number","null"],"description":"Binomial p-value of the first set"},"extra_sets":{"type":"integer","description":"Extra sets of questions run on a close call"},"diffs":{"type":["integer","null"],"description":"Answers that differed in the deciding read (pooled over the extra sets when they were stored pooled)"},"total":{"type":["integer","null"],"description":"Answers in the deciding read"},"noise_diffs":{"type":["integer","null"],"description":"The real model's answers that differed from each other in the same read: the noise"},"noise_total":{"type":["integer","null"],"description":"The real model's answers compared"},"pooled_p_value":{"type":["number","null"],"description":"p-value of the pooled read; null without extra sets"},"noise_ceiling":{"type":["number","null"],"description":"The 99% upper bound of the noise rate in the deciding read, what the provider is tested against"},"proof_url":{"type":["string","null"],"description":"The provider's evidence file (questions, answers, comparison) through an IPFS gateway"},"fail_line":{"type":["integer","null"],"description":"This many different answers or more fails the deciding read: the line the verdict used, from that read's own noise ceiling and the rule's p-value threshold"},"margin":{"type":["integer","null"],"description":"diffs − fail_line: 0 or more fails, below 0 passes"},"alpha":{"type":["number","null"],"description":"The p-value the deciding read had to fall below to fail: 0.005 on a first set or a look before the last, 0.05 on the last look and in the 20-oct first round; null under a rule we do not know"},"planned_fail_line":{"type":["integer","null"],"description":"The first set's line planned before the run, in the provider's evidence file (criticalMismatchCount); the run's own noise can move the real line above it"},"probe_count":{"type":["integer","null"],"description":"Questions in the first set"},"power":{"type":["number","null"],"description":"Chance the first set catches a provider serving another model"},"flagged_by":{"type":["array","null"],"description":"The tests that marked this read DIFF, in the auditor's words: kbf (the questions), tokens (the token-count pre-check), output-echo and output-offset (the echo test: billed output above what the model writes). Empty for a read no test marked; null when the evidence does not say (before Antseed's audit rules of 26 Nov 2026)","items":{"type":"string","description":"A test"}},"questions_verdict":{"type":["string","null"],"description":"What the questions alone said (SAME, DIFF…), apart from the other tests; null when the evidence does not say"},"inactive_checks":{"type":["array","null"],"description":"Checks the auditor ran and recorded but that do not count toward the verdict under the current rules (output-cap, flips); null when the evidence does not say","items":{"type":"string","description":"A check"}},"detail":{"type":["object","null"],"description":"From the provider's own evidence file, hash-checked; null until read","properties":{"subjects":{"type":"array","items":{"type":"object","properties":{"subject":{"type":"string","description":"Subject of the questions"},"differed":{"type":"integer","description":"Answers that differed"},"answered":{"type":"integer","description":"Answers compared"}}}},"examples":{"type":"array","description":"The misses furthest from the real model","items":{"type":"object","properties":{"domain":{"type":"string","description":"Subject"},"question":{"type":"string","description":"The question"},"reference":{"type":["string","null"],"description":"The real model's answer (number or text)"},"answer":{"type":["string","null"],"description":"The provider's answer (number or text)"}}}},"latency_ms":{"type":["integer","null"],"description":"Median answer time"},"audit_cost_usd":{"type":["number","null"],"description":"What the audit spent buying from the provider"},"reasoning":{"type":["object","null"],"description":"How the provider handled being asked not to reason (the reference answers without)","properties":{"strategy":{"type":["string","null"],"description":"How the auditor finally asked"},"attempts":{"type":"array","items":{"type":"object","properties":{"strategy":{"type":"string","description":"How the auditor asked: a way to switch reasoning off or, since 26 Nov 2026, the model's one fixed level (chat-reasoning-effort-none, -minimal as its fallback, -low)"},"reasoning_tokens":{"type":["integer","null"],"description":"Reasoning tokens the provider still used"},"valid_answers":{"type":["integer","null"],"description":"Answers it could parse"}}}}}}}}}}},"references":{"type":["array","null"],"description":"What the auditors compared against","items":{"type":"object","properties":{"model":{"type":["string","null"],"description":"Reference model id"},"type":{"type":["string","null"],"description":"Where it was called (openrouter)"},"provider_pin":{"type":"array","items":{"type":"string","description":"Provider"}},"overrides":{"type":["object","null"],"description":"Request settings the auditor forced (reasoning effort)","properties":{}}}}},"address":{"type":"string","description":"Provider, lowercase 0x"},"agent_id":{"type":"string","description":"Agent id"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"}}}},"rounds":{"type":"array","description":"Newest first","items":{"type":"object","properties":{"epoch":{"type":"integer","description":"Epoch"},"started_ts":{"type":"integer","description":"Unix seconds of the round's first report"},"first_round":{"type":"boolean","description":"Before checks counted for points"},"passed":{"type":"integer","description":"SAME"},"failed":{"type":"integer","description":"DIFF"},"not_tested":{"type":"integer","description":"UNDETERMINED"},"pending":{"type":"integer","description":"DIFF with one report, waiting for a second"},"rules_change":{"type":"boolean","description":"The first round under Antseed's audit rules of 26 Nov 2026 (a DIFF can come from the token-count or echo test, not only the questions), with an older round before it: fails on either side are not counted the same way"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/models/video":{"get":{"operationId":"models.video","tags":["Models and prices"],"summary":"Video: spend, volume and models","description":"What buyers paid for video on Antseed in the last 7 days (rolling; the home's By modality row), how much was generated, what is on sale now, the history by UTC day and every video model. Usage comes from settlements whose buyers share the per-model split: a lower bound. A settlement counts once: video when it carries seconds, else images when it carries images. The daily history starts on the first day with video; a day inside it with nothing settled is a real 0. The model list counts Organic providers.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"modality":{"type":"string","description":"video, images or speech"},"last_7d":{"type":"object","description":"Rolling 7 days, every provider, lower bound; a figure the cached window lacks is null","properties":{"spent_micro":{"type":["integer","null"],"description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":["string","null"],"description":"spent in USDC, formatted with 2 decimals"},"videos":{"type":["integer","null"],"description":"Videos delivered"},"video_seconds":{"type":["integer","null"],"description":"Seconds of video"}}},"on_sale":{"type":"object","description":"From our DHT crawl","properties":{"models":{"type":"integer","description":"Models on sale now (name variants count once)"},"sellers":{"type":"integer","description":"Distinct providers advertising them"}}},"days":{"type":"array","description":"From the first day with this modality to today (partial), oldest first","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day, YYYY-MM-DD"},"spent_micro":{"type":["integer","null"],"description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":["string","null"],"description":"spent in USDC, formatted with 2 decimals"},"videos":{"type":["integer","null"],"description":"Videos delivered"},"video_seconds":{"type":["integer","null"],"description":"Seconds of video"}}}},"models":{"type":"array","description":"Organic sales of the last 7 days first (null when that window could not be read), then lifetime sales","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"served":{"type":"boolean","description":"A provider announces it now; false = usage history only"},"sellers":{"type":"integer","description":"Providers advertising it"},"min_video_usd_per_s":{"type":["number","null"],"description":"Cheapest price per second of video, 720p"},"min_video_usd":{"type":["number","null"],"description":"Cheapest price per video"},"settled_7d_micro":{"type":["integer","null"],"description":"settled 7d in micro-USDC (integer, 6 decimals)"},"settled_7d_usd":{"type":["string","null"],"description":"settled 7d in USDC, formatted with 2 decimals"},"usage":{"type":"object","description":"Lifetime, Organic providers, lower bound","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"buyers":{"type":"integer","description":"Buyers"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"}}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/models/images":{"get":{"operationId":"models.images","tags":["Models and prices"],"summary":"Images: spend, volume and models","description":"What buyers paid for images on Antseed in the last 7 days (rolling; the home's By modality row), how much was generated, what is on sale now, the history by UTC day and every image model. Usage comes from settlements whose buyers share the per-model split: a lower bound. A settlement counts once: video when it carries seconds, else images when it carries images. The daily history starts on the first day with images; a day inside it with nothing settled is a real 0. The model list counts Organic providers.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"modality":{"type":"string","description":"video, images or speech"},"last_7d":{"type":"object","description":"Rolling 7 days, every provider, lower bound; a figure the cached window lacks is null","properties":{"spent_micro":{"type":["integer","null"],"description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":["string","null"],"description":"spent in USDC, formatted with 2 decimals"},"images":{"type":["integer","null"],"description":"Images generated"}}},"on_sale":{"type":"object","description":"From our DHT crawl","properties":{"models":{"type":"integer","description":"Models on sale now (name variants count once)"},"sellers":{"type":"integer","description":"Distinct providers advertising them"}}},"days":{"type":"array","description":"From the first day with this modality to today (partial), oldest first","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day, YYYY-MM-DD"},"spent_micro":{"type":["integer","null"],"description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":["string","null"],"description":"spent in USDC, formatted with 2 decimals"},"images":{"type":["integer","null"],"description":"Images generated"}}}},"models":{"type":"array","description":"Organic sales of the last 7 days first (null when that window could not be read), then lifetime sales","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"served":{"type":"boolean","description":"A provider announces it now; false = usage history only"},"sellers":{"type":"integer","description":"Providers advertising it"},"min_image_usd":{"type":["number","null"],"description":"Cheapest price per image"},"save_pct":{"type":["number","null"],"description":"Cheapest image price below the Venice list price, percent (100 when free); null without a reference or a saving"},"settled_7d_micro":{"type":["integer","null"],"description":"settled 7d in micro-USDC (integer, 6 decimals)"},"settled_7d_usd":{"type":["string","null"],"description":"settled 7d in USDC, formatted with 2 decimals"},"usage":{"type":"object","description":"Lifetime, Organic providers, lower bound","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"buyers":{"type":"integer","description":"Buyers"},"images":{"type":"integer","description":"Images"}}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/models/speech":{"get":{"operationId":"models.speech","tags":["Models and prices"],"summary":"Speech: spend, volume and models","description":"What buyers paid for speech on Antseed in the last 7 days (rolling; the home's By modality row), how much was generated, what is on sale now, the history by UTC day and every speech model. Usage comes from settlements whose buyers share the per-model split: a lower bound. A settlement counts once: speech when it carries characters and no images or video (metadata v5, since 4 November 2026). The daily history starts on the first day with speech; a day inside it with nothing settled is a real 0. The model list counts Organic providers.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"modality":{"type":"string","description":"video, images or speech"},"last_7d":{"type":"object","description":"Rolling 7 days, every provider, lower bound; a figure the cached window lacks is null","properties":{"spent_micro":{"type":["integer","null"],"description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":["string","null"],"description":"spent in USDC, formatted with 2 decimals"},"characters":{"type":["integer","null"],"description":"Characters read aloud"}}},"on_sale":{"type":"object","description":"From our DHT crawl","properties":{"models":{"type":"integer","description":"Models on sale now (name variants count once)"},"sellers":{"type":"integer","description":"Distinct providers advertising them"}}},"days":{"type":"array","description":"From the first day with this modality to today (partial), oldest first","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day, YYYY-MM-DD"},"spent_micro":{"type":["integer","null"],"description":"spent in micro-USDC (integer, 6 decimals)"},"spent_usd":{"type":["string","null"],"description":"spent in USDC, formatted with 2 decimals"},"characters":{"type":["integer","null"],"description":"Characters read aloud"}}}},"models":{"type":"array","description":"Organic sales of the last 7 days first (null when that window could not be read), then lifetime sales","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"served":{"type":"boolean","description":"A provider announces it now; false = usage history only"},"sellers":{"type":"integer","description":"Providers advertising it"},"min_usd_per_1m_chars":{"type":["number","null"],"description":"Cheapest price per 1M characters read aloud"},"save_pct":{"type":["number","null"],"description":"Cheapest character price below the Venice list price per 1M characters, percent (100 when free); null without a reference or a saving"},"settled_7d_micro":{"type":["integer","null"],"description":"settled 7d in micro-USDC (integer, 6 decimals)"},"settled_7d_usd":{"type":["string","null"],"description":"settled 7d in USDC, formatted with 2 decimals"},"usage":{"type":"object","description":"Lifetime, Organic providers, lower bound","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"buyers":{"type":"integer","description":"Buyers"}}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/models/{id}":{"get":{"operationId":"models.detail","tags":["Models and prices"],"summary":"Where to buy one model","description":"Accepts the canonical id or any advertised spelling, in any case or separator (Kimi K3 works). Providers are deduplicated (cheapest input price) and come trusted first, then cheapest, unless sort says otherwise. The filters answer the question a buyer asks: which providers of this model meet my conditions. Without filters the list hides nobody.","parameters":[{"name":"id","in":"path","required":true,"description":"Canonical model id or an advertised name","schema":{"type":"string","maxLength":200}},{"name":"free","in":"query","required":false,"description":"true: only free listings; false: only paid","schema":{"type":"boolean"}},{"name":"min_reputation","in":"query","required":false,"description":"Only providers with a trust score at or above this (0 to 100)","schema":{"type":"number","minimum":0,"maximum":100}},{"name":"verified","in":"query","required":false,"description":"true: only providers with a domain or GitHub proof we verified","schema":{"type":"boolean"}},{"name":"organic","in":"query","required":false,"description":"true: only providers outside the wash registry and our confirmed clusters; false: only the others","schema":{"type":"boolean"}},{"name":"live","in":"query","required":false,"description":"true: only providers announcing on the DHT right now","schema":{"type":"boolean"}},{"name":"trusted","in":"query","required":false,"description":"true: only providers that settled on-chain and score at or above 60, the SDK's own routing gate (the calculator's rule)","schema":{"type":"boolean"}},{"name":"max_input_usd_per_m","in":"query","required":false,"description":"Only listings at or below this USD per 1M input tokens","schema":{"type":"number","minimum":0,"maximum":100000}},{"name":"max_output_usd_per_m","in":"query","required":false,"description":"Only listings at or below this USD per 1M output tokens","schema":{"type":"number","minimum":0,"maximum":100000}},{"name":"sort","in":"query","required":false,"description":"trusted: trusted providers first, then cheapest input; price: cheapest input first; reputation: highest trust score first","schema":{"type":"string","enum":["trusted","price","reputation"],"default":"trusted"}},{"name":"seller_days","in":"query","required":false,"description":"true: each seller_share entry adds days, what that provider sold each day (the page's Daily usage by provider; about doubles the response)","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"custom":{"type":"boolean","description":"Provider's own model"},"advertised_as":{"type":"array","items":{"type":"string","description":"Raw spellings in use"}},"usage":{"type":"object","description":"Lifetime, every provider, lower bound","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"},"requests":{"type":"integer","description":"Requests"},"buyers":{"type":"integer","description":"Buyers"},"sellers":{"type":"integer","description":"Providers"}}},"usage_organic":{"type":"object","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"},"requests":{"type":"integer","description":"Requests"},"buyers":{"type":"integer","description":"Buyers"},"sellers":{"type":"integer","description":"Providers"}}},"days_organic":{"type":["array","null"],"description":"This model's usage by day, Organic providers only (the page's Daily usage card). Buyer opt-in: a lower bound. null when it could not be read","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day, YYYY-MM-DD; continuous from the first day with usage, a day without reports is a real 0"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Paid tokens, Organic providers"},"free_tokens":{"type":"integer","description":"Free-tier tokens, Organic providers"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"},"buyers":{"type":"integer","description":"Wallets that paid an Organic provider"},"free_only_buyers":{"type":"integer","description":"Wallets that only used an Organic provider for free"},"sellers":{"type":"integer","description":"Organic providers paid that day"},"free_only_sellers":{"type":"integer","description":"Organic providers that only served free that day"}}}},"seller_share":{"type":["array","null"],"description":"What every Organic provider sold of this model, listed now or not, biggest earner first (the page's Top providers donut). Buyer opt-in: a lower bound. null when it could not be read","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"all":{"type":"object","description":"Lifetime","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Paid tokens"},"free_tokens":{"type":"integer","description":"Free-tier tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"}}},"last_7d":{"type":["object","null"],"description":"The last 7 UTC days, today included; null on a value cached before these fields existed","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Paid tokens"},"free_tokens":{"type":"integer","description":"Free-tier tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"}}},"last_30d":{"type":["object","null"],"description":"The last 30 UTC days, today included","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Paid tokens"},"free_tokens":{"type":"integer","description":"Free-tier tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"}}},"last_90d":{"type":["object","null"],"description":"The last 90 UTC days, today included","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Paid tokens"},"free_tokens":{"type":"integer","description":"Free-tier tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"}}},"days":{"type":["array","null"],"description":"Each UTC day this provider sold or served the model, oldest first, days with nothing left out; values to 4 significant digits (the page's Daily usage by provider). Only with seller_days=true; null on a value cached before this field existed","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day, YYYY-MM-DD"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Paid tokens"},"free_tokens":{"type":"integer","description":"Free-tier tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"}}}}}}},"sellers":{"type":"array","items":{"type":"object","properties":{"address":{"type":["string","null"],"description":"Lowercase 0x"},"agent_id":{"type":"string","description":"Agent id"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"advertised_as":{"type":"string","description":"Raw name"},"input_usd_per_m":{"type":["number","null"],"description":"USD per 1M input"},"cached_input_usd_per_m":{"type":["number","null"],"description":"USD per 1M cached input"},"output_usd_per_m":{"type":["number","null"],"description":"USD per 1M output"},"image_usd":{"type":["number","null"],"description":"USD per image"},"video_usd_per_s":{"type":["number","null"],"description":"USD per second of video, 720p"},"video_usd":{"type":["number","null"],"description":"USD per video"},"usd_per_1m_chars":{"type":["number","null"],"description":"Speech: USD per 1M input characters (the text read aloud); null when not a speech listing"},"speech_voices":{"type":["array","null"],"description":"Speech: the voices it accepts; another voice is refused unless speech_custom_voices","items":{"type":"string","description":"Voice name"}},"speech_formats":{"type":["array","null"],"description":"Speech: the response formats it returns","items":{"type":"string","description":"Audio format"}},"speech_custom_voices":{"type":["boolean","null"],"description":"Speech: also takes account-specific voice ids"},"model_check":{"type":["string","null"],"description":"Antseed's live model check on this provider's listing of the model: SAME or DIFF; null when none is live","enum":["SAME","DIFF"]},"free":{"type":"boolean","description":"0 and 0; speech: the character price is 0; never for video"},"save_pct":{"type":["number","null"],"description":"Percent below the model's list price, as the page's Save column (1-99, 100 when free). Text: input rate vs the OpenRouter list input rate, or Venice's when OpenRouter has none. Image models: image_usd vs the Venice list price per image. Speech models: usd_per_1m_chars vs the Venice list price per 1M characters. Null when not cheaper, no list price, or a video model"},"reputation":{"type":["number","null"],"description":"Trust score"},"verified":{"type":"boolean","description":"Verified proof"},"organic":{"type":"boolean","description":"In our Organic view"},"proven":{"type":"boolean","description":"Has settled on-chain (carries a trust score and usage)"},"trusted":{"type":"boolean","description":"Proven and scoring at or above 60, the SDK routing gate (our rule, the calculator's pick)"},"live":{"type":"boolean","description":"Announcing on the DHT right now"},"request_id":{"type":["string","null"],"description":"peerId@model, what a buyer sends"},"health":{"type":["string","null"],"description":"Provider-reported state of this service: healthy, failing or unknown. null when the provider reports none (SDK older than 0.2.157), which is not the same as healthy","enum":["healthy","failing","unknown"]},"health_reason":{"type":["string","null"],"description":"Why it fails, the SDK's code: timeout, rate_limited, out_of_credit, auth, model_unavailable, upstream_error, unreachable, init_failed"},"health_source":{"type":["string","null"],"description":"probe (the provider's own 5-minute check) or traffic (live buyer requests)","enum":["probe","traffic"]},"health_checked_ts":{"type":["integer","null"],"description":"Unix seconds of the evidence behind health"},"health_since_ts":{"type":["integer","null"],"description":"Unix seconds of the first failure of the current streak"},"health_http_status":{"type":["integer","null"],"description":"Upstream HTTP status of the last failed check"},"health_not_served":{"type":"boolean","description":"Failing for a day or more: the provider stopped serving it; out of every count and catalog, listed for the record"},"requests_last_hour":{"type":["integer","null"],"description":"Buyer requests in the provider's last hour, as the provider counts them"},"success_rate":{"type":["number","null"],"description":"Share of them answered without a server-side failure, 0 to 1"},"first_token_ms_p50":{"type":["integer","null"],"description":"Median ms to the first streamed token, provider-measured"},"first_token_ms_p90":{"type":["integer","null"],"description":"90th percentile ms to the first token"},"tokens_per_second_p50":{"type":["integer","null"],"description":"Median output speed, tokens per second"},"usage":{"type":["object","null"],"description":"What this provider sold of the model, lifetime, lower bound; null when nothing is attributed or the provider is outside the Organic view","properties":{"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"paid":{"type":"boolean","description":"Has a paid report for this model"},"free":{"type":"boolean","description":"Has a free report for this model"},"tokens":{"type":"integer","description":"Paid tokens"},"free_tokens":{"type":"integer","description":"Free-tier tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"}}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/prices":{"get":{"operationId":"prices","tags":["Models and prices"],"summary":"Every listing with list-price savings","description":"The network explorer flattened: one row per provider and model with the advertised prices, whether it is free, the OpenRouter list price for the same model and the saving against it. Filter by model to compare providers; the intent filters (trusted, verified, organic, live, price caps) narrow to the providers a buyer would use. Sorted by model, then trusted first and cheapest input.","parameters":[{"name":"model","in":"query","required":false,"description":"Canonical model id to filter on (any spelling)","schema":{"type":"string","maxLength":200}},{"name":"free","in":"query","required":false,"description":"true: only free listings; false: only paid","schema":{"type":"boolean"}},{"name":"view","in":"query","required":false,"description":"organic leaves out providers in the on-chain wash registry plus our confirmed clusters; all keeps every provider","schema":{"type":"string","enum":["all","organic"],"default":"all"}},{"name":"min_reputation","in":"query","required":false,"description":"Only providers with a trust score at or above this (0 to 100)","schema":{"type":"number","minimum":0,"maximum":100}},{"name":"verified","in":"query","required":false,"description":"true: only providers with a domain or GitHub proof we verified","schema":{"type":"boolean"}},{"name":"organic","in":"query","required":false,"description":"true: only providers outside the wash registry and our confirmed clusters; false: only the others","schema":{"type":"boolean"}},{"name":"live","in":"query","required":false,"description":"true: only providers announcing on the DHT right now","schema":{"type":"boolean"}},{"name":"trusted","in":"query","required":false,"description":"true: only providers that settled on-chain and score at or above 60, the SDK's own routing gate (the calculator's rule)","schema":{"type":"boolean"}},{"name":"max_input_usd_per_m","in":"query","required":false,"description":"Only listings at or below this USD per 1M input tokens","schema":{"type":"number","minimum":0,"maximum":100000}},{"name":"max_output_usd_per_m","in":"query","required":false,"description":"Only listings at or below this USD per 1M output tokens","schema":{"type":"number","minimum":0,"maximum":100000}},{"name":"sort","in":"query","required":false,"description":"trusted: trusted providers first, then cheapest input; price: cheapest input first; reputation: highest trust score first","schema":{"type":"string","enum":["trusted","price","reputation"],"default":"trusted"}},{"name":"limit","in":"query","required":false,"description":"Rows to return (1 to 1000)","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"offset","in":"query","required":false,"description":"Rows to skip","schema":{"type":"integer","minimum":0,"maximum":1000000,"default":0}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer","description":"Listings matching"},"listings":{"type":"array","items":{"type":"object","properties":{"seller":{"type":"string","description":"Lowercase 0x address"},"seller_name":{"type":["string","null"],"description":"Announced display name (untrusted text)"},"agent_id":{"type":["string","null"],"description":"On-chain agent id"},"model":{"type":"string","description":"Canonical model id (the /models/{id} slug)"},"model_display":{"type":"string","description":"Display name"},"advertised_as":{"type":"string","description":"The raw name the provider announces"},"input_usd_per_m":{"type":["number","null"],"description":"USD per 1M input tokens"},"cached_input_usd_per_m":{"type":["number","null"],"description":"USD per 1M cached input tokens"},"output_usd_per_m":{"type":["number","null"],"description":"USD per 1M output tokens"},"free":{"type":"boolean","description":"Input and output both priced at 0"},"list_input_usd_per_m":{"type":["number","null"],"description":"List price for the same model, USD per 1M input: OpenRouter, or Venice when OpenRouter has none"},"list_source":{"type":["string","null"],"description":"Where the list price comes from","enum":["openrouter","venice"]},"save_pct":{"type":["integer","null"],"description":"Percent below the list price, 1 to 99, only when the listing beats it"},"reputation":{"type":["number","null"],"description":"Trust score 0 to 100"},"verified":{"type":"boolean","description":"Has a domain or GitHub proof we verified"},"organic":{"type":"boolean","description":"Provider in our Organic view"},"proven":{"type":"boolean","description":"Has settled on-chain (carries a trust score and usage)"},"trusted":{"type":"boolean","description":"Proven and scoring at or above 60, the SDK routing gate (our rule, the calculator's pick)"},"live":{"type":"boolean","description":"Announcing on the DHT right now"},"stake_usdc":{"type":["number","null"],"description":"Provider's USDC stake on-chain (proven peers)"},"capabilities":{"type":"array","items":{"type":"string","description":"Capability bucket"}},"health":{"type":["string","null"],"description":"Provider-reported state of this service: healthy, failing or unknown. null when the provider reports none, which is not the same as healthy","enum":["healthy","failing","unknown"]},"health_reason":{"type":["string","null"],"description":"Why it fails, the SDK's code (out_of_credit, rate_limited, auth, model_unavailable, upstream_error, timeout, unreachable, init_failed)"},"health_since_ts":{"type":["integer","null"],"description":"Unix seconds of the first failure of the current streak"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/labs":{"get":{"operationId":"labs","tags":["Models and prices"],"summary":"The labs behind the models","description":"One row per model lab (organisation) with models on Antseed: the name, domain and logo come from the model catalogue we enrich with, and models counts canonical models of that lab advertised by at least one provider. Sorted by model count.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer","description":"Labs"},"labs":{"type":"array","items":{"type":"object","properties":{"org":{"type":"string","description":"Lab key (the /labs/{org} slug, lowercase)"},"name":{"type":"string","description":"Display name"},"domain":{"type":["string","null"],"description":"Official domain"},"logo":{"type":["string","null"],"description":"Logo image URL"},"models":{"type":"integer","description":"Canonical models advertised"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/labs/{org}":{"get":{"operationId":"labs.detail","tags":["Models and prices"],"summary":"One lab: its models on Antseed","description":"The lab's profile from the model catalogue (bio, links) and every canonical model of that lab with the number of providers advertising it and the cheapest advertised prices.","parameters":[{"name":"org","in":"path","required":true,"description":"Lab key, the slug of /labs/{org} (moonshot, deepseek, alibaba, ...; lowercase, may contain a space)","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"org":{"type":"string","description":"Lab key"},"name":{"type":"string","description":"Display name"},"domain":{"type":["string","null"],"description":"Official domain"},"bio":{"type":["string","null"],"description":"Short description"},"logo":{"type":["string","null"],"description":"Logo image URL"},"links":{"type":"object","description":"Named links (official, github, huggingface, x, ...)","properties":{}},"models":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"sellers":{"type":"integer","description":"Providers advertising it"},"min_input_usd_per_m":{"type":["number","null"],"description":"Cheapest input price"},"min_output_usd_per_m":{"type":["number","null"],"description":"Cheapest output price"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/staking/pools":{"get":{"operationId":"staking.pools","tags":["Staking and rewards"],"summary":"Every provider pool: stake, power, reward","description":"The $ANTS staking market as read from the pools contracts: one row per provider pool (agent id) with its stake and power this epoch, the same for the next epoch (staking has a one-epoch activation delay), its usage points and staker reward in the last complete epoch, its recognized volume over the last complete epochs and so far in this one, and what a new 10,000 ANTS stake would earn there: per week at a 1-week lock and at the maximum lock, as a simple (not compounded) APR, and projected for a stake made now. What one unit of power earns depends only on the pool's volume, not on how much is already staked in it. Figures tie out against the contract totals; degraded says when they did not.","parameters":[{"name":"view","in":"query","required":false,"description":"organic leaves out providers in the on-chain wash registry plus our confirmed clusters; all keeps every provider","schema":{"type":"string","enum":["all","organic"],"default":"all"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"epoch":{"type":"integer","description":"Current epoch (stake and power columns)"},"next_epoch":{"type":"integer","description":"Next epoch (next_* columns)"},"reward_epoch":{"type":"integer","description":"Last complete epoch (usage and reward columns)"},"degraded":{"type":"boolean","description":"True when the market did not tie out and the figures are not shown"},"reason":{"type":["string","null"],"description":"Why, when degraded"},"total_stake_ants":{"type":["number","null"],"description":"Active stake, all pools; null when degraded"},"total_principal_ants":{"type":["number","null"],"description":"Principal, all pools"},"total_power_ants":{"type":["number","null"],"description":"Power, all pools"},"next_total_stake_ants":{"type":["number","null"],"description":"Stake from the next epoch"},"next_total_power_ants":{"type":["number","null"],"description":"Power from the next epoch"},"restake_bonus_pct":{"type":["number","null"],"description":"Weight bonus the contract grants restaked rewards, %"},"max_lock_epochs":{"type":["integer","null"],"description":"Longest lock"},"budget_ants":{"type":["number","null"],"description":"Staker budget of the reward epoch"},"reward_per_power_ants":{"type":["number","null"],"description":"Budget over the reward epoch's power"},"claimable_ants":{"type":["number","null"],"description":"Settled rewards not yet withdrawn, all pools"},"unsettled_ants":{"type":["number","null"],"description":"Earned in the reward epoch and never settled on-chain"},"reward_flows_as_of_block":{"type":["string","null"],"description":"Block every row's reward_flows describes (the lower of the flows and stake-lineage indexers' cursors); null when one has not run"},"reward_flows_degraded":{"type":["string","null"],"description":"Why every reward_flows is null, when they are: not-indexed, tie-out (the network identity failed at that block), balance-unread, lineage-lagging (the stake-lineage indexer trails), lineage-gap (a restaked reward ends in a position closed at that block with no recorded exit), read-failed","enum":["not-indexed","tie-out","balance-unread","lineage-lagging","lineage-gap","read-failed"]},"pools":{"type":["integer","null"],"description":"Pools listed; null when degraded"},"positions":{"type":["integer","null"],"description":"Active positions"},"stakers":{"type":["integer","null"],"description":"Distinct active stakers"},"returns_stake_ants":{"type":["number","null"],"description":"The new stake the weekly and APR columns describe (fresh, no restake bonus)"},"returns_lock_epochs":{"type":["object","null"],"description":"The two lock ends used","properties":{"one_week":{"type":["integer","null"],"description":"Epochs of the 1-week lock; null when the contract would not accept it"},"max_lock":{"type":"integer","description":"Epochs of the maximum lock"}}},"projection":{"type":["object","null"],"description":"Scenario behind the projected_* columns: that epoch's budget and every pool's power as already booked for it, with basis's volume mix taken as a whole epoch. It assumes the mix holds and nothing more is staked. Null when an input failed to read or tie out","properties":{"epoch":{"type":"integer","description":"The epoch a stake made now counts from"},"basis":{"type":"string","description":"Volume mix used: live (the current epoch, from 48 h in) or last (reward_epoch)","enum":["live","last"]},"budget_ants":{"type":"number","description":"That epoch's staker budget"}}},"rows":{"type":"array","items":{"type":"object","properties":{"agent_id":{"type":"integer","description":"On-chain agent id of the pool"},"seller":{"type":["string","null"],"description":"Provider address the directory maps the agent to"},"name":{"type":["string","null"],"description":"Announced display name (untrusted)"},"organic":{"type":"boolean","description":"Provider outside the wash registry and our confirmed clusters (our judgement)"},"stake_ants":{"type":"number","description":"Active stake this epoch (principal plus restake bonus)"},"principal_ants":{"type":"number","description":"What stakers put in"},"power_ants":{"type":"number","description":"Stake times epochs remaining"},"power_share_pct":{"type":"number","description":"Share of all pools' power, %"},"next_stake_ants":{"type":"number","description":"Stake from the next epoch"},"next_principal_ants":{"type":"number","description":"Principal from the next epoch"},"next_power_ants":{"type":"number","description":"Power from the next epoch"},"next_power_share_pct":{"type":"number","description":"Share of next epoch's power, %"},"usage_points":{"type":"number","description":"Raw pool points in the last complete epoch"},"usage_share_pct":{"type":"number","description":"Share of all pools' points, %"},"reward_ants":{"type":"number","description":"Last complete epoch's staker reward for this pool"},"reward_settled":{"type":"boolean","description":"Settled by the contract (false: computed from its inputs)"},"claimable_ants":{"type":"number","description":"Settled and not yet withdrawn"},"unused_ants":{"type":["number","null"],"description":"Earned rewards not yet turned into stake"},"unused_power_ants":{"type":["number","null"],"description":"What unused would be worth as power at the maximum lock"},"reward_claimed_pct":{"type":["number","null"],"description":"Of reward_ants, the share its positions have already taken (restaked or withdrawn), weighted by the power each held that epoch; null until settled"},"reward_unclaimed_ants":{"type":["number","null"],"description":"reward_ants still sitting for its stakers to take; null until settled"},"stays_next_pct":{"type":["number","null"],"description":"Share of the active principal that still counts next epoch"},"top_staker_pct":{"type":["number","null"],"description":"The largest staker's share of the active principal"},"median_lock_epochs":{"type":["integer","null"],"description":"Principal-weighted median of the epochs left on the locks"},"arrived_this_epoch_pct":{"type":["number","null"],"description":"Share of the active principal that activated this epoch"},"restaked_pct":{"type":["number","null"],"description":"Share of the active principal funded by pool rewards (restaked)"},"reward_flows":{"type":["object","null"],"description":"Null when the flows indexer has not run, a settled cell could not be read, the network identity (minted into the rewards contract minus every exit equals its balance, at the same block, to the wei) failed, or a restaked reward could not be followed to an open position; see reward_flows_as_of_block and reward_flows_degraded at the top","properties":{"earned_to_date_ants":{"type":"number","description":"Σ settled staker rewards of this pool, first staker epoch to date"},"restaked_here_ants":{"type":"number","description":"Restaked by restakeStakerRewards and still staked in this pool now, followed through moves, merges and splits"},"restaked_elsewhere_ants":{"type":"number","description":"Restaked, then moved to another pool (moveStake needs no claim; the contract's move penalty is 0)"},"withdrawn_ants":{"type":"number","description":"Claimed to a wallet by claimStakerRewards, plus restaked and later withdrawn from staking"},"restaked_then_withdrawn_ants":{"type":["number","null"],"description":"The part of withdrawn_ants that was restaked first and then withdrawn from staking (withdrawStake), slashing included; null on a snapshot older than this field"},"waiting_ants":{"type":"number","description":"Settled and not yet taken (earned minus the three above)"},"restaked_here_pct":{"type":["number","null"],"description":"Share of earned_to_date_ants; null when nothing was earned"},"restaked_elsewhere_pct":{"type":["number","null"],"description":"Share of earned_to_date_ants"},"withdrawn_pct":{"type":["number","null"],"description":"Share of earned_to_date_ants"},"waiting_pct":{"type":["number","null"],"description":"Share of earned_to_date_ants"},"received_from_elsewhere_ants":{"type":"number","description":"Rewards earned and restaked in other pools that sit in this pool now, moved here (not part of the shares)"},"claims":{"type":"integer","description":"claimStakerRewards exits counted"},"restakes":{"type":"integer","description":"restakeStakerRewards exits counted"}}},"volume_usdc_by_epoch":{"type":"array","description":"Recognized volume (agentPoolPointsByEpoch: USDC after the protocol's wash and verification policies) of the last complete epochs, oldest first, ending at reward_epoch, never before epoch 22","items":{"type":"object","properties":{"epoch":{"type":"integer","description":"Complete epoch"},"usdc":{"type":["number","null"],"description":"Recognized volume, USDC; null when that read failed"}}}},"volume_change_pct":{"type":["number","null"],"description":"reward_epoch's volume against the epoch before, both complete, %; null when new or unknown"},"volume_new":{"type":"boolean","description":"No volume the epoch before, some in reward_epoch"},"live_volume_usdc":{"type":["number","null"],"description":"Recognized volume so far in the current epoch (partial); null when the read failed"},"reward_per_1k_power_ants":{"type":["number","null"],"description":"Marginal rate in reward_epoch: budget × volume × 1000 / Σ(volume × power), ANTS per 1,000 power for the week; lock-independent"},"weekly_ants_10k_one_week":{"type":["number","null"],"description":"What a new fresh 10,000 ANTS stake locked one week would have earned in reward_epoch, exact formula budget × U × p / (S + U × p), ANTS"},"weekly_ants_10k_max_lock":{"type":["number","null"],"description":"The same at the maximum lock (power = stake × max_lock_epochs), ANTS"},"apr_one_week_pct":{"type":["number","null"],"description":"weekly_ants_10k_one_week as a simple yearly rate (× 365/7, not compounded), %"},"apr_max_lock_pct":{"type":["number","null"],"description":"The same at the maximum lock, %"},"weekly_ants_10k_max_lock_now":{"type":["number","null"],"description":"weekly_ants_10k_max_lock at the provider's current model-check multiplier, reward_epoch's volume held: × multiplier × Σ points / Σ (multiplier × points) over all pools. The page shows and ranks on it; a pool at ×0 is 0. A live check, not a ban: it follows the live verdicts (two epochs each)"},"apr_max_lock_pct_now":{"type":["number","null"],"description":"apr_max_lock_pct on the same basis, %"},"model_checks":{"type":["object","null"],"description":"Antseed's model checks, read live off AntseedVerificationResults; null when the provider has no live verdict or the state could not be read (see the page: never shown as x0 on a failed read)","properties":{"same":{"type":"integer","description":"Live SAME verdicts (answers as the advertised model), every service of the agent"},"diff":{"type":"integer","description":"Live DIFF verdicts (very likely another model; two auditors agreed)"},"points_multiplier":{"type":["number","null"],"description":"The verification policy's multiplier on this provider's, its buyers' and its pool's points from each settlement on (rates read from the policy); null when no policy is registered"},"read_ts":{"type":"integer","description":"UTC seconds of the read (every 5 min)"}}},"projected_weekly_ants_10k_max_lock":{"type":["number","null"],"description":"weekly_ants_10k_max_lock for a stake made now (it counts from next_epoch), under projection's scenario; null when there is no projection"},"projected_apr_one_week_pct":{"type":["number","null"],"description":"Projected simple APR at the 1-week lock, %"},"projected_apr_max_lock_pct":{"type":["number","null"],"description":"Projected simple APR at the maximum lock, %"},"apy_one_week_pct":{"type":["number","null"],"description":"Deprecated (29-oct-2026, use apr_*): the old estimate, a 1-week lock compounded weekly, %"},"apy_two_years_pct":{"type":["number","null"],"description":"Deprecated: the old compounded estimate at the longest lock, %"},"positions":{"type":"integer","description":"Active positions"},"stakers":{"type":"integer","description":"Distinct active stakers"},"pending_positions":{"type":"integer","description":"Positions waiting for the next epoch"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/staking/free":{"get":{"operationId":"staking.free","tags":["Staking and rewards"],"summary":"Free AI with stake: every provider's offer","description":"Antseed providers can give free AI to buyers who lock ANTS in their pool. One row per live offer, read from each provider's own signed announcement: the base free requests everyone gets (per buyer address and per IP, per window) and the stake tiers that multiply it or lift the cap, with the ANTS each tier takes on a one-year or a max lock. A row covers either the provider's free models (one shared allowance) or one model with its own program (on a paid model, a free allowance; stakers_only means nothing free below the first tier). Pass a stake (ants, lock_weeks or max_lock) and each row says what it gets: power is ANTS times weeks of lock, counts from next_epoch, only with that provider, and falls every week, so holds_weeks says how long the tier lasts (null with a max lock). Providers can change their terms at any time.","parameters":[{"name":"ants","in":"query","required":false,"description":"ANTS to stake (a fresh stake, no restake bonus)","schema":{"type":"number","minimum":0,"maximum":1000000000,"default":10000}},{"name":"lock_weeks","in":"query","required":false,"description":"Weeks of lock (one epoch is a week); ignored with max_lock","schema":{"type":"integer","minimum":1,"maximum":104,"default":52}},{"name":"max_lock","in":"query","required":false,"description":"true: a max lock, which holds 104 weeks of power while it stays on","schema":{"type":"boolean"}},{"name":"seller","in":"query","required":false,"description":"Only this provider's offers","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},{"name":"model","in":"query","required":false,"description":"Only offers covering a model whose id contains this text","schema":{"type":"string","maxLength":200}},{"name":"address","in":"query","required":false,"description":"A staker: each row adds your_stake, what the positions this address holds in that provider's pool get, as the provider counts them (its own pool only, from the epoch a position activates, the strongest 64). Stake another wallet shares by a signed code is off-chain and not counted.","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"next_epoch":{"type":"integer","description":"The epoch a stake made now starts counting"},"ants":{"type":"number","description":"The stake described"},"lock_weeks":{"type":"integer","description":"Its lock"},"max_lock":{"type":"boolean","description":"Max lock"},"power":{"type":"number","description":"ANTS × weeks of lock, in ANTS-epochs (the unit of min_power)"},"address":{"type":["string","null"],"description":"The staker asked for (lowercase); null without address"},"epoch":{"type":"integer","description":"The current epoch, which your_stake describes"},"stake_read":{"type":["boolean","null"],"description":"The pools were read for address; false means its stake is unknown, not empty; null without address"},"staked_ants":{"type":["number","null"],"description":"What address has staked in every pool, offers or not; null without address or unread"},"staked_pools":{"type":["integer","null"],"description":"Pools it has stake in; null without address or unread"},"providers":{"type":"integer","description":"Providers listed"},"offers":{"type":"integer","description":"Offers listed"},"rows":{"type":"array","items":{"type":"object","properties":{"your_stake":{"type":["object","null"],"description":"What the stake address holds in this provider's pool gets; null without address","properties":{"ants":{"type":"number","description":"Principal address holds in this provider's pool"},"positions":{"type":"integer","description":"Positions counted"},"power":{"type":"number","description":"Their power this epoch, ANTS-epochs"},"tier":{"type":["integer","null"],"description":"Tier reached now (1-based); null = base or none"},"free":{"type":"boolean","description":"Gets free requests now"},"requests":{"type":["integer","null"],"description":"Free requests per window now; null = unlimited"},"unlimited":{"type":"boolean","description":"No cap now"},"next_epoch_requests":{"type":["integer","null"],"description":"The same from the next epoch (a position made this epoch counts then); null = unlimited"},"next_epoch_unlimited":{"type":"boolean","description":"No cap from the next epoch"},"drops_epoch":{"type":["integer","null"],"description":"First epoch the tier drops as the lock runs down; null while it holds or there is none"},"requests_after":{"type":["integer","null"],"description":"Free requests per window from drops_epoch; null = unlimited or no drop"},"next_tier_ants":{"type":["integer","null"],"description":"ANTS to add in this pool, max-locked, to reach the next tier; null at the top"}}},"seller":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"agent_id":{"type":["integer","null"],"description":"Pool (agent id); null when not in the directory"},"reputation":{"type":["number","null"],"description":"The provider's buyer trust score, 0-100 (the SDK's formula, computed by us); null when not scored"},"stake_url":{"type":["string","null"],"description":"Antseed's own stake form opened on this pool (antseedpoints.com); null without a pool"},"verified":{"type":"boolean","description":"Has a domain or GitHub proof we verified"},"organic":{"type":"boolean","description":"Outside the wash registry and our confirmed clusters (our judgement)"},"service":{"type":["string","null"],"description":"The one model of a model-specific program; null for the provider's free models"},"paid_model":{"type":"boolean","description":"The model is priced: the program is a free allowance, past it the buyer pays"},"models":{"type":"array","description":"Models the offer covers (one shared allowance)","items":{"type":"string","description":"Model id as announced"}},"program":{"type":"object","properties":{"per_address":{"type":["integer","null"],"description":"Free requests per buyer address per window without stake"},"per_ip":{"type":["integer","null"],"description":"Free requests per IP per window without stake"},"window_ms":{"type":"integer","description":"The rolling window, ms (86,400,000 = a day)"},"stakers_only":{"type":"boolean","description":"Nothing free below the first tier"},"tiers":{"type":"array","items":{"type":"object","properties":{"min_power":{"type":"integer","description":"Power the tier needs, ANTS-epochs"},"multiplier":{"type":["integer","null"],"description":"Times the base; null = unlimited"},"requests":{"type":["integer","null"],"description":"Free requests per window at the tier, per stake; null = unlimited"},"ants_one_year":{"type":"integer","description":"ANTS that reach it on a 52-week lock, rounded up"},"ants_max_lock":{"type":"integer","description":"ANTS that reach it with a max lock"}}}}}},"you":{"type":"object","description":"What the stake gets with this offer","properties":{"tier":{"type":["integer","null"],"description":"Tier the stake reaches (1-based); null = base or none"},"free":{"type":"boolean","description":"Gets free requests (false: stakers only, below the first tier)"},"requests":{"type":["integer","null"],"description":"Free requests per window; null = unlimited"},"unlimited":{"type":"boolean","description":"No cap"},"holds_weeks":{"type":["integer","null"],"description":"Weeks the tier holds as the lock runs down; null with a max lock or no tier"},"requests_after":{"type":["integer","null"],"description":"Free requests per window once it drops; null = unlimited or no drop"},"next_tier_ants":{"type":["integer","null"],"description":"ANTS to add, at the same lock, to reach the next tier; null at the top"},"next_tier_requests":{"type":["integer","null"],"description":"What the next tier gives; null = unlimited or none"}}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/staking/positions":{"get":{"operationId":"staking.positions","tags":["Staking and rewards"],"summary":"Every lANTS position","description":"One row per staking position (the lANTS NFT) as the contract holds it: owner, pool, principal, stake, power this epoch and next, lock term, state. Filter by pool or state. Closed and withdrawn positions are included when asked for; the default is active plus pending.","parameters":[{"name":"pool","in":"query","required":false,"description":"Only this pool (agent id)","schema":{"type":"integer","minimum":1,"maximum":1000000}},{"name":"state","in":"query","required":false,"description":"open: active plus pending (default); all: every position ever","schema":{"type":"string","enum":["open","active","pending","matured","closed","withdrawn","all"],"default":"open"}},{"name":"owner","in":"query","required":false,"description":"Only positions of this address","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},{"name":"limit","in":"query","required":false,"description":"Rows to return (1 to 1000)","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"offset","in":"query","required":false,"description":"Rows to skip","schema":{"type":"integer","minimum":0,"maximum":1000000,"default":0}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"epoch":{"type":"integer","description":"Current epoch"},"total":{"type":["integer","null"],"description":"Positions matching; null when degraded"},"degraded":{"type":"boolean","description":"True when the market did not tie out"},"positions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"Position id (the lANTS token id)"},"owner":{"type":"string","description":"Lowercase 0x"},"owner_name":{"type":["string","null"],"description":"Announced name when the owner is a provider (untrusted)"},"agent_id":{"type":"integer","description":"Pool (agent id)"},"principal_ants":{"type":"number","description":"Put in"},"stake_ants":{"type":"number","description":"Counted as stake (principal plus restake bonus)"},"power_ants":{"type":"number","description":"Power this epoch"},"next_power_ants":{"type":"number","description":"Power next epoch"},"start_epoch":{"type":"integer","description":"First epoch the position counts"},"end_epoch":{"type":"integer","description":"Last epoch"},"term_epochs":{"type":"integer","description":"Lock term as it applies in the epoch described"},"epochs_remaining":{"type":"integer","description":"Left in the lock"},"max_locked":{"type":"boolean","description":"At the maximum lock"},"origin":{"type":"string","description":"restaked, fresh or starter","enum":["restaked","fresh","starter"]},"state":{"type":"string","description":"pending, active, matured, closed or withdrawn, relative to the current epoch","enum":["pending","active","matured","closed","withdrawn"]},"leaves_next_epoch":{"type":"boolean","description":"Active now but not next epoch"},"pending_ants":{"type":"number","description":"Claimable now"},"has_nft":{"type":"boolean","description":"Still exists as the lANTS NFT"},"inherited_ants":{"type":"number","description":"Principal carried over from positions it replaced"},"replaced_next_epoch":{"type":"boolean","description":"A child position carries it from the next epoch"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/rewards/current":{"get":{"operationId":"rewards.current","tags":["Staking and rewards"],"summary":"This epoch's budgets and top earners","description":"The rewards page: the epoch's emission and bucket budgets as the gate reads them now, and the leading providers and buyers by weighted usage points with the $ANTS each would receive if the epoch closed now (budget times share, capped per account). The projection is ours; the points and budgets are the contracts'. Everything settles at epoch close.","parameters":[{"name":"role","in":"query","required":false,"description":"Which leaderboard to return","schema":{"type":"string","enum":["seller","buyer","all"],"default":"all"}},{"name":"limit","in":"query","required":false,"description":"Rows per leaderboard","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"epoch":{"type":"object","properties":{"number":{"type":"integer","description":"Current epoch"},"starts_ts":{"type":"integer","description":"UTC seconds"},"ends_ts":{"type":"integer","description":"UTC seconds"},"seconds_left":{"type":"integer","description":"Until the next epoch"},"next_epoch_ts":{"type":"integer","description":"UTC seconds"},"emission_ants":{"type":"number","description":"Emission for the epoch"},"model":{"type":"string","description":"legacy or recognized"}}},"degraded":{"type":"boolean","description":"True when a chain read failed; budgets, denominators, shares and projections are then null"},"budgets":{"type":["object","null"],"description":"Null when degraded","properties":{"seller_usage_ants":{"type":"number","description":"Provider usage budget"},"buyer_usage_ants":{"type":"number","description":"Buyer usage budget"},"pools_ants":{"type":["number","null"],"description":"Staker pools budget"},"usage_input_micro":{"type":"integer","description":"usage input in micro-USDC (integer, 6 decimals)"},"usage_input_usd":{"type":"string","description":"usage input in USDC, formatted with 2 decimals"},"usage_target_micro":{"type":"integer","description":"usage target in micro-USDC (integer, 6 decimals)"},"usage_target_usd":{"type":"string","description":"usage target in USDC, formatted with 2 decimals"},"usage_pct_of_target":{"type":"number","description":"%"},"stake_active_ants":{"type":"number","description":"Active stake"},"stake_target_ants":{"type":"number","description":"Target"},"stake_pct_of_target":{"type":"number","description":"%"},"cap_bps":{"type":"integer","description":"Per-account cap, basis points"}}},"seller_weighted_points":{"type":["number","null"],"description":"Denominator for providers; null when degraded"},"buyer_weighted_points":{"type":["number","null"],"description":"Denominator for buyers; null when degraded"},"sellers":{"type":"array","items":{"type":"object","properties":{"account":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name for providers (untrusted)"},"points_micro":{"type":"integer","description":"points in micro-USDC (integer, 6 decimals)"},"points_usd":{"type":"string","description":"points in USDC, formatted with 2 decimals"},"weighted_points":{"type":"number","description":"Points times the pool weight, the contract's unit"},"share_pct":{"type":["number","null"],"description":"Share of the side's weighted points, %; null when degraded"},"capped":{"type":["boolean","null"],"description":"Hit the per-account cap; null when degraded"},"projected_ants":{"type":["number","null"],"description":"Budget times share, capped: our projection, settles at epoch close; null when the on-chain read is degraded"}}}},"buyers":{"type":"array","items":{"type":"object","properties":{"account":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced name for providers (untrusted)"},"points_micro":{"type":"integer","description":"points in micro-USDC (integer, 6 decimals)"},"points_usd":{"type":"string","description":"points in USDC, formatted with 2 decimals"},"weighted_points":{"type":"number","description":"Points times the pool weight, the contract's unit"},"share_pct":{"type":["number","null"],"description":"Share of the side's weighted points, %; null when degraded"},"capped":{"type":["boolean","null"],"description":"Hit the per-account cap; null when degraded"},"projected_ants":{"type":["number","null"],"description":"Budget times share, capped: our projection, settles at epoch close; null when the on-chain read is degraded"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/rewards/pools":{"get":{"operationId":"rewards.pools","tags":["Staking and rewards"],"summary":"Pools bucket, locked and staked totals","description":"The rewards pools page: the per-provider pools cut tied out against the contract total (how many active providers hold a pool, how many do not), the legacy locked rewards, the USDC provider stake and the claims to date. The provider counts are ours (indexed providers asked of the contract); the totals are the contracts'.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"epoch":{"type":"integer","description":"Epoch described"},"overview":{"type":"object","description":"Null when the gate did not read or the pools contract failed","properties":{"degraded":{"type":"boolean","description":"True when the numbers cannot be trusted"},"reason":{"type":["string","null"],"description":"Why, when degraded"},"known_sellers":{"type":"integer","description":"Providers we asked the pools contract about"},"pools_with_stake":{"type":"integer","description":"Known providers with active pool stake"},"sum_pool_stake_ants":{"type":"number","description":"Sum of those positions"},"unattributed_stake_ants":{"type":"number","description":"Contract total minus our sum"},"active_sellers":{"type":"integer","description":"Served inference this epoch"},"active_with_pool":{"type":"integer","description":"Of those, holding a pool"},"active_no_pool_clean":{"type":"integer","description":"Of those, no pool and not a proven wash trader"},"active_no_pool_wash":{"type":"integer","description":"No pool and in the registry"},"clean_revenue_micro":{"type":"integer","description":"clean revenue in micro-USDC (integer, 6 decimals)"},"clean_revenue_usd":{"type":"string","description":"clean revenue in USDC, formatted with 2 decimals"},"clean_settles":{"type":"integer","description":"Settlements of the clean no-pool group"},"clean_revenue_share_pct":{"type":"number","description":"Their share of the epoch's non-wash volume, %"},"no_pool_with_points":{"type":"integer","description":"Providers with points and no pool (should be 0)"}}},"locked":{"type":"object","properties":{"sellers":{"type":"integer","description":"Providers with locked legacy rewards"},"total_ants":{"type":"number","description":"Locked, ANTS"},"records":{"type":"integer","description":"Lock records"}}},"stake":{"type":"object","properties":{"stakers":{"type":"integer","description":"Providers with USDC stake"},"total_staked_micro":{"type":"integer","description":"total staked in micro-USDC (integer, 6 decimals)"},"total_staked_usd":{"type":"string","description":"total staked in USDC, formatted with 2 decimals"},"total_slashed_micro":{"type":"integer","description":"total slashed in micro-USDC (integer, 6 decimals)"},"total_slashed_usd":{"type":"string","description":"total slashed in USDC, formatted with 2 decimals"}}},"claims":{"type":"object","properties":{"claims":{"type":"integer","description":"Claim events"},"accounts":{"type":"integer","description":"Distinct claimers"},"total_ants":{"type":"number","description":"Claimed, ANTS"}}},"eligible_sellers":{"type":"integer","description":"Providers eligible for legacy claims"}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/referrals":{"get":{"operationId":"referrals","tags":["Staking and rewards"],"summary":"Referrers ranked: new buyers and ANTS","description":"AIP-6 referrals. A referrer signs an invite, a new buyer carries it in the metadata it signs, and the binding is permanent. Each referred buyer's recognized usage (AIP-2 weighted points, wash already excluded on-chain) earns its referrer a share of the referrals bucket (2% of the epoch emission), split pro rata by points; during the first 12 epochs after binding the buyer earns the same amount as referee, so the referrer gets half of that buyer's share. ants_epoch is the open epoch's estimate and moves until it closes; ants_all_time sums every epoch. Points are the ledger's raw weighted points as strings (about 1e24 per USDC); use share, not points, to compare. live false means the contracts are not deployed yet.","parameters":[{"name":"epoch","in":"query","required":false,"description":"Epoch to rank by (default: the current one)","schema":{"type":"integer","minimum":0,"maximum":10000}},{"name":"limit","in":"query","required":false,"description":"Rows to return (1 to 1000)","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"offset","in":"query","required":false,"description":"Rows to skip","schema":{"type":"integer","minimum":0,"maximum":1000000,"default":0}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"live":{"type":"boolean","description":"The AIP-6 contracts are deployed and indexed"},"epoch":{"type":"integer","description":"Epoch ranked"},"buyers_referred_epoch":{"type":"integer","description":"Buyers bound to a referrer in this epoch"},"buyers_referred_all_time":{"type":"integer","description":"Buyers bound to a referrer, ever"},"active_referrers":{"type":"integer","description":"Referrers that bound a buyer or earned points this epoch"},"pool_ants":{"type":["number","null"],"description":"The referrals bucket for the epoch, ANTS"},"total":{"type":"integer","description":"Referrers listed"},"referrers":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer","description":"Position this epoch, 1-based"},"address":{"type":"string","description":"Lowercase 0x"},"name":{"type":["string","null"],"description":"Announced provider name (untrusted)"},"buyers":{"type":"integer","description":"Buyers it brought, ever"},"buyers_epoch":{"type":"integer","description":"Of those, bound this epoch"},"points":{"type":"string","description":"Ledger points this epoch (raw)"},"share":{"type":"number","description":"Share of this epoch's referral points, 0 to 1"},"ants_epoch":{"type":"number","description":"This epoch's ANTS, estimate while open"},"ants_all_time":{"type":"number","description":"ANTS over every epoch"},"claimed_ants":{"type":"number","description":"Claimed so far"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/referrals/{address}":{"get":{"operationId":"referrals.detail","tags":["Staking and rewards"],"summary":"One wallet: rank, buyers, ANTS, invites","description":"One wallet's referral standing. As referrer: rank this epoch, the buyers it brought (with the epoch each was bound and the last epoch that buyer earns its own referee share), ANTS this epoch and over all epochs, claimed, still claimable from closed epochs, this epoch's invite quota (read from the contract: 3 with any recognized activity last epoch, one more per 10 USDC, up to 20) and the operator rewards are paid to (null means none is set and claims revert until one is). As referee: who invited it and until which epoch it earns. by_epoch lists both roles. A wallet that never referred and was never referred answers with zeros.","parameters":[{"name":"address","in":"path","required":true,"description":"Wallet address (0x, 40 hex, any case)","schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"live":{"type":"boolean","description":"The AIP-6 contracts are deployed and indexed"},"address":{"type":"string","description":"Lowercase 0x"},"epoch":{"type":"integer","description":"Current epoch"},"as_referrer":{"type":"object","properties":{"rank":{"type":["integer","null"],"description":"Position this epoch, 1-based"},"ants_epoch":{"type":"number","description":"This epoch's ANTS, estimate"},"ants_all_time":{"type":"number","description":"ANTS over every epoch"},"claimed_ants":{"type":"number","description":"Claimed"},"claimable_ants":{"type":"number","description":"Closed epochs not claimed yet"},"invites_epoch":{"type":["integer","null"],"description":"Invite quota this epoch"},"invites_used_epoch":{"type":"integer","description":"Invites issued this epoch that bound a buyer"},"recipient":{"type":["string","null"],"description":"Operator rewards are paid to; null when none is set"},"buyers":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"bound_epoch":{"type":"integer","description":"Epoch bound"},"bonus_until_epoch":{"type":"integer","description":"Last epoch the buyer earns its referee share"},"ants_all_time":{"type":"number","description":"ANTS this buyer earned its referrer"}}}}}},"as_referee":{"type":"object","description":"Null when nobody referred this address","properties":{"referrer":{"type":"string","description":"Lowercase 0x"},"bound_epoch":{"type":"integer","description":"Epoch bound"},"bonus_until_epoch":{"type":"integer","description":"Last epoch of the referee share"},"ants_all_time":{"type":"number","description":"ANTS earned as referee"},"claimed_ants":{"type":"number","description":"Claimed"},"claimable_ants":{"type":"number","description":"Closed epochs not claimed yet"}}},"by_epoch":{"type":"array","items":{"type":"object","properties":{"epoch":{"type":"integer","description":"Epoch"},"role":{"type":"string","description":"referrer or referee","enum":["referrer","referee"]},"points":{"type":"string","description":"Ledger points (raw)"},"total_points":{"type":"string","description":"Epoch referral total (raw)"},"ants":{"type":"number","description":"ANTS for the epoch"},"claimed":{"type":"boolean","description":"Claimed"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/referrals/builders":{"get":{"operationId":"referrals.builders","tags":["Staking and rewards"],"summary":"Builders: apps credited for usage","description":"AIP-6 client attribution. The buyer's software puts an ERC-8004 agent id in the metadata it signs; that agent's owner earns a share of the builders bucket (4% of the epoch emission) pro rata to the recognized weighted points its buyers generate. Only usage naming a registered agent counts; attributed_share is how much of the epoch's usage did. The id is self-declared by the client, so a buyer can name its own agent: this is attribution, not proof of which product produced the usage.","parameters":[{"name":"epoch","in":"query","required":false,"description":"Epoch to rank by (default: the current one)","schema":{"type":"integer","minimum":0,"maximum":10000}},{"name":"limit","in":"query","required":false,"description":"Rows to return (1 to 1000)","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},{"name":"offset","in":"query","required":false,"description":"Rows to skip","schema":{"type":"integer","minimum":0,"maximum":1000000,"default":0}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"live":{"type":"boolean","description":"The AIP-6 contracts are deployed and indexed"},"epoch":{"type":"integer","description":"Epoch ranked"},"pool_ants":{"type":["number","null"],"description":"The builders bucket for the epoch, ANTS"},"attributed_share":{"type":["number","null"],"description":"Share of the epoch's recognized usage that named a registered app, 0 to 1"},"total":{"type":"integer","description":"Builders listed"},"builders":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer","description":"Position this epoch, 1-based"},"agent_id":{"type":"string","description":"ERC-8004 agent id"},"name":{"type":["string","null"],"description":"Announced name when the agent is also a provider (untrusted)"},"buyers":{"type":"integer","description":"Distinct buyers credited, ever"},"points":{"type":"string","description":"Ledger points this epoch (raw)"},"share":{"type":"number","description":"Share of this epoch's attributed points, 0 to 1"},"ants_epoch":{"type":"number","description":"This epoch's ANTS, estimate while open"},"ants_all_time":{"type":"number","description":"ANTS over every epoch"},"claimed_ants":{"type":"number","description":"Claimed so far"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diem":{"get":{"operationId":"diem","tags":["Staking and rewards"],"summary":"DIEM pool: stake, yield, stakers","description":"The DIEM provider-capacity pool: DIEM staked behind the Venice.ai proxy provider, the USDC it has paid stakers, the $ANTS allocated to them, the queued and unstaked amounts, and the pool's run-rate APY (our estimate from the last 7 days, or the last closed reward epoch). stakers lists the largest positions; series is DIEM staked over time. A figure whose on-chain read failed is null, never 0.","parameters":[{"name":"limit","in":"query","required":false,"description":"Stakers to return","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"proxy_seller":{"type":"string","description":"The DIEM staking contract, also the Venice.ai proxy provider"},"total_staked_diem":{"type":"number","description":"DIEM staked now"},"stakers":{"type":"integer","description":"Stakers"},"usdc_distributed_micro":{"type":"integer","description":"usdc distributed in micro-USDC (integer, 6 decimals)"},"usdc_distributed_usd":{"type":"string","description":"usdc distributed in USDC, formatted with 2 decimals"},"usdc_reserved_micro":{"type":"integer","description":"usdc reserved in micro-USDC (integer, 6 decimals)"},"usdc_reserved_usd":{"type":"string","description":"usdc reserved in USDC, formatted with 2 decimals"},"ants_distributed":{"type":["number","null"],"description":"$ANTS allocated to stakers (null when a reward-epoch read failed)"},"queued_unstake_diem":{"type":["number","null"],"description":"In open unstake batches (null when a batch read failed)"},"unstaked_diem":{"type":["number","null"],"description":"Flushed, not yet claimed (null when a batch read failed)"},"current_batch":{"type":"integer","description":"Current unstake batch"},"reward_epoch":{"type":"integer","description":"Last finalized reward epoch"},"diem_price_usd":{"type":["number","null"],"description":"DIEM price used (null when the price chain is unavailable)"},"stake_value_usd":{"type":["number","null"],"description":"Stake value at that price"},"pool_yield":{"type":["number","null"],"description":"Lifetime distributed over stake value"},"apy_pct":{"type":["number","null"],"description":"Annualised run-rate, %, our estimate"},"apy_basis":{"type":["string","null"],"description":"rolling7d or epoch"},"rewards":{"type":"object","properties":{"usdc_micro":{"type":"integer","description":"usdc in micro-USDC (integer, 6 decimals)"},"usdc_usd":{"type":"string","description":"usdc in USDC, formatted with 2 decimals"},"ants":{"type":"number","description":"$ANTS claimed"},"payouts":{"type":"integer","description":"Payout events"}}},"top_stakers":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"active_stake_diem":{"type":["number","null"],"description":"Staked (null when the read failed)"},"queued_unstake_diem":{"type":["number","null"],"description":"Queued to unstake (null when the read failed)"},"earned_usdc_micro":{"type":["integer","null"],"description":"earned usdc in micro-USDC (integer, 6 decimals)"},"earned_usdc_usd":{"type":["string","null"],"description":"earned usdc in USDC, formatted with 2 decimals"},"usdc_claimed_micro":{"type":"integer","description":"usdc claimed in micro-USDC (integer, 6 decimals)"},"usdc_claimed_usd":{"type":"string","description":"usdc claimed in USDC, formatted with 2 decimals"},"ants_claimed":{"type":"number","description":"$ANTS claimed"},"last_activity_ts":{"type":["integer","null"],"description":"UTC seconds"}}}},"series":{"type":"array","items":{"type":"object","properties":{"ts":{"type":"integer","description":"UTC seconds"},"staked_diem":{"type":"number","description":"DIEM staked"},"stakers":{"type":"integer","description":"Stakers"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/diem/proxy":{"get":{"operationId":"diem.proxy","tags":["Staking and rewards"],"summary":"Venice.ai proxy: pool books and provider","description":"The figures the /diem/proxy page shows, composed once per request from the same cached reads: the DIEM pool's accounting (unstake queue, reserved and claimed USDC, the pool's own reward epoch, the operator fee routed to buy and burn), its 50 largest stakers with every column, and the Venice.ai proxy provider's figures, daily and per-epoch volume and usage, its 100 most recent channels, 60 latest transactions and live offerings. A figure whose read failed is null, never 0: requests, tokens and offerings are null while the provider directory has no agent id for the proxy, and a day or epoch before one series' first record is null there. epochs are Antseed's 7-day epochs; pool.reward_epoch is the pool's own clock.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"proxy_seller":{"type":"string","description":"The DIEM staking contract, also the Venice.ai proxy provider"},"agent_id":{"type":["string","null"],"description":"The proxy's agent id (null while the provider directory has none)"},"pool":{"type":"object","properties":{"total_staked_diem":{"type":"number","description":"DIEM staked now"},"stakers":{"type":"integer","description":"Stakers"},"queued_unstake_diem":{"type":["number","null"],"description":"In open unstake batches (null when a batch read failed)"},"unstaked_diem":{"type":["number","null"],"description":"Flushed, not yet claimed (null when a batch read failed)"},"current_batch":{"type":"integer","description":"Current unstake batch"},"oldest_unclaimed_batch":{"type":"integer","description":"Oldest unclaimed unstake batch"},"usdc_distributed_micro":{"type":"integer","description":"usdc distributed in micro-USDC (integer, 6 decimals)"},"usdc_distributed_usd":{"type":"string","description":"usdc distributed in USDC, formatted with 2 decimals"},"usdc_reserved_micro":{"type":"integer","description":"usdc reserved in micro-USDC (integer, 6 decimals)"},"usdc_reserved_usd":{"type":"string","description":"usdc reserved in USDC, formatted with 2 decimals"},"usdc_claimed_micro":{"type":"integer","description":"usdc claimed in micro-USDC (integer, 6 decimals)"},"usdc_claimed_usd":{"type":"string","description":"usdc claimed in USDC, formatted with 2 decimals"},"usdc_payouts":{"type":"integer","description":"Payout events"},"ants_distributed":{"type":["number","null"],"description":"$ANTS allocated to stakers (null when a reward-epoch read failed)"},"ants_claimed":{"type":"number","description":"$ANTS claimed"},"diem_price_usd":{"type":["number","null"],"description":"DIEM price used (null when the price chain is unavailable)"},"stake_value_usd":{"type":["number","null"],"description":"Stake value at that price"},"pool_yield":{"type":["number","null"],"description":"Lifetime distributed over stake value"},"apy_pct":{"type":["number","null"],"description":"Annualised run-rate, %, our estimate"},"apy_basis":{"type":["string","null"],"description":"rolling7d or epoch"},"reward_epoch":{"type":"integer","description":"Last finalized reward epoch, the pool's own clock"},"first_reward_epoch":{"type":"integer","description":"The pool's first reward epoch"},"operator_fee_pct":{"type":"number","description":"Operator fee routed to buy and burn, %"},"treasury_micro":{"type":["integer","null"],"description":"treasury in micro-USDC (integer, 6 decimals)"},"treasury_usd":{"type":["string","null"],"description":"treasury in USDC, formatted with 2 decimals"}}},"seller":{"type":"object","properties":{"earnings_micro":{"type":["integer","null"],"description":"earnings in micro-USDC (integer, 6 decimals)"},"earnings_usd":{"type":["string","null"],"description":"earnings in USDC, formatted with 2 decimals"},"requests":{"type":["integer","null"],"description":"Requests served (null without an agent id)"},"tokens":{"type":["number","null"],"description":"Input plus output tokens (null without an agent id)"},"channels":{"type":["integer","null"],"description":"Channels settled at least once"},"buyers":{"type":["integer","null"],"description":"Distinct buyers"},"offerings":{"type":["integer","null"],"description":"Live DHT listings (null without an agent id)"},"stake_micro":{"type":"integer","description":"stake in micro-USDC (integer, 6 decimals)"},"stake_usd":{"type":"string","description":"stake in USDC, formatted with 2 decimals"},"last_settle_ts":{"type":["integer","null"],"description":"UTC seconds"}}},"top_stakers":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"active_stake_diem":{"type":["number","null"],"description":"Staked (null when the read failed)"},"queued_unstake_diem":{"type":["number","null"],"description":"Queued to unstake (null when the read failed)"},"earned_usdc_micro":{"type":["integer","null"],"description":"earned usdc in micro-USDC (integer, 6 decimals)"},"earned_usdc_usd":{"type":["string","null"],"description":"earned usdc in USDC, formatted with 2 decimals"},"usdc_claimed_micro":{"type":"integer","description":"usdc claimed in micro-USDC (integer, 6 decimals)"},"usdc_claimed_usd":{"type":"string","description":"usdc claimed in USDC, formatted with 2 decimals"},"ants_claimed":{"type":"number","description":"$ANTS claimed"},"last_activity_ts":{"type":["integer","null"],"description":"UTC seconds"}}}},"daily":{"type":"array","description":"One row per UTC day since the first settle or usage record","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day, YYYY-MM-DD"},"settled_micro":{"type":["integer","null"],"description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":["string","null"],"description":"settled in USDC, formatted with 2 decimals"},"tokens_in":{"type":["number","null"],"description":"Input tokens"},"tokens_out":{"type":["number","null"],"description":"Output tokens"}}}},"epochs":{"type":"array","items":{"type":"object","properties":{"epoch":{"type":"integer","description":"Antseed epoch"},"settled_micro":{"type":["integer","null"],"description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":["string","null"],"description":"settled in USDC, formatted with 2 decimals"},"tokens_in":{"type":["number","null"],"description":"Input tokens"},"tokens_out":{"type":["number","null"],"description":"Output tokens"},"requests":{"type":["integer","null"],"description":"Requests"},"live":{"type":"boolean","description":"The epoch still running"}}}},"channels":{"type":"array","description":"The 100 most recently active","items":{"type":"object","properties":{"channel_id":{"type":"string","description":"0x, 32 bytes"},"status":{"type":"string","description":"active, closed or unknown"},"buyer":{"type":"string","description":"Lowercase 0x"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"requests":{"type":"integer","description":"Requests"},"last_activity_ts":{"type":["integer","null"],"description":"UTC seconds"}}}},"transactions":{"type":"array","description":"The 60 latest; value is 0 for events that move no money","items":{"type":"object","properties":{"tx_hash":{"type":"string","description":"0x"},"method":{"type":"string","description":"Decoded event"},"block":{"type":"integer","description":"Block number"},"value_micro":{"type":"integer","description":"value in micro-USDC (integer, 6 decimals)"},"value_usd":{"type":"string","description":"value in USDC, formatted with 2 decimals"},"ts":{"type":["integer","null"],"description":"UTC seconds"}}}},"offerings":{"type":"array","items":{"type":"object","properties":{"service":{"type":"string","description":"Model or service id"},"input_usd_per_m":{"type":["number","null"],"description":"Input price per 1M tokens"},"output_usd_per_m":{"type":["number","null"],"description":"Output price per 1M tokens"},"tags":{"type":["string","null"],"description":"Comma-separated categories"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/epochs":{"get":{"operationId":"epochs","tags":["Epochs and $ANTS"],"summary":"Every epoch: emission, points, burn","description":"Epochs are 7 days from genesis (2026-04-09 09:54:21 UTC). Points are the on-chain usage accruals in USDC; from epoch 22 they come from the usage accounting contract, which leaves out registry-proven wash traders, so totals drop at that boundary for the same real activity. burn_ants is what the gate burned at the close of that epoch.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"current":{"type":"integer","description":"Current epoch number"},"epochs":{"type":"array","items":{"type":"object","description":"The live epoch's points are null for the first minutes after a rollover","properties":{"epoch":{"type":"integer","description":"Number"},"starts_ts":{"type":"integer","description":"UTC seconds"},"ends_ts":{"type":"integer","description":"UTC seconds"},"status":{"type":"string","description":"complete, current or future"},"emission_ants":{"type":"number","description":"Emission for the epoch"},"model":{"type":"string","description":"legacy or recognized"},"seller_points_micro":{"type":["integer","null"],"description":"seller points in micro-USDC (integer, 6 decimals)"},"seller_points_usd":{"type":["string","null"],"description":"seller points in USDC, formatted with 2 decimals"},"buyer_points_micro":{"type":["integer","null"],"description":"buyer points in micro-USDC (integer, 6 decimals)"},"buyer_points_usd":{"type":["string","null"],"description":"buyer points in USDC, formatted with 2 decimals"},"burn_ants":{"type":["number","null"],"description":"ANTS burned at close (null before the burn)"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/epochs/{n}":{"get":{"operationId":"epochs.detail","tags":["Epochs and $ANTS"],"summary":"One epoch, live economics if current","description":"Same row as /epochs. For the current epoch, economics adds the budget per bucket, the usage and stake inputs and the projected burn as read from the gate now. buyer_ants_per_usd_projected divides the buyer budget by buyer usage so far: our projection, it settles only at epoch close.","parameters":[{"name":"n","in":"path","required":true,"description":"Epoch number","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"epoch":{"type":"integer","description":"Number"},"starts_ts":{"type":"integer","description":"UTC seconds"},"ends_ts":{"type":"integer","description":"UTC seconds"},"status":{"type":"string","description":"complete, current or future"},"emission_ants":{"type":"number","description":"Emission"},"model":{"type":"string","description":"legacy or recognized"},"seller_points_micro":{"type":["integer","null"],"description":"seller points in micro-USDC (integer, 6 decimals)"},"seller_points_usd":{"type":["string","null"],"description":"seller points in USDC, formatted with 2 decimals"},"buyer_points_micro":{"type":["integer","null"],"description":"buyer points in micro-USDC (integer, 6 decimals)"},"buyer_points_usd":{"type":["string","null"],"description":"buyer points in USDC, formatted with 2 decimals"},"burn_ants":{"type":["number","null"],"description":"Burned at close"},"economics":{"type":["object","null"],"description":"Current epoch only (null for past ones)","properties":{"minted_ants":{"type":["number","null"],"description":"Minted so far this epoch"},"allocated_ants":{"type":["number","null"],"description":"Budgets granted"},"unallocated_ants":{"type":["number","null"],"description":"Left over"},"buckets":{"type":["array","null"],"items":{"type":"object","properties":{"key":{"type":"string","description":"Bucket"},"cap_pct":{"type":"number","description":"Ceiling, % of emission"},"cap_ants":{"type":"number","description":"Ceiling"},"allocated_ants":{"type":"number","description":"Granted"},"dynamic":{"type":"boolean","description":"Scales with usage or stake"}}}},"burn":{"type":["object","null"],"properties":{"cap_ants":{"type":"number","description":"30% of emission"},"projected_ants":{"type":"number","description":"If someone settles"},"realized_ants":{"type":"number","description":"Burned so far"}}},"usage":{"type":["object","null"],"properties":{"seller_micro":{"type":"integer","description":"seller in micro-USDC (integer, 6 decimals)"},"seller_usd":{"type":"string","description":"seller in USDC, formatted with 2 decimals"},"buyer_micro":{"type":"integer","description":"buyer in micro-USDC (integer, 6 decimals)"},"buyer_usd":{"type":"string","description":"buyer in USDC, formatted with 2 decimals"},"target_micro":{"type":"integer","description":"target in micro-USDC (integer, 6 decimals)"},"target_usd":{"type":"string","description":"target in USDC, formatted with 2 decimals"},"pct_of_target":{"type":"number","description":"Input over target, %"},"seller_budget_ants":{"type":"number","description":"Provider usage budget"},"buyer_budget_ants":{"type":"number","description":"Buyer usage budget"}}},"stake":{"type":["object","null"],"properties":{"active_ants":{"type":"number","description":"Active stake"},"target_ants":{"type":"number","description":"Target"},"pct_of_target":{"type":"number","description":"%"}}},"buyer_ants_per_usd_projected":{"type":["number","null"],"description":"Buyer budget over buyer usage so far"},"degraded":{"type":"boolean","description":"True when a chain read failed: every figure in this block is then null"}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/ants/supply":{"get":{"operationId":"ants.supply","tags":["Epochs and $ANTS"],"summary":"$ANTS minted, emitted, burned, staked","description":"The canonical token is 0xa87EE81b2C0Bc659307ca2D9ffdC38514DD85263 (transfers gated, no market price; an unrelated token with the same ticker is indexed elsewhere). emitted_ants counts completed epochs only. The partition is null when any identity it depends on failed to tie out.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"token":{"type":"string","description":"Canonical $ANTS address"},"transfers_enabled":{"type":"boolean","description":"Token transfers open to everyone"},"total_supply_ants":{"type":"number","description":"totalSupply, includes burned-to-dead"},"max_supply_ants":{"type":["number","null"],"description":"Cap; null when unread"},"emitted_ants":{"type":"number","description":"Completed-epoch emission"},"burned_ants":{"type":["number","null"],"description":"Both burn sinks"},"burned_dead_ants":{"type":["number","null"],"description":"At 0x...dEaD; null when unread"},"partition":{"type":"object","properties":{"staked_ants":{"type":"number","description":"In pools"},"stakable_ants":{"type":["number","null"],"description":"Staked plus earned not yet staked"},"staked_pct":{"type":["number","null"],"description":"Staked over stakable"},"minted_ants":{"type":"number","description":"Minted"},"pre22_ants":{"type":"number","description":"Minted before epoch 22"},"segments":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Segment"},"ants":{"type":"number","description":"ANTS"},"pct":{"type":"number","description":"% of total"}}}}}},"burns":{"type":"array","items":{"type":"object","properties":{"epoch":{"type":"integer","description":"Epoch"},"ants":{"type":"number","description":"Burned at its close"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/ants":{"get":{"operationId":"ants.overview","tags":["Epochs and $ANTS"],"summary":"$ANTS at a glance: supply, burn, holders","description":"Everything the $ANTS page shows, composed once per request from the same cached reads. The canonical token is 0xa87EE81b2C0Bc659307ca2D9ffdC38514DD85263 (transfers gated, no market price). Net figures take the burn out: the epoch remainder is minted to the dead address, so it sits inside total_supply while held by nobody. A null is a read that failed, never a zero: a zero burn on a closed epoch is a zero read from the gate. where.slices are shares of the whole supply (minted plus rewards earned and not yet minted); the since-22 shares alone are on /ants/supply. split is the last closed epoch as the gate budgeted it, not what was paid. buy_burn.sent_to_zero_ants counts every transfer to the zero address, whoever sent it.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"token":{"type":"string","description":"Canonical $ANTS address"},"transfers_enabled":{"type":"boolean","description":"Token transfers open to everyone"},"epoch":{"type":"integer","description":"Live epoch"},"supply":{"type":"object","properties":{"total_supply_ants":{"type":"number","description":"totalSupply, the burn included"},"max_supply_ants":{"type":["number","null"],"description":"MAX_SUPPLY"},"emitted_ants":{"type":"number","description":"Completed-epoch emission"},"burned_dead_ants":{"type":["number","null"],"description":"At 0x...dEaD: the epoch remainder burns"},"minted_net_ants":{"type":["number","null"],"description":"totalSupply minus the burn"},"minted_pct_of_max":{"type":["number","null"],"description":"minted_net over max, %"},"emitted_net_ants":{"type":["number","null"],"description":"Emission minus the burn"},"minted_pct_of_emitted":{"type":["number","null"],"description":"minted_net over emitted_net, %, capped at 100"}}},"holders":{"type":"object","properties":{"count":{"type":"integer","description":"Addresses with a positive balance"},"transfers":{"type":"integer","description":"Transfer events indexed"},"series":{"type":["array","null"],"description":"Holders per day since the first transfer","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day, YYYY-MM-DD"},"holders":{"type":"integer","description":"Positive balances at the end of that day"}}}}}},"emission":{"type":"object","properties":{"per_epoch_ants":{"type":"number","description":"Scheduled emission of the live epoch"},"next_halving":{"type":"object","properties":{"epoch":{"type":"integer","description":"First epoch of the next tier"},"starts_ts":{"type":"integer","description":"UTC seconds"},"per_epoch_ants":{"type":"number","description":"Emission per epoch from then"}}},"burned_epochs":{"type":["object","null"],"properties":{"burned":{"type":"integer","description":"Closed epochs that burned anything"},"closed":{"type":"integer","description":"Closed epochs whose burn was read"}}},"epochs":{"type":"array","description":"Epochs 22 to the live one","items":{"type":"object","properties":{"epoch":{"type":"integer","description":"Epoch"},"emission_ants":{"type":"number","description":"Scheduled emission"},"burned_ants":{"type":["number","null"],"description":"Burned at its close; 0 is a real zero; null unread or live"},"projected_burn_ants":{"type":["number","null"],"description":"Last closed epoch only, while its burn reads 0: what settling it would burn"},"live":{"type":"boolean","description":"The live epoch: nothing minted yet"}}}}}},"where":{"type":"object","properties":{"total_ants":{"type":["number","null"],"description":"Minted plus earned not yet minted"},"note":{"type":["string","null"],"description":"Why the split is missing or coarser"},"slices":{"type":"array","description":"Empty when the split could not be shown","items":{"type":"object","properties":{"key":{"type":"string","description":"pre22, burned, reserve, team, verification, wallets, residual, stakable, staked"},"label":{"type":"string","description":"Label"},"ants":{"type":"number","description":"ANTS"},"pct":{"type":"number","description":"% of total_ants"}}}}}},"not_movable":{"type":"object","properties":{"legacy_escrow_ants":{"type":["number","null"],"description":"Still in the legacy-emissions escrow"},"escrow_premint_ants":{"type":["number","null"],"description":"What funded the escrow"},"locked_ants":{"type":["number","null"],"description":"Provider rewards locked in the pool"},"locked_sellers":{"type":["integer","null"],"description":"Providers with a locked reward"},"claims_open":{"type":["boolean","null"],"description":"A locked reward could be released now (policy installed and the pool allowed to move $ANTS)"}}},"split":{"type":["object","null"],"description":"Null when the gate could not be read","properties":{"epoch":{"type":"integer","description":"Last closed epoch"},"emission_ants":{"type":"number","description":"Scheduled"},"allocated_ants":{"type":"number","description":"Sum of the budgets"},"remainder_ants":{"type":"number","description":"Emission no bucket was budgeted"},"minted_ants":{"type":"number","description":"Minted for it so far"},"burned_ants":{"type":"number","description":"Burned for it so far"},"buckets":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Bucket"},"label":{"type":"string","description":"Label"},"allocated_ants":{"type":"number","description":"Budgeted"},"cap_ants":{"type":"number","description":"Ceiling"},"dynamic":{"type":"boolean","description":"Scales with distance to target"}}}}}},"buy_burn":{"type":["object","null"],"description":"Null when the DIEM pool could not be read","properties":{"treasury":{"type":"string","description":"Operator fee recipient"},"fee_pct":{"type":"number","description":"Operator fee, %"},"treasury_micro":{"type":["integer","null"],"description":"treasury in micro-USDC (integer, 6 decimals)"},"treasury_usd":{"type":["string","null"],"description":"treasury in USDC, formatted with 2 decimals"},"sent_to_zero_ants":{"type":"number","description":"$ANTS sent to the zero address, by anyone"}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/ants/holders":{"get":{"operationId":"ants.holders","tags":["Epochs and $ANTS"],"summary":"$ANTS holders by balance","description":"Balances rebuilt from every Transfer of the canonical token, protocol sinks (burn addresses) left out. The two largest holders are protocol contracts (the staking pools, the rewards contract); label names them. With transfers gated, a balance is rewards earned, not tokens bought.","parameters":[{"name":"limit","in":"query","required":false,"description":"Holders to return","schema":{"type":"integer","minimum":1,"maximum":200,"default":30}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"token":{"type":"string","description":"Canonical $ANTS address"},"holders":{"type":"integer","description":"Addresses with a positive balance"},"transfers":{"type":"integer","description":"Transfer events indexed"},"top":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Lowercase 0x"},"balance_ants":{"type":"number","description":"Balance"},"label":{"type":["string","null"],"description":"Provider name or protocol role"},"is_seller":{"type":"boolean","description":"Has a provider page (not a protocol-only address)"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/channels":{"get":{"operationId":"channels","tags":["Activity"],"summary":"Payment channels, most recent first","description":"The channel lifecycle counts (opened, active, settled, closed) and the most recently active channels with what each has settled. A channel is one buyer paying one provider; it settles many times before it closes.","parameters":[{"name":"limit","in":"query","required":false,"description":"Channels to return","schema":{"type":"integer","minimum":1,"maximum":500,"default":100}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"stats":{"type":"object","properties":{"opened":{"type":"integer","description":"Channels ever opened"},"active":{"type":"integer","description":"Open now"},"settled":{"type":"integer","description":"Settled at least once"},"closed":{"type":"integer","description":"Closed"}}},"channels":{"type":"array","items":{"type":"object","properties":{"channel_id":{"type":"string","description":"0x, 64 hex"},"buyer":{"type":"string","description":"Lowercase 0x"},"seller":{"type":"string","description":"Lowercase 0x"},"seller_name":{"type":["string","null"],"description":"Announced name (untrusted); null when none"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Settlements"},"first_seen_ts":{"type":"integer","description":"UTC seconds"},"last_activity_ts":{"type":"integer","description":"UTC seconds"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/channels/{channelId}":{"get":{"operationId":"channels.detail","tags":["Activity"],"summary":"One channel: settlements and models","description":"Everything the channel page shows: the pair, what it settled and when, the provider as the directory sees it, the per-model split when the buyer shares it, and the last settlements with their transactions.","parameters":[{"name":"channelId","in":"path","required":true,"description":"Payment channel id (0x, 64 hex)","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"channel_id":{"type":"string","description":"0x, 64 hex"},"buyer":{"type":"string","description":"Lowercase 0x"},"seller":{"type":"string","description":"Lowercase 0x"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"fees_micro":{"type":"integer","description":"fees in micro-USDC (integer, 6 decimals)"},"fees_usd":{"type":"string","description":"fees in USDC, formatted with 2 decimals"},"settles":{"type":"integer","description":"Settlements"},"first_seen_ts":{"type":"integer","description":"UTC seconds"},"last_activity_ts":{"type":"integer","description":"UTC seconds"},"seller_info":{"type":"object","description":"Null when the provider is not in the directory","properties":{"name":{"type":["string","null"],"description":"Announced name (untrusted)"},"reputation":{"type":["number","null"],"description":"Trust score"},"stake_usdc":{"type":"number","description":"USDC stake"},"models":{"type":"integer","description":"Models advertised"},"region":{"type":["string","null"],"description":"Announced region"}}},"models":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"model_display":{"type":"string","description":"Name"},"data":{"type":"boolean","description":"A data service (a provider's own HTTP API billed per completed request), not a model: model is its announced service name"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"tokens":{"type":"integer","description":"Tokens"},"requests":{"type":"integer","description":"Requests"}}}},"recent":{"type":"array","items":{"type":"object","properties":{"tx":{"type":"string","description":"Transaction hash"},"delta_micro":{"type":"integer","description":"delta in micro-USDC (integer, 6 decimals)"},"delta_usd":{"type":"string","description":"delta in USDC, formatted with 2 decimals"},"total_settled_micro":{"type":"integer","description":"total settled in micro-USDC (integer, 6 decimals)"},"total_settled_usd":{"type":"string","description":"total settled in USDC, formatted with 2 decimals"},"ts":{"type":"integer","description":"UTC seconds"},"block":{"type":"integer","description":"Base block"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/requests":{"get":{"operationId":"requests","tags":["Activity"],"summary":"Live requests: per-event usage reports","description":"The usage reports decoded from settlements (MetadataRecorded) and free-tier reports, newest first: per event the model, tokens, requests, images and USDC, with the buyer, the provider, the channel and the transaction. window_24h is the rolling band the page opens with. Lower bounds: only buyers that share a per-model split appear.","parameters":[{"name":"limit","in":"query","required":false,"description":"Events to return","schema":{"type":"integer","minimum":1,"maximum":500,"default":100}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"window_24h":{"type":"object","properties":{"sales_micro":{"type":"integer","description":"sales in micro-USDC (integer, 6 decimals)"},"sales_usd":{"type":"string","description":"sales in USDC, formatted with 2 decimals"},"requests":{"type":"integer","description":"Paid requests"},"tokens":{"type":"integer","description":"Paid tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"videos":{"type":"integer","description":"Videos delivered"},"cached_share":{"type":"number","description":"Cached over input, 0 to 1"},"free_requests":{"type":"integer","description":"Free requests"},"free_tokens":{"type":"integer","description":"Free tokens"},"buyers":{"type":"integer","description":"Distinct buyers"},"sellers":{"type":"integer","description":"Distinct providers"},"models":{"type":"integer","description":"Distinct models"},"coverage":{"type":"number","description":"Settlements with a per-model split, 0 to 1"},"top_by_tokens":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"tokens":{"type":"integer","description":"Tokens"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"requests":{"type":"integer","description":"Requests"}}},"top_by_sales":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"tokens":{"type":"integer","description":"Tokens"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"requests":{"type":"integer","description":"Requests"}}}}},"events":{"type":"array","items":{"type":"object","properties":{"tx":{"type":"string","description":"Transaction hash"},"block":{"type":"integer","description":"Base block"},"ts":{"type":"integer","description":"UTC seconds"},"channel_id":{"type":"string","description":"0x, 64 hex"},"buyer":{"type":"string","description":"Lowercase 0x"},"seller":{"type":"string","description":"Lowercase 0x"},"seller_name":{"type":["string","null"],"description":"Announced name (untrusted); null when none"},"model":{"type":"string","description":"Canonical id"},"model_display":{"type":"string","description":"Name"},"free":{"type":"boolean","description":"Free-tier report, no payment"},"requests":{"type":"integer","description":"Requests"},"tokens_in":{"type":"integer","description":"Input tokens"},"tokens_cached":{"type":"integer","description":"Of which cached"},"tokens_out":{"type":"integer","description":"Output tokens"},"images":{"type":"integer","description":"Images"},"video_seconds":{"type":"integer","description":"Seconds of video"},"settled_micro":{"type":"integer","description":"settled in micro-USDC (integer, 6 decimals)"},"settled_usd":{"type":"string","description":"settled in USDC, formatted with 2 decimals"},"data":{"type":"boolean","description":"A data service (a provider's own HTTP API billed per completed request), not a model: model is its service name"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/transactions":{"get":{"operationId":"transactions","tags":["Activity"],"summary":"Latest on-chain activity, every kind","description":"The most recent events across every Antseed contract we index: settlements, escrow deposits and withdrawals, USDC stakes, $ANTS claims, DIEM stakes and rewards, token transfers. One row per event with the account, the amount and its unit.","parameters":[{"name":"kind","in":"query","required":false,"description":"Only this kind of event","schema":{"type":"string","enum":["settle","deposit","withdraw","stake","unstake","claim","diem-stake","diem-unstake","diem-reward","transfer"]}},{"name":"limit","in":"query","required":false,"description":"Events to return","schema":{"type":"integer","minimum":1,"maximum":100,"default":100}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"tx":{"type":"string","description":"Transaction hash"},"block":{"type":"integer","description":"Base block"},"ts":{"type":"integer","description":"UTC seconds"},"kind":{"type":"string","description":"settle, deposit, withdraw, stake, unstake, claim, diem-stake, diem-unstake, diem-reward or transfer"},"account":{"type":"string","description":"Lowercase 0x"},"account_name":{"type":["string","null"],"description":"Announced name when the account is a provider (untrusted); null otherwise"},"value":{"type":"number","description":"Amount"},"unit":{"type":"string","description":"USDC, ANTS, DIEM or empty"},"model":{"type":"string","description":"Model served (settle rows), empty otherwise"},"model_id":{"type":["string","null"],"description":"Canonical id when one model"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/search":{"get":{"operationId":"search","tags":["Tools"],"summary":"Names to ids: providers, models, labs","description":"Turns what a person types into the ids every other endpoint takes. A provider name or agent id finds the provider (address), a model name in any spelling finds the canonical model id (kimi-k3, Kimi K3 and moonshotai/kimi-k3 are the same), a family word finds the lab, a 0x address says whether it is a provider and/or a buyer, a 0x hash says whether it is a payment channel and/or a settlement tx. Every match carries the page that shows it and the endpoint that returns it as data. Ranked: exact, prefix, every word present, substring; ties go to the busier entity.","parameters":[{"name":"q","in":"query","required":true,"description":"What to look for: a name, a model, a lab, a 0x address or a 0x hash (2 to 80 characters)","schema":{"type":"string","maxLength":200}},{"name":"type","in":"query","required":false,"description":"Only this kind of match","schema":{"type":"string","enum":["seller","buyer","model","lab","channel","tx"]}},{"name":"limit","in":"query","required":false,"description":"Matches to return (1 to 25)","schema":{"type":"integer","minimum":1,"maximum":25,"default":10}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"query":{"type":"string","description":"The query as searched"},"matches":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"provider, buyer, model, lab, channel, tx or address","enum":["seller","buyer","model","lab","channel","tx","address"]},"id":{"type":"string","description":"The id other endpoints take: address, model id, lab slug, channel id or tx hash"},"label":{"type":"string","description":"Display name (providers: their own announced name, untrusted text)"},"sublabel":{"type":["string","null"],"description":"Second line: address, raw model id or role"},"page":{"type":"string","description":"The page on antseedstats.com (BaseScan for a tx or an unknown address)"},"api":{"type":["string","null"],"description":"The endpoint that returns this entity as data (null for a tx)"},"score":{"type":"integer","description":"Our ranking, 0 to 100: 100 exact, 80 prefix, 60 every word, 40 substring"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/estimate":{"get":{"operationId":"estimate","tags":["Tools"],"summary":"Cost of a workload on Antseed vs list","description":"The calculator as an endpoint. Give a model and a monthly token mix; get the list price (OpenRouter, or Venice when OpenRouter has none or prices input at a sliver of output), the cheapest provider, the trusted pick (settled on-chain, trust score at or above 60, wash providers never considered) and the saving. Costs include the 4% protocol fee; the list price does not. Image, video and audio generators are not priced (they bill per generation). Prices are advertised rates, not quotes.","parameters":[{"name":"model","in":"query","required":true,"description":"Canonical model id or any advertised spelling","schema":{"type":"string","maxLength":200}},{"name":"input_tokens","in":"query","required":false,"description":"Input tokens per period (a coding agent: about 22 million a month)","schema":{"type":"integer","minimum":0,"maximum":1000000000000,"default":22000000}},{"name":"output_tokens","in":"query","required":false,"description":"Output tokens per period","schema":{"type":"integer","minimum":0,"maximum":1000000000000,"default":5500000}},{"name":"cached_tokens","in":"query","required":false,"description":"Cached input tokens per period (prompt prefixes already processed)","schema":{"type":"integer","minimum":0,"maximum":1000000000000,"default":0}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"model":{"type":"string","description":"Canonical id"},"display":{"type":"string","description":"Name"},"tokens":{"type":"object","properties":{"input":{"type":"integer","description":"Input tokens"},"output":{"type":"integer","description":"Output tokens"},"cached":{"type":"integer","description":"Cached input tokens"}}},"fee_pct":{"type":"number","description":"Protocol fee applied to Antseed costs (4)"},"mode":{"type":"string","description":"full: list price and paid offers; market-only: no list price; free-only: every listing is free","enum":["full","market-only","free-only"]},"list":{"type":"object","description":"Null when the model has no published list price","properties":{"input_usd_per_m":{"type":"number","description":"List USD per 1M input"},"output_usd_per_m":{"type":"number","description":"List USD per 1M output"},"cached_input_usd_per_m":{"type":["number","null"],"description":"List USD per 1M cached input"},"source":{"type":"string","description":"Where the list price comes from","enum":["openrouter","venice"]},"reference_id":{"type":"string","description":"OpenRouter or Venice model id"},"cost_usd":{"type":"number","description":"Cost of the mix at list price, no fee"}}},"cheapest":{"type":"object","description":"The cheapest paid provider for this mix; null when none","properties":{"seller":{"type":"string","description":"Lowercase 0x"},"name":{"type":"string","description":"Announced name (untrusted)"},"input_usd_per_m":{"type":"number","description":"USD per 1M input"},"output_usd_per_m":{"type":"number","description":"USD per 1M output"},"cached_input_usd_per_m":{"type":["number","null"],"description":"USD per 1M cached input"},"reputation":{"type":["number","null"],"description":"Trust score"},"trusted":{"type":"boolean","description":"Passes the trusted rule"},"verified":{"type":"boolean","description":"Domain or GitHub proof"},"cost_usd":{"type":"number","description":"Cost of the mix, fee included"}}},"trusted_pick":{"type":"object","description":"The cheapest trusted provider; null when none passes the rule","properties":{"seller":{"type":"string","description":"Lowercase 0x"},"name":{"type":"string","description":"Announced name (untrusted)"},"input_usd_per_m":{"type":"number","description":"USD per 1M input"},"output_usd_per_m":{"type":"number","description":"USD per 1M output"},"cached_input_usd_per_m":{"type":["number","null"],"description":"USD per 1M cached input"},"reputation":{"type":["number","null"],"description":"Trust score"},"trusted":{"type":"boolean","description":"Always true"},"verified":{"type":"boolean","description":"Domain or GitHub proof"},"cost_usd":{"type":"number","description":"Cost of the mix, fee included"}}},"saving_usd":{"type":["number","null"],"description":"List cost minus the headline pick (trusted, else cheapest); null without a list price"},"saving_pct":{"type":["number","null"],"description":"The same as a percentage of list"},"free_sellers":{"type":"integer","description":"Free listings of this model"},"free_trusted":{"type":"integer","description":"Of those, passing the trusted rule"},"paid_sellers":{"type":"integer","description":"Paid listings considered"}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/glossary":{"get":{"operationId":"glossary","tags":["Tools"],"summary":"Every definition behind the site's tips","description":"The text behind every info dot on the site as data: what each figure is and how it is computed, with the page it appears on. The same copy a visitor reads in the tooltip, so a figure and its definition can be cited together. Filter by page or search the text.","parameters":[{"name":"page","in":"query","required":false,"description":"Only this page key (home, revenue, providers, models, network, staking, rewards, ants, diem, buyers, calculator, status, developers, ...)","schema":{"type":"string","maxLength":200}},{"name":"q","in":"query","required":false,"description":"Only definitions whose term or text contains this","schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer","description":"Definitions matching"},"terms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"page.key, stable"},"term":{"type":"string","description":"Human term"},"page":{"type":"string","description":"Page key"},"url":{"type":"string","description":"The page on antseedstats.com"},"definition":{"type":"string","description":"The definition, as shown in the tip"},"version":{"type":"string","description":"Definition version; bumps when the meaning changes"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/changelog":{"get":{"operationId":"changelog","tags":["Tools"],"summary":"What changed on the site and the API","description":"The site changelog as data, newest first: version, date, title and the items. An API change is always a changelog entry, so an agent can read what moved since it last looked.","parameters":[{"name":"limit","in":"query","required":false,"description":"Entries to return","schema":{"type":"integer","minimum":1,"maximum":200,"default":10}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"total":{"type":"integer","description":"Entries"},"entries":{"type":"array","items":{"type":"object","properties":{"version":{"type":"string","description":"Semver-like"},"date":{"type":"string","description":"UTC day"},"title":{"type":"string","description":"Title"},"tag":{"type":"string","description":"feature, fix or data","enum":["feature","fix","data"]},"items":{"type":"array","items":{"type":"string","description":"One shipped change"}}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/usage":{"get":{"operationId":"usage","tags":["Tools"],"summary":"API calls per day and client family","description":"Calls to /api/v1 per UTC day, by client family (MCP, curl, Node, Python, browser, crawler, other), and the most called endpoints over the window. Counted per endpoint and family only: no IPs, no raw user agents. Today is the partial day so far. Includes our own checks and tests.","parameters":[{"name":"days","in":"query","required":false,"description":"UTC days to return, today included","schema":{"type":"integer","minimum":1,"maximum":90,"default":30}}],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"days":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","description":"UTC day, YYYY-MM-DD"},"calls":{"type":"integer","description":"Calls that day"},"mcp":{"type":"integer","description":"Calls from our MCP server"},"curl":{"type":"integer","description":"curl, wget, httpie"},"node":{"type":"integer","description":"Node, Bun, Deno"},"python":{"type":"integer","description":"Python clients"},"browser":{"type":"integer","description":"Browsers"},"bot":{"type":"integer","description":"Crawlers"},"other":{"type":"integer","description":"Unrecognised user agents"}}}},"totals":{"type":"object","description":"The whole window","properties":{"calls":{"type":"integer","description":"Calls in the window"},"mcp":{"type":"integer","description":"Calls from our MCP server"},"curl":{"type":"integer","description":"curl, wget, httpie"},"node":{"type":"integer","description":"Node, Bun, Deno"},"python":{"type":"integer","description":"Python clients"},"browser":{"type":"integer","description":"Browsers"},"bot":{"type":"integer","description":"Crawlers"},"other":{"type":"integer","description":"Unrecognised user agents"}}},"endpoints":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Endpoint id"},"calls":{"type":"integer","description":"Calls in the window"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/status":{"get":{"operationId":"status","tags":["Health"],"summary":"Indexer head, lag, subsystems","description":"Never cached. last_indexed_block is the oldest watermark across the ingestion streams, which is also the as_of_block every other endpoint reports.","parameters":[],"responses":{"200":{"description":"OK","headers":{"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"overall":{"type":"string","description":"ok, warn or down"},"head_block":{"type":["integer","null"],"description":"Base head, read live"},"last_indexed_block":{"type":["integer","null"],"description":"Oldest stream watermark"},"lag_blocks":{"type":["integer","null"],"description":"head minus last indexed"},"streams":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Stream"},"last_block":{"type":"integer","description":"Watermark"},"lag_blocks":{"type":["integer","null"],"description":"Lag"},"status":{"type":"string","description":"ok, warn or down"}}}},"subsystems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Subsystem"},"status":{"type":"string","description":"ok, warn or down"},"detail":{"type":"string","description":"Human summary"}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (60 requests per minute per IP)","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/ask":{"get":{"operationId":"ask.terms","summary":"Price and terms of the paid ask endpoint","tags":["Tools"],"responses":{"200":{"description":"The terms as JSON"}}},"post":{"operationId":"ask","tags":["Tools"],"summary":"Ask a question, $0.03 in USDC on Base (x402)","description":"Answers a question in plain language from this site's data, with the pages and API calls it used. Paid per answer with x402 v2 (scheme exact, network eip155:8453, pay to 0x1B3eDb34308C17D43beB5e3631AadAD54d813dd0). Without PAYMENT-SIGNATURE the answer is 402 with PAYMENT-REQUIRED. Settled only when the status is 200.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["question"],"properties":{"question":{"type":"string","minLength":1,"maxLength":500}}}}}},"responses":{"200":{"description":"The answer","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"answer":{"type":"string"},"model":{"type":"string"},"as_of_block":{"type":["integer","null"]},"cached":{"type":"boolean"},"citations":{"type":"array","items":{"type":"object","properties":{"tool":{"type":"string"},"args":{"type":"object"},"page":{"type":["string","null"]},"api":{"type":["string","null"]}}}}}}}}}}},"400":{"description":"Bad question (not charged)"},"402":{"description":"Payment required: the PAYMENT-REQUIRED header carries the x402 requirements"},"422":{"description":"Answered without any AntSeedStats data, such as an off-topic question (not charged)"},"429":{"description":"Rate limited (not charged)"},"502":{"description":"Answer engine failed (not charged)"},"503":{"description":"Daily budget reached or facilitator unavailable (not charged)"}}}}},"components":{"schemas":{"Meta":{"type":"object","description":"Provenance of the response: which block the data is from, and which fields are chain facts, announced data or our own judgement.","properties":{"version":{"type":"string","const":"v1"},"endpoint":{"type":"string"},"as_of_block":{"type":["integer","null"],"description":"Oldest indexed block across the ingestion streams at generation time"},"as_of_ts":{"type":["integer","null"],"description":"UTC seconds of as_of_block"},"indexer_lag_blocks":{"type":["integer","null"],"description":"Base head minus as_of_block"},"generated_at":{"type":"integer","description":"UTC seconds"},"max_age_s":{"type":"integer","description":"How long an HTTP cache may serve this response"},"sources":{"type":"object","additionalProperties":{"type":"string","enum":["chain","announce","antseedstats"]}},"docs":{"type":"object","description":"Where to read what the figures mean","properties":{"endpoint":{"type":"string","description":"This endpoint's section on the Developers page"},"page":{"type":"string","description":"The page on antseedstats.com that shows the same figures"},"glossary":{"type":"string","description":"The definitions behind that page's figures (/glossary?page=)"}}}}},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request","not_found","rate_limited","internal"]},"message":{"type":"string"}}}}}}}}