Example

Request:

curl “URL?url=www.example.com”

- H “x-api-key: API_KEY”

-X GET

Response:

{

“models_scores”: [

{

“model“: 1,

“score“: 0.314,

}

{

“model“: 2,

“score“: 0.314,

}

...

],

“combined_score”: 0.1414

}

Ideas

Use our API to:

Build a Twitter bot that cleans hate speech from your feed

Create SlackBot to score your colleagues’ communication skills

Build a mobile newsreader app that highlights biased stories

Design a browser extension that automatically rewrites clickbait headlines

Pricing

Free tier

Limited to 250 calls per day

Includes these signals:
Hate speech
Toxicity
Insults

Premium tier

$5 per 1,000 API calls

Includes all signals:
Obscenity
Toxicity
Identity Hate
Threats
Hate speech
Sexism
Political bias
Clickbait
Insults

Documentation

Authorization
Factmata API is authorized using API Key.

The API_KEY is accepted as a request header x-api-key.

Scoring URLs
Scoring URLs using Factmata API works in two steps:

1. Submitting URL for scoring
Before a URL can be scored, it needs to be scraped, and then scored by our models. And hence the URL needs to be submitted first.

2. Fetching the scores
After the URL has been submitted, the results will be available in some time.

URL Scoring is complete when it has been scored by all models.

During the time between submission and fetching, URL might already have been scored by some models, while some are still are processing. In this case, the user has the option to fetch the partial scores.

Submit a URL for scoring
To score a URL, it needs first needs to be submitted.

HTTP Request:

POST https://www.factmata.com

Fetch the scores of a URL
After a URL has been submitted for scoring, you can fetch the scores using this API.

HTTP Request:

GET http://www.example.com?url=www.example.com