Skip to main content
POST
/
responses
zlm-v1-iab-domain-classifier: Responses
curl --request POST \
  --url https://api.zerogpu.ai/v1/responses \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-project-id: <api-key>' \
  --data '
{
  "input": "nytimes.com",
  "model": "zlm-v1-iab-domain-classifier"
}
'
{
  "content": {
    "iab_1_0": [
      {
        "name": "News",
        "score": 0.8124
      },
      {
        "name": "Politics",
        "score": 0.6533
      }
    ],
    "iab_2_2": [
      {
        "name": "News and Politics",
        "score": 0.8124
      },
      {
        "name": "Business and Finance",
        "score": 0.598
      }
    ]
  },
  "topics": [
    {
      "name": "news",
      "score": 0.8124
    },
    {
      "name": "journalism",
      "score": 0.674
    },
    {
      "name": "current events",
      "score": 0.6533
    }
  ],
  "keywords": [
    "news",
    "politics",
    "world",
    "business",
    "opinion",
    "media",
    "journalism"
  ],
  "user_intent": {
    "name": "reading news and current events",
    "category": "informational",
    "score": 0.5
  }
}
The instructions field is not needed for this model. It maps a raw domain name directly to the IAB Content Taxonomy, so you only need to send the domain as input
ZeroGPU’s Domain IAB Classifier maps a raw domain name straight to the IAB Content Taxonomy in a single, fast inference call, returning content categories, topics, keywords, and user-intent signals. Because it needs only the domain as input, it reduces payload size by up to 10x compared to page-level classification workflows while still surfacing the contextual signals that bidstream enrichment, contextual targeting, and domain-level intelligence pipelines run on. At 149M parameters on ONNX, it’s built for the high-volume, sub-millisecond classification that ad tech and content platforms demand, right at the edge.
References: Model docsTermsPrivacy

Authorizations

x-api-key
string
header
required
x-project-id
string
header
required

Body

application/json
model
string
default:zlm-v1-iab-domain-classifier
required

Model identifier (fixed for this playground). Use request examples to change use cases.

Allowed value: "zlm-v1-iab-domain-classifier"
Example:

"zlm-v1-iab-domain-classifier"

input
string<textarea>
required

Raw domain name to classify (e.g. nytimes.com).

Required string length: 1 - 131072

Response

Success

The response is of type object.