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>' \
--data '
{
"input": "nytimes.com",
"model": "zlm-v1-iab-domain-classifier"
}
'import requests
url = "https://api.zerogpu.ai/v1/responses"
payload = {
"input": "nytimes.com",
"model": "zlm-v1-iab-domain-classifier"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({input: 'nytimes.com', model: 'zlm-v1-iab-domain-classifier'})
};
fetch('https://api.zerogpu.ai/v1/responses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));falsepackage main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zerogpu.ai/v1/responses"
payload := strings.NewReader("{\n \"input\": \"nytimes.com\",\n \"model\": \"zlm-v1-iab-domain-classifier\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.zerogpu.ai/v1/responses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"nytimes.com\",\n \"model\": \"zlm-v1-iab-domain-classifier\"\n}"
response = http.request(request)
puts response.read_body{
"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
}
}{}By model
zlm-v1-iab-domain-classifier
Model details for zlm-v1-iab-domain-classifier.
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>' \
--data '
{
"input": "nytimes.com",
"model": "zlm-v1-iab-domain-classifier"
}
'import requests
url = "https://api.zerogpu.ai/v1/responses"
payload = {
"input": "nytimes.com",
"model": "zlm-v1-iab-domain-classifier"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({input: 'nytimes.com', model: 'zlm-v1-iab-domain-classifier'})
};
fetch('https://api.zerogpu.ai/v1/responses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));falsepackage main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zerogpu.ai/v1/responses"
payload := strings.NewReader("{\n \"input\": \"nytimes.com\",\n \"model\": \"zlm-v1-iab-domain-classifier\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.zerogpu.ai/v1/responses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"nytimes.com\",\n \"model\": \"zlm-v1-iab-domain-classifier\"\n}"
response = http.request(request)
puts response.read_body{
"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 inputZeroGPU’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 docs • Terms • Privacy
Authorizations
Headers
Optional project identifier. Scopes the request to a specific project when provided.
Body
application/json
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"
Raw domain name to classify (e.g. nytimes.com).
Required string length:
1 - 131072Response
Success
The response is of type object.

