{"uid":"cap_DiqALMaZWlrm4KbiQ0dqt","slug":"coockies-ai-ai-chat-1ac11387","name":"Coockies.ai AI Chat","description":"194 production-ready API endpoints. AI, Search, Social, Finance, Crypto. Pay-per-call with x402 on Base chain.","url":"https://coockies-ai.vercel.app/api/ai-chat","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"result":{"type":"object","description":"API response data"}}},"responseSchema":{"type":"object","example":{"result":{"data":"example response"}},"properties":{"result":{"type":"object","description":"API response data"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tRLK39MzR3W8paMIFe5NO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a message to an AI chat endpoint and returns a generated response, billed per-call via x402 on Base chain","exampleAgentPrompt":"Send this message to the Coockies.ai AI chat endpoint and give me the response: 'What are the top three benefits of meditation?'","exampleUseCases":[{"title":"On-demand AI answers without subscription","prompt":"Ask the Coockies AI chat endpoint this question and return the response: 'What are the key differences between machine learning and deep learning?'"},{"title":"Crypto-native conversational AI integration","prompt":"I'm building a crypto trading assistant and need a one-off AI response — send this prompt to the Coockies.ai chat API billed via x402 on Base: 'Explain what a liquidity pool is and how impermanent loss works in simple terms.'"},{"title":"Pay-per-call app AI feature","prompt":"Without setting up a monthly subscription, use the Coockies.ai pay-per-call chat endpoint to answer this for my app's user: 'Give me a five-step beginner workout plan I can do at home with no equipment.'"}],"resultDescription":"Returns a result object containing the AI-generated text response to the submitted prompt or message","failureModes":["Payment not provided or insufficient USDC balance — 402 Payment Required","Malformed request body — 400 Bad Request","Service unavailable or overloaded — 503 error","Empty or missing prompt field — no meaningful response generated","x402 payment transaction fails on Base chain — call not processed"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call AI chat capability without a monthly subscription, especially in crypto-native or agent workflows that already use x402 payments on Base chain and want to avoid API key management","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:00:35.904Z","isFirstParty":false}