{"uid":"cap_zd5W0M75WLvf8riUmrVW1","slug":"p0-agent-economy-index-kv-key-listing-7b91e0c4","name":"P0 Agent Economy Index – KV Key Listing","description":"An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 listings are not covered.","url":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/kv/list?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"limit":{"type":"integer","default":50,"maximum":100,"minimum":1,"description":"Keys per page"},"cursor":{"type":"string","description":"cursor from the previous page"},"prefix":{"type":"string","pattern":"^[A-Za-z0-9._:/-]{0,128}$","description":"Only keys starting with this"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["namespace","prefix","keys","count","list_complete","as_of","note"],"properties":{"keys":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"bytes":{"type":["integer","null"]},"stored_as":{"type":["string","null"]},"stored_at":{"type":["string","null"]},"expires_at":{"type":["string","null"]}}}},"note":{"type":"string","description":"Fixed text: namespace, consistency, no secrets"},"as_of":{"type":"string","description":"ISO 8601 UTC time of the reply"},"count":{"type":"integer"},"cursor":{"type":["string","null"]},"prefix":{"type":"string"},"namespace":{"type":"string","description":"The paying wallet, lowercased"},"list_complete":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"keys":[{"key":"session/last-run","bytes":26,"stored_as":"json","stored_at":"2026-10-19T12:00:00.000Z","expires_at":"2026-10-20T12:00:00.000Z"}],"note":"Namespace = the wallet that paid for this call: only calls paid by the same wallet can read these keys. Stored in Cloudflare KV (eventually consistent, visible everywhere within about 60 s), plain text, not encrypted at the application level: do not store secrets. Expired keys disappear.","as_of":"2026-10-19T12:00:00.000Z","count":1,"cursor":null,"prefix":"session/","namespace":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","list_complete":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WgrbM1azHNli__r-SEO9E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Lists the KV store keys scoped to the paying wallet's namespace, enabling wallet-scoped session and state enumeration for agent workflows","exampleAgentPrompt":"List all keys in my wallet's KV namespace that start with 'session/', showing up to 50 per page, so I can see what session data my agent has stored.","exampleUseCases":[{"title":"Agent session state audit","prompt":"Show me all the keys stored in my agent's KV namespace — I want to audit what session and state data has accumulated, starting from the beginning with a page size of 100."},{"title":"Prefix-scoped key discovery","prompt":"List all keys in my wallet's KV store that begin with 'job/' so I can see which job records my agent workflow has saved."},{"title":"Pagination through large key sets","prompt":"I already got the first page of my KV keys — here's the cursor from that response, can you fetch the next page of up to 50 keys for me?"}],"resultDescription":"A JSON object containing: the wallet-scoped namespace identifier, the prefix filter applied, an array of matching keys with metadata (byte size, storage format, store/expiry timestamps), total key count for the page, a pagination cursor (null if last page), a list_complete boolean, and an ISO 8601 timestamp of the response. Keys are visible only to the paying wallet; no secrets should be stored as values are not encrypted at the application level.","failureModes":["Payment not provided or invalid x402 micropayment: 402 response requiring USDC payment","Cursor from a different namespace or expired cursor: may return empty or error","Prefix pattern violates the allowed character set (^[A-Za-z0-9._:/-]{0,128}$): validation error","Limit out of range (must be 1–100): schema validation error","Cloudflare KV eventual consistency: keys written in the last ~60 seconds may not appear","Wallet mismatch: keys from a different paying wallet are not accessible"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to enumerate, audit, or paginate through wallet-scoped KV keys stored via the x402-bazaar-rank infrastructure. It is the right choice for session state discovery, prefix-scoped key browsing, and pagination workflows within the x402 micropayment-gated KV store. It is not appropriate for reading key values (only metadata/names are returned), for L402-protected stores, or for querying agent economy ranking or market data (use the /economy or ranked x402 routes for that).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:09:39.617Z","isFirstParty":false,"canonicalSlug":"p0-agent-economy-index-kv-key-listing-7b91e0c4"}