{"uid":"cap_TBCg16uDQWo8w27EA0AXY","slug":"tanship-payai-console-ai-reasoning-endpoint-cc159dd7","name":"Tanship PayAI Console — AI Reasoning Endpoint","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/ai/reason","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":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2-g0vPeMGV3AMZcIiMtLn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Payment-gated AI reasoning endpoint that accepts HTTP-wrapped prompts and returns reasoned responses, billed per-call via USDC on Base using the x402 protocol.","exampleAgentPrompt":"Reason through this problem for me: given that all humans are mortal and Socrates is human, what can we conclude about Socrates? Use the Tanship PayAI reasoning endpoint and pay with USDC on Base.","exampleUseCases":[{"title":"On-demand logical inference task","prompt":"Can you reason through this multi-step logic puzzle for me: if Alice is taller than Bob, and Bob is taller than Carol, who is the shortest? Send it to the Tanship AI reasoning endpoint and pay per call."},{"title":"Autonomous agent decision-making","prompt":"My agent needs to decide whether to approve or reject this loan application summary — can you run it through the Tanship PayAI reasoning endpoint and get a recommendation with justification?"},{"title":"Pay-per-use AI analysis without subscription","prompt":"I don't want to pay a monthly AI subscription — just run this contract clause through the Tanship reasoning API once and tell me if there are any red flags, paying the small USDC fee per call."}],"resultDescription":"The agent receives a reasoned AI-generated response to the submitted input, produced by the AI reasoning engine behind the x402-gated endpoint. The response reflects analysis, inference, or text generation based on the provided prompt body.","failureModes":["402 Payment Required — x402 payment header missing or USDC payment on Base not confirmed","Invalid input schema — missing required fields (type, method, bodyType, body)","Payment amount mismatch — sent amount does not match the required $0.008 USDC","Network error on Base chain — payment transaction not confirmed in time","Unsupported bodyType — value outside json/form-data/text enum","Empty or malformed body — reasoning engine receives no actionable input"],"whenToPreferThis":"Choose this endpoint when you need AI reasoning on a pay-per-call basis without committing to a subscription, especially in autonomous agent workflows where cost control per inference matters. It is particularly well-suited for blockchain-native or Web3 agent stacks that already handle x402 USDC micropayments on Base. Prefer it over traditional API-key LLM providers when you want on-chain payment settlement and per-call billing transparency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:09.578Z","isFirstParty":false}