Botometer

FREE
By OSoMe
Updated 5 months ago
Social
9.8/10
Popularity Score
2047ms
Latency
100%
Success Rate

Botometer API Documentation

Botometer (formerly Truthy BotOrNot) checks the activity of a Twitter account and gives it a score based on how likely the account is to be a bot. Higher scores are more bot-like.

View API Details
POSTCheck Account
POSTCheck Account

Analyze an account's bot score and category scores

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Botometer request payloadJSON_STRING
REQUIRED"user" is an object containing information about the Twitter user. "timeline" is the user's timeline, an array of Tweet objects authored by the user. "timeline" and "mentions" are arrays of Tweet objects. This request will only return a test response as-is -- note the ellipses. See the overview for more information.
Code Snippet
unirest.post("https://osome-botometer.p.rapidapi.com/2/check_account")
.header("X-RapidAPI-Host", "osome-botometer.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"user":{"id":"1234567890","screen_name":"IUNetSci","...":"..."},"timeline":[{"id":1234567890,"text":"@Botometer is so cool!","...":"..."},"..."],"mentions":[{"id":9876543210,"text":"@TruthyAtIndiana is also cool!","...":"..."},"..."]})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://osome-botometer.p.rapidapi.com/2/check_account
Request Method: POST
Response Headers
Response Body

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://osome-botometer.p.rapidapi.com/2/check_account")
.header("X-RapidAPI-Host", "osome-botometer.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"user":{"id":"1234567890","screen_name":"IUNetSci","...":"..."},"timeline":[{"id":1234567890,"text":"@Botometer is so cool!","...":"..."},"..."],"mentions":[{"id":9876543210,"text":"@TruthyAtIndiana is also cool!","...":"..."},"..."]})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication