Skip to content

Authentication

Send your API key in the x-api-key header on every request.

Terminal window
curl -X POST https://dd.antibotapi.com/interstitial \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "device_check_link": "...", "device_check_page": "..." }'

Create and manage keys in the dashboard.

Product Base URL
DataDome https://dd.antibotapi.com
Incapsula https://incap.antibotapi.com
Kasada https://ksd.antibotapi.com
Cloudflare https://cf.antibotapi.com
Ticketmaster tmpt https://tmpt.antibotapi.com
Amazon metadata1 https://metadata1.antibotapi.com
Developer API https://api.disasm.dev

The Developer API is the one exception: it takes the key as Authorization: Bearer YOUR_API_KEY.

  • A service key works on the product its plan is for.
  • A universal key works on every product except invite-only betas (Kasada, Cloudflare) you have not been granted, and pays from your PAYG wallet.

A key with no plan balance left keeps working while PAYG is on for it and your wallet has funds. Otherwise requests get a 401.

You can turn on request signing for a key in the dashboard. A signed key also needs an x-signature header on every request: a JWT signed with the key’s signing secret (HS256), whose x-api-key claim is the key itself.

import jwt from 'jsonwebtoken';
const signature = jwt.sign({ 'x-api-key': apiKey }, signingSecret, { algorithm: 'HS256', expiresIn: '1m' });
await fetch('https://tmpt.antibotapi.com/config', {
headers: { 'x-api-key': apiKey, 'x-signature': signature },
});

exp and nbf are checked when you set them. A missing or wrong signature is a 401. Keys without signing ignore the header.