The URL scoring runs on a Google Cloud Function and can be triggered via HTTPS:
https://europe-west1-gen-medialiteracy-paris2019.cloudfunctions.net/scoreUrl?url=<URL_TO_SCORE>
Please note that you need to perform URL encoding for the url query parameter. The endpoint sends an wildcard * access control header to fully enable CORS requests.
- https://orf.at – very trusted source
- https://example.com – demo URL which will always fail
{
"score": -0.5,
"details": {
"spamBacklisted": true
}
}
The score for an URL can be between -1 (highly problematic), 0 (neutral), 1 (no suspicion, inspiring confidence).
The final score is determined by weighted checks. The following formula is used to calculate a score: Math.max(Math.min(scorePoints, 100), -100) / 100
- Spam Blacklisting – blacklisted IP addresses will get 10 points.