{"uid":"cap_wU0CGqNEJC5vJ-fZ_NKAR","slug":"omniapi-ai-classify-aab88764","name":"OmniAPI AI Classify","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/classify","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.024348","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.024348/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.024348","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.024348","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3Us1VOVUDshJRFCWRrENw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.024348","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies a text query or input into AI-determined categories using a pay-per-call USDC x402 endpoint","exampleAgentPrompt":"Classify this text using OmniAPI's AI classify endpoint and tell me what category it falls into: 'The battery drains within 2 hours of normal use and the screen flickered twice.'","exampleUseCases":[{"title":"Customer review sentiment routing","prompt":"Classify this customer review so I know which support team to route it to: 'Shipping took three weeks and the item arrived damaged — very disappointed.'"},{"title":"Content moderation tagging","prompt":"Run AI classification on this user-submitted post and tell me what category it falls under: 'Buy cheap followers now, guaranteed results overnight!'"},{"title":"Support ticket intent detection","prompt":"Classify this incoming support ticket text and give me its category: 'I need to reset my password but the email link expired before I could click it.'"}],"resultDescription":"Returns a structured JSON object containing the AI-generated classification result for the submitted query or input text, typically including a category label and potentially a confidence score or additional metadata fields.","failureModes":["Missing required 'query' field returns a 400 validation error","Malformed JSON body results in a parsing error response","Payment failure via x402 (insufficient USDC balance or unsupported facilitator) blocks the request","Overly long input text may be truncated or rejected depending on model limits","Ambiguous or empty query string may return low-confidence or null classification"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call AI text classification without managing your own ML infrastructure. It is well-suited for agents that handle sporadic classification tasks across diverse domains (content moderation, intent detection, ticket routing) and want to pay micro-amounts in USDC rather than maintain a subscription. Prefer alternatives if you need fine-tuned domain-specific models, guaranteed SLAs, or bulk batch processing at lower per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:01:01.546Z","isFirstParty":false}