NewShadowban API: 5 free testsTry it

X Shadowban API documentation

Beta

The X Shadowban API tests any public X account from your own code: one request runs the 4 shadowban checks and returns a verdict, a score from 0 to 100 and a confidence level for each check, with no password and no login to X.

This page documents the X Shadowban API: how to send a request, what the JSON response contains and which errors can come back.

The API is in beta: it works and is billed as described here, and we may add fields or raise limits as we learn. Breaking changes will only come with a new version.

X Shadowban API base URL and version

Every request goes to this base URL, over HTTPS. The version is part of the path, and every response is JSON.

Base URL

https://shadowbanradar.com/api/v1

This is version 1. The routes of the API are these:

MethodPathWhat it doesCost
GET/checkRuns one test on one account.1 credit
GET/balanceReturns your credits, limits and usage.Free
GET/historyLists your past tests.Free
POST/batchesStarts a batch: a whole list of accounts.1 credit per account
GET/batches/{id}Reads the progress and results of a batch.Free
GET/batchesLists your batches.Free
GET/openapi.jsonThe OpenAPI specification.Free

Code assistants and client generators can read the OpenAPI specification.

X Shadowban API authentication

Every request needs an API key. You create it in the API page of your dashboard. It starts with sbr_live_ and it is shown only once, so copy it when you create it.

Your first key comes with 5 free tests, then you buy a pack of tests.

Send the key in the Authorization header, as a Bearer token. You can also send it in an x-api-key header.

Header

Authorization: Bearer sbr_live_YOUR_KEY
  • Keep the key secret. Store it in an environment variable or a secrets manager, never in your code or in a public repository.
  • Never put the key in a URL. The API refuses such a request and you should replace that key.
  • You can hold 2 active keys. To change a key without a break, create the new one, switch your code, then revoke the old one.
  • If a key leaks, revoke it in the API page of your dashboard. A revoked key stops working right away.

Open the API page of your dashboard

X Shadowban API quick start

Four steps take you from nothing to your first result. Call the API from your server, never from a web page, so the key stays private.

Step 1: Create a key

Open the API page of your dashboard and create a key. Your first key comes with 5 free tests, then you buy a pack of tests. Copy the key: it is shown only once.

Step 2: Store the key in an environment variable

This keeps the key out of your code. Replace the placeholder with your own key.

Terminal

export SBR_API_KEY="sbr_live_YOUR_KEY"

Step 3: Send your first request

curl is a command-line tool that sends a web request. It is installed on macOS, Linux and recent versions of Windows, so it is the quickest way to try the API without installing anything. Run this in your terminal:

curl

curl --max-time 75 "https://shadowbanradar.com/api/v1/check?username=exampleuser" \
  -H "Authorization: Bearer $SBR_API_KEY"

Here is what each part of the command does.

Part of the commandWhat it does
curl --max-time 75 "https://shadowbanradar.com/api/v1/check?username=exampleuser"Sends a GET request to the check route and gives up after 75 seconds. The username parameter is the X handle to test, with or without the @.
\Only means that the command continues on the next line. You can write everything on one line without it.
-H "Authorization: Bearer $SBR_API_KEY"Adds a header with your key. Your shell replaces $SBR_API_KEY with the variable you set in step 2.

The same request in Node.js (version 18 or later) and in Python. Both stop with a clear message when the API answers with an error.

Node.js

const res = await fetch(
  "https://shadowbanradar.com/api/v1/check?username=exampleuser",
  {
    headers: { Authorization: `Bearer ${process.env.SBR_API_KEY}` },
    signal: AbortSignal.timeout(75_000),
  },
);
const result = await res.json();
if (!res.ok) {
  throw new Error(`${result.code} (${result.request_id}): ${result.detail}`);
}
console.log(result.verdict, result.score);

Python

import os
import requests

res = requests.get(
    "https://shadowbanradar.com/api/v1/check",
    params={"username": "exampleuser"},
    headers={"Authorization": f"Bearer {os.environ['SBR_API_KEY']}"},
    timeout=75,
)
result = res.json()
if not res.ok:
    raise RuntimeError(f"{result['code']} ({result['request_id']}): {result['detail']}")
print(result["verdict"], result["score"])

Step 4: Read the response

The API answers with JSON like this. Start with the verdict, then read the 4 checks.

JSON

{
  "username": "exampleuser",
  "user_id": "1234567890",
  "verdict": "restricted",
  "score": 67,
  "tested": 3,
  "checks": {
    "search_suggestion_ban": { "status": "clean", "confidence": "high" },
    "search_ban": { "status": "clean", "confidence": "high" },
    "ghost_ban": { "status": "restricted", "confidence": "medium" },
    "reply_deboosting": { "status": "untested", "reason": "no_replies" }
  },
  "account": {
    "followers": 1520,
    "posts": 4200,
    "protected": false,
    "following": 310,
    "verified": false
  },
  "activity": {
    "posts_sampled": 40,
    "median_views": 850,
    "posts_per_week": 12,
    "reply_share": 0.35,
    "engagement_rate": 0.012
  },
  "checked_at": "2026-12-01T09:30:00.000Z",
  "previous": {
    "verdict": "clean",
    "score": 100,
    "checked_at": "2026-11-24T08:10:00.000Z"
  },
  "changed": true,
  "cached": false,
  "credits_charged": 1,
  "credits_remaining": 499,
  "request_id": "req_0b9f6c1e5d1a4c8e9a523f7d2e8a41bc"
}

The values above are an example.

How to check an X account with the API

GET /api/v1/check runs the 4 checks on one public X account and returns the result. It costs 1 credit.

ParameterTypeRequiredDescription
usernamestringYesThe X handle to test: 1 to 15 letters, digits or underscores, with or without the @.

A successful request answers with status 200 and the JSON of step 4. These headers come with every response:

HeaderWhat it holds
X-Request-IdThe ID of the request, the same as request_id in the body.
X-Credits-RemainingYour credits after the request.
RateLimit-LimitThe number of requests allowed in the current window.
RateLimit-RemainingThe requests you can still send in this window.
RateLimit-ResetThe seconds until the window resets.
Retry-AfterOn a 429 or 503 error: the seconds to wait before you try again.
X-API-VersionThe version of the API. It is 1 for this version.
X-API-StageThe stage of the API: beta for as long as the API is in beta.

What does the API response contain?

Every successful response is a JSON object with these fields.

FieldWhat it holds
usernameThe handle that was tested.
user_idThe numeric ID of the X account.
verdictThe overall result: clean, restricted or unknown. Unknown means no check could be measured.
scoreThe visibility score, from 0 to 100, or null when no check could be measured.
testedHow many of the 4 checks could be measured.
checksThe result of each of the 4 checks.
checks.*.statusThe status of one check: clean, restricted or untested.
checks.*.confidenceHow sure we are about that check: high, medium or low.
checks.*.reasonWhy a check is untested, for example no_replies. Present only when the status is untested.
accountThe account facts we read: followers, following, posts, protected and verified.
activityThe activity figures read on the account when X serves them: posts_sampled, median_views, posts_per_week, reply_share and engagement_rate. Any of them can be null.
previousThe verdict, score and checked_at of your last test of this account, or null if you never tested it.
changedTrue when the verdict differs from your last test of this account.
checked_atWhen X's data was read.
cachedAlways false: every test is a new measurement of X, made for your request. The field stays so that existing code keeps working.
credits_chargedThe credits taken for this request.
credits_remainingThe credits left after this request.
request_idThe ID of this request. Quote it if you write to us about a result.

What do the 4 checks in the response mean?

Each key of checks is one of the 4 restrictions we test.

  • search_suggestion_banA search suggestion ban means your X account stops appearing in the dropdown suggestions when someone types your name or handle.
  • search_banA search ban means your posts are removed from X search results: searching for them finds nothing, even for followers.
  • ghost_banA ghost ban detaches your replies from the conversation they belong to: everyone else sees the thread without them.
  • reply_deboostingReply deboosting means your replies are pushed to the bottom of a conversation or hidden behind Show more replies.

A check marked untested could not be measured. It stays out of the score instead of being guessed.

How does the API measure a shadowban?

Shadowban Radar measures instead of estimating: every verdict comes from X's own public data, read on X through a specialized data provider, from the same search results and conversation threads X serves to anyone. Nothing is inferred from view counts or engagement, no login or password is ever needed, each verdict states its confidence level, and every result shows when X's data was read.

The methodology page explains what each check observes and what it can never see.

How to read your API balance

GET /api/v1/balance returns your remaining credits, your limits and your usage of the day. It takes no parameter and it is free.

JSON

{
  "credits": 499,
  "limits": {
    "per_second": 4,
    "per_minute": 120,
    "per_day": 20000,
    "concurrent": 8,
    "unbilled_per_day": 300
  },
  "used_today": 12,
  "charged_today": 9,
  "unbilled_today": 3,
  "suspended": false,
  "request_id": "req_5d1a4c8e9a523f7d2e8a41bc0b9f6c1e"
}
FieldWhat it holds
creditsThe tests you can still run.
limitsThe limits of your account: per_second, per_minute, per_day and concurrent.
used_todayThe attempts of the current UTC day, charged or not.
charged_todayThe tests charged on the current UTC day.
unbilled_todayThe attempts of the current UTC day that were not charged. limits.unbilled_per_day is their daily limit.
suspendedTrue when your API account is suspended.
request_idThe ID of this request.

How to read your test history

GET /api/v1/history returns your past tests, from the newest to the oldest. It is free: use it to follow an account over time without paying for another test.

ParameterTypeRequiredDescription
usernamestringNoOnly the tests of this X handle. Without it, you get the tests of every account.
limitintegerNoHow many tests per page, from 1 to 100. The default is 20.
beforestringNoAn ISO 8601 date. Only tests paid before it are returned. Copy next_before from the previous page.
FieldWhat it holds
itemsYour past tests, newest first. Each item has the result fields of a test, from username to checked_at, plus request_id and the charged_at date.
next_beforeThe date to send as before to read the next page. It is null on the last page.
request_idThe ID of this request.

X Shadowban API batches: test a whole list

A batch tests a whole list of accounts with one request. We queue the list and test the accounts at the best pace for everyone. A short list is ready in minutes, a long one takes longer. You do not keep a connection open: you start the batch, then read its progress.

Start a batch

POST /api/v1/batches takes a JSON body and answers with status 202.

curl

curl -X POST "https://shadowbanradar.com/api/v1/batches" \
  -H "Authorization: Bearer $SBR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: my-list-2026-12-01" \
  -d '{"usernames": ["jack", "@nasa", "not a handle"]}'
ParameterTypeRequiredDescription
usernamesarrayYesThe X handles to test, with or without the @. One list holds from 1 to 1,000 handles, and the whole body stays under 64 KB.
Idempotency-KeystringNoA header, not part of the body. Any unique text of 1 to 255 visible ASCII characters. Send the same value again within 24 hours to retry a request without starting the same batch twice.
  • We clean each handle like the check route does: spaces and the @ are removed, and the letter case does not matter when we look for duplicates.
  • A handle that is not valid, that appears twice or that is removed on the request of its owner is not accepted. It goes to rejected, with the reason invalid_username, duplicate or account_not_found, and it costs nothing.
  • We set aside 1 credit for each account we accept. If your balance cannot cover the accepted accounts, the request fails with a 402 error and nothing is set aside.
  • If every handle is rejected, the answer is still 202: the batch is already completed and no credit is set aside.
  • The answer carries a Location header with the path to read the batch. When you send the same Idempotency-Key again, it also carries Idempotent-Replayed: true.

JSON

{
  "id": "bat_0b9f6c1e5d1a4c8e9a523f7d",
  "status": "queued",
  "total": 3,
  "accepted": 2,
  "rejected": [
    {
      "username": "not a handle",
      "reason": "invalid_username"
    }
  ],
  "credits_reserved": 2,
  "created_at": "2026-12-01T09:30:00.000Z",
  "request_id": "req_a523f7d2e8a41bc0b9f6c1e5d1a4c8e9"
}
FieldWhat it holds
idThe batch ID, starting with bat_. Keep it to read the results.
statusqueued when the batch waits for its turn, or completed at once when every handle was rejected.
totalHow many handles you sent: the accepted ones plus the rejected ones.
acceptedHow many handles we accepted and queued.
rejectedThe handles we could not accept, each with a username and a reason: invalid_username, duplicate or account_not_found. They cost nothing.
credits_reservedThe credits set aside for the accepted handles.
created_atWhen the batch was created.
request_idThe ID of this request.

Read a batch

GET /api/v1/batches/{id} returns the progress and the results of one batch. It is free. Read it again every few seconds, or every minute for a long list, until the status is completed.

curl

curl "https://shadowbanradar.com/api/v1/batches/bat_0b9f6c1e5d1a4c8e9a523f7d?limit=50" \
  -H "Authorization: Bearer $SBR_API_KEY"
ParameterTypeRequiredDescription
idstringYesIn the path: the batch ID, starting with bat_.
limitintegerNoHow many results per page, from 1 to 100. The default is 100.
cursorstringNoCopy next_cursor from the previous page. Never build or change it yourself.

While the batch runs, completed_at is null, and an account not tested yet has the status pending with result and reason set to null. The first example shows a batch that has just started.

JSON

{
  "id": "bat_0b9f6c1e5d1a4c8e9a523f7d",
  "status": "running",
  "total": 3,
  "done": 0,
  "charged": 0,
  "refunded": 0,
  "created_at": "2026-12-01T09:30:00.000Z",
  "completed_at": null,
  "results": [
    {
      "username": "jack",
      "status": "pending",
      "result": null,
      "reason": null
    },
    {
      "username": "nasa",
      "status": "pending",
      "result": null,
      "reason": null
    }
  ],
  "next_cursor": null,
  "request_id": "req_2e8a41bc0b9f6c1e5d1a4c8e9a523f7d"
}

The second example shows the same kind of batch once it is completed: the account jack is done, with its result, and the account gone_account is not_found, with its reason. Its credit came back to your balance, so refunded is 1.

JSON

{
  "id": "bat_0b9f6c1e5d1a4c8e9a523f7d",
  "status": "completed",
  "total": 3,
  "done": 2,
  "charged": 1,
  "refunded": 1,
  "created_at": "2026-12-01T09:30:00.000Z",
  "completed_at": "2026-12-01T09:31:12.000Z",
  "results": [
    {
      "username": "jack",
      "status": "done",
      "result": {
        "username": "exampleuser",
        "user_id": "1234567890",
        "verdict": "restricted",
        "score": 67,
        "tested": 3,
        "checks": {
          "search_suggestion_ban": {
            "status": "clean",
            "confidence": "high"
          },
          "search_ban": {
            "status": "clean",
            "confidence": "high"
          },
          "ghost_ban": {
            "status": "restricted",
            "confidence": "medium"
          },
          "reply_deboosting": {
            "status": "untested",
            "reason": "no_replies"
          }
        },
        "account": {
          "followers": 1520,
          "posts": 4200,
          "protected": false,
          "following": 310,
          "verified": false
        },
        "activity": {
          "posts_sampled": 40,
          "median_views": 850,
          "posts_per_week": 12,
          "reply_share": 0.35,
          "engagement_rate": 0.012
        },
        "checked_at": "2026-12-01T09:30:00.000Z",
        "previous": {
          "verdict": "clean",
          "score": 100,
          "checked_at": "2026-11-24T08:10:00.000Z"
        },
        "changed": true,
        "cached": false,
        "credits_charged": 1
      },
      "reason": null
    },
    {
      "username": "gone_account",
      "status": "not_found",
      "result": null,
      "reason": "missing"
    }
  ],
  "next_cursor": null,
  "request_id": "req_c1e5d1a4c8e9a523f7d2e8a41bc0b9f6"
}
FieldWhat it holds
statusqueued until the first account is tested, running while accounts are tested, completed when every accepted account is handled.
totalHow many handles you sent, the rejected ones included, as in the answer that created the batch.
doneHow many accepted accounts are handled so far, tested or not. It ends at the number of accepted accounts, which is total minus the rejected handles.
chargedThe credits charged so far.
refundedThe credits that came back to your balance because an account was not charged.
created_atWhen the batch was created.
completed_atWhen the batch finished. It is null until the status is completed.
resultsOne entry per accepted account, in the order of your list: username, status, result and reason. Rejected handles are not listed here. This list is paged.
results[].statuspending while the account waits or is being tested, then done, not_found or failed.
results[].resultFor a done account, the same object as the response of the check route, without request_id and credits_remaining: it keeps cached, credits_charged, previous and changed. It is null for every other status, and while the account is pending.
results[].reasonnull while the account is pending or done. For not_found: missing, suspended or unavailable. For failed: invalid_username, account_suspended, insufficient_credits, temporarily_unavailable, expired or revoked.
next_cursorThe cursor to send as cursor to read the next page. It is null on the last page.
request_idThe ID of this request.

List your batches

GET /api/v1/batches lists your batches, the newest first, without their results. Each one has id, status, total, accepted, done, charged, refunded, created_at and completed_at. It takes a limit parameter, from 1 to 100 (20 by default), and it is free.

Billing and limits of a batch

  • Each accepted account costs the same as a check: 1 credit, for a new test. A credit that is not charged comes back to your balance: the account is not found, or nothing could be measured.
  • An account that fails on our side is tried again, up to 3 tries in all. Then it is marked failed and its credit comes back to your balance.
  • A batch that is not finished 24 hours after its creation is closed. The accounts not tested are marked failed, with the reason expired, and their credits come back to your balance.
  • The daily limit of your account applies to the accounts of a batch, and so does the limit on tests that are not charged. An account held back by one of them waits until 00:00 UTC, then it is tested.
  • The limits per second, per minute and in parallel do not apply to the accounts of a batch. Creating a batch, reading it and listing your batches are requests like the others: they count in the limits per second and per minute.
  • A list holds from 1 to 1,000 accounts. One customer account can have 10,000 accounts waiting and 20 batches open at the same time.

Which errors can the API return?

Errors use the application/problem+json format. Test the code field in your code, and show the detail field to a person. On a 429 or 503 status, wait for the delay in the Retry-After header.

JSON

{
  "type": "https://shadowbanradar.com/api/errors/insufficient_credits",
  "title": "Insufficient credits",
  "status": 402,
  "detail": "Your credit balance is 0. Buy a pack to run more tests.",
  "code": "insufficient_credits",
  "request_id": "req_9a523f7d2e8a41bc0b9f6c1e5d1a4c8e"
}
FieldWhat it holds
typeAn identifier that names the error. It looks like a URL, but it is not a page.
titleA short title.
statusThe HTTP status, repeated in the body.
detailA sentence that says what to do.
codeThe stable code to test in your code. Use it, not the text.
request_idThe ID of the request. Quote it if you write to us.
reasonOnly on some errors, for example why an X account is not found.
StatusCodeMeaningWhat to do
400invalid_usernameThe username is not a valid X handle.Fix the handle: 1 to 15 letters, digits or underscores.
400invalid_parameterA query parameter is not valid, for example limit or before.Check the parameter against the route reference above.
400api_key_in_urlThe API key was sent in the URL. Send it in a header instead.Move the key to the Authorization header. Treat the key as leaked and replace it.
400invalid_bodyThe body of a batch request is not valid JSON, is larger than 64 KB, or does not hold a usernames list of 1 to 1,000 handles.Send a JSON body with a usernames list of 1 to 1,000 handles. Split a longer list into several batches.
401invalid_api_keyThe API key is missing, wrong or revoked.Check the key and the header. Create a new key if it was revoked.
402insufficient_creditsYour balance does not cover this request. Buy a pack, or send a smaller batch.Buy a pack in your dashboard, then send the request again.
403account_suspendedYour API account is suspended, for example after a payment dispute.Tell us on the contact page.
404account_not_foundX does not serve this account: it does not exist, is suspended or is unavailable. The reason field says which, and no credit is taken.Check the handle. Do not retry in a loop.
404batch_not_foundNo batch with this ID exists for your API account. A batch of another account gives the same answer.Check the ID: it starts with bat_ and comes from the answer that created the batch. A finished batch is kept for a limited time, so read its results soon.
405method_not_allowedThe request used a method this route does not accept.Use the method shown in the route reference.
429rate_limitedToo many requests in one second or one minute.Wait for the Retry-After delay, then try again and double the wait after each failure.
429daily_cap_reachedA daily limit is reached: either the 20,000 tests of your account, or the 300 tests per day that are not charged (account not found, failure on our side, none of the 4 checks measured).Wait until 00:00 UTC, or contact us for a higher limit.
429too_many_concurrentToo many tests are running at the same time: either the limit of your account, or every test slot of the API is busy. A request to the check route waits up to 8 seconds for a slot before it answers.Wait for the Retry-After delay and send fewer tests at once. For a long list, start a batch instead.
429queue_fullYour account already has 20 open batches, or this batch would take it past 10,000 accounts waiting. Nothing was set aside.Wait for a batch to finish, or for the Retry-After delay, then send the batch again.
503temporarily_unavailableWe could not run the test. Try again later.Wait for the Retry-After delay, then try again. The test was not charged.

What are the API rate limits?

By default, each customer account gets 4 requests per second, 120 requests per minute, 8 tests in parallel and 20,000 tests per UTC day. Past a limit, the API answers with status 429 and a Retry-After header. Your own limits are in the response of the balance route.

A second daily limit applies to tests that are not charged: 300 per UTC day for each customer account. They are the tests of an account that is not found, of a failure on our side and of a test where none of the 4 checks could be measured. Past it, the API answers with status 429 and the code daily_cap_reached until 00:00 UTC.

Until its first pack, an account that only has the free tests has lower limits: 1 request per second, 20 per minute, 2 tests in parallel, 50 tests and 3 tests that are not charged per UTC day.

The RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers tell you where you stand before you reach a limit.

When every test slot of the API is busy, a request to the check route waits up to 8 seconds for a free slot before it answers 429 with the code too_many_concurrent. The detail then advises a batch for a long list.

How to try again

Wait for the delay in the Retry-After header, then send the request again. If it fails again, double the wait each time, and stop after a few tries. This example does it for you:

Node.js

const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));

async function check(username, tries = 4) {
  for (let attempt = 0; attempt < tries; attempt++) {
    const res = await fetch(`https://shadowbanradar.com/api/v1/check?username=${username}`, {
      headers: { Authorization: `Bearer ${process.env.SBR_API_KEY}` },
      signal: AbortSignal.timeout(75_000),
    });
    if (res.status !== 429 && res.status !== 503) return res.json();
    // Wait for the delay we give you, then double it after each failure.
    const delay = Number(res.headers.get("Retry-After")) || 1;
    await sleep(delay * 2 ** attempt * 1000);
  }
  throw new Error("Still limited after " + tries + " tries");
}

Need higher limits? Contact us.

X Shadowban API timeouts and best practices

  • A test usually takes 5 to 15 seconds, and up to about 65 seconds when every test slot is busy. Set a timeout of 75 seconds in your client.
  • Do not retry in a loop. Wait for the delay we give you, and double the wait after each new failure.
  • Each request runs a new test and costs 1 credit, even for the same account. Keep the result on your side if you need it again: checked_at tells you when X was read.
  • For a long list of accounts, start a batch instead of sending many requests one after the other. A request to the check route waits up to 8 seconds for a free slot, then answers 429 and advises a batch.
  • Log the request_id of every call. It is the fastest way for us to find a request.
  • Test the code field of an error, never its text: the text can change, the code stays.

X Shadowban API billing and credits

You buy a prepaid pack of tests. One credit pays for one test, which runs the 4 checks on one account. You pay once, with no subscription, and your credits never expire.

  • A credit is taken when a test succeeds and its result is returned.
  • A batch sets aside 1 credit for each accepted account when you create it. The credits of accounts that are not charged come back to your balance as the batch advances. Your dashboard shows both movements in Recent activity.
  • Nothing is taken when the X account is not found or is suspended, when the failure is on our side, or when none of the 4 checks could be measured.
  • Every test reads X again for your request and costs 1 credit, even for an account you tested a minute ago. checked_at tells you when X was read.
  • If a test fails after a credit was set aside, the credit comes back to your balance automatically, within the hour.
  • Every check response carries credits_charged and credits_remaining. The balance route gives your credits for free.

See the packs and prices

How to page through API results

Routes that return a list give it in pages of up to 100 entries. The default page holds 20 entries for history and 100 results for a batch. Read a page, then use the value it gives you to read the next one, until that value is null. The list of your batches has no next page: read a batch by its ID.

RouteSendRead
/historylimit, beforenext_before
/batches/{id}limit, cursornext_cursor

How to retry a request safely (idempotency)

A request to the check route always runs a new test: if you send it again after a network error and the first one went through, you pay for both.

To send a list without paying twice, start a batch with an Idempotency-Key header with any unique text of 1 to 255 visible ASCII characters. Within 24 hours, the same key from the same account returns the batch that already exists, with status 202 and the header Idempotent-Replayed: true, and sets nothing more aside.

We do not compare the body: use a new key for a new list. After 24 hours the key is free again.

X Shadowban API versions and changes

The version is in the path: /api/v1. While the API is in beta, we may add fields to a response, add routes and raise limits without warning, so your code must ignore the fields it does not know. We will not remove a field, rename it or change its meaning without a new version at a new path, and we will tell you before the old one stops.

X Shadowban API key security

  • Call the API from a server, never from a web page or a mobile app: anyone could read the key there.
  • Never put a key in a URL, a public repository, a screenshot or a chat. Send it in a header over HTTPS.
  • Use a separate key for each application, up to 2 active keys, so you can revoke one without stopping the other.
  • Revoke a key as soon as you doubt it. You can create another one in a few seconds.

X Shadowban API rules of use

  • Only public accounts can be tested.
  • The API never asks for an X password or a login to X.
  • You may build the results into your own product or service. You may not resell raw access to the API itself, for example a proxy that sells our tests under another name.
  • You may not use the API to harass a person or to keep watch on one.
  • If you own an account and want it left out of our results, tell us on the contact page.

How to get help with the X Shadowban API

Tell us on the contact page and quote the request_id of the call. Every response carries one, in the body and in the X-Request-Id header.

Last reviewed