v1

latestOpenAPI 3.0.1MIT2026-07-2661255.8 KB

The Fact Checker endpoint is a powerful tool designed to verify the accuracy of a given piece of content by checking it against a a variety of trusted sources. The cost is 2 credits per word.

post/v2/fact-checker

Request body

textstring required

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.

filestring

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.

websitestring

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.

languagestring

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

statusinteger

HTTP status code for the response

scoreinteger

Overall confidence score (0-100) that the provided text is accurate.

claimsCountinteger

Total number of claims extracted from the text. Maximum 12 per request.

textstring

The full original text that was analyzed.

inputstring

Indicates the input type, e.g., 'text', 'file', or 'website'.

languagestring

Detected or specified input language (2 letter code).

creditsUsedinteger

The number of credits used to process this request.

creditsRemaininginteger

The number of remaining credits for the account.

wordCountinteger

Word count of the input text.

Example response

{
  "status": 200,
  "claims": [
    {
      "id": 1,
      "score": 100
    }
  ],
  "score": 100,
  "claimsCount": 11,
  "sentences": [
    {
      "id": 1
    }
  ],
  "language": "en",
  "creditsUsed": 1234,
  "creditsRemaining": 34567,
  "wordCount": 617
}