{"uid":"cap_T4n-FVuvqpAC0Ff3Owd1b","slug":"whatchuneed-classify-endpoint-ac528628","name":"whatchuneed Classify Endpoint","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/util/classify","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"Request input"}}},"responseSchema":{"type":"object","properties":{"result":{"type":"object","description":"Response data"},"status":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GFRAoL2Pb9cZ9749NXKn8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies or routes a free-text input string, returning a structured result object with a status","exampleAgentPrompt":"Classify this request for me: 'I need a hotel near downtown Chicago for 3 nights starting July 10' — tell me what category it falls into.","exampleUseCases":[{"title":"Route incoming user request","prompt":"Take this user message — 'Can you find me a good crypto exchange rate for ETH to USDC?' — and classify what domain or category it belongs to so I can route it to the right handler."},{"title":"Detect intent of support ticket","prompt":"Classify this support ticket text: 'My code execution sandbox keeps timing out after 30 seconds' — tell me what type of issue this is."},{"title":"Label pipeline input for automation","prompt":"I have this raw request coming into my automation pipeline: 'generate a Python script that scrapes news headlines' — classify it so I know which downstream API to invoke."}],"resultDescription":"Returns a JSON object with a 'result' field containing structured classification data and a 'status' string indicating whether the operation succeeded. The exact shape of 'result' varies based on the input being classified.","failureModes":["Missing required 'input' field returns a validation error","Empty string input may return an ambiguous or null classification","Overly long or malformed input strings may be rejected or misclassified","Network/server errors on the Vercel deployment may return 5xx status codes","Ambiguous inputs may yield low-confidence or generic classifications"],"whenToPreferThis":"Use this endpoint when you need to programmatically categorize or route a free-text string within the whatchuneed platform ecosystem, especially when combined with other whatchuneed endpoints to build a routing layer. Prefer it over building custom classification logic when the input is a natural-language request that maps to one of whatchuneed's 320+ API domains (accommodation, LLM, code execution, crypto, medical, finance, etc.).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:00:07.308Z","isFirstParty":false}