{"uid":"cap_9wjdHIvRwlfBOz2_uau6c","slug":"omniapi-ai-completion-endpoint-be1b88a3","name":"OmniAPI AI Completion Endpoint","description":"444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.","url":"https://omni-api-cyan.vercel.app/api/ai/completion","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"input":{"type":"string","description":"Input data for the endpoint"},"query":{"type":"string","description":"Search query or input text"},"params":{"type":"object","description":"Additional parameters"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.148739","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.148739/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.148739","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.148739","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W-F2Ey28V1FKLkTkcvRBC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.148739","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates AI text completions from a natural language query or prompt, paid per call via x402 USDC micropayments.","exampleAgentPrompt":"Run this query through the OmniAPI AI completion endpoint and get me a response: 'Summarize the key differences between proof-of-work and proof-of-stake blockchains in three bullet points.'","exampleUseCases":[{"title":"Crypto-native AI chatbot response","prompt":"Send this user message to the OmniAPI AI completion endpoint and return the generated reply: 'What are the top use cases for smart contracts in DeFi?'"},{"title":"Automated content drafting","prompt":"Use the OmniAPI AI completion API to generate a short product description for a new hardware crypto wallet — focus on security and ease of use."},{"title":"AI-powered question answering","prompt":"I need an AI-generated answer to this question via OmniAPI: 'Explain how x402 payment protocol works for API monetization in plain English.'"}],"resultDescription":"Returns a JSON object containing the AI-generated text completion or response data corresponding to the submitted query or input prompt.","failureModes":["Payment failure: insufficient USDC balance or x402 payment not accepted, returning 402 Payment Required","Missing required 'query' field returns a 400 Bad Request or validation error","Malformed JSON body causes a 400 or 422 error","Model timeout or overload may return a 503 or 504 error","Empty or nonsensical query may return a low-quality or empty completion"],"whenToPreferThis":"Choose this endpoint when you need AI text completions within a crypto-native, pay-per-call architecture using x402 USDC micropayments, and you want to avoid subscription-based AI APIs. Best suited for agents operating in Web3 or multi-chain environments that already handle x402 payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:56.224Z","isFirstParty":false}