Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The Fact Checker request body
The text to scan. It is required except if you supply a website or a file. Minimum 300 characters. Maximum 10,000 characters per request.
A publicly accessible URL to a file to scan. The file must be publicly available online (not a local file path) so our API can access it. The file must be in plain .pdf, .doc or .docx format. The file has priority over the text, so if you give a text and a file, it's the file that will be scanned.
A website URL to scan. If you supply a website, the API will fetch the content of the website and scan it. The website must be publicly accessible. It's important to know that the website has priority over the text and the file, so if you give a text, a file and a website, it's the website that will be scanned.
2 letter language code. Default: auto.
If you put 'auto', the API will automatically detect the language based on the text.
Supported languages:
Arabic (ar), Bengali (bn), Bulgarian (bg), Chinese simplified and traditional (zh), Croatian (hr), Czech (cs), Danish (da), Dutch (nl), English (en), Estonian (et), Finnish (fi), French (fr), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Indonesian (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es), Swahili (sw), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), Vietnamese (vi).
Response
Fact Checker response
HTTP status code for the response
200
List of claims detected in the text along with their fact-checking results.
Overall confidence score (0-100) that the provided text is accurate.
100
Total number of claims extracted from the text. Maximum 12 per request.
11
The full original text that was analyzed.
List of sentences from the analyzed text, with IDs for mapping claims to the sentences.
Indicates the input type, e.g., 'text', 'file', or 'website'.
Detected or specified input language (2 letter code).
"en"
The number of credits used to process this request.
1234
The number of remaining credits for the account.
34567
Word count of the input text.
617