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


