IAB Category API: Content Taxonomy from a URL

September 17, 2026
IAB Category API: Content Taxonomy from a URL

An IAB category API takes a URL or domain and returns IAB Content Taxonomy codes you can store for brand safety or contextual targeting. On Klazify that endpoint is POST https://www.klazify.com/api/domain_iab_categories with a Bearer token and {"url": "https://cbsnews.com"}. IAB keys sit inside each category object — V1 as IAB12, V3 as IAB-324-JLBCU7 — not in a nested IAB_categories hash.

IAB Content Taxonomy v3 is 620+ nodes. Starter is $39.99/mo (500 successful calls, then $0.127968; 60 req/min) with a 7-day trial. Failed / unreachable calls are not billed. Docs: klazify.com/api-docs. Agents: MCP at mcp.klazify.com.

Request: IAB categories for a URL

curl -X POST 'https://www.klazify.com/api/domain_iab_categories' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"url": "https://cbsnews.com"}'

Auth is Authorization: Bearer — not a query-string key. This is the IAB endpoint only. Klazify path names plus logo/company live on a separate classify call; do not expect those fields here.

Response: IAB v1 and v3 (cbsnews.com)

Docs sample (updated_at 2026-07-30). V1 key IAB12 = News. V3 key IAB-324-JLBCU7 = Movies/Entertainment/Movies on the secondary path:

{
"domain": {
"categories": [
{
"confidence": 1,
"name": "/News/Other",
"IAB12": "News"
},
{
"confidence": 0.28,
"name": "/Arts & Entertainment/TV & Video/TV Networks & Stations",
"IAB1": "Arts & Entertainment",
"IAB-324-JLBCU7": "Movies/Entertainment/Movies"
}
],
"domain_url": "https://cbsnews.com",
"updated_at": "2026-07-30T08:27:41.000000Z"
},
"success": true
}

Without refresh=true you get the cached IAB map. refresh=true recrawls the site and requires Advanced or above. confidence of 1 is treated as an exact match. domain_url is the normalized host Klazify classified.

PHP: POST /api/domain_iab_categories

Same shape as the PHP cURL block on Klazify’s API docs (Bearer + JSON url). Point CURLOPT_URL at the IAB path:

$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => "https://www.klazify.com/api/domain_iab_categories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\"url\":\"https://cbsnews.com\"}",
CURLOPT_HTTPHEADER => array(
"Accept: application/json",
"Authorization: Bearer YOUR_API_KEY",
"Content-Type: application/json"
),
));

$response = curl_exec($curl);
curl_close($curl);
echo $response;

Decode JSON and walk domain.categories for sibling IAB* keys. Python requests is on the same docs page if you are not on PHP.

Go live with IAB keys

1. Register and start the 7-day trial.

2. Copy the Bearer key from the dashboard (same header on all 10 endpoints).

3. POST https://www.klazify.com/api/domain_iab_categories with {"url":"https://cbsnews.com"}

4. Store the sibling IAB* keys (V1 like IAB12, V3 like IAB-324-JLBCU7) plus confidence.

FAQ: IAB category API

Where do the IAB IDs sit in the JSON?

As sibling properties on each item in domain.categories. V1 looks like IAB12; V3 looks like IAB-324-JLBCU7. There is no nested IAB_categories object.

What does confidence 1 mean?

A decimal between 0 and 1. Higher is more certain; 1 is an exact match in the docs. CBS News in the sample is 1 on /News/Other (IAB12 = News) and 0.28 on the TV path.

Is this a Hub “IAB category” listing?

No. This classification API is Klazify (klazify.com), first-party. Hub billing rules do not apply. Failed calls are not billed on Klazify Starter.

Can an agent call it?

Yes. MCP is at https://mcp.klazify.com. Use the REST path above when you need the IAB sibling keys on each category.

Start the 7-day trial and classify a URL →

Ready to use Klazify?

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

Get Started Free