# Full token report

- Section: Tokens (TTF API reference)
- Source: https://ttf.bot/developers/docs/#token-report
- The whole reference as one text: https://ttf.bot/developers/docs/llms-full.txt

`GET /v1/token/{chain}/{address}`

- Base URL: `https://api.ttf.bot`
- Cost: Sum of the groups you ask
- Plan: depends on the group
- Chains: 40 chains
- API key: required. Send `Authorization: Bearer YOUR_KEY` (or `X-API-Key: YOUR_KEY`).
- A refused call costs nothing; a failed one costs 1 credit (the attempt fee).

The one-stop call for a token: ask only the groups you need (`fields=price,security,holders`) and pay only for those. Built for trading bots, Telegram bots, dashboards and quick "is this safe?" checks before you ape. Same answer for everyone for a few seconds (shared cache): polling faster than that only costs credits.

- New here? Start with `fields=core`: price and market data, 1 credit, on every plan. Add `security` (the honeypot and tax check) with the trial or a paid plan.
- On eth, bsc, base and sol a security answer is only a full rating together with its holder data: ask `security,holders`.
- If one part fails (a data source is slow), you still get the rest. The failed part is listed in `meta.partial`.

## Exact rules

The asked field groups of one token (`fields`; default core). Costs the sum of the asked groups' credits; a group answered from the cache costs its cached weight. A failed group costs 1 credit (the attempt fee) when a provider was asked and the group is core or uses a paid provider (security, holders, bubbles, deployer, resolve); candles and a busy group (no provider asked) cost nothing. When every asked group failed and one of them says the token does not exist or cannot be scanned, the request is a 404 and costs ONE attempt fee in total.

## Parameters

### Path parameters

- `chain` (string, path, required): Chain id.
  - Allowed: `eth`, `sol`, `base`, `bsc`, `abstract`, `arbitrumnova`, `arc`, `berachain`, `bttc`, `celo`, `cronos`, `elysium`, `flare`, `fraxtal`, `gnosis`, `hedera`, `injective`, `ink`, `katana`, `linea`, `mantle`, `megaeth`, `merlinchain`, `monad`, `moonbeam`, `moonriver`, `opbnb`, `plasma`, `polygonzkevm`, `pulsechain`, `robinhood`, `scroll`, `seiv2`, `sophon`, `stable`, `swellchain`, `taiko`, `worldchain`, `xdc`, `zksync`.
  - At most 16 characters.
  - Example: `eth`
- `address` (string, path, required): Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).
  - At most 64 characters.
  - Example: `0x6982508145454ce325ddbe47a25d4ec3d2311933`

### Query parameters

- `fields` (string, query, optional): Comma-separated group or field names (at most 200 characters, at most 8 groups). Default: `core`. A group name asks for the whole group; a field name asks for that field only, and its group is charged once however many of its fields are asked. data is keyed by group.

  Groups (credits for a live answer, for a cached one) and their fields:
  - core (1 credit live, 1 cached): price, market, liquidity, socials, token
  - security (4 credits live, 1 cached): verdict, score, flags, checks, tax, lp_lock, contract
  - holders (4 credits live, 1 cached)
  - candles (1 credit live, 1 cached)
  - bubbles (4 credits live, 1 cached)
  - deployer (3 credits live, 1 cached)
  - resolve (1 credit live, 1 cached)

  Which chains serve which group: GET /v1/chains. A group that fails is listed in meta.partial; A failed group costs 1 credit (the attempt fee) when a provider was asked and the group is core or uses a paid provider (security, holders, bubbles, deployer, resolve); candles and a busy group (no provider asked) cost nothing. When every asked group failed and one of them says the token does not exist or cannot be scanned, the request is a 404 and costs ONE attempt fee in total.

  On eth, bsc, base and sol a security answer is a rating (score, verdict.known) only together with its holder data: ask `security,holders`. On the other EVM chains security always lacks holders and liquidity (complete false).

  - Groups, comma separated: `core` (1 credit), `security` (4 credits, from Starter), `holders` (4 credits, from Starter), `candles` (1 credit), `bubbles` (4 credits, from Starter), `deployer` (3 credits, from Starter), `resolve` (1 credit). Nothing picked: core.
  - At most 200 characters.
  - Example: `core,security`
- `interval` (enum, query, optional): Candle interval (only with the candles group). Default 15m.
  - Allowed: `1m`, `5m`, `15m`, `1h`, `4h`, `1d`.
  - Default: `15m`.
  - Example: `15m`
- `limit` (integer, query, optional): Holders rows (only with the holders group), 1-30. Default 20.
  - Default: `20`.
  - Range: 1 to 30.
  - Example: `20`

## Example request

```bash
curl -sS 'https://api.ttf.bot/v1/token/eth/0x6982508145454ce325ddbe47a25d4ec3d2311933?fields=core,security' \
  -H 'Authorization: Bearer YOUR_KEY'
```

Put your key in place of `YOUR_KEY`.

## Example answer

`200` (`default`): Token data by field groups

```json
{
  "data": {
    "bubbles": {
      "clusters": [
        {
          "holders": [
            {
              "address": "0xf3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3",
              "balance": "27394538220371.5",
              "pct": 6.513,
              "tags": [
                "cex"
              ]
            }
          ],
          "id": 1,
          "pct": 8.2,
          "size": 3,
          "tags": [
            "cex"
          ]
        }
      ],
      "mode": "clusters",
      "stats": {
        "in_view_pct": 41.07,
        "largest_pct": 6.51,
        "linked_groups": 4,
        "top10_pct": 31.42,
        "wallets": 30
      },
      "tag_text": {
        "cex": "Exchange"
      },
      "total_cluster_pct": 12.4
    },
    "candles": {
      "candles": [
        [
          1794996000000,
          "0.00000898",
          "0.00000921",
          "0.00000894",
          "0.0000092",
          1842212
        ],
        [
          1794999600000,
          "0.0000092",
          "0.00000925",
          "0.00000911",
          "0.00000919",
          1311090
        ]
      ],
      "change_pct": 2.31,
      "columns": [
        "time_ms",
        "open_usd",
        "high_usd",
        "low_usd",
        "close_usd",
        "volume_usd"
      ],
      "interval": "1h",
      "pair": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f"
    },
    "core": {
      "liquidity": {
        "dex": "uniswap",
        "pair": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f",
        "pair_created_at": "2023-04-14T19:10:23Z",
        "usd": 41200000
      },
      "market": {
        "market_cap_usd": 3870000000,
        "txns_24h": {
          "buys": 4120,
          "sells": 3980
        },
        "volume_24h_usd": 512000000
      },
      "price": {
        "change_pct": {
          "h1": -0.4,
          "h24": 3.5,
          "h6": 1.2,
          "m5": 0.1
        },
        "usd": "0.0000092"
      },
      "socials": {
        "twitter": "https://x.com/pepecoineth",
        "website": "https://www.pepe.vip"
      },
      "token": {
        "address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
        "chain": "eth",
        "name": "Pepe",
        "symbol": "PEPE"
      }
    },
    "deployer": {
      "address": "0xd1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1",
      "created_at": "2023-04-14T19:05:11Z",
      "tx": "0x5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d"
    },
    "holders": {
      "holder_count": 482113,
      "holders": [
        {
          "address": "0xf3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3f3",
          "amount": "27394538220371.5",
          "pct": 6.513
        },
        {
          "address": "0x7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a",
          "amount": "13125994823417",
          "fresh": false,
          "pct": 3.121
        }
      ],
      "top10_pct": 31.42
    },
    "resolve": {
      "address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
      "chain": "eth",
      "dex": "uniswap",
      "listed": true,
      "name": "Pepe",
      "pair": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f",
      "symbol": "PEPE"
    },
    "security": {
      "checks": [
        {
          "id": "honeypot",
          "label": "Honeypot test",
          "state": "ok",
          "value": "sellable"
        },
        {
          "id": "tax",
          "label": "Buy / sell tax",
          "state": "ok",
          "value": "0% / 0%"
        },
        {
          "id": "holders",
          "label": "Holder concentration",
          "state": "ok",
          "value": "top 10: 31%"
        }
      ],
      "complete": true,
      "contract": {
        "owner_renounced": true,
        "proxy": false,
        "verified_source": true
      },
      "flags": [
        {
          "detail": "The owner keeps contract privileges.",
          "id": "owner_active",
          "severity": "info",
          "title": "Owner is not renounced"
        }
      ],
      "lp_lock": {
        "burned_pct": 100,
        "locked": true,
        "locked_pct": 100
      },
      "missing": [],
      "score": 92,
      "tax": {
        "buy_pct": 0,
        "honeypot": false,
        "sell_pct": 0
      },
      "verdict": {
        "known": true,
        "label": "No honeypot, no red flags",
        "level": "ok",
        "reasons": [
          "Sell tax 0%",
          "Owner renounced",
          "Liquidity locked"
        ],
        "sellable": true
      }
    }
  },
  "meta": {
    "cached": [
      "candles"
    ],
    "cost": 18,
    "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
  }
}
```

`200` (`core_only`): No fields: the core group (price, market, liquidity, socials), 1 credit.

```json
{
  "data": {
    "core": {
      "liquidity": {
        "dex": "uniswap",
        "pair": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f",
        "pair_created_at": "2023-04-14T19:10:23Z",
        "usd": 41200000
      },
      "market": {
        "market_cap_usd": 3870000000,
        "txns_24h": {
          "buys": 4120,
          "sells": 3980
        },
        "volume_24h_usd": 512000000
      },
      "price": {
        "change_pct": {
          "h1": -0.4,
          "h24": 3.5,
          "h6": 1.2,
          "m5": 0.1
        },
        "usd": "0.0000092"
      },
      "socials": {
        "twitter": "https://x.com/pepecoineth",
        "website": "https://www.pepe.vip"
      },
      "token": {
        "address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
        "chain": "eth",
        "name": "Pepe",
        "symbol": "PEPE"
      }
    }
  },
  "meta": {
    "cost": 1,
    "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
  }
}
```

`200` (`partial`): fields=price,holders where the holders provider failed: core answers, holders is an error entry listed in meta.partial (only the attempt fee for holders).

```json
{
  "data": {
    "core": {
      "price": {
        "change_pct": {
          "h1": -0.4,
          "h24": 3.5,
          "h6": 1.2,
          "m5": 0.1
        },
        "usd": "0.0000092"
      },
      "token": {
        "address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
        "chain": "eth",
        "name": "Pepe",
        "symbol": "PEPE"
      }
    },
    "holders": {
      "error": {
        "code": "upstream",
        "doc_url": "https://ttf.bot/docs/errors/#upstream",
        "message": "This data is not available right now. Try again in a moment."
      }
    }
  },
  "meta": {
    "cost": 2,
    "partial": [
      "holders"
    ],
    "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
  }
}
```

## Response fields

`always` = in every answer; `always*` = in every answer that does not narrow it with `fields`; any other field is left out when there is no value (never `null`). Objects are open: ignore keys you do not know.

A `200` answer is `{"data", "meta"}` (`TokenAnswer`).

### `data`

- `bubbles` (object (or a group error)): The bubbles group (4 credits live, 1 cached).
  - `clusters` (array of objects, always): The groups, biggest first.
    - `holders` (array of objects, always): The wallets of the group.
      - `address` (string, always): Wallet. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
      - `pct` (number, always): Share of the supply it holds. Percent (5.2 = 5.2 %).
      - `balance` (string): Tokens it holds (human units). Decimal string (never a float, no exponent).
      - `label` (string): A public name of the wallet (an exchange, a contract) when known. Third-party text: escape it.
      - `marks` (array of strings): Behaviour marks of the wallet. Known values: `sniper`, `bundler`, `insider`, `dev` (more may come: handle unknown ones).
      - `tags` (array of strings): Tags of this wallet or group (what tag_text explains). Known values: `cex`, `dex`, `contract`, `burn`, `team`, `sniper`, `bundler`, `insider`, `dev` (more may come: handle unknown ones).
    - `id` (integer, always): Group number in this answer.
    - `size` (integer, always): Wallets in the group.
    - `pct` (number): Share of the supply the group holds. Percent (5.2 = 5.2 %).
    - `tags` (array of strings): Tags of this wallet or group (what tag_text explains). Known values: `cex`, `dex`, `contract`, `burn`, `team`, `sniper`, `bundler`, `insider`, `dev` (more may come: handle unknown ones).
  - `mode` (string, always): clusters = linked groups were found; holders = no links known, the top holders are shown as one group (never "linked"). One of: `clusters`, `holders`.
  - `stats` (object): Totals over the map (a value the source does not give is absent).
    - `bundlers_pct` (number): Share held by bundler wallets. Percent (5.2 = 5.2 %).
    - `dev_pct` (number): Share held by the developer. Percent (5.2 = 5.2 %).
    - `half_supply_wallets` (integer): How few wallets hold half the supply.
    - `in_view_pct` (number): Share of the supply the wallets on the map hold. Percent (5.2 = 5.2 %).
    - `insiders_pct` (number): Share held by insider wallets. Percent (5.2 = 5.2 %).
    - `largest_pct` (number): Share of the biggest single wallet. Percent (5.2 = 5.2 %).
    - `linked_groups` (integer): Linked groups found.
    - `snipers_pct` (number): Share held by sniper wallets. Percent (5.2 = 5.2 %).
    - `top10_pct` (number): Share of the 10 biggest wallets. Percent (5.2 = 5.2 %).
    - `wallets` (integer): Wallets on the map.
  - `tag_text` (map of strings): What each tag means, keyed by tag.
  - `total_cluster_pct` (number): Share of the supply held by all linked groups together. Percent (5.2 = 5.2 %).
- `candles` (object (or a group error)): The candles group (1 credits live, 1 cached).
  - `candles` (array of rows, always): The candles, oldest first.
    - Each row is a list, in this order:
      - column 0 `time_ms` (integer): Candle open time. Unix time in milliseconds.
      - column 1 `open_usd` (string): Open price in US dollars. Decimal string (never a float, no exponent).
      - column 2 `high_usd` (string): High price in US dollars. Decimal string (never a float, no exponent).
      - column 3 `low_usd` (string): Low price in US dollars. Decimal string (never a float, no exponent).
      - column 4 `close_usd` (string): Close price in US dollars. Decimal string (never a float, no exponent).
      - column 5 `volume_usd` (integer): Volume of the candle. Whole US dollars (integer).
  - `columns` (array of strings, always): The meaning of each cell of a candle row: time_ms, open_usd, high_usd, low_usd, close_usd, volume_usd. Always `["time_ms", "open_usd", "high_usd", "low_usd", "close_usd", "volume_usd"]`.
  - `interval` (string, always): The candle interval. One of: `1m`, `5m`, `15m`, `1h`, `4h`, `1d`.
  - `change_pct` (number): Price change from the first candle's open to the last close. Percent (5.2 = 5.2 %).
  - `pair` (string): The pool the candles are from.
- `core` (object (or a group error)): The core group (1 credits live, 1 cached).
  - `token` (object, always): Which token this is (always kept, whatever `fields` asks).
    - `address` (string, always): Token address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
    - `chain` (string, always): Chain id (GET /v1/chains).
    - `name` (string): Token name, as the market lists it.
    - `symbol` (string): Ticker, as the market lists it.
  - `liquidity` (object): The main pool.
    - `dex` (string): DEX of the main pool ("uniswap", "raydium", ...).
    - `pair` (string): Pair (pool) address of the main pool.
    - `pair_created_at` (string (date-time)): When the main pool was created. ISO-8601 UTC ("2026-11-28T10:00:00Z").
    - `usd` (integer): Liquidity of the main pool. Whole US dollars (integer).
  - `market` (object): Market size.
    - `market_cap_usd` (integer): Market cap (or fully diluted value when the market reports only that). Whole US dollars (integer).
    - `txns_24h` (object): Trades over the last 24 hours.
      - `buys` (integer, always): Buy trades.
      - `sells` (integer, always): Sell trades.
    - `volume_24h_usd` (integer): Traded volume over the last 24 hours. Whole US dollars (integer).
  - `price` (object): The price.
    - `change_pct` (object): Price change per window (percent). A window the market does not report is absent.
      - `h1` (number): Price change over the last hour. Percent (5.2 = 5.2 %).
      - `h24` (number): Price change over the last 24 hours. Percent (5.2 = 5.2 %).
      - `h6` (number): Price change over the last 6 hours. Percent (5.2 = 5.2 %).
      - `m5` (number): Price change over the last 5 minutes. Percent (5.2 = 5.2 %).
    - `usd` (string): Price of one token in US dollars. Decimal string (never a float, no exponent).
  - `socials` (map of strings): The project's links, keyed by site ("website", "twitter", "telegram", ...). Only https URLs.
- `deployer` (object (or a group error)): The deployer group (3 credits live, 1 cached).
  - `address` (string, always): Deployer wallet (0x + 40 hex).
  - `created_at` (string (date-time)): When the contract was created. ISO-8601 UTC ("2026-11-28T10:00:00Z").
  - `tx` (string): The creation transaction hash.
- `holders` (object (or a group error)): The holders group (4 credits live, 1 cached).
  - `holders` (array of objects, always): The top holders (`limit` rows, default 20).
    - `address` (string, always): Holder wallet. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
    - `amount` (string): Tokens it holds (human units: decimals applied). Decimal string (never a float, no exponent).
    - `fresh` (boolean): true = a fresh wallet (new, little history): a common sign of insiders or bundles.
    - `pct` (number): Share of the supply it holds. Percent (5.2 = 5.2 %).
  - `top10_pct` (number, always): Share of the supply the 10 biggest holders own. Percent (5.2 = 5.2 %).
  - `holder_count` (integer): Number of holders (when the source reports it).
- `resolve` (object (or a group error)): The resolve group (1 credits live, 1 cached).
  - `address` (string, always): Token address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
  - `chain` (string, always): Chain id.
  - `listed` (boolean, always): true = a market lists the token; false = no market lists it (then there is no pair).
  - `dex` (string): DEX of the main pair.
  - `liquidity_usd` (integer): Symbol / name search only (always there): liquidity over the token's pairs. Whole US dollars (integer).
  - `name` (string): Token name.
  - `pair` (string): Main pair (pool) address. A listed token can lack it (unknown).
  - `symbol` (string): Ticker.
  - `volume_24h_usd` (integer): Symbol / name search only (always there): 24 h volume over the token's pairs. Whole US dollars (integer).
- `security` (object (or a group error)): The security group (4 credits live, 1 cached).
  - `complete` (boolean, always): true = every part of the scan answered. false = see missing; the answer is then not a rating.
  - `missing` (array of strings, always): The parts of the scan that have no data (also in meta.partial as "security.\<part>"). Empty when complete. On eth, bsc, base and sol ask `security,holders` to fill "holders". "market": no market lists a pool for the token, so its liquidity is unknown and the low / dust liquidity checks could not run (verdict "Liquidity unknown: not rated"). Known values: `holders`, `tax`, `liquidity`, `contract`, `market` (more may come: handle unknown ones).
  - `checks` (array of objects, always*): Every check the scan ran, with its outcome.
    - `id` (string, always): Stable id of the check. Known values: `honeypot`, `tax`, `lp_lock`, `mint`, `freeze`, `owner`, `source`, `contract`, `holders`, `liquidity` (more may come: handle unknown ones).
    - `label` (string, always): The check in words.
    - `state` (string, always): ok, warn, bad, or na (not answered). One of: `ok`, `warn`, `bad`, `na`.
    - `value` (string): What it found, in words ("0% / 0%", "top 10: 31%").
  - `flags` (array of objects, always*): Findings, worst first. Empty = nothing found.
    - `id` (string, always): Stable id of the finding. Known values: `buy_tax_extreme`, `sell_tax_extreme`, `buy_tax_high`, `sell_tax_high`, `holders_concentrated`, `liquidity_dust`, `liquidity_low`, `very_new`, `mint_authority`, `freeze_authority`, `owner_active` (more may come: handle unknown ones).
    - `severity` (string, always): critical (a red flag), warn (risky), info (good to know). One of: `critical`, `warn`, `info`.
    - `title` (string, always): The finding in a few words.
    - `detail` (string): One more sentence about it.
  - `verdict` (object, always*): The one-line answer.
    - `known` (boolean, always): true = enough checks answered to rate the token; false = not a rating, check it yourself.
    - `label` (string, always): The verdict in words ("No honeypot, no red flags", "Honeypot", "2 warnings", ...).
    - `level` (string, always): ok = nothing bad found, warn = look closer, danger = red flag (honeypot, critical finding). One of: `ok`, `warn`, `danger`.
    - `reasons` (array of strings, always): Short reasons behind the verdict (at most a few), most important first.
    - `sellable` (boolean): true = the sell simulation passed, false = it failed (honeypot). Absent = not simulated.
  - `contract` (object): Contract facts (true / false; unknown = absent).
    - `freeze_authority` (boolean): Solana: true = the freeze authority is still set (wallets can be frozen).
    - `mint_authority` (boolean): Solana: true = the mint authority is still set (more tokens can be created).
    - `owner_renounced` (boolean): true = nobody owns the contract any more.
    - `proxy` (boolean): true = the contract is a proxy (its code can be swapped).
    - `verified_source` (boolean): true = the source code is verified on the explorer.
  - `lp_lock` (object): Is the liquidity locked or burned?
    - `burned_pct` (number): Share of the liquidity that is burned. Percent (5.2 = 5.2 %).
    - `locked` (boolean): true = (part of) the liquidity is locked or burned.
    - `locked_pct` (number): Share of the liquidity that is locked. Percent (5.2 = 5.2 %).
    - `locker` (string): Who holds the lock (a locker service or contract).
    - `unlock_in_days` (number): Days until the lock ends.
  - `score` (integer): Safety score 0-100 (higher is safer). Absent when the answer is not a rating (verdict.known false or something missing).
  - `tax` (object): Trading taxes from the buy / sell simulation.
    - `buy_pct` (number): Buy tax. Percent (5.2 = 5.2 %).
    - `honeypot` (boolean): true = buying works but selling fails.
    - `max_tx_amount` (string): Largest amount one transaction may move, in tokens (absent = no limit found). Decimal string (never a float, no exponent).
    - `sell_pct` (number): Sell tax. Percent (5.2 = 5.2 %).
    - `transfer_pct` (number): Tax on a plain transfer between wallets. Percent (5.2 = 5.2 %).

### `meta`

- `cost` (integer, always): Credits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
- `request_id` (string, always): Id of this request (= the X-Request-Id header). Quote it to support.
- `cached` (array of strings): The groups answered from the shared answer cache (charged at their cached weight). Absent when none.
- `partial` (array of strings): Something is missing. A bare group name ("holders"): that group failed, its entry in data is {"error": {...}} and only the attempt fee can apply. A dotted "\<group>.\<part>" ("security.holders"): a part of a group that DID answer is missing (see its complete / missing); that group is still billed. Absent when nothing is missing.

## Errors

| Status | Code | When |
| --- | --- | --- |
| 400 | `bad_request` | Bad request: unknown chain, address, field or option. Not charged. Codes: bad_request. |
| 401 | `unauthorized` | The API key is missing or not valid. Not charged. Codes: unauthorized. |
| 402 | `payment_required` | The subscription of this API key has ended. Not charged. Codes: payment_required. |
| 403 | `forbidden` | The key has no developer plan, or does not include the asked groups. Not charged. Codes: forbidden. |
| 404 | `not_found` | Not found: no data for this token (the attempt fee applies, see the description), or the API is switched off / an unknown route (not charged). Codes: not_found. |
| 405 | `method_not_allowed` | Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed. |
| 422 | `refused` | This token cannot be scanned. The attempt fee (1 credit) applies. Codes: refused. |
| 429 | `rate_limited` | Too many requests per second, or the credits of the minute / day / month are used up. See Retry-After. Not charged. Codes: rate_limited. |
| 500 | `internal` | Unexpected error. Not charged. Codes: internal. |
| 502 | `upstream` | A data provider did not answer. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: upstream. |
| 503 | `capacity` `busy` `unavailable` | Capacity, shedding, busy providers or the limits store is unavailable. See Retry-After. Not charged. Codes: capacity, busy, unavailable. |
| 504 | `timeout` | The data took too long. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: timeout. |
| other | `error` | Any other refusal of the HTTP layer (rare): the status says which. Codes: error. |

Every error is `{"error": {"code", "message", "doc_url", "request_id"}}`. What each code means and how to fix it: [Errors](https://ttf.bot/developers/docs/md/errors.md).
