Real-Time Categorization API: Fresh Labels From a URL

September 28, 2026
Real-Time Categorization API: Fresh Labels From a URL

A real-time categorization API classifies a URL from a fresh fetch — not the cached IAB map. On Klazify that is POST https://www.klazify.com/api/real_time_categorization with a Bearer token. Official quick-start URL: https://www.cbsnews.com.

Starter is $39.99/mo (500 successful calls) with a 7-day trial. Failed or unreachable lookups are not billed. Cached classify lives on POST /api/categorize. Docs: klazify.com/api-docs.

Request: official CBS News URL

curl "https://www.klazify.com/api/real_time_categorization" -X POST \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data "url=https://www.cbsnews.com"

The official sample sends url as form data.

Response: official quick-start sample

{
"domain": {
"categories": [
{"confidence": 0.95, "name": "/News"},
{"confidence": 0.74, "name": "/Arts & Entertainment/TV & Video"}
],
"domain_url": "https://cbsnews.com",
"updated_at": "2022-12-26T18:52:03.000000Z"
},
"success": true
}

Read domain.categories[0].name (/News) and domain.updated_at. Same envelope as categorize, with a recrawl timestamp.

PHP: first label

$ch = curl_init("https://www.klazify.com/api/real_time_categorization");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Accept: application/json", "Authorization: Bearer YOUR_API_KEY"],
CURLOPT_POSTFIELDS => "url=https://www.cbsnews.com",
]);
$payload = json_decode(curl_exec($ch), true);
curl_close($ch);
$label = $payload["domain"]["categories"][0]["name"] ?? null;

Go live

1. Register — 7-day trial.

2. Copy the Bearer key.

3. POST /api/real_time_categorization with a URL.

4. Store domain.categories[0].name and updated_at.

Recrawl a URL with Klazify →

Ready to use Klazify?

Start classifying websites, enriching company data, and exploring web intelligence.

Get Started Free