Structured AI analysis powered by Workers AI (Llama 3.1). Extract named entities, classify text into custom categories, analyze sentiment with aspect-level detail, or run custom analysis with your own instructions. Returns structured JSON, not free-form text.
Includes 15 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Run custom structured analysis with your own instructions. Returns JSON output matching your specified format.
Request schema
Text to analyze (max 50KB)
What to analyze and how to structure the output
JSON format description for the output (optional)
Classify text into one or more of your specified categories with confidence scores.
Request schema
Text to classify
Categories to classify into
Extract named entities (people, organizations, locations, dates, amounts, products) from text.
Request schema
Text to extract entities from
Entity types to look for (optional, defaults to all)
Analyze sentiment with overall score and aspect-level breakdown.
Request schema
Text to analyze sentiment of
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call "https://proxy.apihub.io/ai-analyst/analyze" \
-d '{"text":"example text","instructions":"example instructions","output_format":"example output_format"}'Or call the proxy directly (curl / any HTTP client):
curl -X POST https://proxy.apihub.io/ai-analyst/analyze \
-H "Authorization: Bearer ahk_your_key" \
-H "Content-Type: application/json" \
-d '{"text":"example text","instructions":"example instructions","output_format":"example output_format"}'
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for AI Analyst.