The API provides you with multiple data points about content and IP addresses. This is an overview of the API. For more details, visit content & IP check pages.
X-API-KEY custom header to the API key.FortGuard has three endpoints.
/check/contentUse this endpoint to get data about a piece of content. By default, it returns a spam score. You can configure it to return more data points including language and sentiment. This endpoint can be used in many use cases including comment and email spam detection, content moderation, and content filtering.
/check/contentThis endpoint gives you data about an IP address. It is useful to detect spammy IP addresses.
/checkIn most cases, you need to check both content and IP address to detect spam. This endpoint allows you to do that in a single API request.
// request
{
"content": {}, // content endpoint input
"ip": {} // ip endpoint input
}
// response
{
"content": {}, // content endpoint output
"ip": {} // ip endpoint output
}