API ReferenceFact Checking
Submit media for fact-checking from a URL
Fact-check media fetched from a public URL (article, social post, or media link).
Authorization
BearerAuth AuthorizationBearer <token>
Send your secret API token as a bearer token in the Authorization header:
Authorization: Bearer <token>. Keep it server-side and never expose it in client code.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
cURL
{
"jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
"status": "Queued",
"creditsReserved": 0
}File too large
{
"error": {
"code": "IMAGE_FORENSICS:FILE_TOO_LARGE",
"message": "File photo.jpg exceeds the maximum size of 50 MB."
}
}Unsupported format
{
"error": {
"code": "IMAGE_FORENSICS:UNSUPPORTED_FORMAT",
"message": "Unsupported file format. Allowed — jpg, jpeg, png, webp, heic, heif, tiff."
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API token."
}
}
