IAB Category API in Python: CBS News as JSON
September 29, 2026
An IAB category API in Python classifies a URL with IAB Content Taxonomy keys on each category object — V1 as IAB12, V3 as IAB-324-JLBCU7 — not a nested IAB_categories hash. On Klazify that is POST /api/domain_iab_categories.
Starter is $39.99/mo (500 successful calls) with a 7-day trial. Failed / unreachable calls are not billed. Docs: klazify.com/api-docs.
Request: official CBS News 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"}}
Python: same contract
import json, os, urllib.request
req = urllib.request.Request(
"https://www.klazify.com/api/domain_iab_categories",
data=json.dumps({"url": "https://cbsnews.com"}).encode(),
headers={"Authorization": "Bearer " + os.environ["KLAZIFY_KEY"], "Content-Type": "application/json"},
)
print(urllib.request.urlopen(req).read().decode())
Response: official docs sample (2026-07-30)
{
"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
}
Klazify paths such as /News stay on POST /api/categorize. IAB IDs are sibling properties on each item.
Go live
1. Register — 7-day trial.
2. Copy the Bearer key.
3. POST /api/domain_iab_categories with a URL.
4. Read IAB12 and IAB-324-JLBCU7.
Ready to use Klazify?
Start classifying websites, enriching company data, and exploring web intelligence.
Get Started Free