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
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | No | A URL to classify. Nullable. |
| text | String | No | Text content to classify. Nullable. |
| title | String | No | Title text to classify. Nullable. |
| top_k | Integer | No | Maximum number of predictions to return. Default: 3. Minimum: 1. Maximum: 20. |
| domain | String | No | Domain to help classify the content. Nullable. |
| keywords | String | No | Keywords 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.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| tier | String | No | Predicted IAB tier identifier returned by the service. |
| predictions | Object Array | No | Array of prediction objects. Each object contains label and score fields. |
| predictions[].label | String | No | Predicted category label. |
| predictions[].score | Number | No | Prediction score for the label. |