{"uid":"cap_YO52ew4ZQr5If559jRhhW","slug":"tanship-payai-console-kv-get-ffec2142","name":"Tanship PayAI Console — KV Get","description":"Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.","url":"https://x402.tanship.dev/v1/kv/get?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_u-RVM2PMRn8LKbnZN7CVs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves a value from a key-value store, payment-gated via the x402 micropayment protocol on Base (USDC).","exampleAgentPrompt":"Look up the stored value for the key 'user:session:abc123' from the Tanship KV store — it's a pay-per-use call at $0.002 USDC on Base.","exampleUseCases":[{"title":"Agent state persistence retrieval","prompt":"Fetch the stored configuration data for key 'agent:config:prod' from the Tanship KV store so I can restore my agent's last known settings."},{"title":"Session token cache lookup","prompt":"Check if there's a cached auth token stored under key 'session:token:user42' in the KV store — pull it back if it exists."},{"title":"Shared data retrieval across agents","prompt":"Retrieve the value stored at key 'pipeline:checkpoint:step3' from the Tanship pay-per-use KV store so we can resume processing from the last saved point."}],"resultDescription":"The endpoint returns the value associated with the requested key from the Tanship KV store. The response is a JSON payload containing the retrieved data or an indication that the key was not found. The call costs $0.002 USDC per request, paid via x402 on Base.","failureModes":["Key not found — returns null or 404-equivalent if the key does not exist in the store","Payment failure — x402 payment rejected or insufficient USDC balance, resulting in 402 Payment Required response","Malformed request body — missing required 'input' fields (type, method, bodyType, body) causes validation error","Network or service unavailability — returns 5xx error if the Tanship backend is unreachable","Invalid payment scheme — using a payment method other than x402 v2 exact USDC on Base is rejected"],"whenToPreferThis":"Use this endpoint when your agent needs to retrieve persistent key-value data in a serverless, pay-per-use model without managing a traditional database subscription. It is ideal for AI agent workflows requiring lightweight state persistence or inter-agent data sharing where you already use x402 micropayments on Base. Prefer this over full database APIs when call volume is low and per-call cost ($0.002 USDC) is preferable to fixed subscription fees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T00:44:23.353Z","isFirstParty":false,"canonicalSlug":"tanship-payai-console-kv-get-ffec2142"}