{"slug":"web-production-2d1051-up-railway-app-v1-classify-b3877f","title":"Classify text or JSON into categories with AI","host":"web-production-2d1051.up.railway.app","method":"POST","resource":"https://web-production-2d1051.up.railway.app/v1/classify","category":"other","description":"Classify text or JSON into categories with AI: sentiment analysis, topic, intent detection, urgency triage, or a custom taxonomy. Returns labels with confidence scores and reasoning.","price_listed":0.005001,"price_asked":0.005001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1336,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"explain":true,"input":"The new API is incredibly fast and the documentation is excellent.","preset":"sentiment"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"explain":{"description":"Include reasoning string. Default: true","type":"boolean"},"input":{"description":"Text or JSON string to classify","type":"string"},"input_type":{"description":"text (default) or json","enum":["text","json"],"type":"string"},"multi_label":{"description":"Return ranked list of all labels. Default: false","type":"boolean"},"preset":{"description":"Classification preset. Default: sentiment","enum":["sentiment","topic","intent","urgency","custom"],"type":"string"},"taxonomy":{"description":"Custom label list (required when preset=custom, 2–20 labels)","items":{"type":"string"},"type":"array"}},"required":["input"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005001,"price_match":true,"latency_ms":1336,"error":null}],"description_full":"Classify text or JSON into categories with AI: sentiment analysis, topic, intent detection, urgency triage, or a custom taxonomy. Returns labels with confidence scores and reasoning.","last_updated":"2026-10-08T06:25:41.718Z","schemes":["exact"]}