curl --request POST \
--url https://api.zebratruth.ai/v1/compliance/check-image \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"imageUrls": [
"<string>"
],
"jurisdictions": [],
"platforms": []
}
'import requests
url = "https://api.zebratruth.ai/v1/compliance/check-image"
payload = {
"imageUrls": ["<string>"],
"jurisdictions": [],
"platforms": []
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({imageUrls: ['<string>'], jurisdictions: [], platforms: []})
};
fetch('https://api.zebratruth.ai/v1/compliance/check-image', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zebratruth.ai/v1/compliance/check-image",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'imageUrls' => [
'<string>'
],
'jurisdictions' => [
],
'platforms' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zebratruth.ai/v1/compliance/check-image"
payload := strings.NewReader("{\n \"imageUrls\": [\n \"<string>\"\n ],\n \"jurisdictions\": [],\n \"platforms\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
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))
}HttpResponse<String> response = Unirest.post("https://api.zebratruth.ai/v1/compliance/check-image")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"imageUrls\": [\n \"<string>\"\n ],\n \"jurisdictions\": [],\n \"platforms\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zebratruth.ai/v1/compliance/check-image")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"imageUrls\": [\n \"<string>\"\n ],\n \"jurisdictions\": [],\n \"platforms\": []\n}"
response = http.request(request)
puts response.read_body{
"checks": [
{
"id": "chk_a1b2c3d4",
"agentId": "ai-laws",
"checkName": "Unsubstantiated Health Claim - 'Cure Cancer'",
"status": "pass",
"severity": "critical",
"message": "'Guaranteed to cure cancer' is an unsubstantiated health claim under FTC and EU UCPD.",
"recommendation": "Remove the guarantee or substantiate with peer-reviewed clinical evidence.",
"citation": "FTC Endorsement Guides, 16 CFR Part 255",
"metadata": "<string>",
"jurisdictions": [
"us",
"eu"
],
"platforms": [
"youtube",
"instagram"
],
"scope": "global",
"primaryCategory": "celebrity-endorsement",
"categories": [
"unsubstantiated-health-claim",
"performance-claim"
]
}
],
"checksById": {},
"indexes": {
"byJurisdiction": {},
"byPlatform": {},
"bySeverity": {},
"byStatus": {},
"byCategory": {},
"byCategoryAll": {},
"byAgent": {}
},
"annotations": [
{
"type": "text-span",
"agentId": "ai-laws",
"severity": "critical",
"message": "'Guaranteed results' may violate FTC endorsement guides",
"checkRef": "<string>",
"checkId": "chk_a1b2c3d4",
"suggestion": "Consider 'may help' instead of 'guaranteed'",
"textLocation": {
"start": 120,
"end": 138,
"matchedText": "guaranteed results"
},
"timelineLocation": {
"startMs": 15000,
"endMs": 28000,
"track": "audio"
},
"imageLocation": {
"imageUrl": "<string>",
"boundingBox": {
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
}
}
],
"decision": "BLOCK",
"score": 22,
"cached": false,
"creditsCharged": 123,
"costBreakdown": {
"totalCredits": 123,
"agents": [
{
"agent": "jurisdiction",
"stage": "A",
"credits": 123,
"cached": false
}
]
}
}{
"statusCode": 400,
"message": "jurisdictions: Required, platforms: Required",
"error": true,
"url": "<string>",
"statusMessage": "jurisdictions: Required, platforms: Required"
}{
"statusCode": 401,
"message": "Invalid API key",
"error": true,
"url": "https://api.zebratruth.ai/v1/whoami",
"statusMessage": "Invalid API key"
}{
"statusCode": 402,
"message": "Insufficient credits",
"error": true,
"url": "<string>",
"statusMessage": "Insufficient credits",
"data": {
"creditsRemaining": 3,
"creditsNeeded": 123,
"upgradeUrl": "https://developers.zebratruth.ai/dashboard/billing"
}
}{
"statusCode": 403,
"message": "Requested jurisdictions [india, china] are not in your subscription. Allowed: [us, eu].",
"error": true,
"url": "https://api.zebratruth.ai/v1/compliance/check",
"statusMessage": "Requested jurisdictions [india, china] are not in your subscription. Allowed: [us, eu]."
}{
"statusCode": 429,
"message": "Rate limit exceeded",
"error": true,
"url": "<string>",
"statusMessage": "Rate limit exceeded",
"data": {
"retryAfter": 5,
"limit": 60,
"remaining": 0
}
}Check image rights
Dedicated image rights clearance. Checks for:
- Restricted-category content — six advertising-restricted categories: alcohol & spirits, weapons & firearms, tobacco & smoking, gambling, pharmaceuticals, financial products (incl. crypto / forex / investments). See the Restricted Categories guide for the full catalog.
- Content safety (ZebraSafety) — adult / violence / racy / medical likelihood signals. Tiered:
(high confidence)→status: "block";(medium confidence)→status: "flag". - Brand logo & stock-agency watermark detection — trademarks and unlicensed-stock indicators.
- C2PA / IPTC metadata — Content Credentials, provenance, AI generation markers.
- Known-person likeness — right-of-publicity flag. Surfaces only when the celebrity-detection provider is enabled in the deployment; not active in the default ZebraTruth-managed configuration today.
Use this for image-only checks. For combined text + image checks, use /compliance/check with content.imageUrls.
Request formats. Accepts either application/json (imageUrls referencing publicly
accessible URLs) or multipart/form-data (upload up to 2 image binaries directly — use
when you don’t have a public URL handy). Total request body is capped at 4.5 MB.
Per-jurisdiction citations. Citations on returned checks are composed from the laws
applicable to the jurisdictions you requested AND the platform policies for the platforms
you requested. A restricted-category detection with jurisdictions: ["us"] cites the
federal regulator (e.g. FTC, FDA, SEC); the same detection with jurisdictions: ["eu", "uk"]
cites European directives and UK codes. Adding platforms: ["facebook", "tiktok"] appends
the corresponding platform-policy references.
Check statuses. Stock watermarks and high-severity restricted categories return
status: "block"; brand logos, medium-severity restricted categories, and medium-confidence
content-safety signals return status: "flag" (review). See the Image Rights Clearance
guide for the full matrix.
Tenant scoping. Every request is scoped to your account’s subscribed jurisdictions and platforms. Requesting a jurisdiction or platform outside that set returns 403. See the Tenant Onboarding and Scoping guide.
curl --request POST \
--url https://api.zebratruth.ai/v1/compliance/check-image \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"imageUrls": [
"<string>"
],
"jurisdictions": [],
"platforms": []
}
'import requests
url = "https://api.zebratruth.ai/v1/compliance/check-image"
payload = {
"imageUrls": ["<string>"],
"jurisdictions": [],
"platforms": []
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({imageUrls: ['<string>'], jurisdictions: [], platforms: []})
};
fetch('https://api.zebratruth.ai/v1/compliance/check-image', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zebratruth.ai/v1/compliance/check-image",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'imageUrls' => [
'<string>'
],
'jurisdictions' => [
],
'platforms' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zebratruth.ai/v1/compliance/check-image"
payload := strings.NewReader("{\n \"imageUrls\": [\n \"<string>\"\n ],\n \"jurisdictions\": [],\n \"platforms\": []\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
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))
}HttpResponse<String> response = Unirest.post("https://api.zebratruth.ai/v1/compliance/check-image")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"imageUrls\": [\n \"<string>\"\n ],\n \"jurisdictions\": [],\n \"platforms\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zebratruth.ai/v1/compliance/check-image")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"imageUrls\": [\n \"<string>\"\n ],\n \"jurisdictions\": [],\n \"platforms\": []\n}"
response = http.request(request)
puts response.read_body{
"checks": [
{
"id": "chk_a1b2c3d4",
"agentId": "ai-laws",
"checkName": "Unsubstantiated Health Claim - 'Cure Cancer'",
"status": "pass",
"severity": "critical",
"message": "'Guaranteed to cure cancer' is an unsubstantiated health claim under FTC and EU UCPD.",
"recommendation": "Remove the guarantee or substantiate with peer-reviewed clinical evidence.",
"citation": "FTC Endorsement Guides, 16 CFR Part 255",
"metadata": "<string>",
"jurisdictions": [
"us",
"eu"
],
"platforms": [
"youtube",
"instagram"
],
"scope": "global",
"primaryCategory": "celebrity-endorsement",
"categories": [
"unsubstantiated-health-claim",
"performance-claim"
]
}
],
"checksById": {},
"indexes": {
"byJurisdiction": {},
"byPlatform": {},
"bySeverity": {},
"byStatus": {},
"byCategory": {},
"byCategoryAll": {},
"byAgent": {}
},
"annotations": [
{
"type": "text-span",
"agentId": "ai-laws",
"severity": "critical",
"message": "'Guaranteed results' may violate FTC endorsement guides",
"checkRef": "<string>",
"checkId": "chk_a1b2c3d4",
"suggestion": "Consider 'may help' instead of 'guaranteed'",
"textLocation": {
"start": 120,
"end": 138,
"matchedText": "guaranteed results"
},
"timelineLocation": {
"startMs": 15000,
"endMs": 28000,
"track": "audio"
},
"imageLocation": {
"imageUrl": "<string>",
"boundingBox": {
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
}
}
],
"decision": "BLOCK",
"score": 22,
"cached": false,
"creditsCharged": 123,
"costBreakdown": {
"totalCredits": 123,
"agents": [
{
"agent": "jurisdiction",
"stage": "A",
"credits": 123,
"cached": false
}
]
}
}{
"statusCode": 400,
"message": "jurisdictions: Required, platforms: Required",
"error": true,
"url": "<string>",
"statusMessage": "jurisdictions: Required, platforms: Required"
}{
"statusCode": 401,
"message": "Invalid API key",
"error": true,
"url": "https://api.zebratruth.ai/v1/whoami",
"statusMessage": "Invalid API key"
}{
"statusCode": 402,
"message": "Insufficient credits",
"error": true,
"url": "<string>",
"statusMessage": "Insufficient credits",
"data": {
"creditsRemaining": 3,
"creditsNeeded": 123,
"upgradeUrl": "https://developers.zebratruth.ai/dashboard/billing"
}
}{
"statusCode": 403,
"message": "Requested jurisdictions [india, china] are not in your subscription. Allowed: [us, eu].",
"error": true,
"url": "https://api.zebratruth.ai/v1/compliance/check",
"statusMessage": "Requested jurisdictions [india, china] are not in your subscription. Allowed: [us, eu]."
}{
"statusCode": 429,
"message": "Rate limit exceeded",
"error": true,
"url": "<string>",
"statusMessage": "Rate limit exceeded",
"data": {
"retryAfter": 5,
"limit": 60,
"remaining": 0
}
}Authorizations
API key starting with zt_live_ (production) or zt_test_ (sandbox).
Get your key at https://developers.zebratruth.ai
Headers
Body
Image checks do not run the financial-services specialists. Sending reviewScopes or
contentKind returns 400 review_scope_not_enabled.
Response
Image compliance results