apyhub
ARTIFICIAL INTELLIGENCE · MARKETING

IAB Tier 1 Content Classification API

What it does

IAB Category Classifier predicts Tier 1 IAB categories for web content. Send a URL, text, title, domain, or keywords, and get back a tier label plus a ranked list of category predictions with scores.

Use it when you need to classify articles, landing pages, or publisher inventory into a standard advertising taxonomy. The top_k field lets you control how many predictions you want returned, from 1 to 20, so you can keep the output focused on the best matches or inspect a broader set of candidates.

The response is simple to integrate: tier tells you the tier being predicted, and predictions is an array of { label, score } objects. That makes it easy to route content, power ad targeting rules, organise analytics, or add taxonomy labels during ingestion without building your own classifier.

IAB Category Classifier is a good fit for content pipelines that need fast, repeatable category assignment from lightweight metadata or full page text.

POST
Predict IAB Tier 1 categories
http://localhost:8080/dosvak/classify-iab-tier-1
QUICKSTARTGUIDE

Quickstart

Classify a piece of content into an IAB tier 1 prediction using the required text, URL, or related metadata fields.

curl -X POST "http://localhost:8080/dosvak/classify-iab-tier-1" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"Latest football match highlights and league analysis"}'

What you'll get back

Returns a JSON object with a tier string and a predictions array of objects. Each prediction object includes a label string and a score number.

{
  "tier": "Sports",
  "predictions": [
    {
      "label": "Sports",
      "score": 0.98
    }
  ]
}
TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*

About this endpoint

What it does

Predicts IAB Tier 1 categories for the supplied content signals and returns the predicted tier plus a list of category predictions.

Request Body

ParameterTypeMandatoryDescription
urlStringNoA URL to classify. Nullable.
textStringNoText content to classify. Nullable.
titleStringNoTitle text to classify. Nullable.
top_kIntegerNoMaximum number of predictions to return. Default: 3. Minimum: 1. Maximum: 20.
domainStringNoDomain to help classify the content. Nullable.
keywordsStringNoKeywords to help classify the content. Nullable.

Response

Returns a JSON object with a tier string field and a predictions array field. Each item in predictions is an object with label and score fields.

ParameterTypeMandatoryDescription
tierStringNoPredicted IAB tier identifier returned by the service.
predictionsObject ArrayNoArray of prediction objects. Each object contains label and score fields.
predictions[].labelStringNoPredicted category label.
predictions[].scoreNumberNoPrediction score for the label.

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.