{"uid":"cap_4SrDJQGGIST6HGKsZDMC9","slug":"primeapi-ai-chat-endpoint-ed0281d9","name":"PrimeAPI AI Chat Endpoint","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/ai/chat?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.123978","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.123978/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.123978","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.123978","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K9haIoHPuUOpjSNVKFvQU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.123978","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a natural language query to an AI chat model and returns a generated text response, billed per call in USDC on Base.","exampleAgentPrompt":"Ask the PrimeAPI AI chat endpoint: 'What are the key differences between proof-of-work and proof-of-stake blockchains?' — pay per call in USDC on Base, no API key needed.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the AI-generated text response to the submitted query or prompt.","failureModes":["Insufficient USDC balance — payment fails, request rejected with 402","Malformed or missing query field — returns 400 bad request","Service unavailable or rate limit exceeded on underlying AI provider — returns 500 or 503","Network timeout if underlying model takes too long to respond","Empty or vague query may return a low-quality or generic AI response"],"whenToPreferThis":"Choose this endpoint when you need AI-generated conversational responses without setting up API keys or accounts, and you can pay per call in USDC on Base via the x402 protocol. Ideal for agents operating in crypto-native environments that want anonymous, pay-as-you-go AI chat access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T18:32:49.161Z","isFirstParty":false,"canonicalSlug":"primeapi-ai-chat-endpoint-ed0281d9"}