Dual-provider AI engine
25-Category Taxonomy · Free Plan · URL or Text Input

The best API to
categorize any URL or text

Send a URL or a block of text, get back a category, an optional subcategory, and a confidence score — in seconds. Start with 100 free categorizations per month, no credit card needed.

REST API
curl -X POST https://categorizeapi.com/api/categorize \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input": "https://example.com", "type": "auto"}'

// Response
{
  "success": true,
  "category": "Technology & Computing",
  "confidence": 0.93,
  "processing_time": 1.1
}
100Free/month
25Categories
2Input types
DualModel fallback
60/minBurst limit

See it in action

Paste a URL or a block of text and get back a category, a confidence score, and a short explanation.

0 chars

A focused API, not a general-purpose chatbot.

Built for reliability

Every categorization runs through a fast, modern AI model, with an automatic fallback to a second model and provider if the primary call fails — a single upstream hiccup won't take your integration down.

URL or raw text

Send a link and we fetch the page server-side — title, meta description, and a content excerpt — or send text directly. Set type to auto and we'll detect which one you sent.

25-category taxonomy

A fixed, consistent taxonomy — the same 25 categories every time, so your downstream logic doesn't have to handle an ever-changing label set.

Simple REST API

One endpoint, one request. Integrate in minutes using Python, JavaScript, PHP, Ruby, Go, or any language with HTTP support. Full documentation with ready-to-use code examples.

Confidence + reasoning

Every response includes a 0-1 confidence score and a one-line explanation of why that category was picked — useful for flagging low-confidence results for manual review.

Optional subcategory

Beyond the fixed top-level category, get a free-form subcategory string when the model can be more specific — useful for finer-grained tagging without breaking your taxonomy.

Built for every team

📰

Ad tech & brand safety

Classify pages before serving ads, so campaigns land on relevant, brand-safe content.

🔍

SEO & content tools

Tag articles, landing pages, or entire sitemaps by topic for content audits and internal linking.

🛡️

Content moderation

Flag categories like Adult Content automatically before content reaches your platform.

📂

Directory & bookmarking apps

Auto-sort submitted links or saved pages into consistent categories without manual tagging.

📊

Market & competitive research

Bucket large lists of URLs by industry or topic to spot patterns across a market.

🛠️

Developers

Add categorization to any app with a few lines of code. REST API with full documentation.

Simple, predictable pricing

A generous free tier to test, and paid plans built for production use.

Free
$0/mo

To test the API. No credit card required.

  • 100 categorizations/month
  • API access included
  • URL & text input
  • Full 25-category taxonomy
  • Same model quality
  • Priority processing
Get started, upgrade anytime
Unlimited requests
Business
$14/mo

Truly unlimited categorizations for production workloads.

  • Unlimited categorizations/month
  • Priority API access
  • Dedicated support
  • SLA 99.9% uptime
  • Custom integration
Subscribe for $14/month

Frequently asked questions

How does the categorization work?

You send a URL or a block of text. For URLs, we fetch the page server-side, pull the title, meta description, and a content excerpt, then classify that. For text, we classify what you sent directly. An AI model picks exactly one category from a fixed 25-category taxonomy and returns a confidence score plus a one-line reasoning.

Can I categorize both URLs and raw text?

Yes. Set type to url, text, or auto (default) and we'll detect which one you sent. URL fetches have an 8-second timeout and a ~300KB download cap so a slow or huge page can't hang your request.

What categories does it use?

A fixed set of 25 top-level categories covering the usual ground: Arts & Entertainment, Business, Finance, Health, News, Shopping, Sports, Technology, Travel, and more — see the full list in the API docs. Each response also includes an optional subcategory for more specificity.

Is there a rate limit?

Free accounts get 100 categorizations/month with a 60 requests/minute burst cap. Paid plans raise the monthly quota — the burst cap stays the same across plans.

Can I use it in production?

Yes — it's a standard REST API with an API key, JSON in and out, and a documented error format. Every request runs against a primary model with an automatic fallback to a second model/provider if the first one fails.

How do I integrate the API?

One endpoint, one POST request with a Bearer API key. Works with curl, Python requests, JavaScript fetch, PHP, Go, and any HTTP client. Full documentation with copy-paste code examples. See the docs

Categorize your first URL in under a minute.

Try the demo above with no account, or grab a free API key and start integrating right away.