RapidAPI logo

Sign Up

Log In

SESTA FOSTA

FREEMIUM
By Recognant
Updated 3 months ago
-/10
Popularity Score
-
Latency
-
Success Rate

SESTA FOSTA API Overview

Recognant's SESTA FOSTA Compliance API is designed to find content that advertises for prostitution. On April 11th, 2018 SESTA FOSTA was signed in to law, it requires that content publishers actively work to prevent their platform from being used in the advertising of prostitution. Many sites rely on community moderators to spot such ads, but under the new rules this is insufficient. The Recognant AI has been aiding in the arrest of human traffickers and the rescue of those being trafficked for more than 2 years. We now offer this same technology to site operators to minimize their risk now that safe harbor provisions have been removed.

Contact API Provider
star-blueRate

SESTA FOSTA Compliance for UGC Sites powered by AI

Recognant's SESTA FOSTA Compliance API is designed to find content that advertises for prostitution. On April 11th, 2018 SESTA FOSTA was signed in to law, it requires that content publishers actively work to prevent their platform from being used in the advertising of prostitution. Many sites rely on community moderators to spot such ads, but under the new rules this is insufficient.

From SESTA FOSTA:
Whoever, using a facility or means of interstate or foreign commerce or in or affecting interstate or foreign commerce, owns, manages, or operates an interactive computer service (as such term is defined in defined in section 230(f) the Communications Act of 1934 (47 U.S.C. 230(f))), or conspires or attempts to do so, with the intent to promote or facilitate the prostitution of another person shall be fined under this title, imprisoned for not more than 10 years, or both.

The API:

The Recognant API returns scores for several undesirable characteristics of content. (more are coming)

Example Response:
{"juvenile": 0, "sexacts": 0, "text": "I am offering sex for cash. If you can help me out financially I will show you my breasts.", "overall": 42, "trafficking": 0, "solicitation": 30}

Solicitation is likely the most useful for SESTA FOSTA Compliance. It returns how strongly the text conveys a sex for money relationship is desired. In our testing most sites will want to remove posts where this is 20 or above.

Juvenile is a measure of how much the text is promoting underage or close to underage sex.

SexActs is a measure of how "dirty" text is. In the example text it is direct, but not "dirty."

Trafficking is a measure of the likelihood this text promotes the sale of a human. Generally anything over a 10 is concerning, and over 30 should result in a law enforcement call.

Overall is a composite score based on the several scores. Based on your community standard you may wish to choose a threshold at which text is moderated based on this score. In our testing this is generally 20 for Adult Content Sites and 5 for non-adult sites.

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://recognant-sesta-fosta-v1.p.rapidapi.com/")
.header("X-RapidAPI-Host", "recognant-sesta-fosta-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("thetext=I am offering sex for cash. If you can help me out financially I will show you my breasts.")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication