Start here
TTF docs: what do you want to do?
TTF scans crypto tokens in Telegram. Here you learn how to get its alerts in your own Telegram or Discord, and how to use its data in the apps and bots you build yourself. Pick what you want to do.
Get alerts, no code needed
Build with the API
Your account
Words used in these pages
| Word | What it means |
|---|---|
| Alert | What to watch (a price, the trending board, a wallet) and where to send it. The API calls it a rule. |
| Destination | Where alerts go: your Telegram, a Telegram group or channel, a Discord channel, or your own server. The API calls it an endpoint. Telegram and Discord messages are posted by the TTF bot: you never make a bot or give us a bot token. |
| Delivery | One alert message on its way to one destination. The delivery log shows each one. |
| API key | Your password for the data API. Only needed for code: alerts in Telegram or Discord need none. |
| Credits | What a data API call costs. Alerts do not use credits; they have their own monthly allowance (Plans). |
TTF shows facts and checks, never advice. A token that passes every filter can still lose its value: always do your own research.
Questions? Ask in the TTF Telegram channel.
Start here
Build with AI: use the TTF API with an AI assistant
Give these docs to ChatGPT, Claude or the coding assistant in your editor, and let it write the code. Everything it needs is public text: no sign-in, no scraping.
What an assistant can read
| What | Where | Use it for |
|---|---|---|
| One page as Markdown | Copy page at the top of every page, or View as Markdown in the
Build with AI menu beside it. Each page also has its own address:
https://ttf.bot/developers/docs/md/<page>.md | A question about one endpoint, one alert type or one error. |
| The whole reference | https://ttf.bot/developers/docs/llms-full.txt (the Build with AI menu copies it for you too) | Building a whole app: every endpoint, field, error and webhook in one text. |
| The site in short | https://ttf.bot/llms.txt and https://ttf.bot/llms-full.txt | What TTF is, which pages exist and the plain-language guides. |
| The OpenAPI contract | https://api.ttf.bot/openapi.json (OpenAPI 3.1, JSON; the menu can download it too) | Tools that import a contract, typed clients, exact field names and limits. |
| Open in ChatGPT or Claude | In the Build with AI menu of every page | Starts a new chat in a new tab that already asks about that page (it sends the page's public address, nothing else). |
Three steps
Get a key
Sign in to the dashboard (free), tab Overview, panel API keys, Create key. Keep it out of the chat with the assistant: let the code read it from an environment variable such as
TTF_API_KEY.Give the assistant the docs
Paste the address of the whole reference (
https://ttf.bot/developers/docs/llms-full.txt) or of the page you need, or press Copy page and paste the text. An assistant that cannot open links needs the pasted text.Ask for what you want
Say the language, what the program does and what it must not do. Start from a prompt below.
Prompts to paste
Each one tells the assistant where the facts are, so it does not guess endpoint names.
Check a token from a script
Read https://ttf.bot/developers/docs/md/token-security.md and https://ttf.bot/developers/docs/md/authentication.md.
Write a Python 3 script that takes a chain and a token address on the command line, calls the TTF API security check
with the key from the TTF_API_KEY environment variable, and prints the verdict, the score, the buy and sell tax and
every flag. Handle the error format from https://ttf.bot/developers/docs/md/errors.md and wait the Retry-After
seconds on 429. Use only the endpoints in those pages.Receive webhooks and check the signature
Read https://ttf.bot/developers/docs/md/webhooks.md, https://ttf.bot/developers/docs/md/webhook-signatures.md and
https://ttf.bot/developers/docs/md/webhook-retries.md.
Write a small Node.js (Express) server with one POST route for TTF webhooks. Verify X-TTF-Signature on the raw body
with the secret from the TTF_WEBHOOK_SECRET environment variable, refuse timestamps older than 5 minutes, answer 200
at once, drop duplicates by X-TTF-Delivery and log the event type. Test it with the signature vectors on that page.A typed client from the contract
Use the OpenAPI 3.1 contract at https://api.ttf.bot/openapi.json. Write a small typed TypeScript client for the
token endpoints I use (security, market, holders), with the key in the Authorization: Bearer header, retries only on
429 and 503 honouring Retry-After, and no other dependencies.Explain an error
The TTF API answered this error (pasted below). Read https://ttf.bot/developers/docs/md/errors.md and tell me in
plain words what it means, whether it cost credits, and what to change.End to end: a trending alert in your Telegram group and on your server
This example uses the API for data, a webhook for your own code, and a Telegram group for people. Only the first two need code.
Data from the API
Ask the assistant for the script of the first prompt. The call it makes looks like this:
curl -sS 'https://api.ttf.bot/v1/token/eth/0x6982508145454ce325ddbe47a25d4ec3d2311933/security' \ -H 'Authorization: Bearer YOUR_KEY'A webhook to your server
Run the receiver of the second prompt on a public https address. In the dashboard, tab Destinations, add that address and copy the signing secret (
whsec_..., shown once) intoTTF_WEBHOOK_SECRET. Code can do the same with a key that has webhook access: Manage webhooks from code.An alert
Tab Alerts: Trending tokens, pick the chains and filters (Trending alerts and filters), send it to your server, and press Send test alert. The test arrives as a
ping. Trending alerts need a paid plan or the trial (Plans).The same alert in a Telegram group, no code
Tab Destinations, Telegram, A group. The page gives you a one-time code; with the TTF bot already in the group, send the command it shows in the group, for example
/hooklink@TTFBotBot YOUR-ONE-TIME-CODEwith your own code at the end. Then Make an alert for it (Alerts in Telegram). You never create a bot and never give TTF a bot token: the TTF bot posts the messages.
Good to know
- Never paste your API key or a webhook secret into a chat with an assistant. Use
YOUR_KEYin the prompt and an environment variable in the code. - Telegram and Discord destinations are connected in the dashboard only: the API cannot create them, because only you can prove that a chat is yours.
- There is no official SDK package yet: an assistant writes plain HTTPS calls, or makes a client from the OpenAPI contract.
- Data calls cost credits (Credits and limits); webhook management calls and alerts do not.
- An assistant can be wrong. When its code and these pages disagree, these pages are right; the error page says what each error code means.
Start here
Plans, limits and paying
Free costs nothing: price alerts and light data. Bigger plans add trending, wallet and signal alerts, more destinations, more messages and more credits.
The plans
| Free | Starter | Pro | Scale | |
|---|---|---|---|---|
| Price per month | $0 | $49 | $200 | $600 |
| Alert kinds | price | all | all | all |
| Destinations (Telegram, Discord, webhook) | 1 | 3 | 10 | 25 |
| Alerts | 3 | 20 | 100 | 500 |
| Alert messages per month | 1,000 | 25,000 | 250,000 | 2,000,000 |
| Watched wallets | 10 | 500 | 2,500 | 10,000 |
| Credits per month | 500 | 25,000 | 100,000 | 250,000 |
| Credits per day | 500 | 5,000 | 8,000 | 25,000 |
| Credits per minute | 60 | 300 | 300 | 1,000 |
| Requests per second | 1 | 3 | 10 | 25 |
| API keys | 2 | 3 | 5 | 10 |
| Data groups | core, candles, resolve | all | all | all |
Your own numbers can differ from this table (for example during a trial, or with a special offer): the dashboard shows yours on the Overview and Usage tabs, with what you used today and this month.
What each line means
- Destinations: how many places alerts can go to. Every Telegram chat, Discord channel and https endpoint takes one.
- Alerts: how many alerts (rules) you can have. A wallet list of up to 1,000 wallets is one alert.
- Alert messages per month: messages sent to your destinations, counted from the day your plan period started. Test messages count too. A message we could not send costs nothing.
- Watched wallets: wallets that wallet alerts follow at the same time, counted once per chain and address.
- Data groups: which kinds of data your API key may read, and which alerts you can make. Free has price data
(
core), price candles and token search, so on Free you can make price alerts. Trending, wallet and signal alerts need a paid plan (or the trial). - Credits: the cost of data API calls (Credits and limits). Alerts do not use credits.
Trial
A new account can get a free trial with more credits and every kind of alert, no card needed. The dashboard shows when it ends; after that the account is on Free again unless you pick a plan.
How to pay
Open Billing
In the dashboard, tab Billing, pick a plan and how long you want it.
Pick how to pay
The page lists only the ways that are open right now. A card renews by itself each period until you cancel. The other ways (for example crypto, or Telegram Stars) pay once for the period you picked: nothing renews by itself: pay again before the period ends to keep the plan.
Done
The plan starts as soon as the payment is confirmed. Invoices are on the same tab.
Opened the dashboard inside Telegram? There only Telegram Stars can be offered (Telegram's rule for apps inside Telegram). Open it in a normal browser to see every way to pay.
When you go over a limit, or a plan ends
- Nothing is deleted. Alerts and destinations above the new limits are paused (the dashboard says Over your plan limit or Needs a bigger plan); the oldest ones keep working.
- When the monthly alert messages are used up, alerts stop until the next period (Monthly alerts used up).
- After an upgrade, paused alerts come back by themselves within a few minutes.
- Data API calls over a limit answer
429 rate_limitedand cost nothing (Credits and limits).
Alerts (no code)
Alerts: how they work
An alert watches something for you and sends a message the moment it happens: to your Telegram, your Discord or your own server. You set it up in the dashboard. No code needed.
Two parts: what and where
- The alert says what to watch: a price, the trending board or a wallet.
- The destination says where the message goes: Telegram, Discord or your own server. One destination can take many alerts.
Here is what a price alert looks like in Telegram:
🔔 Price alert DEMO · Ethereum Crossed above $2.00: now $2.04 Open · Scan via TTF
What you can watch
| Alert | You get a message when... | Read more |
|---|---|---|
| Price alerts | a token crosses your price, or moves up or down by your percent within a time window. | Price alerts |
| Trending tokens | a token enters TTF trending (what people scan with TTF right now), on the chains you pick and only when it passes your filters. | Trending alerts |
| Wallet alerts | a wallet you watch buys, sells, sends or receives tokens. | Wallet alerts |
| TTF signals | the TTF signals bot posts a new call, an all-time-high breakout or a trending signal. When the signal feed is not on yet, the dashboard says so next to the alert. | Signal rules |
Where it can go
| Destination | Good for | How |
|---|---|---|
| Telegram | Your own chat with the TTF bot, a group, or a channel you run. | Alerts in Telegram |
| Discord | Your DMs, or a channel of a server you manage. | Alerts in Discord |
| Your server | A server or app you run: a signed HTTPS call with all the data. | Webhooks |
In the dashboard's Destinations tab, a choice that says Not available right now is switched off for the moment; the others work.
Your first alert in 3 steps
Sign in
Open the dashboard and sign in with Telegram or your email. Free, no card.
Follow the guide
The Overview tab starts a short guide: pick a ready-made alert (Wallet alerts, Trending tokens, Price alerts or TTF signals), fill in the token or wallet, then pick where it goes. When your Telegram is linked, Use my Telegram sends alerts to your chat with the TTF bot in one tap.
Send a test
Press Send test alert. A test message arrives within a minute, and the page tells you in plain words if it did not.
Later, the tabs do the same with more choices: Alerts (make, edit, pause and delete alerts), Wallets (paste wallets) and Destinations (connect chats, change how messages look, see what was sent).
What the status of an alert means
| The dashboard says | What it means |
|---|---|
| On | Working: you get a message when it happens. |
| Paused | You paused it. Press Resume on the Alerts tab. |
| Destination paused | Its destination is paused or turned off: resume the destination. |
| Needs a bigger plan | Your plan does not include this kind of alert (any more). It comes back by itself after an upgrade. |
| Over your plan limit | You have more alerts than your plan allows: the newest ones rest. Delete one or upgrade. |
| Monthly alerts used up | This month's alert messages are used up. It goes on in the next period or after an upgrade. |
| Cannot run | A setting is no longer possible (for example a time window): edit it or delete it. |
| Address cannot be watched | An exchange, router or burn address: pause or delete this alert. |
| Not running | Saved, but it could not be switched on just now. Press Pause, then Resume; ask us if it stays like this. |
Good to know
- How many alerts, destinations and messages a month you get depends on your plan; on Free you can make price alerts (Plans).
- Telegram and Discord messages are never held back for later: one that could not be sent within 15 minutes is dropped, because an old alert is not useful.
- A Telegram or Discord destination receives at most 600 messages an hour; the rest of that hour is dropped and the delivery log says so.
- Alerts show facts, never advice: an alert never means a token is safe.
Alerts (no code)
Alerts in Telegram
Get your alerts as messages from the TTF bot: in your own chat with the bot, in a group, or in a channel you run. No server and no code.
Before you start
- A TTF developer account (free): sign in with Telegram or your email.
- Your Telegram linked to that account. It proves the chat is yours. Signed in with Telegram? Then it is linked already. Otherwise: tab Security, panel Telegram sign-in, press Link Telegram (the TTF bot sends you a code to type in). The connect steps also offer the button when it is needed.
- For a group or a channel: you are its creator or an administrator.
- A free destination on your plan (Free has one).
Connect it
Open Destinations
In the dashboard, tab Destinations, under Where should alerts go? pick Telegram. For your safety, we may ask you to sign in again first: connecting a chat needs a sign-in from the last 10 minutes.
Pick where
My Telegram (a private chat with the TTF bot), A group or A channel.
Confirm it in Telegram
The page gives you a link with a one-time code that works for 10 minutes:
- My Telegram: press Open Telegram. It opens your chat with
@TTFBotBot (it sends
/startwith the code for you). Tap Allow. - A group, three ways: Add the bot to a group (Telegram asks which group, adds the bot and sends the code
for you); or, when the bot is already there, copy the command the page shows and send it in the group, as yourself (with
"Remain anonymous" off). It looks like this, with your own code at the end:
/hooklink@TTFBotBot YOUR-ONE-TIME-CODE. Or Pick from my groups (a button in your chat with the bot lists the groups it is in). - A channel: press Open Telegram, tap Choose a channel, pick yours, and accept adding the bot as an admin that may post.
The page shows what was found (the chat's name, that you are an admin, that the bot can post). Press Continue.
- My Telegram: press Open Telegram. It opens your chat with
@TTFBotBot (it sends
Name it and pick what it takes
Back on the page: give it a name (only you see it), tick the alert types it takes (price, trending, wallet, signals; your plan decides which you can tick), and choose the options (below). Press Create destination.
Test it
Press Send a test message. Then Make an alert for it, or open Design the message to change how it looks.
Here is a trending alert in a Telegram group:
🔥 DEMO just entered trending · Ethereum Rank 3 · 12 scans Liquidity $62K · MC $480K · 1 h +38.5% Tax 0% / 5% · locked 100% · 900 holders Unknown: source code Passed your filters. Open · Scan via TTF
Options
- Send quietly: the message arrives without a notification sound.
- Scan button: a button under each message that opens the token in the TTF bot.
- Token page button: a button that opens the token's page on ttf.bot.
Change them any time: on the destination's card press Settings.
It keeps checking
Before it sends, and every few minutes, TTF checks that you are still an administrator of the chat and that the bot may still post there. If not, the destination stops and shows Needs attention with the reason and a button to fix it:
| The card says | What to do |
|---|---|
| You are no longer an admin of the chat. | Become an admin again (or ask the owner to connect it), then press Re-check. |
| The bot was removed from the chat. | Press Add the bot back, add it in Telegram, then Re-check. |
| The bot is blocked in that chat. | Unblock the TTF bot in Telegram, then Re-check. |
| The bot may not post there. | Give the bot the right to send messages (in a channel: to post), then Re-check. |
| The group was upgraded: connect it again. | Telegram turned the group into a new one: press Connect again. |
| The chat cannot be found any more. | The chat was deleted, or the bot cannot see it: connect another chat. |
The one-time code
- It works for 10 minutes and only once. A used or expired code does nothing: start again in the dashboard.
- Only you can use it: the bot checks that the Telegram account that sends it is the one linked to your TTF account, and that it is an admin of that chat. Anyone else who sees it in the group gets nothing from it.
- The bot deletes the command message in a group when it has the right to; otherwise delete it yourself.
- In a group with topics, you may send the command in any topic. Alerts are posted in the group's General topic.
Safety
- TTF never asks for a Telegram bot token. You do not make a bot in BotFather and you do not give us a chat id or a password: the alerts are posted by the TTF bot, @TTFBotBot. Anyone who asks you for a bot token "for TTF alerts" is not us.
- Only an admin can connect a chat, and only through the TTF bot: nobody can type in a chat id.
- When a destination is connected, the TTF bot sends you a private message about it with a Disconnect button (it works for 24 hours). Did not do it yourself? Press it: it signs your account out everywhere and removes the destination.
- Alerts never ping anyone: no
@all, no@name.
Stop it
On the destination's card: Pause stops alerts until you press Resume (nothing is saved up meanwhile). Disconnect removes the destination: it asks whether to delete its alerts or move them to another destination.
Every answer the bot can give while you connect, and what to do about it, is in the Telegram and Discord alerts guide.
Alerts (no code)
Alerts in Discord
Get your alerts in your Discord DMs or in a channel of a server you manage, posted by the TTF bot. No server and no code.
Before you start
- A TTF developer account (free), opened in a normal web browser (not inside Telegram): Discord sends you back to the same browser.
- For a server channel: you own the server, or have Administrator or Manage Server, or a role above the bot's role.
- For DMs: you share a server with the TTF bot and allow DMs from server members (Discord's rule for bots).
- A free destination on your plan.
Connect it
Open Destinations
In the dashboard, tab Destinations, under Where should alerts go? pick Discord. Then My DMs or A server channel.
Continue with Discord
Discord opens and asks you to approve. TTF reads your Discord name and your server list, nothing else, and does not keep the access. Back on the page, check the name: Yes, that is me.
Pick the server and channel
Servers you manage are listed. Not there yet? Press Add the bot, add it in Discord, come back and press Check again. Then pick the channel. A channel is missing when the bot cannot see it or post in it, when you cannot, or when it is age-restricted.
Name it and pick what it takes
Give it a name, tick the alert types, choose the options (below), press Create destination.
Test it
Press Send a test message, then Make an alert for it.
Options
- Use an embed (card look): the message shows as a card with a coloured edge. Embed colour: automatic (green when the price went up, red when it went down) or a fixed colour. A channel marked "no card look" does not let the bot embed links: there the plain message is sent.
- Send quietly, Scan button and Token page button: as in Telegram.
The message text is the same as in Telegram, turned into Discord's formatting by TTF (Design the message).
It keeps checking
Before it sends, and every few minutes, TTF checks that you still have the rights above and that the bot can still post.
If not, the destination stops and shows Needs attention: fix the channel's permissions (the bot needs View
Channel and Send Messages) and press Re-check. Alerts never ping anyone: @everyone,
@here and names are refused in messages.
Your Discord account
Your connected Discord account shows on the Destinations tab. Unlink my Discord account stops every Discord destination until you connect Discord again.
What TTF asks for
- Only your approval on Discord's own page. TTF never asks for a Discord bot token, a webhook URL or your password: the alerts are posted by the TTF bot.
- Discord destinations are switched on separately from Telegram: when the Discord choice says Not available right now, they are off for the moment; use Telegram or your own server meanwhile.
More help, in plain words: the Telegram and Discord alerts guide.
Alerts (no code)
Trending alerts and filters
Get a message the moment a token enters TTF trending, only on the chains you want and only when it passes your filters: liquidity, market cap, age, words in the name, tax, holders and more.
What "trending" means here
TTF trending is a board of the 30 tokens people scan most with TTF in the last few minutes. An alert fires when a token enters the board with at least your number of scans, at most 15 minutes after it entered and only for tokens that enter after you made the alert (the board that is already there never fires). It needs a plan with trending data (paid plans and the trial).
🔥 DEMO just entered trending · Ethereum Rank 3 · 12 scans Liquidity $62K · MC $480K · 1 h +38.5% Tax 0% / 5% · locked 100% · 900 holders Unknown: source code Passed your filters. Open · Scan via TTF
Set it up
Make the alert
Dashboard, tab Alerts, Trending tokens, Set up.
Pick a starting point
Everything (every token that enters trending), Fresh launches (under a day old, 10k+ liquidity, low tax), Bigger pools (100k+ liquidity, 1m+ market cap) or Strict checks (low tax, locked liquidity, spread-out holders). Then change anything.
Pick chains
One, several or all chains. A filter only applies on chains that have its value (table at the end).
Watch the preview
Try it on the board checks the last trending board with your filters, token by token, with the reason a token does not pass ("liquidity $9K, under $25K"). What arrives shows the message of the first token that passes.
Every filter
Empty means no limit. Money takes short forms: 25k, 1.5m. A token has 15 minutes after it enters
trending to pass: one that fails now can still pass a few minutes later.
| In the dashboard | In the API | What it does |
|---|---|---|
| Scans, at least | min_scans | TTF scans of the token on the board. The only setting you must fill in. |
| Only the top places | max_rank | Only tokens in the top places of the board (1 to 30). |
| Liquidity, USD | min_liquidity_usd / max_liquidity_usd | Money in the token's biggest pool, in US dollars. |
| Market cap, USD | min_market_cap_usd / max_market_cap_usd | Market cap in US dollars (the fully diluted value when no market cap is known). |
| Volume 24 h, at least | min_volume_24h_usd | Trading volume of the last 24 hours, in US dollars. |
| Price change 1 h, % | min_price_change_1h_pct / max_price_change_1h_pct | Price change of the last hour. Negative is a drop. |
| Buys 1 h, at least | min_buys_1h | Number of buys in the last hour. |
| Token age, hours | min_age_hours / max_age_hours | Age of the token's biggest pool. |
| Paired with | pair_with | The coin of the pool: the chain's own coin (native) or a stablecoin (stable). |
| Must contain one of | name_include | Words in the name or the symbol: at least one must be there. Up to 50 words of up to 32 characters, plain text. |
| Never contain | name_exclude | None of these words may be in the name or the symbol. |
| How words match | whole_words | Part of a word (the default: "cat" also finds "Bobcat") or Whole words only. Never case sensitive; accents and look-alike letters count as the plain letter. |
| Skip flagged honeypots | exclude_honeypot | Leaves out tokens the TTF buy and sell test flagged as a honeypot (you can buy, but not sell). |
| Buy tax, at most % | max_buy_tax_pct | Tax taken on a buy, measured by the TTF buy and sell test. |
| Sell tax, at most % | max_sell_tax_pct | Tax taken on a sell, measured the same way. |
| Liquidity locked or burned, at least % | min_locked_pct | Share of the pool that is locked or burned. |
| Holders, at least | min_holders | Number of wallets that hold the token. |
| Top 10 wallets hold at most % | max_top10_pct | Share of the supply held by the 10 biggest wallets. |
| Ownership renounced | require_renounced | The contract has no owner any more. |
| Source code verified | require_verified_source | The contract's source code is published and verified. |
| Mint authority off | require_mint_disabled | Solana: nobody can make more of the token. |
| Freeze authority off | require_freeze_disabled | Solana: nobody can freeze holders' tokens. |
| Launchpad | launchpad | Solana: only = launchpad tokens only; none = no launchpad detected by TTF (a token from a launchpad TTF could not recognise can still pass). |
| Has a website | require_website | The token lists a website. |
| Has an X account | require_x | The token lists an X account. |
| Has a Telegram group | require_telegram | The token lists a Telegram group. |
| Same token again after, Alerts per hour, at most, When a value is unknown | repeat / max_per_hour / unknown | How often: see the next table. |
Different values per chain
The filters apply to every chain you picked. Press a chain's tab to give it its own value (for example 50k liquidity on Ethereum, 10k on Solana) or no limit there. A chain tab only offers the filters that chain has.
How often
| Setting | What it does |
|---|---|
| Same token again after | Empty: once each time a token enters trending (it has to leave the board for 20 minutes to enter again). 1 hour, 6 hours or 24 hours: the same token again only after that long. Never: each token only once (remembered for 180 days). |
| Alerts per hour, at most | A cap over any 60 minutes, from 1 to 1,000. Tokens over the cap are skipped, not saved up. |
| When a value is unknown | Do not alert (the default): a filter whose value TTF does not know stops the alert. Alert and say so: the alert still goes out and its message lists the unknown values. Unknown is never counted as zero or as "passed". |
Where the values come from
Market values (liquidity, market cap, volume, price change, buys, age, the coin it is paired with, website and socials) are read for the board's tokens every time the board updates. Token checks (honeypot, tax, lock, holders, owner, source code, Solana authorities) come from the newest TTF scan of the token and count only while fresh: the buy and sell test 30 minutes, holders 6 hours, the lock 24 hours. A test that could not run is unknown, never a pass.
Not every chain has every value. A filter on a value the token's chain never has does not apply on that chain (the message says "not used on ..."):
| Values | Chains that have them |
|---|---|
| Scans, place on the board, name and symbol | Every chain |
| Liquidity, market cap, 24 h volume, 1 h price change, 1 h buys, age, pair coin, website, X, Telegram | Every chain except Story |
| Honeypot test, buy tax, sell tax | Every chain except Solana, TON, Tron, Sui, XRP Ledger |
| Liquidity locked or burned | Every chain except Tron, XRP Ledger |
| Holders, top 10 share | Ethereum, BNB Chain, Base, Arbitrum, Avalanche, Polygon, Optimism, Blast, Manta, Sonic, Solana, Tron |
| Ownership renounced | Every chain except Solana, TON, Tron, Sui, XRP Ledger |
| Source code verified | Ethereum, BNB Chain, Base, Arbitrum, Avalanche, Polygon, Optimism, Blast, Sonic |
| Mint authority, freeze authority, launchpad | Solana |
In the message
With filters, the standard message adds a market line, a checks line, the unknown values and "Passed your filters." Without filters it stays short:
🔥 DEMO just entered trending · Ethereum Rank 3 · 12 scans Open · Scan via TTF
Change the look in Design the message. A webhook gets the same values as data fields (Trending rules).
Passing your filters means only that: the numbers matched. It never means a token is safe.
Alerts (no code)
Wallet alerts
Get a message when a wallet you watch buys, sells, sends or receives tokens. Paste one wallet or a list of up to 1,000, with a name for each.
Add wallets
Open Wallets
Dashboard, tab Wallets, panel Add wallets.
Paste them
One wallet per line, optionally a name after it (up to 40 characters):
0x1111111111111111111111111111111111111111 Whale one 0x2222222222222222222222222222222222222222 Dev walletThe page marks lines it cannot read and duplicates before you save.
Pick the chain and what counts
The chain (or All EVMs, below), and the direction: Everything (buys, sells and transfers), Only tokens coming in or Only tokens going out. Optional: a Minimum value in USD (smaller transfers send nothing; with a minimum set, a transfer whose dollar value is not known sends nothing either).
Pick where it goes and press Start watching
The first alert can arrive within a minute of the next move.
The list is one alert, so 1,000 wallets use one alert of your plan; each wallet counts as a watched wallet (Plans). Rename or remove a wallet in the Watched wallets table.
All EVMs
Pick All EVMs as the chain and one alert watches the wallets on every EVM chain where wallet alerts are live, chains switched on later included. Each message says which chain it happened on. Solana and the other non-EVM chains are not part of it. The dashboard lists the live chains. On a few chains only coin moves are seen, not token transfers: the dashboard says which.
One swap, one message
A swap moves two tokens (you pay one, you get the other), and often more transfers on the way. In Telegram and Discord you get one message per swap: what was paid, what was received and the network fee.
👛 Whale one · Ethereum Swapped 0.5 ETH → 1250 DEMO Network fee 0.00042 ETH Transaction · Wallet · Scan via TTF
- A swap is a transaction the wallet itself sent that both paid and received. A transfer someone else made is shown as a transfer.
- When a sell pays out the chain's own coin, that amount is read from the transaction and shown with "≈".
- A plain transfer is one message per transfer:
👛 Whale one · Ethereum Received 1.25 DEMO (≈ $2.5K) Transaction · Wallet · Scan via TTF
- A failed transaction moved nothing, so it sends no message.
- An amount whose token decimals are unknown is left out rather than printed wrong.
- A custom message design that does not use the swap values (
is_swap,swap_sent,swap_received) keeps one message per transfer (Design the message). - Webhooks are not merged: your server gets one delivery per transfer, with the transaction id to group them (Wallet rules).
What cannot be watched
Exchange, router and burn addresses are refused: they move on every block. A wallet alert on a chain where wallet alerts are not live yet is saved, and the dashboard says it starts when the chain is switched on.
Alerts (no code)
Price alerts
Get a message when a token crosses your price, or when it pumps or dumps by your percent. Price alerts work on every plan, Free included.
Two kinds
| Kind | Fires when | Example |
|---|---|---|
| Crosses a price | The price goes up through your price (above) or down through it (below). Once per crossing; it is ready again after the price moved 0.5 % back. | "Tell me when PEPE goes above $0.00002." |
| Moves by a percent | The price changed by your percent within a time window: 15 minutes, 1 hour, 4 hours or 24 hours. A negative percent watches for a drop. After it fires it stays quiet for one window. | "Tell me when it drops 10 % within 1 hour." |
Set it up
Make the alert
Dashboard, tab Alerts, Price alerts, Set up.
Pick the token
The chain and the token's contract address (on Solana the mint address).
Pick crosses or moves
Type the price or the percent and window. You can switch an existing alert between the two kinds later with Edit.
Pick where it goes
Then send a test.
📈 Price move
DEMO · Ethereum
+4.5% in 1h: $1.95 → $2.04
Open
via TTFGood to know
- Prices are checked every few minutes, so a spike shorter than that can be missed.
- A new "crosses" alert first notes which side of your price the token is on and fires on the next crossing. Already past your price when you make it? Tick Also alert right away if the price is already past the level to be told at once.
- A "moves" alert needs half a window of price history first: a new 24 hour alert can fire after about 12 hours.
Alerts (no code)
Design the message
Every Telegram and Discord destination has its own look for each kind of alert: a ready-made look, or your own text with the values you pick.
Open the designer
Dashboard, tab Destinations, on a Telegram or Discord destination press Edit message (right after you connect one: Design the message). Each kind of alert has its own tab: price cross, price move, trending entry, wallet activity, signal and the test message.
Ready-made looks
Standard (the default, with links), Compact (one line) and Minimal (one line, no emoji). The preview on the right shows the message with an example event (Normal price, Very small price, Rising, Falling, With filters, Received, Sent ...), as Telegram or as Discord. The standard looks:
🔔 Price alert DEMO · Ethereum Crossed above $2.00: now $2.04 Open · Scan via TTF
🔔 DEMO crossed above $2.00 → $2.04 · eth via TTF
DEMO crossed above $2.00, now $2.04 (eth) via TTF
📉 Price move
DEMO · Ethereum
-4.5% in 1h: $2.14 → $2.04
Open
via TTF👛 0x0000…beef · Ethereum Sent 1.25 DEMO (≈ $2.5K) Transaction · Wallet · Scan via TTF
🟢 NEW Daily ATH ·STRONG📌 Demo Token (DEMO) 🔸 Ethereum · age 9d · uniswap 🚀 Broke ATH by +2.5% (prev ATH $18.86M · 2d ago) 💰 MC $19.33M · Liq $1.24M · Price $0.01933 📈 24h +31.4% · Vol $3.87M · B 4,210 / S 2,960 (1.42)0x000000000000000000000000000000000000deadPlan: if it holds 24h → enter · sell 50% at 2x · sell 50% every 3x after Token page · Scan DYOR / NFA via TTF
✅ TTF test message. Hello from TTF via TTF
Your own text
Press Customise and edit the text. The buttons above the box help: Insert value (a list of every value with an example), Insert logic, Bold, Italic, Code and Link to TTF. Then Save, or Save and send a test. History brings back one of your last 20 saved versions, Reset goes back to the standard look, and Copy to other kinds uses the same text for other alert kinds.
A small example for a price alert:
🔔 <b>{token_symbol}</b> {if is_up}up{else}down{/if} to {price|price}
{if rule_name}Alert: {rule_name}{/if}
<a href="{link_token}">Open on TTF</a>
The rules of the text
{name}prints a value.{name|format}prints it in another format (table below).{if name}...{/if}prints the middle only when the value exists or is true; add{else}...for the other case. Every optional value of the standard looks sits inside an{if}, so a missing value never leaves an empty line.- Formatting:
<b>bold,<i>italic,<u>underline,<s>strike,<code>and<pre>. Discord gets the same text in its own formatting. - Links:
<a href="{link_token}">text</a>. A link may only go to TTF and the block explorers TTF supports, so use the ready-made link values. - No mentions:
@everyone,@here,@nameand Discord's<@...>are refused, so an alert can never ping a whole group. - Length: the text up to 1,500 characters and 60 values. The longest message it can make must fit Telegram (3,900 characters) and Discord (1,900; 3,900 as a card): the designer warns you before you save.
- TTF adds a small via TTF line at the end of every message.
- Names of tokens and wallet labels are written by other people: TTF cleans them (no links, no pings, no hidden characters) before they are printed.
If a saved design cannot be built for one event (for example a value is far too long), that message goes out in the standard look instead, so you never miss an alert.
Every value
"As shown" values are already formatted by TTF and take no format. The examples come from the designer's example events.
| Value | What | Alerts | Type | Example |
|---|---|---|---|---|
{rule_name} | Alert name | every alert | text, cleaned | Demo alert |
{kind_label} | Alert type | every alert and the test | as shown | Price cross |
{chain} | Chain key | every alert | text | eth |
{chain_name} | Chain | every alert | as shown | Ethereum |
{time} | Time | every alert and the test | as shown | 2026-11-18 11:06 UTC |
{time_hm} | Time (short) | every alert and the test | as shown | 11:06 UTC |
{token} | Token address | every alert | text | 0x000000000000000000000000000000000000dead |
{token_short} | Token (short) | every alert | as shown | 0x0000…dead |
{token_symbol} | Token symbol | price cross, price move | text, cleaned | DEMO |
{symbol} | Symbol | trending, wallet, signal | text, cleaned | DEMO |
{name} | Token name | trending, signal | text, cleaned | Demo Token |
{price} | Price | price cross, price move, signal | number | $2.04 |
{threshold} | Threshold | price cross | number | $2.00 |
{side} | Direction | price cross | text | above |
{change_pct} | Change % | price cross, price move | number | 2 |
{window} | Window | price move | text | 1h |
{threshold_pct} | Target % | price move | number | 4 |
{base_price} | Base price | price move | number | $1.95 |
{base_time} | Base time | price move | as shown | 2026-11-18 10:06 UTC |
{rank} | Rank | trending | number | 3 |
{scans} | Scans | trending | number | 12 |
{min_scans} | Min scans | trending | number | 5 |
{first_seen} | First seen | trending | as shown | 2026-11-18 11:04 UTC |
{liquidity} | Liquidity | trending, signal | number | $62K |
{market_cap} | Market cap | trending, signal | number | $480K |
{change_1h} | Change 1 h % | trending | number | 38.5 |
{buy_tax} | Buy tax % | trending | number | 0 |
{sell_tax} | Sell tax % | trending | number | 5 |
{locked_pct} | Locked or burned % | trending | number | 100 |
{holders} | Holders | trending | number | 900 |
{top10_pct} | Top 10 share % | trending | number | 22.5 |
{market_line} | Market line | trending, signal | as shown | Liquidity $62K · MC $480K · 1 h +38.5% |
{checks_line} | Checks line | trending | as shown | Tax 0% / 5% · locked 100% · 900 holders |
{unknown_values} | Unknown values | trending | as shown | source code |
{filters_note} | Filters note | trending | as shown | Passed your filters. |
{wallet} | Wallet | wallet | text | 0x000000000000000000000000000000000000beef |
{wallet_short} | Wallet (short) | wallet | as shown | 0x0000…beef |
{wallet_label} | Wallet label | wallet | text, cleaned | - |
{amount} | Amount | wallet | as shown | 1.25 |
{swap_sent} | Swap: paid | wallet | as shown | - |
{swap_received} | Swap: received | wallet | as shown | - |
{network_fee} | Network fee | wallet | as shown | - |
{value_usd} | Value | wallet | number | $2.5K |
{direction} | Direction | wallet | text | in |
{from} | Sender | wallet | as shown | 0x0000…cafe |
{to} | Receiver | wallet | as shown | 0x0000…beef |
{tx} | Transaction | wallet | text | 0xabababababababababababababababababababababababababababababababab |
{signal_kind} | Signal | signal | text | breakout |
{signal_text} | Signal text | signal | text, cleaned | Demo signal: this is a sample |
{score} | Score | signal | number | 87 |
{multiple} | Multiple | signal | number | 1x |
{plan_text} | Plan | signal | text, cleaned | if it holds 24h → enter · sell 50% at 2x · sell 50% every 3x after |
{plan_short} | Plan (short) | signal | text, cleaned | if it holds 24h → enter · sell 50% at 2x · sell 50% every 3x after |
{called_at} | Called at | signal | as shown | 2026-11-18 11:06 UTC |
{tier_name} | Signal tier | signal | as shown | Daily ATH |
{grade} | Signal grade | signal | as shown | STRONG |
{dex} | DEX | signal | text, cleaned | uniswap |
{age} | Token age | signal | as shown | 9d |
{breakout_pct} | Above the old ATH % | signal | number | 2.5 |
{prev_ath} | Previous ATH (market cap) | signal | number | $18.86M |
{prev_ath_age} | Previous ATH age | signal | as shown | 2d |
{volume_24h} | Volume 24 h | signal | number | $3.87M |
{change_24h} | Change 24 h % | signal | number | 31.4 |
{buys_24h} | Buys 24 h | signal | number | 4,210 |
{sells_24h} | Sells 24 h | signal | number | 2,960 |
{buy_sell_ratio} | Buys / sells | signal | number | 1.42 |
{entry_mc} | Market cap at the call | signal | number | - |
{called_ago} | Called (ago) | signal | as shown | 0m |
{move_line} | Move line | signal | as shown | Broke ATH by +2.5% (prev ATH $18.86M · 2d ago) |
{activity_line} | Activity line | signal | as shown | 24h +31.4% · Vol $3.87M · B 4,210 / S 2,960 (1.42) |
{ping_text} | Test text | test | text, cleaned | Hello from TTF |
{endpoint_name} | Destination name | every alert and the test | text, cleaned | Demo destination |
{delivery_short} | Delivery id | every alert and the test | as shown | DEMO000P |
{link_token} | Token page | every alert | a link, for href | - |
{link_scan} | Scan in TTF Bot | every alert | a link, for href | - |
{link_tx} | Transaction | wallet | a link, for href | - |
{link_wallet} | Wallet page | wallet | a link, for href | - |
{is_up} | Price went up | price cross, price move | yes / no, for {if} | - |
{is_down} | Price went down | price cross, price move | yes / no, for {if} | - |
{is_out} | Sent from the wallet | wallet | yes / no, for {if} | - |
{is_in} | Received by the wallet | wallet | yes / no, for {if} | - |
{has_label} | Wallet has a label | wallet | yes / no, for {if} | - |
{is_swap} | The transaction is a swap | wallet | yes / no, for {if} | - |
{has_unknown} | Some values unknown | trending | yes / no, for {if} | - |
{is_breakout} | The signal is an ATH breakout | signal | yes / no, for {if} | - |
{is_call} | The signal is a call milestone | signal | yes / no, for {if} | - |
{has_trades} | Buys or sells are known | signal | yes / no, for {if} | - |
Formats
| Format | What it does | Works on | Example |
|---|---|---|---|
|usd | Dollars, short | numbers | 2550000 → $2.55M |
|price | A price, with small prices written out | numbers | 1.23e-05 → $0.00001230 |
|num | A number, short | numbers | 2550000 → 2.55M |
|int | A whole number with separators | numbers | 2550000 → 2,550,000 |
|pct | Percent, 2 decimals | numbers | 4.5 → 4.50% |
|pct1 | Percent, 1 decimal | numbers | 4.5 → 4.5% |
|pct0 | Percent, no decimals | numbers | 4.5 → 5% |
|signed | Percent with + or - | numbers | 4.5 → +4.5% |
|x | A multiple | numbers | 3 → 3x |
|raw | The value as it is | numbers, yes / no values | 4.5 → 4.5 |
|upper | Text in capitals | text | Demo → DEMO |
|lower | Text in small letters | text | Demo → demo |
|short | A long address, shortened | text | 0x000000000000000000000000000000000000dead → 0x00…dead |
|yesno | A true / false value as Yes or No | yes / no values | True → Yes |
|tick | A true / false value as a sign | yes / no values | False → ✅ |
Buttons and other options
On the destination's card, Settings: Send quietly (no notification sound), the Scan button (opens the token in the TTF bot) and the Token page button; for Discord also Use an embed (card look) and its colour. Buttons only link to TTF.
Alerts (no code)
Delivery log: did my alert arrive?
Every message to a destination is written in its delivery log for 30 days: when, which alert, and what happened. Here is what each word means and what to do.
Where to look
- Telegram and Discord: tab Destinations, open Delivery log on the destination's card.
- Your server (webhook): the same tab, the endpoint's log shows the status, the HTTP answer of your server and how long it took.
- From code: Delivery log of the API.
Status of a delivery
| Status | What it means |
|---|---|
pending | Sending now. |
delivered | It arrived. For your server: it answered with a 2xx status. |
retrying | Not delivered yet. TTF tries again by itself (your server: after 1 min, 5 min, 30 min, 2 h and 12 h). |
dead | Given up. The reason next to it says why: for example your server kept failing, the chat no longer accepts the bot, the alert was too old, or a plan limit. |
delayed_expired | Could not be tried in time because our sending side was busy. Not your fault and not counted. |
lost | Lost on our side. Not counted against your destination. |
Telegram and Discord: the reasons
A chat delivery that did not go out normally says why, in these words:
| Reason | What it means |
|---|---|
ok | Sent. |
tg_blocked | The bot is blocked in that chat. Unblock it in Telegram, then press Re-check. |
tg_kicked | The bot was removed from the chat. Add it back, then press Re-check. |
tg_chat_gone | Telegram cannot find that chat any more. Check that it still exists, then press Re-check. |
dc_50013 | Discord says the bot may not post there: fix the channel permissions and press Re-check. |
dc_50001 | Discord says the bot cannot see that channel: fix its permissions and press Re-check. |
dc_10003 | Discord cannot find that channel any more. Check it, then press Re-check. |
dc_50007 | Discord did not let the bot message you: allow DMs from server members, then press Re-check. |
stale | The message waited more than 15 minutes and was dropped, because old alerts are not useful. |
access_lost | TTF could not confirm that this chat is still yours. Press Re-check. |
rate_capped | This destination got more than 600 alerts in an hour, so this one was not sent. |
render_failed | The message could not be built from your design. Check it in Edit message. |
render_rejected | The chat app did not accept the message design. Check it in Edit message. |
too_long | The message was too long for the chat app. Shorten it in Edit message. |
provider_unavailable | The chat app was not answering. TTF tried again while the alert was still useful. |
tg_forbidden | Telegram says the bot cannot post: fix its permissions and press Re-check. |
dc_missing_access | Discord says the bot cannot see that channel: fix its permissions and press Re-check. |
dc_missing_perms | Discord says the bot may not post there: fix the channel permissions and press Re-check. |
dc_cannot_dm | Discord did not let the bot message you: share a server with it and allow DMs, then press Re-check. |
verify_unavailable | TTF could not check the chat just then (it never sends without checking). |
chat_off | Chat delivery was switched off for the moment. |
paced | Held for a moment to stay within the chat app's speed limit. |
timeout | The chat app took too long to answer. |
tg_floodwait | Telegram asked TTF to slow down. The message goes out shortly. |
tx_wait | Waiting a moment for the transaction details. |
tx_merge | Waiting for the message about the same swap. |
tx_failed | The transaction failed on-chain, so nothing moved and no message was sent. |
merged | This transfer was part of a swap that got one message. |
tg_<status> | Telegram refused the message with that status. Check the chat, then press Re-check. |
dc_<status> | Discord refused the message with that status. Check the channel, then press Re-check. |
Status of a destination
| The dashboard says | What it means |
|---|---|
| Working | Messages arrive. |
| Having trouble | The latest messages did not arrive. TTF keeps trying: look at the delivery log. |
| Paused | You paused it. Nothing is sent or saved up until you press Resume. |
| Turned off after failures | Messages kept failing for over an hour. Fix the cause, send a test, then Resume. |
| Over your plan limit | You have more destinations than your plan allows: delete one or upgrade. |
| Needs attention | Telegram or Discord: TTF could no longer confirm the chat is yours or that the bot may post. The card says why and offers the fix (Re-check, Add the bot back or Connect again). |
A test that does not arrive
- Wait a minute: a test is queued like a real alert.
- Open the delivery log: the reason is there.
- Telegram or Discord: press Re-check on the card; it says what is wrong with the chat.
- Your server: it must answer with a 2xx status within 10 seconds, on a public https address (Retries and limits).
Get started
Quickstart: your first call in 60 seconds
No coding needed to try it. Three steps, all in your browser.
Only want alerts in Telegram or Discord? You need no key and no code for that: see Alerts.
Sign in (free)
Open the developer dashboard and sign in with Telegram or your email. The Free plan costs nothing and needs no card. New accounts get a 14-day trial with more credits.
Get a key
On this page, press Use my account in the Try it panel: we make a key just for this page (it ends after 24 hours). Or make a permanent key in the dashboard: tab Overview, panel API keys, type a name and press Create key. Then paste it.
A key is like a password: keep it out of public code, screenshots and group chats.
Press Send
Open Price & market (every plan includes it, 1 credit). The form is already filled with a real token. Press Send and the answer appears right under it, with the credits it cost.
Now use it from your own code
Every page shows the same call ready to copy in cURL, Windows, PowerShell, Python, JavaScript, Node.js and Go. It always follows what you typed in the form. The simplest one, for a terminal:
curl -sS 'https://api.ttf.bot/v1/token/eth/0x6982508145454ce325ddbe47a25d4ec3d2311933/core' \
-H 'Authorization: Bearer YOUR_KEY'Swap YOUR_KEY for your key. On Windows, use the Windows CMD or PowerShell tab: they quote the
command the way Windows wants (single quotes do not work in CMD).
What to read next
Get started
Authentication: your API key
Every data call carries your API key in a header. That is all.
Send the key in the Authorization header:
Authorization: Bearer ttfk_xxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If your tool cannot set Authorization, use X-API-Key: YOUR_KEY instead. Never put the key in the
address (URL): addresses end up in logs and browser history.
Where do I get a key?
In the dashboard, tab Overview, panel API keys: type a name (for example
my bot) and press Create key. The full key is shown once: copy it then. Lost it? Revoke it and make
a new one, it takes a second. Your plan decides how many keys you can have.
Keep it safe
- Put it in an environment variable or a secret store, not in your code.
- Never in a web page or a Telegram mini app that users can open: anyone could read it there. Call the API from your server or your bot.
- Give each app its own key, so you can revoke one without stopping the others.
- Optional, under Options when you make the key: an end date (Expires), its own Monthly credit cap, and Allowed IPs (only your server's addresses may use it).
- A key can only read data, unless you gave it webhook access when you made it.
No key needed
Chains & prices and Service health are open and free.
Get started
Response format
Every answer has the same shape, so you write the parsing once.
A good answer is {"data": ..., "meta": ...}. data is what you asked for; meta
says what it cost:
{
"data": { "...": "..." },
"meta": { "cost": 1, "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6" }
}
An error is {"error": {"code", "message", "doc_url", "request_id"}}. The code never changes, so
your code can check it; see Errors.
Numbers and money
- Big dollar amounts (market cap, liquidity, volume) are whole numbers:
"market_cap_usd": 3870000000. - Prices and token amounts are text, so no digit is lost:
"usd": "0.0000092". Convert with a decimal type if you do maths. - Percentages are numbers and the key ends in
_pct. - Raw on-chain amounts (
value) are integers as text; divide by 10 to the powerdecimals.
Times
- A single time is ISO 8601 in UTC, key ending in
_at:"2026-11-28T10:00:00Z". - Times inside lists and events are unix milliseconds, key ending in
_ms(orts).
Missing values
A value we do not know is simply left out, never null. Lists that are the answer are always there,
also when empty. So check "is the key there?" before you use it.
Pages
Lists that have more pages return next_cursor. Send it back as cursor for the next page. No
next_cursor = last page.
Saving bandwidth
- Ask for compression with
Accept-Encoding: gzip(most tools do this by themselves). - Each data answer has an
ETag. Send it back asIf-None-Match: when nothing changed you get an empty304. It is billed like a normal answer, it only saves bytes. - Ask only the fields you need (
fields=price,security).
Get started
Credits and limits
Each call costs a few credits. Your plan gives you credits per month, per day and per minute.
What a call costs
Light data costs 1 credit, heavy data (security check, holders, bubble map) costs more. When the same data was asked
moments ago by anyone, it comes from the cache and costs less. Every answer tells you the exact price in
meta.cost and the X-Credits-Cost header.
| Group | What | Credits | From cache | From plan | Chains |
|---|---|---|---|---|---|
core | Price & market (core) | 1 | 1 | Free | all |
security | Security check | 4 | 1 | Starter | 33 chains |
holders | Top holders | 4 | 1 | Starter | eth, sol, base, bsc |
candles | Price candles | 1 | 1 | Free | all |
bubbles | Bubble map | 4 | 1 | Starter | 8 chains |
deployer | Deployer | 3 | 1 | Starter | 39 chains |
resolve | Chain and main pair | 1 | 1 | Free | all |
trending | Trending tokens | 2 | 1 | Starter | all |
wallet | Wallet activity | 3 | 1 | Starter | all |
signals | Signals | 1 | 1 | Starter | all |
resolve | Find a token | 1 | 1 | Free | all |
chains, health | Lists and status | 0 | 0 | no key | - |
Refused calls cost nothing: a bad request, a missing key, a limit hit, a busy API. When a data source fails, the paid groups keep a 1 credit attempt fee (we did ask the source).
Plans
| Free | Starter | Pro | Scale | |
|---|---|---|---|---|
| Price per month | $0 | $49 | $200 | $600 |
| Alert kinds | price | all | all | all |
| Destinations (Telegram, Discord, webhook) | 1 | 3 | 10 | 25 |
| Alerts | 3 | 20 | 100 | 500 |
| Alert messages per month | 1,000 | 25,000 | 250,000 | 2,000,000 |
| Watched wallets | 10 | 500 | 2,500 | 10,000 |
| Credits per month | 500 | 25,000 | 100,000 | 250,000 |
| Credits per day | 500 | 5,000 | 8,000 | 25,000 |
| Credits per minute | 60 | 300 | 300 | 1,000 |
| Requests per second | 1 | 3 | 10 | 25 |
| API keys | 2 | 3 | 5 | 10 |
| Data groups | core, candles, resolve | all | all | all |
Your own numbers (they can differ from this table, for example during a trial) are in the dashboard, together with what you used today and this month.
Hitting a limit
Over a limit you get 429 rate_limited with a Retry-After header in seconds. Wait that long and
try again. Every answer to a valid key also carries X-RateLimit-Limit, X-RateLimit-Remaining and
X-RateLimit-Reset (credits per minute), so your code can slow down before it hits the wall.
Tokens
Full token report
/v1/token/{chain}/{address}
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.
A refused call costs nothing; a failed one costs 1 credit (the attempt fee).
- New here? Start with
fields=core: price and market data, 1 credit, on every plan. Addsecurity(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 id.
Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).
Query parameters
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.
More
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).
Candle interval (only with the candles group). Default 15m.
Holders rows (only with the holders group), 1-30. Default 20.
What you get back
A 200 answer is {"data", "meta"} (TokenAnswer). 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.
data
bubblesobject (or a group error)The bubbles group (4 credits live, 1 cached).
26 fields inside
clustersarray of objectsalwaysThe groups, biggest first.
11 fields inside
holdersarray of objectsalwaysThe wallets of the group.
6 fields inside
addressstringalwaysWallet. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
pctnumberalwaysShare of the supply it holds. Percent (5.2 = 5.2 %).
balancestringTokens it holds (human units). Decimal string (never a float, no exponent).
labelstringA public name of the wallet (an exchange, a contract) when known. Third-party text: escape it.
marksarray of stringsBehaviour marks of the wallet. Known values:
sniper,bundler,insider,dev(more may come: handle unknown ones).tagsarray of stringsTags 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).
idintegeralwaysGroup number in this answer.
sizeintegeralwaysWallets in the group.
pctnumberShare of the supply the group holds. Percent (5.2 = 5.2 %).
tagsarray of stringsTags 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).
modestringalwaysclusters = linked groups were found; holders = no links known, the top holders are shown as one group (never "linked"). One of:
clusters,holders.statsobjectTotals over the map (a value the source does not give is absent).
10 fields inside
bundlers_pctnumberShare held by bundler wallets. Percent (5.2 = 5.2 %).
dev_pctnumberShare held by the developer. Percent (5.2 = 5.2 %).
half_supply_walletsintegerHow few wallets hold half the supply.
in_view_pctnumberShare of the supply the wallets on the map hold. Percent (5.2 = 5.2 %).
insiders_pctnumberShare held by insider wallets. Percent (5.2 = 5.2 %).
largest_pctnumberShare of the biggest single wallet. Percent (5.2 = 5.2 %).
linked_groupsintegerLinked groups found.
snipers_pctnumberShare held by sniper wallets. Percent (5.2 = 5.2 %).
top10_pctnumberShare of the 10 biggest wallets. Percent (5.2 = 5.2 %).
walletsintegerWallets on the map.
tag_textmap of stringsWhat each tag means, keyed by tag.
total_cluster_pctnumberShare of the supply held by all linked groups together. Percent (5.2 = 5.2 %).
candlesobject (or a group error)The candles group (1 credits live, 1 cached).
columns
candlesarray of rowsalwaysThe candles, oldest first.
columns
# Column Type Meaning 0 time_msinteger Candle open time. Unix time in milliseconds. 1 open_usdstring Open price in US dollars. Decimal string (never a float, no exponent). 2 high_usdstring High price in US dollars. Decimal string (never a float, no exponent). 3 low_usdstring Low price in US dollars. Decimal string (never a float, no exponent). 4 close_usdstring Close price in US dollars. Decimal string (never a float, no exponent). 5 volume_usdinteger Volume of the candle. Whole US dollars (integer).
columnsarray of stringsalwaysThe 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"].intervalstringalwaysThe candle interval. One of:
1m,5m,15m,1h,4h,1d.change_pctnumberPrice change from the first candle's open to the last close. Percent (5.2 = 5.2 %).
pairstringThe pool the candles are from.
coreobject (or a group error)The core group (1 credits live, 1 cached).
24 fields inside
tokenobjectalwaysWhich token this is (always kept, whatever
fieldsasks).4 fields inside
addressstringalwaysToken address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
chainstringalwaysChain id (GET /v1/chains).
namestringToken name, as the market lists it.
symbolstringTicker, as the market lists it.
liquidityobjectThe main pool.
4 fields inside
dexstringDEX of the main pool ("uniswap", "raydium", ...).
pairstringPair (pool) address of the main pool.
pair_created_atstring (date-time)When the main pool was created. ISO-8601 UTC ("2026-11-28T10:00:00Z").
usdintegerLiquidity of the main pool. Whole US dollars (integer).
marketobjectMarket size.
5 fields inside
market_cap_usdintegerMarket cap (or fully diluted value when the market reports only that). Whole US dollars (integer).
txns_24hobjectTrades over the last 24 hours.
2 fields inside
buysintegeralwaysBuy trades.
sellsintegeralwaysSell trades.
volume_24h_usdintegerTraded volume over the last 24 hours. Whole US dollars (integer).
priceobjectThe price.
6 fields inside
change_pctobjectPrice change per window (percent). A window the market does not report is absent.
4 fields inside
h1numberPrice change over the last hour. Percent (5.2 = 5.2 %).
h24numberPrice change over the last 24 hours. Percent (5.2 = 5.2 %).
h6numberPrice change over the last 6 hours. Percent (5.2 = 5.2 %).
m5numberPrice change over the last 5 minutes. Percent (5.2 = 5.2 %).
usdstringPrice of one token in US dollars. Decimal string (never a float, no exponent).
socialsmap of stringsThe project's links, keyed by site ("website", "twitter", "telegram", ...). Only https URLs.
deployerobject (or a group error)The deployer group (3 credits live, 1 cached).
3 fields inside
addressstringalwaysDeployer wallet (0x + 40 hex).
created_atstring (date-time)When the contract was created. ISO-8601 UTC ("2026-11-28T10:00:00Z").
txstringThe creation transaction hash.
holdersobject (or a group error)The holders group (4 credits live, 1 cached).
7 fields inside
holdersarray of objectsalwaysThe top holders (
limitrows, default 20).4 fields inside
addressstringalwaysHolder wallet. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
amountstringTokens it holds (human units: decimals applied). Decimal string (never a float, no exponent).
freshbooleantrue = a fresh wallet (new, little history): a common sign of insiders or bundles.
pctnumberShare of the supply it holds. Percent (5.2 = 5.2 %).
top10_pctnumberalwaysShare of the supply the 10 biggest holders own. Percent (5.2 = 5.2 %).
holder_countintegerNumber of holders (when the source reports it).
resolveobject (or a group error)The resolve group (1 credits live, 1 cached).
9 fields inside
addressstringalwaysToken address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
chainstringalwaysChain id.
listedbooleanalwaystrue = a market lists the token; false = no market lists it (then there is no pair).
dexstringDEX of the main pair.
liquidity_usdintegerSymbol / name search only (always there): liquidity over the token's pairs. Whole US dollars (integer).
namestringToken name.
pairstringMain pair (pool) address. A listed token can lack it (unknown).
symbolstringTicker.
volume_24h_usdintegerSymbol / name search only (always there): 24 h volume over the token's pairs. Whole US dollars (integer).
securityobject (or a group error)The security group (4 credits live, 1 cached).
37 fields inside
completebooleanalwaystrue = every part of the scan answered. false = see missing; the answer is then not a rating.
missingarray of stringsalwaysThe 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,holdersto 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).checksarray of objectsalways*Every check the scan ran, with its outcome.
4 fields inside
idstringalwaysStable id of the check. Known values:
honeypot,tax,lp_lock,mint,freeze,owner,source,contract,holders,liquidity(more may come: handle unknown ones).labelstringalwaysThe check in words.
statestringalwaysok, warn, bad, or na (not answered). One of:
ok,warn,bad,na.valuestringWhat it found, in words ("0% / 0%", "top 10: 31%").
flagsarray of objectsalways*Findings, worst first. Empty = nothing found.
4 fields inside
idstringalwaysStable 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).severitystringalwayscritical (a red flag), warn (risky), info (good to know). One of:
critical,warn,info.titlestringalwaysThe finding in a few words.
detailstringOne more sentence about it.
verdictobjectalways*The one-line answer.
5 fields inside
knownbooleanalwaystrue = enough checks answered to rate the token; false = not a rating, check it yourself.
labelstringalwaysThe verdict in words ("No honeypot, no red flags", "Honeypot", "2 warnings", ...).
levelstringalwaysok = nothing bad found, warn = look closer, danger = red flag (honeypot, critical finding). One of:
ok,warn,danger.reasonsarray of stringsalwaysShort reasons behind the verdict (at most a few), most important first.
sellablebooleantrue = the sell simulation passed, false = it failed (honeypot). Absent = not simulated.
contractobjectContract facts (true / false; unknown = absent).
5 fields inside
freeze_authoritybooleanSolana: true = the freeze authority is still set (wallets can be frozen).
mint_authoritybooleanSolana: true = the mint authority is still set (more tokens can be created).
owner_renouncedbooleantrue = nobody owns the contract any more.
proxybooleantrue = the contract is a proxy (its code can be swapped).
verified_sourcebooleantrue = the source code is verified on the explorer.
lp_lockobjectIs the liquidity locked or burned?
5 fields inside
burned_pctnumberShare of the liquidity that is burned. Percent (5.2 = 5.2 %).
lockedbooleantrue = (part of) the liquidity is locked or burned.
locked_pctnumberShare of the liquidity that is locked. Percent (5.2 = 5.2 %).
lockerstringWho holds the lock (a locker service or contract).
unlock_in_daysnumberDays until the lock ends.
scoreintegerSafety score 0-100 (higher is safer). Absent when the answer is not a rating (verdict.known false or something missing).
taxobjectTrading taxes from the buy / sell simulation.
5 fields inside
buy_pctnumberBuy tax. Percent (5.2 = 5.2 %).
honeypotbooleantrue = buying works but selling fails.
max_tx_amountstringLargest amount one transaction may move, in tokens (absent = no limit found). Decimal string (never a float, no exponent).
sell_pctnumberSell tax. Percent (5.2 = 5.2 %).
transfer_pctnumberTax on a plain transfer between wallets. Percent (5.2 = 5.2 %).
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Token data by field groups
{
"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"
}
}No fields: the core group (price, market, liquidity, socials), 1 credit.
{
"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"
}
}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).
{
"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"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No data is available for this token.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}refused: Token cannot be scanned
{
"error": {
"code": "refused",
"doc_url": "https://ttf.bot/docs/errors/#refused",
"message": "This token cannot be scanned.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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.
Tokens
Security check
/v1/token/{chain}/{address}/security
The honeypot and tax test, liquidity lock, owner powers and red flags of a token, with a score out of 100 and a one-line verdict. This is the same check the TTF bot runs in Telegram.
A refused call costs nothing; a failed one costs 1 credit (the attempt fee).
verdict.levelisok,warnordanger: use it for a quick green / yellow / red badge.- When
completeis false, some checks could not run (seemissing); never show such an answer as a final rating.
Exact rules
Is it safe to touch? TTF's security scan (honeypot simulation, taxes, liquidity lock, ownership, source analysis, holder concentration), narrowed to what this group needs. An incomplete answer is never a rating: check complete / missing. fields=tax (or verdict, score, flags, checks, lp_lock, contract) narrows it; complete and missing are always kept.
One group (core, security, holders, candles, bubbles, deployer, resolve) or one field of a group (price, market, liquidity, tax ...). data is that group's answer (only the field, for a field). Costs that group's credits.
Parameters
Path parameters
Chain id.
Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).
What you get back
A 200 answer is {"data", "meta"} (TokenGroupAnswer). 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.
data
completebooleanalwaystrue = every part of the scan answered. false = see missing; the answer is then not a rating.
missingarray of stringsalwaysThe 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,holdersto 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).checksarray of objectsalways*Every check the scan ran, with its outcome.
4 fields inside
idstringalwaysStable id of the check. Known values:
honeypot,tax,lp_lock,mint,freeze,owner,source,contract,holders,liquidity(more may come: handle unknown ones).labelstringalwaysThe check in words.
statestringalwaysok, warn, bad, or na (not answered). One of:
ok,warn,bad,na.valuestringWhat it found, in words ("0% / 0%", "top 10: 31%").
flagsarray of objectsalways*Findings, worst first. Empty = nothing found.
4 fields inside
idstringalwaysStable 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).severitystringalwayscritical (a red flag), warn (risky), info (good to know). One of:
critical,warn,info.titlestringalwaysThe finding in a few words.
detailstringOne more sentence about it.
verdictobjectalways*The one-line answer.
5 fields inside
knownbooleanalwaystrue = enough checks answered to rate the token; false = not a rating, check it yourself.
labelstringalwaysThe verdict in words ("No honeypot, no red flags", "Honeypot", "2 warnings", ...).
levelstringalwaysok = nothing bad found, warn = look closer, danger = red flag (honeypot, critical finding). One of:
ok,warn,danger.reasonsarray of stringsalwaysShort reasons behind the verdict (at most a few), most important first.
sellablebooleantrue = the sell simulation passed, false = it failed (honeypot). Absent = not simulated.
contractobjectContract facts (true / false; unknown = absent).
5 fields inside
freeze_authoritybooleanSolana: true = the freeze authority is still set (wallets can be frozen).
mint_authoritybooleanSolana: true = the mint authority is still set (more tokens can be created).
owner_renouncedbooleantrue = nobody owns the contract any more.
proxybooleantrue = the contract is a proxy (its code can be swapped).
verified_sourcebooleantrue = the source code is verified on the explorer.
lp_lockobjectIs the liquidity locked or burned?
5 fields inside
burned_pctnumberShare of the liquidity that is burned. Percent (5.2 = 5.2 %).
lockedbooleantrue = (part of) the liquidity is locked or burned.
locked_pctnumberShare of the liquidity that is locked. Percent (5.2 = 5.2 %).
lockerstringWho holds the lock (a locker service or contract).
unlock_in_daysnumberDays until the lock ends.
scoreintegerSafety score 0-100 (higher is safer). Absent when the answer is not a rating (verdict.known false or something missing).
taxobjectTrading taxes from the buy / sell simulation.
5 fields inside
buy_pctnumberBuy tax. Percent (5.2 = 5.2 %).
honeypotbooleantrue = buying works but selling fails.
max_tx_amountstringLargest amount one transaction may move, in tokens (absent = no limit found). Decimal string (never a float, no exponent).
sell_pctnumberSell tax. Percent (5.2 = 5.2 %).
transfer_pctnumberTax on a plain transfer between wallets. Percent (5.2 = 5.2 %).
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
The security group
{
"data": {
"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": {
"cost": 4,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No data is available for this token.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}refused: Token cannot be scanned
{
"error": {
"code": "refused",
"doc_url": "https://ttf.bot/docs/errors/#refused",
"message": "This token cannot be scanned.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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.
Tokens
Price and market data
/v1/token/{chain}/{address}/core
Price in US dollars, market cap, liquidity, 24 h volume and buys / sells, price change over 5 min to 24 h, and the project's socials. Cheap and fast: 1 credit.
A refused call costs nothing; a failed one costs 1 credit (the attempt fee).
- Want just the price? Ask the field instead of the group:
/v1/token/eth/<address>/price. It costs the same, the answer is smaller.
Exact rules
The market basics of a token: one DEX market lookup (cheap, fast, no scan). Use it for prices, market cap and liquidity; fields=price (or market, liquidity, socials, token) narrows it.
One group (core, security, holders, candles, bubbles, deployer, resolve) or one field of a group (price, market, liquidity, tax ...). data is that group's answer (only the field, for a field). Costs that group's credits.
Parameters
Path parameters
Chain id.
Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).
What you get back
A 200 answer is {"data", "meta"} (TokenGroupAnswer). 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.
data
tokenobjectalwaysWhich token this is (always kept, whatever
fieldsasks).4 fields inside
addressstringalwaysToken address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
chainstringalwaysChain id (GET /v1/chains).
namestringToken name, as the market lists it.
symbolstringTicker, as the market lists it.
liquidityobjectThe main pool.
4 fields inside
dexstringDEX of the main pool ("uniswap", "raydium", ...).
pairstringPair (pool) address of the main pool.
pair_created_atstring (date-time)When the main pool was created. ISO-8601 UTC ("2026-11-28T10:00:00Z").
usdintegerLiquidity of the main pool. Whole US dollars (integer).
marketobjectMarket size.
5 fields inside
market_cap_usdintegerMarket cap (or fully diluted value when the market reports only that). Whole US dollars (integer).
txns_24hobjectTrades over the last 24 hours.
2 fields inside
buysintegeralwaysBuy trades.
sellsintegeralwaysSell trades.
volume_24h_usdintegerTraded volume over the last 24 hours. Whole US dollars (integer).
priceobjectThe price.
6 fields inside
change_pctobjectPrice change per window (percent). A window the market does not report is absent.
4 fields inside
h1numberPrice change over the last hour. Percent (5.2 = 5.2 %).
h24numberPrice change over the last 24 hours. Percent (5.2 = 5.2 %).
h6numberPrice change over the last 6 hours. Percent (5.2 = 5.2 %).
m5numberPrice change over the last 5 minutes. Percent (5.2 = 5.2 %).
usdstringPrice of one token in US dollars. Decimal string (never a float, no exponent).
socialsmap of stringsThe project's links, keyed by site ("website", "twitter", "telegram", ...). Only https URLs.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
The core group
{
"data": {
"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"
}
}/price: only the price field (plus the token identity) of the core group.
{
"data": {
"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"
}
},
"meta": {
"cost": 1,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No data is available for this token.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}refused: Token cannot be scanned
{
"error": {
"code": "refused",
"doc_url": "https://ttf.bot/docs/errors/#refused",
"message": "This token cannot be scanned.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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.
Tokens
Top holders
/v1/token/{chain}/{address}/holders
The biggest wallets of a token with their share of the supply, the top 10 total and the holder count. fresh marks new wallets that only ever got this token.
A refused call costs nothing; a failed one costs 1 credit (the attempt fee).
- A high
top10_pctmeans a few wallets can move the price a lot.
Exact rules
Who holds the token: the top holders, biggest first.
One group (core, security, holders, candles, bubbles, deployer, resolve) or one field of a group (price, market, liquidity, tax ...). data is that group's answer (only the field, for a field). Costs that group's credits.
Parameters
Path parameters
Chain id.
Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).
Query parameters
Holders rows (only with the holders group), 1-30. Default 20.
What you get back
A 200 answer is {"data", "meta"} (TokenGroupAnswer). 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.
data
holdersarray of objectsalwaysThe top holders (
limitrows, default 20).4 fields inside
addressstringalwaysHolder wallet. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
amountstringTokens it holds (human units: decimals applied). Decimal string (never a float, no exponent).
freshbooleantrue = a fresh wallet (new, little history): a common sign of insiders or bundles.
pctnumberShare of the supply it holds. Percent (5.2 = 5.2 %).
top10_pctnumberalwaysShare of the supply the 10 biggest holders own. Percent (5.2 = 5.2 %).
holder_countintegerNumber of holders (when the source reports it).
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
/holders?limit=2: the top holders.
{
"data": {
"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
},
"meta": {
"cost": 4,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No data is available for this token.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}refused: Token cannot be scanned
{
"error": {
"code": "refused",
"doc_url": "https://ttf.bot/docs/errors/#refused",
"message": "This token cannot be scanned.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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.
Tokens
Price candles (chart)
/v1/token/{chain}/{address}/candles
Open, high, low, close and volume of the token's main pool, ready for a chart. Pick the candle size with interval.
A refused or failed call costs nothing.
- Each candle is a short list in the order of
columns: time in unix milliseconds, then the four prices as text (so no digits are lost), then the volume in whole dollars. - Quiet tokens only have candles for minutes with trades: draw the gaps as flat candles.
Exact rules
Price candles (OHLCV) of the main pool, oldest first. Quiet periods without trades may be missing.
One group (core, security, holders, candles, bubbles, deployer, resolve) or one field of a group (price, market, liquidity, tax ...). data is that group's answer (only the field, for a field). Costs that group's credits.
Parameters
Path parameters
Chain id.
Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).
Query parameters
Candle interval (only with the candles group). Default 15m.
What you get back
A 200 answer is {"data", "meta"} (TokenGroupAnswer). 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.
data
candlesarray of rowsalwaysThe candles, oldest first.
columns
# Column Type Meaning 0 time_msinteger Candle open time. Unix time in milliseconds. 1 open_usdstring Open price in US dollars. Decimal string (never a float, no exponent). 2 high_usdstring High price in US dollars. Decimal string (never a float, no exponent). 3 low_usdstring Low price in US dollars. Decimal string (never a float, no exponent). 4 close_usdstring Close price in US dollars. Decimal string (never a float, no exponent). 5 volume_usdinteger Volume of the candle. Whole US dollars (integer).
columnsarray of stringsalwaysThe 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"].intervalstringalwaysThe candle interval. One of:
1m,5m,15m,1h,4h,1d.change_pctnumberPrice change from the first candle's open to the last close. Percent (5.2 = 5.2 %).
pairstringThe pool the candles are from.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
The candles group
{
"data": {
"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"
},
"meta": {
"cost": 1,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No data is available for this token.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}refused: Token cannot be scanned
{
"error": {
"code": "refused",
"doc_url": "https://ttf.bot/docs/errors/#refused",
"message": "This token cannot be scanned.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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.
Tokens
Bubble map (linked wallets)
/v1/token/{chain}/{address}/bubbles
Groups of top holders that are linked to each other (they funded each other or trade together), with the share each group holds. The data behind a bubble map picture.
A refused call costs nothing; a failed one costs 1 credit (the attempt fee).
modeisclusterswhen linked groups were found, andholderswhen the map shows the top holders as one group (big tokens are often not mapped). Never call the second one "linked".
Exact rules
The bubble map: linked holder groups (wallets funded from the same source), or the top holders as one group when no links are known.
One group (core, security, holders, candles, bubbles, deployer, resolve) or one field of a group (price, market, liquidity, tax ...). data is that group's answer (only the field, for a field). Costs that group's credits.
Parameters
Path parameters
Chain id.
Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).
What you get back
A 200 answer is {"data", "meta"} (TokenGroupAnswer). 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.
data
clustersarray of objectsalwaysThe groups, biggest first.
11 fields inside
holdersarray of objectsalwaysThe wallets of the group.
6 fields inside
addressstringalwaysWallet. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
pctnumberalwaysShare of the supply it holds. Percent (5.2 = 5.2 %).
balancestringTokens it holds (human units). Decimal string (never a float, no exponent).
labelstringA public name of the wallet (an exchange, a contract) when known. Third-party text: escape it.
marksarray of stringsBehaviour marks of the wallet. Known values:
sniper,bundler,insider,dev(more may come: handle unknown ones).tagsarray of stringsTags 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).
idintegeralwaysGroup number in this answer.
sizeintegeralwaysWallets in the group.
pctnumberShare of the supply the group holds. Percent (5.2 = 5.2 %).
tagsarray of stringsTags 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).
modestringalwaysclusters = linked groups were found; holders = no links known, the top holders are shown as one group (never "linked"). One of:
clusters,holders.statsobjectTotals over the map (a value the source does not give is absent).
10 fields inside
bundlers_pctnumberShare held by bundler wallets. Percent (5.2 = 5.2 %).
dev_pctnumberShare held by the developer. Percent (5.2 = 5.2 %).
half_supply_walletsintegerHow few wallets hold half the supply.
in_view_pctnumberShare of the supply the wallets on the map hold. Percent (5.2 = 5.2 %).
insiders_pctnumberShare held by insider wallets. Percent (5.2 = 5.2 %).
largest_pctnumberShare of the biggest single wallet. Percent (5.2 = 5.2 %).
linked_groupsintegerLinked groups found.
snipers_pctnumberShare held by sniper wallets. Percent (5.2 = 5.2 %).
top10_pctnumberShare of the 10 biggest wallets. Percent (5.2 = 5.2 %).
walletsintegerWallets on the map.
tag_textmap of stringsWhat each tag means, keyed by tag.
total_cluster_pctnumberShare of the supply held by all linked groups together. Percent (5.2 = 5.2 %).
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
The bubbles group
{
"data": {
"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
},
"meta": {
"cost": 4,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No data is available for this token.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}refused: Token cannot be scanned
{
"error": {
"code": "refused",
"doc_url": "https://ttf.bot/docs/errors/#refused",
"message": "This token cannot be scanned.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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.
Tokens
Deployer
/v1/token/{chain}/{address}/deployer
The wallet that created the token contract, the creation transaction and when it happened. EVM chains only.
A refused call costs nothing; a failed one costs 1 credit (the attempt fee).
- Combine it with Wallet activity to see what the deployer did next.
Exact rules
Who deployed the contract (EVM chains).
One group (core, security, holders, candles, bubbles, deployer, resolve) or one field of a group (price, market, liquidity, tax ...). data is that group's answer (only the field, for a field). Costs that group's credits.
Parameters
Path parameters
Chain id.
Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).
What you get back
A 200 answer is {"data", "meta"} (TokenGroupAnswer). 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.
data
addressstringalwaysDeployer wallet (0x + 40 hex).
created_atstring (date-time)When the contract was created. ISO-8601 UTC ("2026-11-28T10:00:00Z").
txstringThe creation transaction hash.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
The deployer group
{
"data": {
"address": "0xd1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1",
"created_at": "2023-04-14T19:05:11Z",
"tx": "0x5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d"
},
"meta": {
"cost": 3,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No data is available for this token.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}refused: Token cannot be scanned
{
"error": {
"code": "refused",
"doc_url": "https://ttf.bot/docs/errors/#refused",
"message": "This token cannot be scanned.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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.
Tokens
One field or group
/v1/token/{chain}/{address}/{group}
One group or one field of a token as its own call: /security before you buy, /price for a ticker bot, /holders for a top-holders view, /candles for a chart. Same answer for everyone for a few seconds (shared cache): polling faster than that only costs credits.
A refused call costs nothing; a failed one costs 1 credit (the attempt fee).
- Fields you can ask: the groups (
core,security,holders,candles,bubbles,deployer,resolve) and single fields such asprice,market,liquidity,taxorverdict. - A field costs the credits of its group.
Exact rules
One group (core, security, holders, candles, bubbles, deployer, resolve) or one field of a group (price, market, liquidity, tax ...). data is that group's answer (only the field, for a field). Costs that group's credits.
Parameters
Path parameters
Chain id.
Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).
One group, or one field of a group (see the fields parameter of GET /v1/token/{chain}/{address}). data is that group's answer, or only the field.
Groups, one per call: 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).
Query parameters
Candle interval (only with the candles group). Default 15m.
Holders rows (only with the holders group), 1-30. Default 20.
What you get back
A 200 answer is {"data", "meta"} (TokenGroupAnswer). 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.
data
The market basics of a token: one DEX market lookup (cheap, fast, no scan). Use it for prices, market cap and liquidity;
fields=price(or market, liquidity, socials, token) narrows it.Is it safe to touch? TTF's security scan (honeypot simulation, taxes, liquidity lock, ownership, source analysis, holder concentration), narrowed to what this group needs. An incomplete answer is never a rating: check complete / missing.
fields=tax(or verdict, score, flags, checks, lp_lock, contract) narrows it; complete and missing are always kept.Who holds the token: the top holders, biggest first.
Price candles (OHLCV) of the main pool, oldest first. Quiet periods without trades may be missing.
The bubble map: linked holder groups (wallets funded from the same source), or the top holders as one group when no links are known.
Who deployed the contract (EVM chains).
Where a token trades.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
One group or field of a token
{
"data": {
"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": [
"security"
],
"cost": 1,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}/holders?limit=2: the top holders.
{
"data": {
"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
},
"meta": {
"cost": 4,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}/price: only the price field (plus the token identity) of the core group.
{
"data": {
"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"
}
},
"meta": {
"cost": 1,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No data is available for this token.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}refused: Token cannot be scanned
{
"error": {
"code": "refused",
"doc_url": "https://ttf.bot/docs/errors/#refused",
"message": "This token cannot be scanned.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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.
Discovery
Find a token (address or symbol)
/v1/resolve
Got a contract address or just a $TICKER from a Telegram chat? This tells you which chain and pool an address trades on, or the best-matching tokens for a symbol or name (most liquid first).
A refused call costs nothing; a failed one costs 1 credit (the attempt fee).
- A symbol search gives up to 5 matches, best first. Show them to your user and let them pick: many tokens share a ticker.
- Searching a symbol that matches nothing costs nothing.
Exact rules
data.matches: for an address, ONE match (the chain and main pair it trades on; listed false = no market lists it, true with no pair = listed but the pair address is unknown); for a symbol or name, the best matching tokens (up to 5, with liquidity_usd and volume_24h_usd; the same search is shared for 10 s). Costs 1 credit (1 from the cache); a symbol with no match costs nothing, an address with no match costs 1 credit (the attempt fee).
Parameters
Query parameters
A token address, or a symbol / name (at most 40 characters; at most 100 for an address).
Only this chain (optional). Chain id.
What you get back
A 200 answer is {"data", "meta"} (ResolveAnswer). 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.
data
matchesarray of objectsalwaysFor an address: ONE match. For a symbol / name: the best matches (up to 5, most liquid first). Empty = no match.
9 fields inside
addressstringalwaysToken address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
chainstringalwaysChain id.
listedbooleanalwaystrue = a market lists the token; false = no market lists it (then there is no pair).
dexstringDEX of the main pair.
liquidity_usdintegerSymbol / name search only (always there): liquidity over the token's pairs. Whole US dollars (integer).
namestringToken name.
pairstringMain pair (pool) address. A listed token can lack it (unknown).
symbolstringTicker.
volume_24h_usdintegerSymbol / name search only (always there): 24 h volume over the token's pairs. Whole US dollars (integer).
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Resolve an address or a symbol
{
"data": {
"matches": [
{
"address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"chain": "eth",
"dex": "uniswap",
"liquidity_usd": 41200000,
"listed": true,
"name": "Pepe",
"pair": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f",
"symbol": "PEPE",
"volume_24h_usd": 512000000
}
]
},
"meta": {
"cost": 1,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}q=<address>: one match, the chain and main pair it trades on.
{
"data": {
"matches": [
{
"address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"chain": "eth",
"dex": "uniswap",
"listed": true,
"name": "Pepe",
"pair": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f",
"symbol": "PEPE"
}
]
},
"meta": {
"cost": 1,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}q=<a symbol nobody lists>: no match, costs nothing.
{
"data": {
"matches": []
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No data is available for this token.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}refused: Token cannot be scanned
{
"error": {
"code": "refused",
"doc_url": "https://ttf.bot/docs/errors/#refused",
"message": "This token cannot be scanned.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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.
Discovery
Trending tokens
/v1/trending
What TTF users are scanning right now: the most scanned tokens of a window with market cap, price and quick security badges. Perfect for a "hot right now" feed or a trending channel.
A refused or failed call costs nothing.
- Use
window=1hfor what is hot right now,1dfor the day. - Keep the answer small with
fields, for examplesymbol,scans,market_cap_usd.
Exact rules
The tokens people scanned most with TTF in the window, optionally on one chain, most distinct scanners first. Per token: scans, scanners, chat_groups (Telegram groups it was scanned in), the first and last scan of the window, the latest scanned market cap / price / liquidity, the market cap change over the hourly spark (last 24 h, market_cap_spark_usd) and security badges when TTF scanned it lately. fields keeps only the asked row keys (plus chain and address). Costs 2 credits (1 from the cache).
Parameters
Query parameters
Only this chain (optional). Chain id.
Time window: the board is counted over the scans of that window. Default 1d; 24h = 1d.
Rows, 1-40. Default 30.
Comma-separated keys each token row keeps (default all; chain and address are always kept): chain, address, symbol, name, scans, scanners, chat_groups, first_scan_ms, last_scan_ms, market_cap_usd, price_usd, liquidity_usd, market_cap_change_pct, market_cap_spark_usd, badges.
What you get back
A 200 answer is {"data", "meta"} (TrendingAnswer). 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.
data
generated_atstring (date-time)alwaysWhen the board was built (it is shared for about a minute). ISO-8601 UTC ("2026-11-28T10:00:00Z").
tokensarray of objectsalwaysThe tokens, most distinct scanners first.
20 fields inside
addressstringalwaysToken address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
chainstringalwaysChain id.
chat_groupsintegeralways*Telegram groups it was scanned in during the window.
first_scan_msintegeralways*First scan in the window. Unix time in milliseconds.
last_scan_msintegeralways*Latest scan in the window. Unix time in milliseconds.
scannersintegeralways*Distinct people who scanned it in the window.
scansintegeralways*TTF scans of the token in the window.
symbolstringalways*Ticker.
badgesobjectSecurity badges from TTF's latest scan of the token (absent when not scanned lately).
5 fields inside
flag_countintegeralwaysFindings of the scan.
levelstringalwaysok, warn or danger (the scan verdict). One of:
ok,warn,danger.buy_tax_pctnumberBuy tax. Percent (5.2 = 5.2 %).
honeypotbooleantrue = the sell simulation failed.
sell_tax_pctnumberSell tax. Percent (5.2 = 5.2 %).
liquidity_usdintegerLiquidity at the latest scan. Whole US dollars (integer).
market_cap_change_pctnumberMarket cap change over the spark (last 24 h). Percent (5.2 = 5.2 %).
market_cap_spark_usdarray of integersHourly market cap over the last 24 h, oldest first (whole US dollars).
market_cap_usdintegerMarket cap at the latest scan. Whole US dollars (integer).
namestringToken name.
price_usdstringPrice at the latest scan, in US dollars. Decimal string (never a float, no exponent).
windowstringalwaysThe window the board counts.
chainstringThe chain filter, when one was asked.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Most scanned tokens
{
"data": {
"chain": "eth",
"generated_at": "2026-11-28T10:00:00Z",
"tokens": [
{
"address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"badges": {
"buy_tax_pct": 0,
"flag_count": 0,
"honeypot": false,
"level": "ok",
"sell_tax_pct": 0
},
"chain": "eth",
"chat_groups": 31,
"first_scan_ms": 1794913600000,
"last_scan_ms": 1794999990000,
"liquidity_usd": 41200000,
"market_cap_change_pct": 2.3,
"market_cap_spark_usd": [
3781000000,
3802000000,
3870000000
],
"market_cap_usd": 3870000000,
"name": "Pepe",
"price_usd": "0.0000092",
"scanners": 96,
"scans": 412,
"symbol": "PEPE"
}
],
"window": "1d"
},
"meta": {
"cost": 2,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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. |
| 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.
Wallets
Wallet activity
/v1/wallet/{chain}/{address}/activity
Follow a wallet (a whale, a dev, a smart-money wallet, your own): its latest transfers in and out, and TTF keeps watching it live for your account after each call.
A refused call costs nothing; a failed one costs 1 credit (the attempt fee).
- Want a ping the moment a wallet moves instead of asking again and again? Use a wallet webhook rule.
- Exchange, router and burn addresses are refused: they move on every block.
Exact rules
The wallet's recent ERC-20 transfers, in and out, newest first: public chain history (the latest 100 transfers, shared for 15 s) merged with what TTF's real-time watcher recorded for this address since YOUR account first asked about it. A call whose history answered starts (or renews) a 24 h watch of the address (at most your plan's max_watch_addresses together with your wallet webhook rules, e.g. 2,500 on Pro; the least recently asked one is dropped first, never a rule address); native-coin transfers come with token 0xeeee...eeee; data.watch says when it started (started_ms) and ends (expires_ms, unix ms like the transfers' time_ms, absent while no watch exists), whether real-time watching is configured on the chain (configured), the watcher is running and keeping up now (live) and whether the address was dropped for moving on most blocks (hot). Burn, router, wrapped-coin and exchange addresses are refused (400). Pages: data.next_cursor -> ?cursor=. Group wallet. Costs 3 credits (1 from the cache); a wallet with no transfers or a provider that did not answer costs 1 credit (the attempt fee); busy costs nothing.
Parameters
Path parameters
Chain id.
Wallet address (0x + 40 hex).
Query parameters
Transfers per page, 1-50. Default 20.
data.next_cursor of the previous page (opaque). Omit for the newest page.
Comma-separated keys each transfer keeps (default all): tx, block, time_ms, log_index, token, symbol, decimals, value, from, to, direction, source.
What you get back
A 200 answer is {"data", "meta"} (WalletActivityAnswer). 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.
data
transfersarray of objectsalwaysTransfers in and out, newest first.
12 fields inside
blockintegeralways*Block number.
directionstringalways*out = the wallet sent it, in = it received it, self = to itself. One of:
in,out,self.fromstringalways*Sender (0x + 40 hex).
log_indexintegeralways*Position of the transfer in its transaction's logs.
sourcestringalways*history = public chain history, watch = recorded live by TTF's watcher. One of:
history,watch.tostringalways*Receiver (0x + 40 hex).
tokenstringalways*Token contract (0x + 40 hex); native-coin transfers use 0xeeee...eeee.
txstringalways*Transaction hash.
valuestringalways*Raw amount (integer string; divide by 10^decimals).
decimalsintegerToken decimals (value / 10^decimals = tokens).
symbolstringToken ticker (third-party text: escape it).
time_msintegerBlock time (absent when the source did not give it). Unix time in milliseconds.
watchobjectalwaysTTF's real-time watch of this address for your account.
5 fields inside
configuredbooleanalwaystrue = real-time watching is set up on this chain.
hotbooleanalwaystrue = dropped from live watching because it moves on most blocks (history still works).
livebooleanalwaystrue = the watcher is running and keeping up right now.
expires_msintegerWhen it ends unless you ask again (absent while no watch exists). Unix time in milliseconds.
started_msintegerWhen your watch of the address started. Unix time in milliseconds.
next_cursorstringPass it as ?cursor= for the next (older) page. Absent = the last page.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Recent transfers of a wallet
{
"data": {
"next_cursor": "MjE0MDAwMDA6MTI6MHg1ZDVk",
"transfers": [
{
"block": 21400000,
"decimals": 18,
"direction": "out",
"from": "0x3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a",
"log_index": 12,
"source": "history",
"symbol": "PEPE",
"time_ms": 1795000000000,
"to": "0x4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"tx": "0x5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d",
"value": "1500000000000000000000"
}
],
"watch": {
"configured": true,
"expires_ms": 1795076400123,
"hot": false,
"live": true,
"started_ms": 1794990000123
}
},
"meta": {
"cost": 3,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a wallet address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: 'wallet' is not available on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "'wallet' is not available on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: This is a burn, router, wrapped-coin or exchange address: its activity is not served.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This is a burn, router, wrapped-coin or exchange address: its activity is not served.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}timeout: Took too long
{
"error": {
"code": "timeout",
"doc_url": "https://ttf.bot/docs/errors/#timeout",
"message": "This took too long. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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. |
| 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.
Signals
TTF signals
/v1/signals
TTF's own alpha feed: ATH breakouts and call milestones from TTF's calls bot, newest first: the same events a signal webhook rule pushes to you. Poll it, or let a webhook do it.
A refused or failed call costs nothing.
- Page through older signals with
cursor= thenext_cursorof the previous answer. - Want them pushed instead? A signal webhook delivers each one as it happens.
Exact rules
The newest TTF signals, newest first: ATH breakouts (kind breakout: multiple = market cap / the all-time high it broke) and call milestones (kind call: multiple = the milestone reached since the call), with called_at_ms (unix ms of the call), the plan line and, for signals since 2026-11-30, what the TTF Signals post shows (symbol, name, tier, market cap, liquidity, volume, price ...). Each item is the same event a webhook rule of type signal receives. A call reads at most 500 signals: with a filter, a page can be short and still have a data.next_cursor; no next_cursor = the end. data.live says whether the signals feed is running. Group signals. Costs 1 credit; a failed read costs nothing.
Parameters
Query parameters
Only signals of this kind: breakout (a new all-time high), call (a call reached a milestone), trending. Default all.
Only this chain (optional). Chain id.
Signals per page, 1-50. Default 20.
data.next_cursor of the previous page. Omit for the newest page.
What you get back
A 200 answer is {"data", "meta"} (SignalsAnswer). 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.
data
livebooleanalwaystrue = the signals feed is running.
signalsarray of objectsalwaysThe signals (the same events a
signalwebhook rule receives).30 fields inside
dataobjectalwaysA TTF signal: an ATH breakout or a call milestone. The event data (the keys of this type; unknown = absent).
23 fields inside
kindstringalwaysbreakout = a new all-time high was broken, call = a call reached a milestone, trending = a trending signal. One of:
breakout,trending,call.buys_24hintegerBuys in the last 24 hours.
called_at_msintegerWhen the call was made. Unix time in milliseconds.
dexstringThe exchange of the main pool (third-party text: escape it).
entry_mc_usdstringcall: the market cap when the call was made, US dollars. Decimal string (never a float, no exponent).
gradestringThe signal grade: strong (daily ATH) or early (hourly ATH). One of:
strong,early.liquidity_usdstringLiquidity of its main pool, US dollars. Decimal string (never a float, no exponent).
market_cap_usdstringMarket cap now, US dollars. Decimal string (never a float, no exponent).
multiplenumberbreakout: market cap / the all-time high it broke; call: the milestone reached since the call (2 = 2x).
namestringToken name (third-party text: escape it).
pair_created_msintegerWhen its main pool was created (the token age).
plan_textstringThe plan line of the call ("if it holds 24h -> enter, sell 50% at 2x ...").
prev_ath_mc_usdstringbreakout: the all-time high it broke, as a market cap in US dollars. Decimal string (never a float, no exponent).
prev_ath_msintegerbreakout: when that all-time high was set.
price_change_24h_pctnumberPrice change of the last 24 hours, percent (negative = down).
price_usdstringPrice of one token now, US dollars. Decimal string (never a float, no exponent).
refstringAn id of the signal.
scorenumberStrength of the signal (higher = stronger), when given.
sells_24hintegerSells in the last 24 hours.
symbolstringTicker (third-party text: escape it).
textstringThe signal in words (third-party text: escape it).
tierstringWhich all-time high: daily (the daily ATH) or 1h (the hourly ATH). One of:
daily,1h.volume_24h_usdstringTrading volume of the last 24 hours, US dollars. Decimal string (never a float, no exponent).
idstringalwaysEvent id: a ULID (26 characters, sorts by time). One event can fire several rules.
tsintegeralwaysWhen the event happened. Unix time in milliseconds.
typestringalwaysThe event type.
vintegeralwaysEnvelope version (1).
chainstringChain id. Absent for a signal about no chain.
tokenstringToken address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.
next_cursorstringPass it as ?cursor= for the next (older) page. Absent = the end.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Recent TTF signals
{
"data": {
"live": true,
"next_cursor": "1795000000000-0",
"signals": [
{
"chain": "eth",
"data": {
"buys_24h": 4210,
"called_at_ms": 1795000000000,
"dex": "uniswap",
"grade": "strong",
"kind": "breakout",
"liquidity_usd": "1240000",
"market_cap_usd": "19614400",
"multiple": 1.04,
"name": "Orbit Cat",
"pair_created_ms": 1794222400000,
"plan_text": "if it holds 24h -> enter, sell 50% at 2x, sell 50% every 3x after",
"prev_ath_mc_usd": "18860000",
"prev_ath_ms": 1794827200000,
"price_change_24h_pct": 31.4,
"price_usd": "0.0196144",
"sells_24h": 2960,
"symbol": "ORBIT",
"tier": "daily",
"volume_24h_usd": "3870000"
},
"id": "01JDZ8Q7X3M4N5P6Q7R8S9T0VW",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"ts": 1795000000000,
"type": "signal",
"v": 1
}
]
},
"meta": {
"cost": 1,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "This chain is not supported.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: That does not look like a token address on this chain.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "That does not look like a token address on this chain.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: The request parameters are not valid.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "The request parameters are not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include 'security' endpoints.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include 'security' endpoints.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up per minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: API key credits used up this month.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "API key credits used up this month.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}upstream: Provider did not answer
{
"error": {
"code": "upstream",
"doc_url": "https://ttf.bot/docs/errors/#upstream",
"message": "This data is not available right now. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "The API is busy right now. Try again shortly.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}capacity: At capacity
{
"error": {
"code": "capacity",
"doc_url": "https://ttf.bot/docs/errors/#capacity",
"message": "The API is at capacity for today. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}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. |
| 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. |
| 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.
Service
Chains, groups and prices
/v1/chains
Start here: which chains are supported, which groups each serves and what every group costs. Free, no key needed: read it once at start-up.
Exact rules
The launch chains, the groups each one serves and what each group costs (groups: the field groups of GET /v1/token, route_groups: the routes of their own; all_chains true = served on every launch chain, false = only on the listed chains; tag free = no paid provider, paid = a failed answer keeps the attempt fee). /v1/resolve costs the resolve group's credits; /v1/chains and /v1/health are free. No key, no charge.
Parameters
No parameters: just send it.
What you get back
A 200 answer is {"data", "meta"} (ChainsAnswer). 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.
data
chainsarray of objectsalwaysThe launch chains.
4 fields inside
familystringalwaysChain family: evm, solana, ...
groupsarray of stringsalwaysThe field groups of GET /v1/token it serves.
idstringalwaysChain id (use it in paths).
namestringalwaysDisplay name.
groupsarray of objectsalwaysThe field groups.
7 fields inside
all_chainsbooleanalwaystrue = served on every launch chain; false = only on
chains.cached_creditsintegeralwaysCredits of an answer from the shared cache.
creditsintegeralwaysCredits of a live answer.
fieldsarray of stringsalwaysIts field names (a group of one field lists itself).
namestringalwaysGroup name (use it in
fields).tagstringalwaysfree = no paid provider behind it; paid = a failed answer keeps the attempt fee. One of:
free,paid.chainsarray of stringsThe chains it is served on (only when all_chains is false).
intervalsarray of stringsalwaysCandle intervals.
route_groupsarray of objectsalwaysThe routes that are groups of their own (trending, wallet, signals).
7 fields inside
all_chainsbooleanalwaystrue = served on every launch chain; false = only on
chains.cached_creditsintegeralwaysCredits of an answer from the shared cache.
creditsintegeralwaysCredits of a live answer.
namestringalwaysGroup name (use it in
fields).routestringalwaysIts path.
tagstringalwaysfree = no paid provider behind it; paid = a failed answer keeps the attempt fee. One of:
free,paid.chainsarray of stringsThe chains it is served on (only when all_chains is false).
trending_windowsarray of stringsalwaysTrending windows.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Chains, groups and credits
{
"data": {
"chains": [
{
"family": "evm",
"groups": [
"core",
"security",
"holders"
],
"id": "eth",
"name": "Ethereum"
}
],
"groups": [
{
"all_chains": true,
"cached_credits": 1,
"credits": 1,
"fields": [
"price",
"market",
"liquidity",
"socials",
"token"
],
"name": "core",
"tag": "free"
},
{
"all_chains": false,
"cached_credits": 1,
"chains": [
"base",
"bsc",
"eth",
"sol"
],
"credits": 4,
"fields": [
"holders"
],
"name": "holders",
"tag": "paid"
}
],
"intervals": [
"1m",
"5m",
"15m",
"1h",
"4h",
"1d"
],
"route_groups": [
{
"all_chains": true,
"cached_credits": 1,
"credits": 2,
"name": "trending",
"route": "/v1/trending",
"tag": "free"
},
{
"all_chains": false,
"cached_credits": 1,
"chains": [
"arb",
"eth"
],
"credits": 3,
"name": "wallet",
"route": "/v1/wallet/{chain}/{address}/activity",
"tag": "paid"
},
{
"all_chains": true,
"cached_credits": 1,
"credits": 1,
"name": "signals",
"route": "/v1/signals",
"tag": "paid"
}
],
"trending_windows": [
"5m",
"1h",
"4h",
"6h",
"1d"
]
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 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. |
| 500 | internal | Unexpected error. Not charged. Codes: internal. |
| 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.
Service
Service health
/v1/health
Is the API up? Free, no key, never charged: use it for your own uptime checks.
Exact rules
Liveness of the service and its limits store. No key, no charge; answers even while the API is off.
Parameters
No parameters: just send it.
What you get back
A 200 answer is {"data", "meta"} (HealthAnswer). 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.
data
checked_atstring (date-time)alwaysWhen this was checked. ISO-8601 UTC ("2026-11-28T10:00:00Z").
enabledbooleanalwaystrue = the API is switched on (paid routes answer).
redisbooleanalwaystrue = the limits store answers.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Service health
{
"data": {
"checked_at": "2026-11-28T10:00:00Z",
"enabled": true,
"redis": true
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 405 | method_not_allowed | Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed. |
| 500 | internal | Unexpected error. Not charged. Codes: internal. |
| 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.
Webhooks
Webhooks: get a ping instead of asking
Tell TTF what to watch. When it happens, TTF sends a POST request to your server within seconds.
A webhook is for people who run their own server or bot. Want the alert as a message in Telegram or Discord? That needs no server: see Alerts in Telegram and Alerts in Discord. The alerts are the same; only where they go differs.
Set one up in 3 steps
Add an endpoint
In the dashboard, tab Destinations, open Add an https:// address and type the address of your server (for example
https://yourbot.example/ttf-hook). Only https on port 443 or 8443, and only public addresses. You get a signing secret (whsec_...) once: copy it.Add a rule
Tab Alerts (or Wallets): pick what to watch (table below) and send it to that endpoint. One endpoint can have many rules.
Test it
Press Send test alert: a
pingarrives at your server. Answer with any 2xx status, fast. Then check the signature before you trust a body.
What you can watch
| Rule type | Fires when | Settings | Plan group |
|---|---|---|---|
price_cross | The price crosses your line (up through above or down through
below). Once per crossing; re-armed after it moves 0.5 % back. | chain, token, above or below, fire_if_already_past | core |
pct_move | The price moves by your percent within a window (negative = a drop). | chain, token, window (15m, 1h, 4h, 24h), percent | core |
trending_enter | A token enters the trending board with at least your number of scans, and passes your filters (liquidity, market cap, age, words in the name, tax, holders and more: see Trending alerts and filters). | chain, chains or all, min_scans, optional filters, per_chain, repeat, max_per_hour,
unknown | trending |
wallet_activity | A wallet sends (or receives) a token transfer, optionally above a dollar value.
With chain evm (All EVMs) one rule watches the wallet on every EVM chain TTF watches, chains added later
included; each delivery names the chain it happened on. |
chain (or evm), address or addresses, direction (out, in, any), min_usd | wallet |
signal | A TTF signal of that kind appears (all-time-high breakout, call milestone). | kind | signals |
A rule only fires if your plan includes its group; on Free only the price rules can be made. How many endpoints, rules and deliveries per month you get depends on the plan (see Credits & limits).
Prefer code? Everything above can also be done with an API key: manage webhooks from code.
What arrives
An HTTPS POST with a JSON body and these headers:
| Header | Value |
|---|---|
X-TTF-Event | price, trending, wallet, signal or
ping |
X-TTF-Event-Id | Id of the event (one event can fire several of your rules). |
X-TTF-Delivery | Id of this delivery, the same on every retry: use it to drop duplicates. |
X-TTF-Attempt | 1, 2, 3 ... (counts retries). |
X-TTF-Timestamp | Unix seconds when this attempt was signed. |
X-TTF-Signature | v1=<hex> (two values for 24 h after you rotate the secret). |
Every delivery type with its body fields and real examples: price, trending, wallet, signal and the test ping.
Deliveries come from changing addresses of our proxy provider: do not allow-list IPs, check the signature instead.
Webhooks
Price rules price
your endpoint · X-TTF-Event: priceSent when a price_cross, pct_move rule fired on a price event.
Delivery rules
TTF sends an HTTPS POST with a JSON body to your endpoint when a rule fires (and when you press Test in the dashboard). Answer any 2xx within 10 seconds (queue the work on your side); anything else, a timeout or a redirect is retried after 1 min, 5 min, 30 min, 2 h and 12 h. Delivery is AT LEAST ONCE: dedupe on X-TTF-Delivery (= body.id). Deliveries are not ordered: order by created_ms / event.ts. Verify X-TTF-Signature over the RAW body before you trust it. Deliveries come from changing proxy addresses: never allowlist IPs, verify the signature.
Headers
| Header | Type | Meaning | Example |
|---|---|---|---|
X-TTF-Event | string | The event type of the body's event: price, trending, wallet, signal or ping. | price |
X-TTF-Event-Id | string | The event id (a ULID). One event can fire several of your rules: each is its own delivery. | 01JDZ8Q7X3M4N5P6Q7R8S9T0PA |
X-TTF-Delivery | string | The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it. | 01JDR4Q7Z2N8M5K3X9V6B4C2HA |
X-TTF-Attempt | integer | 1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours). | 1 |
X-TTF-Timestamp | integer | Unix SECONDS when this attempt was signed (every retry is signed afresh). Refuse it when more than 300 s away from your clock (replay window). | 1795000000 |
X-TTF-Signature | string | v1=<hex>: HMAC-SHA256(key = your endpoint secret "whsec_...", message = X-TTF-Timestamp + "." + the raw body bytes), lower-case hex. During the 24 h after a secret rotation: "v1=<new>,v1=<old>". Compare in constant time; accept if any value matches. | v1=0000000000000000000000000000000000000000000000000000000000000000 |
User-Agent | string | Always TTF-Webhooks/1.0. | TTF-Webhooks/1.0 |
Signature
| algorithm | HMAC-SHA256 |
|---|---|
| format | v1=<64 lower-case hex>[,v1=<hex>] |
| header | X-TTF-Signature |
| rotation | for 24 h after a secret rotation the header carries two values (new secret first): accept if any matches |
| secret | the endpoint secret, the whole whsec_... string as UTF-8 |
| signed payload | <X-TTF-Timestamp>.<raw request body bytes> |
| timestamp header | X-TTF-Timestamp |
| tolerance s | 300 |
Copy-paste verification code in Python and Node.js: Verify the signature.
Body
One body per fired rule. always = in every body; other fields are left out when unknown. Text inside events comes from third parties: escape it before you show it.
WebhookPriceCross
A price_cross rule fired.
created_msintegeralwaysWhen the rule fired. Unix time in milliseconds.
detailobjectalwaysWhy a price_cross rule fired.
4 fields inside
change_pctnumberalwaysHow far the price is past the threshold. Percent (5.2 = 5.2 %).
sidestringalwaysabove = the price rose to / past it, below = it fell to / past it. One of:
above,below.threshold_usdstringalwaysYour threshold price in US dollars. Decimal string (never a float, no exponent).
price_usdstringThe price that crossed it, in US dollars. Decimal string (never a float, no exponent).
eventobjectalwaysA price update of a token your rule watches.
12 fields inside
chainstringalwaysChain id. Absent for a signal about no chain.
dataobjectalwaysA price update of a token your rule watches. The event data (the keys of this type; unknown = absent).
5 fields inside
liquidity_usdintegerLiquidity of the pool the price comes from. Whole US dollars (integer).
namestringToken name (third-party text: escape it).
pairstringThe pair (pool) the price comes from.
price_usdstringPrice of one token in US dollars. Absent only for an absurd price (more than 64 characters). Decimal string (never a float, no exponent).
symbolstringTicker (third-party text: escape it).
idstringalwaysEvent id: a ULID (26 characters, sorts by time). One event can fire several rules.
tokenstringalwaysToken address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.
tsintegeralwaysWhen the event happened. Unix time in milliseconds.
typestringalwaysThe event type.
vintegeralwaysEnvelope version (1).
idstringalwaysDelivery id (a ULID) = the X-TTF-Delivery header.
reasonstringalwaysWhy it fired. One of:
crossed,already_past.ruleobjectalwaysThe rule that fired.
2 fields inside
idstringalwaysRule id (whr_ + 24 hex).
kindstringalwaysThe rule type.
typestringalwaysrule.fired
WebhookPctMove
A pct_move rule fired.
created_msintegeralwaysWhen the rule fired. Unix time in milliseconds.
detailobjectalwaysWhy a pct_move rule fired.
6 fields inside
base_msintegeralwaysWhen that start price was seen. Unix time in milliseconds.
change_pctnumberalwaysThe move seen over the window. Percent (5.2 = 5.2 %).
threshold_pctnumberalwaysYour move threshold (negative = a drop). Percent (5.2 = 5.2 %).
windowstringalwaysYour window. One of:
1m,5m,15m,1h,4h,24h.base_price_usdstringThe price at the start of the window, in US dollars. Decimal string (never a float, no exponent).
price_usdstringThe price now, in US dollars. Decimal string (never a float, no exponent).
eventobjectalwaysA price update of a token your rule watches.
12 fields inside
chainstringalwaysChain id. Absent for a signal about no chain.
dataobjectalwaysA price update of a token your rule watches. The event data (the keys of this type; unknown = absent).
5 fields inside
liquidity_usdintegerLiquidity of the pool the price comes from. Whole US dollars (integer).
namestringToken name (third-party text: escape it).
pairstringThe pair (pool) the price comes from.
price_usdstringPrice of one token in US dollars. Absent only for an absurd price (more than 64 characters). Decimal string (never a float, no exponent).
symbolstringTicker (third-party text: escape it).
idstringalwaysEvent id: a ULID (26 characters, sorts by time). One event can fire several rules.
tokenstringalwaysToken address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.
tsintegeralwaysWhen the event happened. Unix time in milliseconds.
typestringalwaysThe event type.
vintegeralwaysEnvelope version (1).
idstringalwaysDelivery id (a ULID) = the X-TTF-Delivery header.
reasonstringalwaysWhy it fired. One of:
moved.ruleobjectalwaysThe rule that fired.
2 fields inside
idstringalwaysRule id (whr_ + 24 hex).
kindstringalwaysThe rule type.
typestringalwaysrule.fired
Examples
pct_move delivery
{
"created_ms": 1795000000000,
"detail": {
"base_ms": 1794996500000,
"base_price_usd": "0.0000086",
"change_pct": 6.98,
"price_usd": "0.0000092",
"threshold_pct": 5,
"window": "1h"
},
"event": {
"chain": "eth",
"data": {
"price_usd": "0.0000092"
},
"id": "01JDZ8Q7X3M4N5P6Q7R8S9T0PA",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"ts": 1795000000000,
"type": "price",
"v": 1
},
"id": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
"reason": "moved",
"rule": {
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"kind": "pct_move"
},
"type": "rule.fired"
}price_cross delivery
{
"created_ms": 1795000000000,
"detail": {
"change_pct": 2.22,
"price_usd": "0.0000092",
"side": "above",
"threshold_usd": "0.000009"
},
"event": {
"chain": "eth",
"data": {
"price_usd": "0.0000092"
},
"id": "01JDZ8Q7X3M4N5P6Q7R8S9T0PA",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"ts": 1795000000000,
"type": "price",
"v": 1
},
"id": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
"reason": "crossed",
"rule": {
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"kind": "price_cross"
},
"type": "rule.fired"
}Your answer
2XX: Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log.default: Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried.
JSON Schema
Validate bodies in your own code with the published schemas (draft 2020-12): events/price.json · webhook.json.
Webhooks
Trending rules trending
your endpoint · X-TTF-Event: trendingSent when a trending_enter rule fired on a trending event.
Delivery rules
TTF sends an HTTPS POST with a JSON body to your endpoint when a rule fires (and when you press Test in the dashboard). Answer any 2xx within 10 seconds (queue the work on your side); anything else, a timeout or a redirect is retried after 1 min, 5 min, 30 min, 2 h and 12 h. Delivery is AT LEAST ONCE: dedupe on X-TTF-Delivery (= body.id). Deliveries are not ordered: order by created_ms / event.ts. Verify X-TTF-Signature over the RAW body before you trust it. Deliveries come from changing proxy addresses: never allowlist IPs, verify the signature.
Headers
| Header | Type | Meaning | Example |
|---|---|---|---|
X-TTF-Event | string | The event type of the body's event: price, trending, wallet, signal or ping. | trending |
X-TTF-Event-Id | string | The event id (a ULID). One event can fire several of your rules: each is its own delivery. | 01JDZ8Q7X3M4N5P6Q7R8S9T0TB |
X-TTF-Delivery | string | The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it. | 01JDR4Q7Z2N8M5K3X9V6B4C2HA |
X-TTF-Attempt | integer | 1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours). | 1 |
X-TTF-Timestamp | integer | Unix SECONDS when this attempt was signed (every retry is signed afresh). Refuse it when more than 300 s away from your clock (replay window). | 1795000000 |
X-TTF-Signature | string | v1=<hex>: HMAC-SHA256(key = your endpoint secret "whsec_...", message = X-TTF-Timestamp + "." + the raw body bytes), lower-case hex. During the 24 h after a secret rotation: "v1=<new>,v1=<old>". Compare in constant time; accept if any value matches. | v1=0000000000000000000000000000000000000000000000000000000000000000 |
User-Agent | string | Always TTF-Webhooks/1.0. | TTF-Webhooks/1.0 |
Signature
| algorithm | HMAC-SHA256 |
|---|---|
| format | v1=<64 lower-case hex>[,v1=<hex>] |
| header | X-TTF-Signature |
| rotation | for 24 h after a secret rotation the header carries two values (new secret first): accept if any matches |
| secret | the endpoint secret, the whole whsec_... string as UTF-8 |
| signed payload | <X-TTF-Timestamp>.<raw request body bytes> |
| timestamp header | X-TTF-Timestamp |
| tolerance s | 300 |
Copy-paste verification code in Python and Node.js: Verify the signature.
Body
One body per fired rule. always = in every body; other fields are left out when unknown. Text inside events comes from third parties: escape it before you show it.
WebhookTrendingEnter
A trending_enter rule fired.
created_msintegeralwaysWhen the rule fired. Unix time in milliseconds.
detailobjectalwaysWhy a trending_enter rule fired.
6 fields inside
first_seen_msintegeralwaysWhen the token entered the board. Unix time in milliseconds.
min_scansintegeralwaysYour minimum (on the token's chain, when that chain has its own).
scansintegeralwaysScans of the token on the board.
filtersarray of stringsThe filters of your rule that applied on this chain and passed (besides min_scans). Absent for a rule without filters.
not_appliedarray of stringsFilters of your rule that did not apply on this chain because TTF never has their value there (e.g. a tax filter on Solana). Absent when every filter applied.
unknownarray of stringsWith unknown: mark, the values a filter needed that are unknown (event data keys, e.g. holders). Absent when every value was known.
eventobjectalwaysA token on TTF's trending board (the most scanned tokens).
35 fields inside
chainstringalwaysChain id. Absent for a signal about no chain.
dataobjectalwaysA token on TTF's trending board (the most scanned tokens). The event data (the keys of this type; unknown = absent).
28 fields inside
rankintegeralwaysPosition on the board (1 = most scanned).
scansintegeralwaysTTF scans of the token in the board window.
buy_tax_pctnumberBuy tax measured by that simulation, percent.
buys_1hintegerBuys in the last hour.
first_seen_msintegerWhen the token entered the board. Absent when its entry was not observed (after a gap). Unix time in milliseconds.
freeze_disabledbooleanSolana: true = the freeze authority is off.
has_telegrambooleantrue = a Telegram group is listed for the token.
has_websitebooleantrue = a website is listed for the token.
has_xbooleantrue = an X account is listed for the token.
holdersintegerNumber of holders the TTF scan read.
honeypotbooleanThe TTF scan's buy / sell simulation: true = selling failed or was blocked. Absent when no simulation ran (never false for a check that failed). EVM chains only.
interval_minintegerThe board window, in minutes.
launchpadbooleanSolana: true = the token comes from a launchpad; false = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still be false).
liquidity_usdstringLiquidity of its most liquid pool, US dollars. Decimal string (never a float, no exponent).
locked_pctnumberShare of the liquidity that is locked or burned, percent.
market_cap_usdstringMarket cap (or the fully diluted value when no market cap is known), US dollars. Decimal string (never a float, no exponent).
mint_disabledbooleanSolana: true = the mint authority is off.
namestringToken name (third-party text: escape it).
pairstringThe main pair (pool).
pair_created_msintegerWhen its pool was created (the token age).
pair_withstringWhat the pool pairs it with: native (the chain coin), stable (a stablecoin) or other. One of:
native,stable,other.price_change_1h_pctnumberPrice change of the last hour, percent (negative = down).
renouncedbooleantrue = the contract owner is renounced (EVM chains).
sell_tax_pctnumberSell tax measured by that simulation, percent.
symbolstringTicker (third-party text: escape it).
top10_pctnumberShare of the supply the 10 largest holders hold, percent.
verified_sourcebooleantrue = the contract source code is verified.
volume_24h_usdstringTrading volume of the last 24 hours, US dollars. Decimal string (never a float, no exponent).
idstringalwaysEvent id: a ULID (26 characters, sorts by time). One event can fire several rules.
tokenstringalwaysToken address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.
tsintegeralwaysWhen the event happened. Unix time in milliseconds.
typestringalwaysThe event type.
vintegeralwaysEnvelope version (1).
idstringalwaysDelivery id (a ULID) = the X-TTF-Delivery header.
reasonstringalwaysWhy it fired. One of:
entered.ruleobjectalwaysThe rule that fired.
2 fields inside
idstringalwaysRule id (whr_ + 24 hex).
kindstringalwaysThe rule type.
typestringalwaysrule.fired
Examples
trending_enter delivery
{
"created_ms": 1795000000000,
"detail": {
"filters": [
"min_liquidity_usd",
"exclude_honeypot"
],
"first_seen_ms": 1794999880000,
"min_scans": 25,
"scans": 41
},
"event": {
"chain": "eth",
"data": {
"buy_tax_pct": 0.0,
"buys_1h": 412,
"first_seen_ms": 1794999880000,
"has_telegram": true,
"has_website": true,
"has_x": true,
"holders": 400000,
"honeypot": false,
"interval_min": 5,
"liquidity_usd": "38200000",
"locked_pct": 100.0,
"market_cap_usd": "3870000000",
"name": "Pepe",
"pair": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f",
"pair_created_ms": 1681900000000,
"pair_with": "native",
"price_change_1h_pct": 1.8,
"rank": 3,
"renounced": true,
"scans": 41,
"sell_tax_pct": 0.0,
"symbol": "PEPE",
"top10_pct": 41.2,
"verified_source": true,
"volume_24h_usd": "51200000"
},
"id": "01JDZ8Q7X3M4N5P6Q7R8S9T0TB",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"ts": 1795000000000,
"type": "trending",
"v": 1
},
"id": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
"reason": "entered",
"rule": {
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"kind": "trending_enter"
},
"type": "rule.fired"
}Your answer
2XX: Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log.default: Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried.
JSON Schema
Validate bodies in your own code with the published schemas (draft 2020-12): events/trending.json · webhook.json.
Webhooks
Wallet rules wallet
your endpoint · X-TTF-Event: walletSent when a wallet_activity rule fired on a wallet event.
Delivery rules
TTF sends an HTTPS POST with a JSON body to your endpoint when a rule fires (and when you press Test in the dashboard). Answer any 2xx within 10 seconds (queue the work on your side); anything else, a timeout or a redirect is retried after 1 min, 5 min, 30 min, 2 h and 12 h. Delivery is AT LEAST ONCE: dedupe on X-TTF-Delivery (= body.id). Deliveries are not ordered: order by created_ms / event.ts. Verify X-TTF-Signature over the RAW body before you trust it. Deliveries come from changing proxy addresses: never allowlist IPs, verify the signature.
Headers
| Header | Type | Meaning | Example |
|---|---|---|---|
X-TTF-Event | string | The event type of the body's event: price, trending, wallet, signal or ping. | wallet |
X-TTF-Event-Id | string | The event id (a ULID). One event can fire several of your rules: each is its own delivery. | 01JDZ8Q7X3M4N5P6Q7R8S9T0WC |
X-TTF-Delivery | string | The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it. | 01JDR4Q7Z2N8M5K3X9V6B4C2HA |
X-TTF-Attempt | integer | 1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours). | 1 |
X-TTF-Timestamp | integer | Unix SECONDS when this attempt was signed (every retry is signed afresh). Refuse it when more than 300 s away from your clock (replay window). | 1795000000 |
X-TTF-Signature | string | v1=<hex>: HMAC-SHA256(key = your endpoint secret "whsec_...", message = X-TTF-Timestamp + "." + the raw body bytes), lower-case hex. During the 24 h after a secret rotation: "v1=<new>,v1=<old>". Compare in constant time; accept if any value matches. | v1=0000000000000000000000000000000000000000000000000000000000000000 |
User-Agent | string | Always TTF-Webhooks/1.0. | TTF-Webhooks/1.0 |
Signature
| algorithm | HMAC-SHA256 |
|---|---|
| format | v1=<64 lower-case hex>[,v1=<hex>] |
| header | X-TTF-Signature |
| rotation | for 24 h after a secret rotation the header carries two values (new secret first): accept if any matches |
| secret | the endpoint secret, the whole whsec_... string as UTF-8 |
| signed payload | <X-TTF-Timestamp>.<raw request body bytes> |
| timestamp header | X-TTF-Timestamp |
| tolerance s | 300 |
Copy-paste verification code in Python and Node.js: Verify the signature.
Body
One body per fired rule. always = in every body; other fields are left out when unknown. Text inside events comes from third parties: escape it before you show it.
WebhookWalletActivity
A wallet_activity rule fired.
created_msintegeralwaysWhen the rule fired. Unix time in milliseconds.
detailobjectalwaysWhy a wallet_activity rule fired.
2 fields inside
min_value_usdstringalwaysYour minimum value in US dollars ("0" = every transfer). Decimal string (never a float, no exponent).
value_usdstringUS dollar value of the transfer, when known. Decimal string (never a float, no exponent).
eventobjectalwaysA transfer of a wallet your rule watches (in or out).
20 fields inside
chainstringalwaysChain id. Absent for a signal about no chain.
dataobjectalwaysA transfer of a wallet your rule watches (in or out). The event data (the keys of this type; unknown = absent).
13 fields inside
addressstringalwaysThe watched wallet (the subject of your rule). Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
txstringalwaysTransaction hash.
valuestringalwaysRaw amount (integer string; divide by 10^decimals).
blockintegerBlock number.
decimalsintegerToken decimals.
directionstringout = the wallet sent it, in = it received it. Absent = out. One of:
out,in.fromstringSender (empty when unknown). Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
kindstringtransfer, sell (Solana: a swap out) or native (the chain's own coin; token 0xeeee...eeee). One of:
sell,transfer,native.lateinteger1 = recorded by a catch-up round long after its block (not a live transfer).
log_indexintegerPosition of the transfer in its transaction's logs.
symbolstringToken ticker (third-party text: escape it).
tostringReceiver (empty when unknown). Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.
value_usdstringUS dollar value of the transfer, when known. Decimal string (never a float, no exponent).
idstringalwaysEvent id: a ULID (26 characters, sorts by time). One event can fire several rules.
tokenstringalwaysToken address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.
tsintegeralwaysWhen the event happened. Unix time in milliseconds.
typestringalwaysThe event type.
vintegeralwaysEnvelope version (1).
idstringalwaysDelivery id (a ULID) = the X-TTF-Delivery header.
reasonstringalwaysWhy it fired. One of:
activity.ruleobjectalwaysThe rule that fired.
2 fields inside
idstringalwaysRule id (whr_ + 24 hex).
kindstringalwaysThe rule type.
typestringalwaysrule.fired
Examples
wallet_activity delivery
{
"created_ms": 1795000000000,
"detail": {
"min_value_usd": "10",
"value_usd": "13.8"
},
"event": {
"chain": "eth",
"data": {
"address": "0x3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a",
"block": 21400000,
"decimals": 18,
"direction": "out",
"from": "0x3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a",
"log_index": 12,
"symbol": "PEPE",
"to": "0x4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b4b",
"tx": "0x5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d5d",
"value": "1500000000000000000000",
"value_usd": "13.8"
},
"id": "01JDZ8Q7X3M4N5P6Q7R8S9T0WC",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"ts": 1795000000000,
"type": "wallet",
"v": 1
},
"id": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
"reason": "activity",
"rule": {
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"kind": "wallet_activity"
},
"type": "rule.fired"
}Your answer
2XX: Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log.default: Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried.
JSON Schema
Validate bodies in your own code with the published schemas (draft 2020-12): events/wallet.json · webhook.json.
Webhooks
Signal rules signal
your endpoint · X-TTF-Event: signalSent when a signal rule fired on a signal event.
Delivery rules
TTF sends an HTTPS POST with a JSON body to your endpoint when a rule fires (and when you press Test in the dashboard). Answer any 2xx within 10 seconds (queue the work on your side); anything else, a timeout or a redirect is retried after 1 min, 5 min, 30 min, 2 h and 12 h. Delivery is AT LEAST ONCE: dedupe on X-TTF-Delivery (= body.id). Deliveries are not ordered: order by created_ms / event.ts. Verify X-TTF-Signature over the RAW body before you trust it. Deliveries come from changing proxy addresses: never allowlist IPs, verify the signature.
Headers
| Header | Type | Meaning | Example |
|---|---|---|---|
X-TTF-Event | string | The event type of the body's event: price, trending, wallet, signal or ping. | signal |
X-TTF-Event-Id | string | The event id (a ULID). One event can fire several of your rules: each is its own delivery. | 01JDZ8Q7X3M4N5P6Q7R8S9T0SD |
X-TTF-Delivery | string | The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it. | 01JDR4Q7Z2N8M5K3X9V6B4C2HA |
X-TTF-Attempt | integer | 1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours). | 1 |
X-TTF-Timestamp | integer | Unix SECONDS when this attempt was signed (every retry is signed afresh). Refuse it when more than 300 s away from your clock (replay window). | 1795000000 |
X-TTF-Signature | string | v1=<hex>: HMAC-SHA256(key = your endpoint secret "whsec_...", message = X-TTF-Timestamp + "." + the raw body bytes), lower-case hex. During the 24 h after a secret rotation: "v1=<new>,v1=<old>". Compare in constant time; accept if any value matches. | v1=0000000000000000000000000000000000000000000000000000000000000000 |
User-Agent | string | Always TTF-Webhooks/1.0. | TTF-Webhooks/1.0 |
Signature
| algorithm | HMAC-SHA256 |
|---|---|
| format | v1=<64 lower-case hex>[,v1=<hex>] |
| header | X-TTF-Signature |
| rotation | for 24 h after a secret rotation the header carries two values (new secret first): accept if any matches |
| secret | the endpoint secret, the whole whsec_... string as UTF-8 |
| signed payload | <X-TTF-Timestamp>.<raw request body bytes> |
| timestamp header | X-TTF-Timestamp |
| tolerance s | 300 |
Copy-paste verification code in Python and Node.js: Verify the signature.
Body
One body per fired rule. always = in every body; other fields are left out when unknown. Text inside events comes from third parties: escape it before you show it.
WebhookSignal
A signal rule fired.
created_msintegeralwaysWhen the rule fired. Unix time in milliseconds.
detailobjectalwaysWhy a signal rule fired.
1 field inside
kindstringalwaysThe signal kind your rule asked for. One of:
breakout,trending,call.
eventobjectalwaysA TTF signal: an ATH breakout or a call milestone.
30 fields inside
dataobjectalwaysA TTF signal: an ATH breakout or a call milestone. The event data (the keys of this type; unknown = absent).
23 fields inside
kindstringalwaysbreakout = a new all-time high was broken, call = a call reached a milestone, trending = a trending signal. One of:
breakout,trending,call.buys_24hintegerBuys in the last 24 hours.
called_at_msintegerWhen the call was made. Unix time in milliseconds.
dexstringThe exchange of the main pool (third-party text: escape it).
entry_mc_usdstringcall: the market cap when the call was made, US dollars. Decimal string (never a float, no exponent).
gradestringThe signal grade: strong (daily ATH) or early (hourly ATH). One of:
strong,early.liquidity_usdstringLiquidity of its main pool, US dollars. Decimal string (never a float, no exponent).
market_cap_usdstringMarket cap now, US dollars. Decimal string (never a float, no exponent).
multiplenumberbreakout: market cap / the all-time high it broke; call: the milestone reached since the call (2 = 2x).
namestringToken name (third-party text: escape it).
pair_created_msintegerWhen its main pool was created (the token age).
plan_textstringThe plan line of the call ("if it holds 24h -> enter, sell 50% at 2x ...").
prev_ath_mc_usdstringbreakout: the all-time high it broke, as a market cap in US dollars. Decimal string (never a float, no exponent).
prev_ath_msintegerbreakout: when that all-time high was set.
price_change_24h_pctnumberPrice change of the last 24 hours, percent (negative = down).
price_usdstringPrice of one token now, US dollars. Decimal string (never a float, no exponent).
refstringAn id of the signal.
scorenumberStrength of the signal (higher = stronger), when given.
sells_24hintegerSells in the last 24 hours.
symbolstringTicker (third-party text: escape it).
textstringThe signal in words (third-party text: escape it).
tierstringWhich all-time high: daily (the daily ATH) or 1h (the hourly ATH). One of:
daily,1h.volume_24h_usdstringTrading volume of the last 24 hours, US dollars. Decimal string (never a float, no exponent).
idstringalwaysEvent id: a ULID (26 characters, sorts by time). One event can fire several rules.
tsintegeralwaysWhen the event happened. Unix time in milliseconds.
typestringalwaysThe event type.
vintegeralwaysEnvelope version (1).
chainstringChain id. Absent for a signal about no chain.
tokenstringToken address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.
idstringalwaysDelivery id (a ULID) = the X-TTF-Delivery header.
reasonstringalwaysWhy it fired. One of:
signal.ruleobjectalwaysThe rule that fired.
2 fields inside
idstringalwaysRule id (whr_ + 24 hex).
kindstringalwaysThe rule type.
typestringalwaysrule.fired
Examples
signal delivery
{
"created_ms": 1795000000000,
"detail": {
"kind": "breakout"
},
"event": {
"chain": "eth",
"data": {
"buys_24h": 4210,
"called_at_ms": 1794996400000,
"dex": "uniswap",
"grade": "strong",
"kind": "breakout",
"liquidity_usd": "1240000",
"market_cap_usd": "19614400",
"multiple": 1.04,
"name": "Orbit Cat",
"pair_created_ms": 1794222400000,
"plan_text": "if it holds 24h -> enter, sell 50% at 2x, sell 50% every 3x after",
"prev_ath_mc_usd": "18860000",
"prev_ath_ms": 1794827200000,
"price_change_24h_pct": 31.4,
"price_usd": "0.0196144",
"sells_24h": 2960,
"symbol": "ORBIT",
"tier": "daily",
"volume_24h_usd": "3870000"
},
"id": "01JDZ8Q7X3M4N5P6Q7R8S9T0SD",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"ts": 1795000000000,
"type": "signal",
"v": 1
},
"id": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
"reason": "signal",
"rule": {
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"kind": "signal"
},
"type": "rule.fired"
}Your answer
2XX: Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log.default: Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried.
JSON Schema
Validate bodies in your own code with the published schemas (draft 2020-12): events/signal.json · webhook.json.
Webhooks
Test ping ping
your endpoint · X-TTF-Event: pingSent when the dashboard's Test button.
Delivery rules
TTF sends an HTTPS POST with a JSON body to your endpoint when a rule fires (and when you press Test in the dashboard). Answer any 2xx within 10 seconds (queue the work on your side); anything else, a timeout or a redirect is retried after 1 min, 5 min, 30 min, 2 h and 12 h. Delivery is AT LEAST ONCE: dedupe on X-TTF-Delivery (= body.id). Deliveries are not ordered: order by created_ms / event.ts. Verify X-TTF-Signature over the RAW body before you trust it. Deliveries come from changing proxy addresses: never allowlist IPs, verify the signature.
Headers
| Header | Type | Meaning | Example |
|---|---|---|---|
X-TTF-Event | string | The event type of the body's event: price, trending, wallet, signal or ping. | ping |
X-TTF-Event-Id | string | The event id (a ULID). One event can fire several of your rules: each is its own delivery. | 01JDZ8Q7X3M4N5P6Q7R8S9T0PE |
X-TTF-Delivery | string | The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it. | 01JDR4Q7Z2N8M5K3X9V6B4C2HA |
X-TTF-Attempt | integer | 1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours). | 1 |
X-TTF-Timestamp | integer | Unix SECONDS when this attempt was signed (every retry is signed afresh). Refuse it when more than 300 s away from your clock (replay window). | 1795000000 |
X-TTF-Signature | string | v1=<hex>: HMAC-SHA256(key = your endpoint secret "whsec_...", message = X-TTF-Timestamp + "." + the raw body bytes), lower-case hex. During the 24 h after a secret rotation: "v1=<new>,v1=<old>". Compare in constant time; accept if any value matches. | v1=0000000000000000000000000000000000000000000000000000000000000000 |
User-Agent | string | Always TTF-Webhooks/1.0. | TTF-Webhooks/1.0 |
Signature
| algorithm | HMAC-SHA256 |
|---|---|
| format | v1=<64 lower-case hex>[,v1=<hex>] |
| header | X-TTF-Signature |
| rotation | for 24 h after a secret rotation the header carries two values (new secret first): accept if any matches |
| secret | the endpoint secret, the whole whsec_... string as UTF-8 |
| signed payload | <X-TTF-Timestamp>.<raw request body bytes> |
| timestamp header | X-TTF-Timestamp |
| tolerance s | 300 |
Copy-paste verification code in Python and Node.js: Verify the signature.
Body
One body per fired rule. always = in every body; other fields are left out when unknown. Text inside events comes from third parties: escape it before you show it.
WebhookPing
The dashboard's test button.
created_msintegeralwaysWhen the test was queued. Unix time in milliseconds.
eventobjectalwaysThe dashboard's test delivery (webhooks only, never on the bus).
6 fields inside
dataobjectalwaysThe test delivery's data.
1 field inside
textstringalwaysA fixed text ("Test delivery from TTF").
idstringalwaysEvent id: a ULID (26 characters, sorts by time). One event can fire several rules.
tsintegeralwaysWhen the event happened. Unix time in milliseconds.
typestringalwaysThe event type.
vintegeralwaysEnvelope version (1).
idstringalwaysDelivery id (a ULID) = the X-TTF-Delivery header.
reasonstringalwaysAlways test.
typestringalwaysping
Examples
ping delivery
{
"created_ms": 1795000000000,
"event": {
"data": {
"text": "Test delivery from TTF"
},
"id": "01JDZ8Q7X3M4N5P6Q7R8S9T0PE",
"ts": 1795000000000,
"type": "ping",
"v": 1
},
"id": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
"reason": "test",
"type": "ping"
}Your answer
2XX: Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log.default: Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried.
JSON Schema
Validate bodies in your own code with the published schemas (draft 2020-12): events/ping.json · webhook.json.
Webhooks
Verify the signature
Anyone can POST to your server. The signature proves the body came from TTF and was not changed.
How it works
- Take the
X-TTF-Timestampheader and the raw body bytes (exactly as received, not re-encoded JSON). - Compute HMAC-SHA256 with your endpoint secret (the whole
whsec_...text) as the key, overtimestamp + "." + body. Write it as lower-case hex. - Compare it, in constant time, with each
v1=value ofX-TTF-Signature. One match = valid. - Refuse a timestamp more than 300 seconds (5 minutes) from your clock: that stops replays of an old delivery.
Python
import hashlib
import hmac
import re
import time
_HEX64 = re.compile(r'[0-9a-f]{64}')
def verify_ttf_signature(secret, headers, body, tolerance=300, now=None):
"""secret: your 'whsec_...' text; headers: the request headers; body: the RAW body (bytes).
Returns True or False, never raises."""
h = {str(k).lower(): str(v) for k, v in headers.items()}
try:
ts = int(h['x-ttf-timestamp'])
except (KeyError, ValueError):
return False
if abs((time.time() if now is None else now) - ts) > tolerance:
return False
expected = hmac.new(secret.encode('utf-8'), f'{ts}.'.encode('ascii') + body, hashlib.sha256).hexdigest()
for part in h.get('x-ttf-signature', '').split(','):
scheme, _, value = part.strip().partition('=')
if scheme == 'v1' and _HEX64.fullmatch(value) and hmac.compare_digest(value, expected):
return True
return False
Node.js
Read the raw body (for Express: express.raw({type: 'application/json'})), never the parsed JSON.
const crypto = require('crypto');
// secret: your 'whsec_...' text; headers: lower-case header names; rawBody: a Buffer of the RAW body
function verifyTtfSignature(secret, headers, rawBody, toleranceSec = 300, nowSec = Date.now() / 1000) {
const ts = Number(headers['x-ttf-timestamp']);
if (!Number.isInteger(ts) || Math.abs(nowSec - ts) > toleranceSec) return false;
const expected = crypto.createHmac('sha256', secret).update(`${ts}.`).update(rawBody).digest('hex');
return String(headers['x-ttf-signature'] || '').split(',').some((part) => {
const [scheme, value] = part.trim().split('=');
return scheme === 'v1' && /^[0-9a-f]{64}$/.test(value || '') &&
crypto.timingSafeEqual(Buffer.from(value, 'ascii'), Buffer.from(expected, 'ascii'));
});
}
module.exports = { verifyTtfSignature };
Test it with these values
Your function must return true for this request (we test our own examples against the same values):
| Secret | whsec_dGVzdC12ZWN0b3Itc2VjcmV0LWZvci10dGYtZG9jcy0 |
|---|---|
| X-TTF-Timestamp | 1795001500 |
| Body (raw bytes, UTF-8) | {"id":"01JDR4W4D5E6F7G8H9J0K1L2M3","type":"ping","created_ms":1795001500000,"reason":"test","event":{"v":1,"id":"01JDR4W4N5M6B7V8C9X0Z1A2S3","type":"ping","ts":1795001500000,"data":{"text":"Test delivery from TTF"}}} |
| X-TTF-Signature | v1=33997caf7b21de24aa31c7754caaef491dd8c36664897a9ac5b60ed5cac1b36b |
| Your clock (now) | 1795001530 |
And false when one byte of the body changes, the secret is different, or the timestamp is older than 5 minutes.
Webhooks
Retries, duplicates and limits
Answer fast with a 2xx. If you do not, TTF tries again later.
Answer quickly
You have 10 seconds in total. Answer 200 right away and do the work after (put it in a queue). Redirects are
not followed: a 3xx counts as a failure. The first 1 KB of your answer shows in the delivery log of the dashboard.
Retries
No 2xx (an error, a timeout, a connection problem)? We try again after 1 min, 5 min, 30 min, 2 h and 12 h: at most 6 attempts over about 15 hours. Then the delivery is dead (visible in the log). A dead delivery is not sent again: when you need what it carried, read it from the API (for example Wallet activity or Signals).
Duplicates
Delivery is at least once: the same delivery can arrive twice. It always has the same
X-TTF-Delivery header and the same body: keep the ids you handled and skip repeats.
Order
Deliveries are not ordered (a retry can arrive after a newer event): sort by created_ms or
event.ts.
Automatic pause
An endpoint that keeps failing for over an hour (20 failures in a row, or almost every attempt failing) is turned off: the dashboard shows it as Turned off after failures and its rules stop. An answer slower than 8 seconds counts as a failure there. Fix your server, send a test alert, then press Resume in the dashboard.
Plan limits
Deliveries per month, endpoints and rules depend on your plan. Over a limit, the extra rules pause (nothing is deleted) and come back by themselves after an upgrade.
Webhook management
Manage webhooks from code
Create, change and test your endpoints and rules with an API key that has webhook access.
Make a key with webhook access
In the dashboard, tab Overview, panel API keys: type a name, open Options and set Webhook access, then press Create key. (No Webhook access field under Options? Then managing webhooks from code is not switched on yet; the dashboard does all of it meanwhile.)
| Access | What the key can do |
|---|---|
none | Read data only. This is the default. |
read | Also see your endpoints, rules and delivery logs. It never sees a signing secret. |
write | Also create, change, test and delete them, and rotate secrets (includes
read). |
A write key can send your alerts to another address. Keep it on your server only, limit it to your
server's IP addresses, and revoke it if it leaks. The access of a key cannot be changed later: make a new key.
Making or regenerating a key with webhook access needs a recent sign-in: the dashboard asks you to confirm it is you. Revoking a key never does.
Your first endpoint and rule
Create an endpoint
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/endpoints' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"description": "Trading bot",
"event_types": [
"price",
"wallet"
],
"url": "https://bot.example.com/ttf"
}'Add a rule
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/rules' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"name": "PEPE breakout",
"params": {
"above": 1e-05,
"chain": "eth",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
},
"type": "price_cross"
}'Send a test
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/endpoints/whe_8b1f0c2d9a7e4f3b5c6d1e2a/test' \
-H 'Authorization: Bearer YOUR_KEY'Take data.endpoint.id of the first answer for endpoint_id and for the test address, and keep
data.secret: it is shown once.
How these calls differ from data calls
- They cost 0 credits. Your account has its own limits for them: 120 calls a minute, of which changes are at most 30 a minute and 300 a day. They never use up the dashboard's limits.
- The list of rules leaves out wallet addresses and labels (
address_countandlabel_countsay how many): get one rule to read them. - Send the body of a change within 10 seconds, else it answers
408 request_timeoutand nothing changes. - Times in these answers are unix seconds.
- Answers are never cached and carry no
ETag. - Call them from a server: a web page cannot send a change.
- There is no idempotency key. After a timeout on a create, list your endpoints or rules before you try again.
403 forbiddennamingwebhooks: readorwebhooks: writemeans the key lacks that access.- An id that belongs to another account answers like an unknown one:
404 not_found. - Telegram and Discord destinations are not part of these calls: they are connected and changed in the dashboard only (Telegram, Discord). These calls list only your https endpoints and their rules, but a chat destination still takes one of your plan's endpoint slots.
Webhook management
Rule types and bounds
/v1/webhooks/schema
Read this first when you build a rule form: every rule type, the settings it takes, their limits and the chains you can name.
A refused or failed call costs nothing.
- The one-click page key has no webhook access: paste a key made with Webhook access (how).
Exact rules
The same description of the rule types, their settings, bounds and chains the dashboard builds its form from. Needs an API key with webhooks: read (write includes read). Costs 0 credits; counted in your account's webhook read limit.
Parameters
No parameters: just send it.
What you get back
A 200 answer is {"data", "meta"} (HookSchemaAnswer). 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.
data
chainsarray of objectsalwaysChains a rule may name.
2 fields inside
idstringalwaysChain id.
namestringalwaysIts name.
coverage_notesobjectalwaysEvery coverage value in words.
8 fields inside
deniedstringalwaysThe note of coverage denied.
fullstringalwaysThe note of coverage full.
native_onlystringalwaysThe note of coverage native_only.
neverstringalwaysThe note of coverage never.
no_sourcestringalwaysThe note of coverage no_source.
not_watchedstringalwaysThe note of coverage not_watched.
partialstringalwaysThe note of coverage partial.
pendingstringalwaysThe note of coverage pending.
event_typesarray of stringsalwaysEvery event type. One of:
price,trending,wallet,signal.limitsobjectalwaysFixed limits.
3 fields inside
description_maxintegeralwaysLongest endpoint description.
rotate_overlap_sintegeralwaysSeconds the previous secret keeps signing after a rotation.
test_per_minuteintegeralwaysTest deliveries a minute per endpoint.
plan_groupsobjectalwaysThe plan data group each rule type needs.
5 fields inside
pct_movestringalwaysThe group a pct_move rule needs.
price_crossstringalwaysThe group a price_cross rule needs.
signalstringalwaysThe group a signal rule needs.
trending_enterstringalwaysThe group a trending_enter rule needs.
wallet_activitystringalwaysThe group a wallet_activity rule needs.
rule_typesobjectalwaysPer rule type: the event it sends, its params and bounds.
70 fields inside
pct_moveobjectalwaysPrice moves by a percentage.
6 fields inside
eventstringalwaysThe event type a rule of this kind sends.
hintstringalwaysWhen it fires, in words.
percent_boundsarray of numbersalwaysSmallest and largest percent.
percent_min_absnumberalwaysSmallest size of a move.
requiredarray of stringsalwaysThe params a rule of this kind needs.
windowsarray of stringsalwaysWindows available now.
price_crossobjectalwaysPrice crosses a level.
5 fields inside
eventstringalwaysThe event type a rule of this kind sends.
hintstringalwaysWhen it fires, in words.
optionalarray of stringsalwaysThe optional params.
price_boundsarray of numbersalwaysSmallest and largest price.
requiredarray of stringsalwaysThe params a rule of this kind needs.
signalobjectalwaysA TTF signal.
5 fields inside
coveragestringalwaysfull while TTF signals are coming in; no_source while the signal feed is off. Known values:
full,not_watched,never,partial,pending,denied,native_only,no_source(more may come: handle unknown ones).eventstringalwaysThe event type a rule of this kind sends.
hintstringalwaysWhen it fires, in words.
kindsarray of stringsalwaysSignal kinds a rule may name.
requiredarray of stringsalwaysThe params a rule of this kind needs.
trending_enterobjectalwaysA token enters the trending board.
32 fields inside
board_sizeintegeralwaysPlaces on the trending board.
chains_maxintegeralwaysMost chains in chains / per_chain.
coverageobjectalwaysWhich value each chain has: a filter on a value a chain does not have does not apply there.
8 fields inside
chainsmap of array of stringssalwaysPer chain id, the values it has.
filtersmap of objectsalwaysPer filter, its value and group.
2 fields inside
groupstringalwaysIts coverage group.
valuestringalwaysThe value it reads.
groupsmap of objectsalwaysCoverage groups, by name.
3 fields inside
chainsarray of stringsalwaysThe chains that have them.
notestringalwaysWhere the values come from, in words.
valuesarray of stringsalwaysIts values.
enter_window_sintegeralwaysSeconds after entering the board a token may still pass.
eventstringalwaysThe event type a rule of this kind sends.
filtersmap of objectsalwaysEvery filter, by param name.
7 fields inside
groupstringalwaysIts coverage group.
kindstringalwaysint, usd, pct, hours, enum, words or flag.
labelstringalwaysThe value in words.
opstringalwaysmin, max, eq, words_any, words_none, true, false or pad.
valuestringalwaysThe event data value it reads.
boundsarray of integersSmallest and largest value (numbers).
choicesarray of stringsThe values it takes (enum).
hintstringalwaysWhen it fires, in words.
max_per_hour_boundsarray of integersalwaysSmallest and largest max_per_hour.
min_scans_boundsarray of integersalwaysSmallest and largest min_scans.
modifiersarray of stringsalwaysParams that change how filters match (whole_words).
never_daysintegeralwaysHow long repeat: never remembers a token, days.
optionalarray of stringsalwaysThe optional params (the filters, per_chain, repeat, max_per_hour, unknown).
repeatsarray of stringsalwaysrepeat values.
requiredarray of stringsalwaysThe params a rule of this kind needs.
unknown_modesarray of stringsalwaysunknown values.
word_lenintegeralwaysLongest word.
words_maxintegeralwaysMost words in a word list.
wallet_activityobjectalwaysA watched wallet makes a transfer.
17 fields inside
all_evmobjectalwaysAll EVMs: a wallet rule with chain "evm" watches its wallets on every chain listed here (chains switched on later are added by themselves).
7 fields inside
chain_namesarray of stringsalwaysTheir names, in the same order.
chainsarray of stringsalwaysThe chains an All EVMs rule watches now.
coveragestringalwaysfull when at least one chain is watched. Known values:
full,not_watched,never,partial,pending,denied,native_only,no_source(more may come: handle unknown ones).idstringalwaysThe chain value of an All EVMs rule: evm.
namestringalwaysIts name.
native_only_chainsarray of stringsalwaysOf them, the chains where only native coin moves are seen.
not_coveredarray of stringsalwaysEVM chains a rule may name that are not watched yet (Solana and other non-EVM chains are never part of All EVMs).
coveragestringalwaysfull when wallets are watched on at least one chain. Known values:
full,not_watched,never,partial,pending,denied,native_only,no_source(more may come: handle unknown ones).directionsarray of stringsalwaysDirection values.
eventstringalwaysThe event type a rule of this kind sends.
full_chainsarray of stringsalwaysChains where wallet rules fire now.
hintstringalwaysWhen it fires, in words.
min_usd_maxnumberalwaysLargest min_usd.
native_only_chainsarray of stringsalwaysChains where only native coin moves are watched (no token transfers): rules there have coverage native_only.
optionalarray of stringsalwaysThe optional params.
requiredarray of stringsalwaysThe params a rule of this kind needs.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Rule types, fields and bounds
{
"data": {
"chains": [
{
"id": "eth",
"name": "Ethereum"
},
{
"id": "sol",
"name": "Solana"
}
],
"coverage_notes": {
"denied": "This address is not watched.",
"full": "",
"native_only": "On this chain only native coin moves are watched.",
"never": "This rule cannot fire.",
"no_source": "No TTF signals are coming in yet.",
"not_watched": "This chain is not watched for webhook wallets yet.",
"partial": "Some addresses are not read at the moment.",
"pending": "The watcher has not loaded this address yet."
},
"event_types": [
"price",
"trending",
"wallet",
"signal"
],
"limits": {
"description_max": 120,
"rotate_overlap_s": 86400,
"test_per_minute": 5
},
"plan_groups": {
"pct_move": "core",
"price_cross": "core",
"signal": "signals",
"trending_enter": "trending",
"wallet_activity": "wallet"
},
"rule_types": {
"pct_move": {
"event": "price",
"hint": "Fires when the price moved at least percent within the window.",
"percent_bounds": [
-99,
10000
],
"percent_min_abs": 0.1,
"required": [
"chain",
"token",
"window",
"percent"
],
"windows": [
"15m",
"1h",
"4h",
"24h"
]
},
"price_cross": {
"event": "price",
"hint": "Fires once when the price moves past the level.",
"optional": [
"fire_if_already_past"
],
"price_bounds": [
1e-18,
1000000000000
],
"required": [
"chain",
"token",
"above | below"
]
},
"signal": {
"coverage": "full",
"event": "signal",
"hint": "Fires on every TTF signal of that kind.",
"kinds": [
"breakout",
"trending",
"call"
],
"required": [
"kind"
]
},
"trending_enter": {
"board_size": 30,
"chains_max": 64,
"coverage": {
"chains": {
"eth": [
"honeypot",
"liquidity_usd"
],
"sol": [
"liquidity_usd"
]
},
"filters": {
"exclude_honeypot": {
"group": "simulation",
"value": "honeypot"
},
"min_liquidity_usd": {
"group": "market",
"value": "liquidity_usd"
}
},
"groups": {
"market": {
"chains": [
"eth",
"sol"
],
"note": "Market lookup of the board tokens: every chain it lists.",
"values": [
"liquidity_usd"
]
},
"simulation": {
"chains": [
"eth"
],
"note": "The scan's buy / sell simulation: Ethereum-type (EVM) chains only.",
"values": [
"honeypot"
]
}
}
},
"enter_window_s": 900,
"event": "trending",
"filters": {
"exclude_honeypot": {
"group": "simulation",
"kind": "flag",
"label": "honeypot check",
"op": "false",
"value": "honeypot"
},
"min_liquidity_usd": {
"bounds": [
0,
10000000000000
],
"group": "market",
"kind": "usd",
"label": "liquidity",
"op": "min",
"value": "liquidity_usd"
}
},
"hint": "Fires when a token enters the trending board.",
"max_per_hour_bounds": [
1,
1000
],
"min_scans_bounds": [
1,
100000
],
"modifiers": [
"whole_words"
],
"never_days": 180,
"optional": [
"chain",
"chains",
"exclude_honeypot",
"max_per_hour",
"min_liquidity_usd",
"per_chain",
"repeat",
"unknown"
],
"repeats": [
"1h",
"6h",
"24h",
"never"
],
"required": [
"chain (or all)",
"min_scans"
],
"unknown_modes": [
"skip",
"mark"
],
"word_len": 32,
"words_max": 50
},
"wallet_activity": {
"all_evm": {
"chain_names": [
"Base",
"BSC",
"Ethereum"
],
"chains": [
"base",
"bsc",
"eth"
],
"coverage": "full",
"id": "evm",
"name": "All EVMs",
"native_only_chains": [],
"not_covered": [
"arb"
]
},
"coverage": "full",
"directions": [
"out",
"in",
"any"
],
"event": "wallet",
"full_chains": [
"base",
"bsc",
"eth"
],
"hint": "Fires on a transfer of the wallet.",
"min_usd_max": 1000000000000,
"native_only_chains": [],
"optional": [
"min_usd",
"direction"
],
"required": [
"chain",
"address"
]
}
}
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:read permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable | The service cannot answer right now. See Retry-After. Codes: unavailable. |
| 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.
Webhook management
Webhook usage and limits
/v1/webhooks/usage
How much room is left: endpoints, rules, watched wallets and deliveries of this month against what your plan allows.
A refused or failed call costs nothing.
- The one-click page key has no webhook access: paste a key made with Webhook access (how).
Exact rules
Endpoints, rules, watched wallets and this month's deliveries against your plan. Needs an API key with webhooks: read (write includes read). Costs 0 credits; counted in your account's webhook read limit.
Parameters
No parameters: just send it.
What you get back
A 200 answer is {"data", "meta"} (HookUsageAnswer). 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.
data
deliveriesobjectalwaysDeliveries of the running subscription month.
4 fields inside
limitintegeralwaysAllowed.
over_quotabooleanalwaystrue = used up: rules do not fire until the reset or an upgrade.
resetsintegeralwaysWhen the count starts again. Unix time in SECONDS.
usedintegeralwaysSent.
endpointsobjectalwaysEndpoints.
3 fields inside
limitintegeralwaysAllowed.
over_limitintegeralwaysAbove the plan (paused).
usedintegeralwaysIn use.
partialarray of stringsalwaysParts that could not be read just now (empty when everything was).
planobjectalwaysYour plan.
4 fields inside
groupsarray of stringsalwaysData groups of the plan.
plan_idstringalwaysPlan id.
plan_namestringalwaysPlan name.
statestringalwaysok, or why paid terms do not apply (expired = the Free terms).
rulesobjectalwaysRules.
4 fields inside
activeintegeralwaysSwitched on and inside the plan.
limitintegeralwaysAllowed.
over_limitintegeralwaysAbove the plan (paused).
usedintegeralwaysIn use.
watchobjectalwaysWatched wallet addresses.
2 fields inside
limitintegeralwaysAllowed.
usedintegeralwaysIn use.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Webhook usage and limits
{
"data": {
"deliveries": {
"limit": 250000,
"over_quota": false,
"resets": 1796000000,
"used": 1840
},
"endpoints": {
"limit": 10,
"over_limit": 0,
"used": 2
},
"partial": [],
"plan": {
"groups": [
"core",
"security",
"signals",
"wallet"
],
"plan_id": "pro",
"plan_name": "Pro",
"state": "ok"
},
"rules": {
"active": 6,
"limit": 100,
"over_limit": 0,
"used": 7
},
"watch": {
"limit": 2500,
"used": 12
}
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:read permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden account_suspended | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, account_suspended. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable | The service cannot answer right now. See Retry-After. Codes: unavailable. |
| 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.
Webhook management
List endpoints
/v1/webhooks/endpoints
All the places TTF delivers to for your account, with their state, so your tool can show or repair them.
A refused or failed call costs nothing.
- The one-click page key has no webhook access: paste a key made with Webhook access (how).
Exact rules
Every endpoint of the account, newest first. A signing secret is never part of it. Needs an API key with webhooks: read (write includes read). Costs 0 credits; counted in your account's webhook read limit.
Parameters
No parameters: just send it.
What you get back
A 200 answer is {"data", "meta"} (HookEndpointListAnswer). 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.
data
endpointsarray of objectsalwaysThe endpoints.
11 fields inside
createdintegeralwaysWhen it was created. Unix time in SECONDS.
descriptionstringalwaysYour note (empty text when none).
enabledbooleanalwaystrue = switched on.
event_typesarray of stringsalwaysThe event types it receives. One of:
price,trending,wallet,signal.idstringalwaysEndpoint id (whe_ + 24 hex).
over_limitbooleanalwaystrue = above the number of endpoints of your plan, so it gets nothing.
secret_versionintegeralwaysHow many signing secrets this endpoint has had (1 = never rotated).
statusstringalwaysactive = receiving; failing = receiving, recent deliveries failed; paused = switched off by you; disabled = switched off by TTF after repeated failures; paused_over_limit = above your plan. Known values:
active,paused,failing,disabled,paused_over_limit(more may come: handle unknown ones).updatedintegeralwaysWhen it was last changed. Unix time in SECONDS.
urlstringalwaysWhere deliveries are POSTed.
previous_secret_untilintegerAfter a rotation: when the previous secret stops signing. Absent otherwise. Unix time in SECONDS.
max_endpointsintegeralwaysHow many endpoints your plan allows.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
List your endpoints
{
"data": {
"endpoints": [
{
"created": 1795000000,
"description": "Trading bot",
"enabled": true,
"event_types": [
"price",
"trending",
"wallet",
"signal"
],
"id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"over_limit": false,
"secret_version": 1,
"status": "active",
"updated": 1795000000,
"url": "https://bot.example.com/ttf"
}
],
"max_endpoints": 10
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:read permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden account_suspended | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, account_suspended. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable | The service cannot answer right now. See Retry-After. Codes: unavailable. |
| 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.
Webhook management
Create an endpoint
/v1/webhooks/endpoints
Register the https URL TTF should POST to. Do it from your own deploy script and store the signing secret it returns.
A refused or failed call costs nothing.
- Store
data.secretat once: no other call returns it. Then check the signature of every delivery.
Exact rules
The signing secret is in this answer only. A URL is unique per account: creating it again answers 409 duplicate_url. Needs an API key with webhooks: write. Costs 0 credits; counted in your account's webhook change and read limits.
Body
A JSON object, sent as Content-Type: application/json. Unknown fields are refused.
urlstringrequiredPublic https URL (port 443 or 8443, a host name that resolves, no user name or password).
descriptionstringA note, up to 120 characters.
enabledbooleanfalse = create it paused (default true).
event_typesarray of stringsEvent types to receive (default: all). One of:
price,trending,wallet,signal.
Example request
This page has no try-it form: a change is only made by your own code. For macOS, Linux, Git Bash or WSL.
An endpoint for price and wallet alerts.
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/endpoints' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"description": "Trading bot",
"event_types": [
"price",
"wallet"
],
"url": "https://bot.example.com/ttf"
}'Every event type: only the URL.
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/endpoints' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://bot.example.com/ttf"
}'What you get back
A 201 answer is {"data", "meta"} (HookEndpointCreatedAnswer). always = in every answer; any other field is left out when there is no value.
data
endpointobjectalwaysA webhook endpoint: where deliveries go. Its signing secret is never part of it.
11 fields inside
createdintegeralwaysWhen it was created. Unix time in SECONDS.
descriptionstringalwaysYour note (empty text when none).
enabledbooleanalwaystrue = switched on.
event_typesarray of stringsalwaysThe event types it receives. One of:
price,trending,wallet,signal.idstringalwaysEndpoint id (whe_ + 24 hex).
over_limitbooleanalwaystrue = above the number of endpoints of your plan, so it gets nothing.
secret_versionintegeralwaysHow many signing secrets this endpoint has had (1 = never rotated).
statusstringalwaysactive = receiving; failing = receiving, recent deliveries failed; paused = switched off by you; disabled = switched off by TTF after repeated failures; paused_over_limit = above your plan. Known values:
active,paused,failing,disabled,paused_over_limit(more may come: handle unknown ones).updatedintegeralwaysWhen it was last changed. Unix time in SECONDS.
urlstringalwaysWhere deliveries are POSTed.
previous_secret_untilintegerAfter a rotation: when the previous secret stops signing. Absent otherwise. Unix time in SECONDS.
noticestringalwaysWhat to do with the secret, in words.
secretstringalwaysThe signing secret (whsec_...). It is in this answer ONLY: store it now.
Create an endpoint
{
"data": {
"endpoint": {
"created": 1795000000,
"description": "Trading bot",
"enabled": true,
"event_types": [
"price",
"trending",
"wallet",
"signal"
],
"id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"over_limit": false,
"secret_version": 1,
"status": "active",
"updated": 1795000000,
"url": "https://bot.example.com/ttf"
},
"notice": "Copy this signing secret now: it is shown only once. Verify each delivery with it (HMAC-SHA256 of \"<timestamp>.<body>\").",
"secret": "whsec_EXAMPLE"
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object of valid text.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Send a JSON object.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:write permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}quota_exceeded: Plan limit reached
{
"error": {
"code": "quota_exceeded",
"doc_url": "https://ttf.bot/docs/errors/#quota_exceeded",
"limit": 3,
"message": "Your plan allows 3 webhook endpoint(s). Delete one first or move to a larger plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}request_timeout: Body not received
{
"error": {
"code": "request_timeout",
"doc_url": "https://ttf.bot/docs/errors/#request_timeout",
"message": "The request body did not arrive in time. Send it again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}duplicate_url: URL already used
{
"error": {
"code": "duplicate_url",
"doc_url": "https://ttf.bot/docs/errors/#duplicate_url",
"message": "This account already has an endpoint with that URL.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}too_large: Body too large
{
"error": {
"code": "too_large",
"doc_url": "https://ttf.bot/docs/errors/#too_large",
"message": "Request body too large.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unsupported_media_type: Send JSON
{
"error": {
"code": "unsupported_media_type",
"doc_url": "https://ttf.bot/docs/errors/#unsupported_media_type",
"message": "Send the body with Content-Type: application/json.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}url_not_allowed: Webhook URL refused
{
"error": {
"code": "url_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#url_not_allowed",
"message": "URL must start with https://",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_configured: Webhooks not set up
{
"error": {
"code": "not_configured",
"doc_url": "https://ttf.bot/docs/errors/#not_configured",
"message": "Webhooks are not set up on this server yet. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 400 | bad_request | Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request. |
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden quota_exceeded account_suspended | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, quota_exceeded, account_suspended. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 408 | request_timeout | The request body did not arrive in time. Nothing changed. Codes: request_timeout. |
| 409 | duplicate_url | The change conflicts with the current state. Nothing changed. Codes: duplicate_url. |
| 413 | too_large | The body is too large. Codes: too_large. |
| 415 | unsupported_media_type | The body is not declared as JSON. Codes: unsupported_media_type. |
| 422 | url_not_allowed | The URL or the rule was refused. Nothing changed. Codes: url_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable not_configured | The service cannot answer right now. See Retry-After. Codes: unavailable, not_configured. |
| 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"}}; some also carry field, limit or group. What each code means: Errors.
Webhook management
Get one endpoint
/v1/webhooks/endpoints/{endpoint_id}
Look at one endpoint: its URL, the event types it receives and whether it is receiving.
A refused or failed call costs nothing.
- The one-click page key has no webhook access: paste a key made with Webhook access (how).
Exact rules
One endpoint. An id of another account answers like an unknown one. Needs an API key with webhooks: read (write includes read). Costs 0 credits; counted in your account's webhook read limit.
Parameters
Path parameters
Endpoint id (data.endpoint.id).
What you get back
A 200 answer is {"data", "meta"} (HookEndpointAnswer). 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.
data
endpointobjectalwaysA webhook endpoint: where deliveries go. Its signing secret is never part of it.
11 fields inside
createdintegeralwaysWhen it was created. Unix time in SECONDS.
descriptionstringalwaysYour note (empty text when none).
enabledbooleanalwaystrue = switched on.
event_typesarray of stringsalwaysThe event types it receives. One of:
price,trending,wallet,signal.idstringalwaysEndpoint id (whe_ + 24 hex).
over_limitbooleanalwaystrue = above the number of endpoints of your plan, so it gets nothing.
secret_versionintegeralwaysHow many signing secrets this endpoint has had (1 = never rotated).
statusstringalwaysactive = receiving; failing = receiving, recent deliveries failed; paused = switched off by you; disabled = switched off by TTF after repeated failures; paused_over_limit = above your plan. Known values:
active,paused,failing,disabled,paused_over_limit(more may come: handle unknown ones).updatedintegeralwaysWhen it was last changed. Unix time in SECONDS.
urlstringalwaysWhere deliveries are POSTed.
previous_secret_untilintegerAfter a rotation: when the previous secret stops signing. Absent otherwise. Unix time in SECONDS.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Get an endpoint
{
"data": {
"endpoint": {
"created": 1795000000,
"description": "Trading bot",
"enabled": true,
"event_types": [
"price",
"trending",
"wallet",
"signal"
],
"id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"over_limit": false,
"secret_version": 1,
"status": "active",
"updated": 1795000000,
"url": "https://bot.example.com/ttf"
}
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:read permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such endpoint.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable | The service cannot answer right now. See Retry-After. Codes: unavailable. |
| 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.
Webhook management
Update an endpoint
/v1/webhooks/endpoints/{endpoint_id}
Change where deliveries go, which events they carry, or pause and resume an endpoint without losing its rules.
A refused or failed call costs nothing.
- Send only the fields you want to change.
Exact rules
Send only what changes. A new URL is checked again; pausing keeps the rules and stops deliveries. Needs an API key with webhooks: write. Costs 0 credits; counted in your account's webhook change and read limits.
Path parameters
| Name | Type | Meaning |
|---|---|---|
endpoint_id | string | required Endpoint id (data.endpoint.id). |
Body
A JSON object, sent as Content-Type: application/json. Unknown fields are refused.
descriptionstringA note, up to 120 characters.
enabledbooleanfalse = pause, true = resume.
event_typesarray of stringsEvent types to receive. One of:
price,trending,wallet,signal.urlstringPublic https URL (port 443 or 8443, a host name that resolves, no user name or password).
Example request
This page has no try-it form: a change is only made by your own code. For macOS, Linux, Git Bash or WSL.
Pause the endpoint.
curl -sS -X PATCH 'https://api.ttf.bot/v1/webhooks/endpoints/whe_8b1f0c2d9a7e4f3b5c6d1e2a' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"enabled": false
}'Move it to another URL.
curl -sS -X PATCH 'https://api.ttf.bot/v1/webhooks/endpoints/whe_8b1f0c2d9a7e4f3b5c6d1e2a' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://bot.example.com/ttf-v2"
}'What you get back
A 200 answer is {"data", "meta"} (HookEndpointUpdatedAnswer). always = in every answer; any other field is left out when there is no value.
data
endpointobjectalwaysA webhook endpoint: where deliveries go. Its signing secret is never part of it.
11 fields inside
createdintegeralwaysWhen it was created. Unix time in SECONDS.
descriptionstringalwaysYour note (empty text when none).
enabledbooleanalwaystrue = switched on.
event_typesarray of stringsalwaysThe event types it receives. One of:
price,trending,wallet,signal.idstringalwaysEndpoint id (whe_ + 24 hex).
over_limitbooleanalwaystrue = above the number of endpoints of your plan, so it gets nothing.
secret_versionintegeralwaysHow many signing secrets this endpoint has had (1 = never rotated).
statusstringalwaysactive = receiving; failing = receiving, recent deliveries failed; paused = switched off by you; disabled = switched off by TTF after repeated failures; paused_over_limit = above your plan. Known values:
active,paused,failing,disabled,paused_over_limit(more may come: handle unknown ones).updatedintegeralwaysWhen it was last changed. Unix time in SECONDS.
urlstringalwaysWhere deliveries are POSTed.
previous_secret_untilintegerAfter a rotation: when the previous secret stops signing. Absent otherwise. Unix time in SECONDS.
Update an endpoint
{
"data": {
"endpoint": {
"created": 1795000000,
"description": "Trading bot",
"enabled": false,
"event_types": [
"price",
"trending",
"wallet",
"signal"
],
"id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"over_limit": false,
"secret_version": 1,
"status": "paused",
"updated": 1795000000,
"url": "https://bot.example.com/ttf"
}
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object of valid text.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Send a JSON object.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:write permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such endpoint.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}request_timeout: Body not received
{
"error": {
"code": "request_timeout",
"doc_url": "https://ttf.bot/docs/errors/#request_timeout",
"message": "The request body did not arrive in time. Send it again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}duplicate_url: URL already used
{
"error": {
"code": "duplicate_url",
"doc_url": "https://ttf.bot/docs/errors/#duplicate_url",
"message": "This account already has an endpoint with that URL.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}types_in_use: Event types in use
{
"error": {
"code": "types_in_use",
"doc_url": "https://ttf.bot/docs/errors/#types_in_use",
"message": "Rules of this endpoint use price events: delete those rules first.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}too_large: Body too large
{
"error": {
"code": "too_large",
"doc_url": "https://ttf.bot/docs/errors/#too_large",
"message": "Request body too large.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unsupported_media_type: Send JSON
{
"error": {
"code": "unsupported_media_type",
"doc_url": "https://ttf.bot/docs/errors/#unsupported_media_type",
"message": "Send the body with Content-Type: application/json.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}url_not_allowed: Webhook URL refused
{
"error": {
"code": "url_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#url_not_allowed",
"message": "URL must start with https://",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "Another change of your wallet rules is in progress. Try again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_configured: Webhooks not set up
{
"error": {
"code": "not_configured",
"doc_url": "https://ttf.bot/docs/errors/#not_configured",
"message": "Webhooks are not set up on this server yet. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 400 | bad_request | Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request. |
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden account_suspended | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, account_suspended. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 408 | request_timeout | The request body did not arrive in time. Nothing changed. Codes: request_timeout. |
| 409 | duplicate_url types_in_use | The change conflicts with the current state. Nothing changed. Codes: duplicate_url, types_in_use. |
| 413 | too_large | The body is too large. Codes: too_large. |
| 415 | unsupported_media_type | The body is not declared as JSON. Codes: unsupported_media_type. |
| 422 | url_not_allowed | The URL or the rule was refused. Nothing changed. Codes: url_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | busy unavailable not_configured | The service cannot answer right now. See Retry-After. Codes: busy, unavailable, not_configured. |
| 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"}}; some also carry field, limit or group. What each code means: Errors.
Webhook management
Delete an endpoint
/v1/webhooks/endpoints/{endpoint_id}
Remove an endpoint you no longer need, together with everything attached to it.
A refused or failed call costs nothing.
- Only want it quiet for a while? Update it with
"enabled": falseinstead.
Exact rules
Removes the endpoint with its rules, its delivery log and what was still queued for it. This cannot be undone. Needs an API key with webhooks: write. Costs 0 credits; counted in your account's webhook change and read limits.
Path parameters
| Name | Type | Meaning |
|---|---|---|
endpoint_id | string | required Endpoint id (data.endpoint.id). |
Body
This call takes no body.
Example request
This page has no try-it form: a change is only made by your own code. For macOS, Linux, Git Bash or WSL.
curl -sS -X DELETE 'https://api.ttf.bot/v1/webhooks/endpoints/whe_8b1f0c2d9a7e4f3b5c6d1e2a' \
-H 'Authorization: Bearer YOUR_KEY'What you get back
A 200 answer is {"data", "meta"} (HookEndpointDeletedAnswer). always = in every answer; any other field is left out when there is no value.
data
deletedbooleanalwaystrue.
deliveries_deletedintegeralwaysDelivery log rows deleted with it.
idstringalwaysThe deleted endpoint.
rules_deletedintegeralwaysRules of the endpoint deleted with it.
Delete an endpoint
{
"data": {
"deleted": true,
"deliveries_deleted": 128,
"id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"rules_deleted": 3
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:write permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such endpoint.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable | The service cannot answer right now. See Retry-After. Codes: unavailable. |
| 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"}}; some also carry field, limit or group. What each code means: Errors.
Webhook management
Rotate the signing secret
/v1/webhooks/endpoints/{endpoint_id}/rotate
Replace the signing secret, for example after it showed up in a log. Your receiver can accept both for a day.
A refused or failed call costs nothing.
- For 24 hours every delivery carries two signatures. Switch your receiver to the new secret in that time.
Exact rules
Takes no body. The new secret is in this answer only; the previous one keeps signing for 24 hours, so you can switch without a gap. Needs an API key with webhooks: write. Costs 0 credits; counted in your account's webhook change and read limits.
Path parameters
| Name | Type | Meaning |
|---|---|---|
endpoint_id | string | required Endpoint id (data.endpoint.id). |
Body
This call takes no body.
Example request
This page has no try-it form: a change is only made by your own code. For macOS, Linux, Git Bash or WSL.
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/endpoints/whe_8b1f0c2d9a7e4f3b5c6d1e2a/rotate' \
-H 'Authorization: Bearer YOUR_KEY'What you get back
A 200 answer is {"data", "meta"} (HookSecretRotatedAnswer). always = in every answer; any other field is left out when there is no value.
data
endpointobjectalwaysA webhook endpoint: where deliveries go. Its signing secret is never part of it.
11 fields inside
createdintegeralwaysWhen it was created. Unix time in SECONDS.
descriptionstringalwaysYour note (empty text when none).
enabledbooleanalwaystrue = switched on.
event_typesarray of stringsalwaysThe event types it receives. One of:
price,trending,wallet,signal.idstringalwaysEndpoint id (whe_ + 24 hex).
over_limitbooleanalwaystrue = above the number of endpoints of your plan, so it gets nothing.
secret_versionintegeralwaysHow many signing secrets this endpoint has had (1 = never rotated).
statusstringalwaysactive = receiving; failing = receiving, recent deliveries failed; paused = switched off by you; disabled = switched off by TTF after repeated failures; paused_over_limit = above your plan. Known values:
active,paused,failing,disabled,paused_over_limit(more may come: handle unknown ones).updatedintegeralwaysWhen it was last changed. Unix time in SECONDS.
urlstringalwaysWhere deliveries are POSTed.
previous_secret_untilintegerAfter a rotation: when the previous secret stops signing. Absent otherwise. Unix time in SECONDS.
noticestringalwaysWhat to do with the secret, in words.
secretstringalwaysThe signing secret (whsec_...). It is in this answer ONLY: store it now.
Rotate the signing secret
{
"data": {
"endpoint": {
"created": 1795000000,
"description": "Trading bot",
"enabled": true,
"event_types": [
"price",
"trending",
"wallet",
"signal"
],
"id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"over_limit": false,
"previous_secret_until": 1795086400,
"secret_version": 2,
"status": "active",
"updated": 1795000000,
"url": "https://bot.example.com/ttf"
},
"notice": "Copy the new signing secret now: it is shown only once. The previous secret keeps working for 24 hours; rotating again within that time ends the oldest one at once (only the two newest are kept).",
"secret": "whsec_EXAMPLE"
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:write permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such endpoint.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}conflict: Changed meanwhile
{
"error": {
"code": "conflict",
"doc_url": "https://ttf.bot/docs/errors/#conflict",
"message": "The secret was changed meanwhile. Reload and try again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_configured: Webhooks not set up
{
"error": {
"code": "not_configured",
"doc_url": "https://ttf.bot/docs/errors/#not_configured",
"message": "Webhooks are not set up on this server yet. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden account_suspended | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, account_suspended. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 409 | conflict | The change conflicts with the current state. Nothing changed. Codes: conflict. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable not_configured | The service cannot answer right now. See Retry-After. Codes: unavailable, not_configured. |
| 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"}}; some also carry field, limit or group. What each code means: Errors.
Webhook management
Send a test delivery
/v1/webhooks/endpoints/{endpoint_id}/test
Check your receiver end to end: a signed test delivery goes through the same path as a real alert.
A refused or failed call costs nothing.
- Then ask the delivery log with
event_idto see what your server answered.
Exact rules
Takes no body. Queues a synthetic ping (at most 5 a minute per endpoint); its result shows in the delivery log under the event id. Needs an API key with webhooks: write. Costs 0 credits; counted in your account's webhook change and read limits.
Path parameters
| Name | Type | Meaning |
|---|---|---|
endpoint_id | string | required Endpoint id (data.endpoint.id). |
Body
This call takes no body.
Example request
This page has no try-it form: a change is only made by your own code. For macOS, Linux, Git Bash or WSL.
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/endpoints/whe_8b1f0c2d9a7e4f3b5c6d1e2a/test' \
-H 'Authorization: Bearer YOUR_KEY'What you get back
A 202 answer is {"data", "meta"} (HookTestAnswer). always = in every answer; any other field is left out when there is no value.
data
event_idstringalwaysThe event id of the test: look it up with ?event_id= in the delivery log.
queuedbooleanalwaystrue.
Send a test delivery
{
"data": {
"event_id": "01JDZ8Q7X3M4N5P6Q7R8S9T0PE",
"queued": true
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:write permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}quota_exceeded: Plan limit reached
{
"error": {
"code": "quota_exceeded",
"doc_url": "https://ttf.bot/docs/errors/#quota_exceeded",
"limit": 3,
"message": "This month's delivery quota is used up: test deliveries work again when the next period starts or after an upgrade.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such endpoint.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}endpoint_paused: Endpoint paused
{
"error": {
"code": "endpoint_paused",
"doc_url": "https://ttf.bot/docs/errors/#endpoint_paused",
"message": "Resume the endpoint first: a paused or disabled endpoint gets nothing.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}over_limit: Endpoint over the plan limit
{
"error": {
"code": "over_limit",
"doc_url": "https://ttf.bot/docs/errors/#over_limit",
"message": "This endpoint is above your plan's limit, so it is paused. Delete other endpoints or move to a larger plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_configured: Webhooks not set up
{
"error": {
"code": "not_configured",
"doc_url": "https://ttf.bot/docs/errors/#not_configured",
"message": "Webhooks are not set up on this server yet. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden quota_exceeded account_suspended | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, quota_exceeded, account_suspended. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 409 | endpoint_paused over_limit | The change conflicts with the current state. Nothing changed. Codes: endpoint_paused, over_limit. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable not_configured | The service cannot answer right now. See Retry-After. Codes: unavailable, not_configured. |
| 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"}}; some also carry field, limit or group. What each code means: Errors.
Webhook management
Delivery log
/v1/webhooks/endpoints/{endpoint_id}/deliveries
Debug a receiver: what was sent, how many tries it took and what your server answered.
A refused or failed call costs nothing.
- The one-click page key has no webhook access: paste a key made with Webhook access (how).
Exact rules
What was sent to the endpoint, newest first, with your receiver's answer. Pages: data.next_cursor -> ?cursor=. Needs an API key with webhooks: read (write includes read). Costs 0 credits; counted in your account's webhook read limit.
Parameters
Path parameters
Endpoint id (data.endpoint.id).
Query parameters
data.next_cursor of the previous page. Omit for the newest page.
Rows per page, 1-100. Default 25.
Only the rows of this event (the event_id of a test).
What you get back
A 200 answer is {"data", "meta"} (HookDeliveryListAnswer). 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.
data
deliveriesarray of objectsalwaysThe rows.
13 fields inside
attemptsintegeralwaysAttempts made.
event_idstringalwaysThe event it delivered.
idstringalwaysDelivery id (= the X-TTF-Delivery header).
kindstringalwaysThe rule type, or ping. Known values:
price_cross,pct_move,trending_enter,wallet_activity,signal,ping(more may come: handle unknown ones).response_snippetstringalwaysThe first 1 KB of your receiver's answer (empty text when none).
rule_idstringalwaysThe rule that fired (empty text for a test ping).
snippet_truncatedbooleanalwaystrue = the answer was longer.
statusstringalwayspending = being sent; delivered = a 2xx answer; retrying = it will be tried again; dead = every try failed; delayed_expired = it waited too long to be sent; lost = its data was lost on our side. Known values:
pending,delivered,retrying,dead,delayed_expired,lost(more may come: handle unknown ones).tsintegeralwaysWhen the rule fired. Unix time in SECONDS.
errorstringA short reason code of the last failure.
latency_msintegerHow long your receiver took, in milliseconds.
next_attemptintegerWhen the next attempt is due, while one is. Unix time in SECONDS.
response_statusintegerThe HTTP status your receiver answered, when it answered.
next_cursorstringPass as ?cursor= for the older page. Absent on the last page.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Delivery log of an endpoint
{
"data": {
"deliveries": [
{
"attempts": 1,
"event_id": "01JDZ8Q7X3M4N5P6Q7R8S9T0PE",
"id": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
"kind": "price_cross",
"latency_ms": 84,
"response_snippet": "ok",
"response_status": 200,
"rule_id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"snippet_truncated": false,
"status": "delivered",
"ts": 1795000000
}
],
"next_cursor": "01JDR4Q7Z2N8M5K3X9V6B4C2HA"
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "limit: 1..100.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: cursor: the next_cursor of the previous page.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "cursor: the next_cursor of the previous page.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:read permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such endpoint.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 400 | bad_request | Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request. |
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable | The service cannot answer right now. See Retry-After. Codes: unavailable. |
| 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.
Webhook management
List rules
/v1/webhooks/rules
Everything that can fire for your account, with the reason when a rule is not firing.
A refused or failed call costs nothing.
- The one-click page key has no webhook access: paste a key made with Webhook access (how).
Exact rules
Every rule of the account (or of one endpoint), newest first, each with its status and coverage. Wallet addresses and labels are not in the list (address_count and label_count say how many): get one rule for them. A watchlist shows coverage partial whenever its chain is over capacity; the rule itself says exactly. Needs an API key with webhooks: read (write includes read). Costs 0 credits; counted in your account's webhook read limit.
Parameters
Query parameters
Only the rules of this endpoint.
What you get back
A 200 answer is {"data", "meta"} (HookRuleListAnswer). 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.
data
max_rulesintegeralwaysHow many rules your plan allows.
max_watch_addressesintegeralwaysHow many wallet addresses your plan may watch at once.
rulesarray of objectsalwaysThe rules.
90 fields inside
activebooleanalwaystrue = it can fire now.
coveragestringalwaysWhat the sources deliver for this rule (coverage_note says it in words). Known values:
full,not_watched,never,partial,pending,denied,native_only,no_source(more may come: handle unknown ones).coverage_notestringalwaysThe coverage in words (empty text when full).
createdintegeralwaysWhen it was created. Unix time in SECONDS.
enabledbooleanalwaysYour switch.
endpoint_idstringalwaysThe endpoint it delivers to.
idstringalwaysRule id (whr_ + 24 hex).
namestringalwaysYour name for it (empty text when none).
over_limitbooleanalwaystrue = above your plan, so it does not fire.
paramsobjectalwaysThe settings of a rule in the list: as HookRuleParams without the wallet addresses (address_count says how many; GET /v1/webhooks/rules/{id} returns them).
75 fields inside
abovenumberprice_cross: fire when the price rises to this many US dollars (give above or below).
belownumberprice_cross: fire when the price falls to this many US dollars.
chainstringChain id (price_cross, pct_move, wallet_activity; trending_enter also takes "all"; wallet_activity also takes "evm" = All EVMs: the wallets on every EVM chain TTF watches, chains added later included, each event naming the chain it happened on).
chainsarray of stringstrending_enter: a list of chains (instead of chain).
directionstringwallet_activity: out (default) = sent by the wallet, in = received, any = both. One of:
out,in,any.exclude_honeypotbooleantrending_enter: true = only tokens that pass the honeypot check check (not a honeypot).
fire_if_already_pastbooleanprice_cross: fire at once when the price is already past the level.
kindstringsignal: the signal kind. One of:
breakout,trending,call,cmd.launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumbertrending_enter: at most this age in hours (0 to 87600).
max_buy_tax_pctnumbertrending_enter: at most this buy tax in percent (0 to 100).
max_liquidity_usdnumbertrending_enter: at most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumbertrending_enter: at most this market cap in US dollars (0 to 1e+13).
max_per_hourintegertrending_enter: at most this many alerts in any 60 minutes.
max_price_change_1h_pctnumbertrending_enter: at most this 1 h change in percent (-100 to 1e+06).
max_rankintegertrending_enter: at most this place (1 to 30).
max_sell_tax_pctnumbertrending_enter: at most this sell tax in percent (0 to 100).
max_top10_pctnumbertrending_enter: at most this top 10 share in percent (0 to 100).
min_age_hoursnumbertrending_enter: at least this age in hours (0 to 87600).
min_buys_1hintegertrending_enter: at least this 1 h buys (0 to 1e+09).
min_holdersintegertrending_enter: at least this holders (0 to 1e+09).
min_liquidity_usdnumbertrending_enter: at least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumbertrending_enter: at least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumbertrending_enter: at least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumbertrending_enter: at least this 1 h change in percent (-100 to 1e+06).
min_scansintegertrending_enter: scans a token needs on the board.
min_usdnumberwallet_activity: smallest transfer in US dollars (0 = every transfer).
min_volume_24h_usdnumbertrending_enter: at least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringstrending_enter: words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringstrending_enter: words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringtrending_enter: pair coin. One of:
native,stable.per_chainmap of objectstrending_enter: per chain, its own filter values: an absent key inherits the value above, a present one is that chain's own, null = no limit on that chain. Only filters the chain has.
30 fields inside
exclude_honeypotbooleantrue = only tokens that pass the honeypot check check (not a honeypot).
launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumberat most this age in hours (0 to 87600).
max_buy_tax_pctnumberat most this buy tax in percent (0 to 100).
max_liquidity_usdnumberat most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumberat most this market cap in US dollars (0 to 1e+13).
max_price_change_1h_pctnumberat most this 1 h change in percent (-100 to 1e+06).
max_rankintegerat most this place (1 to 30).
max_sell_tax_pctnumberat most this sell tax in percent (0 to 100).
max_top10_pctnumberat most this top 10 share in percent (0 to 100).
min_age_hoursnumberat least this age in hours (0 to 87600).
min_buys_1hintegerat least this 1 h buys (0 to 1e+09).
min_holdersintegerat least this holders (0 to 1e+09).
min_liquidity_usdnumberat least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumberat least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumberat least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumberat least this 1 h change in percent (-100 to 1e+06).
min_scansintegerscans a token needs on the board.
min_volume_24h_usdnumberat least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringswords matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringswords matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringpair coin. One of:
native,stable.require_freeze_disabledbooleantrue = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrue = only tokens that pass the mint authority check (required).
require_renouncedbooleantrue = only tokens that pass the ownership check (required).
require_telegrambooleantrue = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrue = only tokens that pass the source code check (required).
require_websitebooleantrue = only tokens that pass the website check (required).
require_xbooleantrue = only tokens that pass the X account check (required).
whole_wordsbooleantrue = the words match whole words only.
percentnumberpct_move: the move in percent (negative = a drop).
repeatstringtrending_enter: the same token again only after this long (absent = once each time it enters the board; never = remembered for 180 days). One of:
1h,6h,24h,never.require_freeze_disabledbooleantrending_enter: true = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrending_enter: true = only tokens that pass the mint authority check (required).
require_renouncedbooleantrending_enter: true = only tokens that pass the ownership check (required).
require_telegrambooleantrending_enter: true = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrending_enter: true = only tokens that pass the source code check (required).
require_websitebooleantrending_enter: true = only tokens that pass the website check (required).
require_xbooleantrending_enter: true = only tokens that pass the X account check (required).
tokenstringToken address (price_cross, pct_move).
unknownstringtrending_enter: skip (default) = no alert when a value a filter needs is unknown; mark = alert and list them in detail.unknown. One of:
skip,mark.whole_wordsbooleantrending_enter: true = the words match whole words only.
windowstringpct_move: the time window. One of:
1m,5m,15m,1h,4h,24h.
statusstringalwaysactive, or why it does not fire: disabled (your switch), endpoint_paused, paused_plan (your plan lacks its data), paused_over_limit, invalid, inactive_denied (an address that is never watched), over_quota (this month's deliveries are used up), inactive. Known values:
active,inactive,disabled,endpoint_paused,paused_plan,paused_over_limit,invalid,inactive_denied,over_quota(more may come: handle unknown ones).typestringalwaysThe rule type. One of:
price_cross,pct_move,trending_enter,wallet_activity,signal.updatedintegeralwaysWhen it was last changed. Unix time in SECONDS.
address_countintegerwallet_activity: how many wallets the rule watches. Absent for other rules.
label_countintegerwallet_activity: how many of them have a label. Absent for other rules.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
List your rules
{
"data": {
"max_rules": 100,
"max_watch_addresses": 2500,
"rules": [
{
"active": true,
"coverage": "full",
"coverage_note": "",
"created": 1795000000,
"enabled": true,
"endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"name": "PEPE breakout",
"over_limit": false,
"params": {
"above": 1e-05,
"chain": "eth",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
},
"status": "active",
"type": "price_cross",
"updated": 1795000000
},
{
"active": true,
"address_count": 25,
"coverage": "full",
"coverage_note": "",
"created": 1795000000,
"enabled": true,
"endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"id": "whr_0c4e8a2f6b1d9e3a5f7c2b41",
"label_count": 3,
"name": "Whales",
"over_limit": false,
"params": {
"chain": "eth",
"direction": "any",
"min_usd": 1000
},
"status": "active",
"type": "wallet_activity",
"updated": 1795000000
}
]
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:read permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such endpoint.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden account_suspended | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, account_suspended. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable | The service cannot answer right now. See Retry-After. Codes: unavailable. |
| 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.
Webhook management
Create a rule
/v1/webhooks/rules
Ask TTF to tell you when a price crosses a level, a wallet moves, a token starts trending or a signal appears.
A refused or failed call costs nothing.
- Which settings go into
paramsdepends ontype: Rule types lists them with their limits. - No answer (a timeout)? List your rules before you try again, or you may create it twice.
Exact rules
There is no idempotency key: after a timeout, list your rules before creating it again, or you may get it twice. Needs an API key with webhooks: write. Costs 0 credits; counted in your account's webhook change and read limits.
Body
A JSON object, sent as Content-Type: application/json. Unknown fields are refused.
endpoint_idstringrequiredThe endpoint it delivers to.
paramsobjectrequiredThe settings of a rule. Which keys apply depends on the rule type (GET /v1/webhooks/schema).
77 fields inside
abovenumberprice_cross: fire when the price rises to this many US dollars (give above or below).
addressstringwallet_activity: the wallet to watch (give address or addresses).
addressesarray of stringswallet_activity: a watchlist of up to 1000 wallets.
belownumberprice_cross: fire when the price falls to this many US dollars.
chainstringChain id (price_cross, pct_move, wallet_activity; trending_enter also takes "all"; wallet_activity also takes "evm" = All EVMs: the wallets on every EVM chain TTF watches, chains added later included, each event naming the chain it happened on).
chainsarray of stringstrending_enter: a list of chains (instead of chain).
directionstringwallet_activity: out (default) = sent by the wallet, in = received, any = both. One of:
out,in,any.exclude_honeypotbooleantrending_enter: true = only tokens that pass the honeypot check check (not a honeypot).
fire_if_already_pastbooleanprice_cross: fire at once when the price is already past the level.
kindstringsignal: the signal kind. One of:
breakout,trending,call,cmd.launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumbertrending_enter: at most this age in hours (0 to 87600).
max_buy_tax_pctnumbertrending_enter: at most this buy tax in percent (0 to 100).
max_liquidity_usdnumbertrending_enter: at most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumbertrending_enter: at most this market cap in US dollars (0 to 1e+13).
max_per_hourintegertrending_enter: at most this many alerts in any 60 minutes.
max_price_change_1h_pctnumbertrending_enter: at most this 1 h change in percent (-100 to 1e+06).
max_rankintegertrending_enter: at most this place (1 to 30).
max_sell_tax_pctnumbertrending_enter: at most this sell tax in percent (0 to 100).
max_top10_pctnumbertrending_enter: at most this top 10 share in percent (0 to 100).
min_age_hoursnumbertrending_enter: at least this age in hours (0 to 87600).
min_buys_1hintegertrending_enter: at least this 1 h buys (0 to 1e+09).
min_holdersintegertrending_enter: at least this holders (0 to 1e+09).
min_liquidity_usdnumbertrending_enter: at least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumbertrending_enter: at least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumbertrending_enter: at least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumbertrending_enter: at least this 1 h change in percent (-100 to 1e+06).
min_scansintegertrending_enter: scans a token needs on the board.
min_usdnumberwallet_activity: smallest transfer in US dollars (0 = every transfer).
min_volume_24h_usdnumbertrending_enter: at least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringstrending_enter: words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringstrending_enter: words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringtrending_enter: pair coin. One of:
native,stable.per_chainmap of objectstrending_enter: per chain, its own filter values: an absent key inherits the value above, a present one is that chain's own, null = no limit on that chain. Only filters the chain has.
30 fields inside
exclude_honeypotbooleantrue = only tokens that pass the honeypot check check (not a honeypot).
launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumberat most this age in hours (0 to 87600).
max_buy_tax_pctnumberat most this buy tax in percent (0 to 100).
max_liquidity_usdnumberat most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumberat most this market cap in US dollars (0 to 1e+13).
max_price_change_1h_pctnumberat most this 1 h change in percent (-100 to 1e+06).
max_rankintegerat most this place (1 to 30).
max_sell_tax_pctnumberat most this sell tax in percent (0 to 100).
max_top10_pctnumberat most this top 10 share in percent (0 to 100).
min_age_hoursnumberat least this age in hours (0 to 87600).
min_buys_1hintegerat least this 1 h buys (0 to 1e+09).
min_holdersintegerat least this holders (0 to 1e+09).
min_liquidity_usdnumberat least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumberat least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumberat least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumberat least this 1 h change in percent (-100 to 1e+06).
min_scansintegerscans a token needs on the board.
min_volume_24h_usdnumberat least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringswords matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringswords matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringpair coin. One of:
native,stable.require_freeze_disabledbooleantrue = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrue = only tokens that pass the mint authority check (required).
require_renouncedbooleantrue = only tokens that pass the ownership check (required).
require_telegrambooleantrue = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrue = only tokens that pass the source code check (required).
require_websitebooleantrue = only tokens that pass the website check (required).
require_xbooleantrue = only tokens that pass the X account check (required).
whole_wordsbooleantrue = the words match whole words only.
percentnumberpct_move: the move in percent (negative = a drop).
repeatstringtrending_enter: the same token again only after this long (absent = once each time it enters the board; never = remembered for 180 days). One of:
1h,6h,24h,never.require_freeze_disabledbooleantrending_enter: true = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrending_enter: true = only tokens that pass the mint authority check (required).
require_renouncedbooleantrending_enter: true = only tokens that pass the ownership check (required).
require_telegrambooleantrending_enter: true = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrending_enter: true = only tokens that pass the source code check (required).
require_websitebooleantrending_enter: true = only tokens that pass the website check (required).
require_xbooleantrending_enter: true = only tokens that pass the X account check (required).
tokenstringToken address (price_cross, pct_move).
unknownstringtrending_enter: skip (default) = no alert when a value a filter needs is unknown; mark = alert and list them in detail.unknown. One of:
skip,mark.whole_wordsbooleantrending_enter: true = the words match whole words only.
windowstringpct_move: the time window. One of:
1m,5m,15m,1h,4h,24h.
typestringrequiredThe rule type. One of:
price_cross,pct_move,trending_enter,wallet_activity,signal.enabledbooleanfalse = create it switched off (default true).
labelsmap of stringsWallet labels: address -> text (wallet rules only).
namestringA name, up to 60 characters.
Example request
This page has no try-it form: a change is only made by your own code. For macOS, Linux, Git Bash or WSL.
A price alert.
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/rules' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"name": "PEPE breakout",
"params": {
"above": 1e-05,
"chain": "eth",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
},
"type": "price_cross"
}'A watchlist of wallets with labels.
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/rules' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"labels": {
"0x3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a": "Whale"
},
"params": {
"addresses": [
"0x3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a"
],
"chain": "eth",
"direction": "any",
"min_usd": 1000
},
"type": "wallet_activity"
}'What you get back
A 201 answer is {"data", "meta"} (HookRuleCreatedAnswer). always = in every answer; any other field is left out when there is no value.
data
ruleobjectalwaysA webhook rule: when it matches, its event is sent to its endpoint.
91 fields inside
activebooleanalwaystrue = it can fire now.
coveragestringalwaysWhat the sources deliver for this rule (coverage_note says it in words). Known values:
full,not_watched,never,partial,pending,denied,native_only,no_source(more may come: handle unknown ones).coverage_notestringalwaysThe coverage in words (empty text when full).
createdintegeralwaysWhen it was created. Unix time in SECONDS.
enabledbooleanalwaysYour switch.
endpoint_idstringalwaysThe endpoint it delivers to.
idstringalwaysRule id (whr_ + 24 hex).
labelsmap of stringsalwaysYour wallet labels: address -> text (empty when none).
namestringalwaysYour name for it (empty text when none).
over_limitbooleanalwaystrue = above your plan, so it does not fire.
paramsobjectalwaysThe settings of a rule. Which keys apply depends on the rule type (GET /v1/webhooks/schema).
77 fields inside
abovenumberprice_cross: fire when the price rises to this many US dollars (give above or below).
addressstringwallet_activity: the wallet to watch (give address or addresses).
addressesarray of stringswallet_activity: a watchlist of up to 1000 wallets.
belownumberprice_cross: fire when the price falls to this many US dollars.
chainstringChain id (price_cross, pct_move, wallet_activity; trending_enter also takes "all"; wallet_activity also takes "evm" = All EVMs: the wallets on every EVM chain TTF watches, chains added later included, each event naming the chain it happened on).
chainsarray of stringstrending_enter: a list of chains (instead of chain).
directionstringwallet_activity: out (default) = sent by the wallet, in = received, any = both. One of:
out,in,any.exclude_honeypotbooleantrending_enter: true = only tokens that pass the honeypot check check (not a honeypot).
fire_if_already_pastbooleanprice_cross: fire at once when the price is already past the level.
kindstringsignal: the signal kind. One of:
breakout,trending,call,cmd.launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumbertrending_enter: at most this age in hours (0 to 87600).
max_buy_tax_pctnumbertrending_enter: at most this buy tax in percent (0 to 100).
max_liquidity_usdnumbertrending_enter: at most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumbertrending_enter: at most this market cap in US dollars (0 to 1e+13).
max_per_hourintegertrending_enter: at most this many alerts in any 60 minutes.
max_price_change_1h_pctnumbertrending_enter: at most this 1 h change in percent (-100 to 1e+06).
max_rankintegertrending_enter: at most this place (1 to 30).
max_sell_tax_pctnumbertrending_enter: at most this sell tax in percent (0 to 100).
max_top10_pctnumbertrending_enter: at most this top 10 share in percent (0 to 100).
min_age_hoursnumbertrending_enter: at least this age in hours (0 to 87600).
min_buys_1hintegertrending_enter: at least this 1 h buys (0 to 1e+09).
min_holdersintegertrending_enter: at least this holders (0 to 1e+09).
min_liquidity_usdnumbertrending_enter: at least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumbertrending_enter: at least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumbertrending_enter: at least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumbertrending_enter: at least this 1 h change in percent (-100 to 1e+06).
min_scansintegertrending_enter: scans a token needs on the board.
min_usdnumberwallet_activity: smallest transfer in US dollars (0 = every transfer).
min_volume_24h_usdnumbertrending_enter: at least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringstrending_enter: words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringstrending_enter: words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringtrending_enter: pair coin. One of:
native,stable.per_chainmap of objectstrending_enter: per chain, its own filter values: an absent key inherits the value above, a present one is that chain's own, null = no limit on that chain. Only filters the chain has.
30 fields inside
exclude_honeypotbooleantrue = only tokens that pass the honeypot check check (not a honeypot).
launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumberat most this age in hours (0 to 87600).
max_buy_tax_pctnumberat most this buy tax in percent (0 to 100).
max_liquidity_usdnumberat most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumberat most this market cap in US dollars (0 to 1e+13).
max_price_change_1h_pctnumberat most this 1 h change in percent (-100 to 1e+06).
max_rankintegerat most this place (1 to 30).
max_sell_tax_pctnumberat most this sell tax in percent (0 to 100).
max_top10_pctnumberat most this top 10 share in percent (0 to 100).
min_age_hoursnumberat least this age in hours (0 to 87600).
min_buys_1hintegerat least this 1 h buys (0 to 1e+09).
min_holdersintegerat least this holders (0 to 1e+09).
min_liquidity_usdnumberat least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumberat least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumberat least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumberat least this 1 h change in percent (-100 to 1e+06).
min_scansintegerscans a token needs on the board.
min_volume_24h_usdnumberat least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringswords matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringswords matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringpair coin. One of:
native,stable.require_freeze_disabledbooleantrue = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrue = only tokens that pass the mint authority check (required).
require_renouncedbooleantrue = only tokens that pass the ownership check (required).
require_telegrambooleantrue = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrue = only tokens that pass the source code check (required).
require_websitebooleantrue = only tokens that pass the website check (required).
require_xbooleantrue = only tokens that pass the X account check (required).
whole_wordsbooleantrue = the words match whole words only.
percentnumberpct_move: the move in percent (negative = a drop).
repeatstringtrending_enter: the same token again only after this long (absent = once each time it enters the board; never = remembered for 180 days). One of:
1h,6h,24h,never.require_freeze_disabledbooleantrending_enter: true = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrending_enter: true = only tokens that pass the mint authority check (required).
require_renouncedbooleantrending_enter: true = only tokens that pass the ownership check (required).
require_telegrambooleantrending_enter: true = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrending_enter: true = only tokens that pass the source code check (required).
require_websitebooleantrending_enter: true = only tokens that pass the website check (required).
require_xbooleantrending_enter: true = only tokens that pass the X account check (required).
tokenstringToken address (price_cross, pct_move).
unknownstringtrending_enter: skip (default) = no alert when a value a filter needs is unknown; mark = alert and list them in detail.unknown. One of:
skip,mark.whole_wordsbooleantrending_enter: true = the words match whole words only.
windowstringpct_move: the time window. One of:
1m,5m,15m,1h,4h,24h.
statusstringalwaysactive, or why it does not fire: disabled (your switch), endpoint_paused, paused_plan (your plan lacks its data), paused_over_limit, invalid, inactive_denied (an address that is never watched), over_quota (this month's deliveries are used up), inactive. Known values:
active,inactive,disabled,endpoint_paused,paused_plan,paused_over_limit,invalid,inactive_denied,over_quota(more may come: handle unknown ones).typestringalwaysThe rule type. One of:
price_cross,pct_move,trending_enter,wallet_activity,signal.updatedintegeralwaysWhen it was last changed. Unix time in SECONDS.
Create a rule
{
"data": {
"rule": {
"active": true,
"coverage": "full",
"coverage_note": "",
"created": 1795000000,
"enabled": true,
"endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"labels": {},
"name": "PEPE breakout",
"over_limit": false,
"params": {
"above": 1e-05,
"chain": "eth",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
},
"status": "active",
"type": "price_cross",
"updated": 1795000000
}
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object of valid text.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Send a JSON object.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:write permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}plan_required: Plan group needed
{
"error": {
"code": "plan_required",
"doc_url": "https://ttf.bot/docs/errors/#plan_required",
"field": "type",
"group": "signals",
"message": "Your plan does not include signals data, so signal rules are not available. Move to a plan that includes it.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}quota_exceeded: Plan limit reached
{
"error": {
"code": "quota_exceeded",
"doc_url": "https://ttf.bot/docs/errors/#quota_exceeded",
"limit": 3,
"message": "Your plan allows 3 webhook rule(s). Delete one first or move to a larger plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such endpoint.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}request_timeout: Body not received
{
"error": {
"code": "request_timeout",
"doc_url": "https://ttf.bot/docs/errors/#request_timeout",
"message": "The request body did not arrive in time. Send it again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}over_limit: Endpoint over the plan limit
{
"error": {
"code": "over_limit",
"doc_url": "https://ttf.bot/docs/errors/#over_limit",
"message": "This endpoint is above your plan's limit, so it is paused. Delete other endpoints or move to a larger plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}too_large: Body too large
{
"error": {
"code": "too_large",
"doc_url": "https://ttf.bot/docs/errors/#too_large",
"message": "Request body too large.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unsupported_media_type: Send JSON
{
"error": {
"code": "unsupported_media_type",
"doc_url": "https://ttf.bot/docs/errors/#unsupported_media_type",
"message": "Send the body with Content-Type: application/json.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}invalid_rule: Invalid rule
{
"error": {
"code": "invalid_rule",
"doc_url": "https://ttf.bot/docs/errors/#invalid_rule",
"field": "percent",
"message": "percent: percent out of range",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}type_not_subscribed: Event type not subscribed
{
"error": {
"code": "type_not_subscribed",
"doc_url": "https://ttf.bot/docs/errors/#type_not_subscribed",
"field": "type",
"message": "This endpoint does not receive price events: add the type to the endpoint first.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "Another change of your wallet rules is in progress. Try again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 400 | bad_request | Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request. |
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden quota_exceeded account_suspended plan_required | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, quota_exceeded, account_suspended, plan_required. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 408 | request_timeout | The request body did not arrive in time. Nothing changed. Codes: request_timeout. |
| 409 | over_limit | The change conflicts with the current state. Nothing changed. Codes: over_limit. |
| 413 | too_large | The body is too large. Codes: too_large. |
| 415 | unsupported_media_type | The body is not declared as JSON. Codes: unsupported_media_type. |
| 422 | invalid_rule type_not_subscribed | The URL or the rule was refused. Nothing changed. Codes: invalid_rule, type_not_subscribed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | busy unavailable | The service cannot answer right now. See Retry-After. Codes: busy, unavailable. |
| 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"}}; some also carry field, limit or group. What each code means: Errors.
Webhook management
Check a rule without saving
/v1/webhooks/rules/check
Validate what a user typed before you create an endpoint or a rule for it. Nothing is saved.
A refused or failed call costs nothing.
- Handy for your own form: show
messagenext to the field named infield.
Exact rules
Validates a rule exactly as a create would (the watched-wallet quota is only checked by a create) and saves nothing. Needs an API key with webhooks: write. Costs 0 credits; counted in your account's webhook change and read limits.
Body
A JSON object, sent as Content-Type: application/json. Unknown fields are refused.
paramsobjectrequiredThe settings of a rule. Which keys apply depends on the rule type (GET /v1/webhooks/schema).
77 fields inside
abovenumberprice_cross: fire when the price rises to this many US dollars (give above or below).
addressstringwallet_activity: the wallet to watch (give address or addresses).
addressesarray of stringswallet_activity: a watchlist of up to 1000 wallets.
belownumberprice_cross: fire when the price falls to this many US dollars.
chainstringChain id (price_cross, pct_move, wallet_activity; trending_enter also takes "all"; wallet_activity also takes "evm" = All EVMs: the wallets on every EVM chain TTF watches, chains added later included, each event naming the chain it happened on).
chainsarray of stringstrending_enter: a list of chains (instead of chain).
directionstringwallet_activity: out (default) = sent by the wallet, in = received, any = both. One of:
out,in,any.exclude_honeypotbooleantrending_enter: true = only tokens that pass the honeypot check check (not a honeypot).
fire_if_already_pastbooleanprice_cross: fire at once when the price is already past the level.
kindstringsignal: the signal kind. One of:
breakout,trending,call,cmd.launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumbertrending_enter: at most this age in hours (0 to 87600).
max_buy_tax_pctnumbertrending_enter: at most this buy tax in percent (0 to 100).
max_liquidity_usdnumbertrending_enter: at most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumbertrending_enter: at most this market cap in US dollars (0 to 1e+13).
max_per_hourintegertrending_enter: at most this many alerts in any 60 minutes.
max_price_change_1h_pctnumbertrending_enter: at most this 1 h change in percent (-100 to 1e+06).
max_rankintegertrending_enter: at most this place (1 to 30).
max_sell_tax_pctnumbertrending_enter: at most this sell tax in percent (0 to 100).
max_top10_pctnumbertrending_enter: at most this top 10 share in percent (0 to 100).
min_age_hoursnumbertrending_enter: at least this age in hours (0 to 87600).
min_buys_1hintegertrending_enter: at least this 1 h buys (0 to 1e+09).
min_holdersintegertrending_enter: at least this holders (0 to 1e+09).
min_liquidity_usdnumbertrending_enter: at least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumbertrending_enter: at least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumbertrending_enter: at least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumbertrending_enter: at least this 1 h change in percent (-100 to 1e+06).
min_scansintegertrending_enter: scans a token needs on the board.
min_usdnumberwallet_activity: smallest transfer in US dollars (0 = every transfer).
min_volume_24h_usdnumbertrending_enter: at least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringstrending_enter: words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringstrending_enter: words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringtrending_enter: pair coin. One of:
native,stable.per_chainmap of objectstrending_enter: per chain, its own filter values: an absent key inherits the value above, a present one is that chain's own, null = no limit on that chain. Only filters the chain has.
30 fields inside
exclude_honeypotbooleantrue = only tokens that pass the honeypot check check (not a honeypot).
launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumberat most this age in hours (0 to 87600).
max_buy_tax_pctnumberat most this buy tax in percent (0 to 100).
max_liquidity_usdnumberat most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumberat most this market cap in US dollars (0 to 1e+13).
max_price_change_1h_pctnumberat most this 1 h change in percent (-100 to 1e+06).
max_rankintegerat most this place (1 to 30).
max_sell_tax_pctnumberat most this sell tax in percent (0 to 100).
max_top10_pctnumberat most this top 10 share in percent (0 to 100).
min_age_hoursnumberat least this age in hours (0 to 87600).
min_buys_1hintegerat least this 1 h buys (0 to 1e+09).
min_holdersintegerat least this holders (0 to 1e+09).
min_liquidity_usdnumberat least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumberat least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumberat least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumberat least this 1 h change in percent (-100 to 1e+06).
min_scansintegerscans a token needs on the board.
min_volume_24h_usdnumberat least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringswords matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringswords matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringpair coin. One of:
native,stable.require_freeze_disabledbooleantrue = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrue = only tokens that pass the mint authority check (required).
require_renouncedbooleantrue = only tokens that pass the ownership check (required).
require_telegrambooleantrue = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrue = only tokens that pass the source code check (required).
require_websitebooleantrue = only tokens that pass the website check (required).
require_xbooleantrue = only tokens that pass the X account check (required).
whole_wordsbooleantrue = the words match whole words only.
percentnumberpct_move: the move in percent (negative = a drop).
repeatstringtrending_enter: the same token again only after this long (absent = once each time it enters the board; never = remembered for 180 days). One of:
1h,6h,24h,never.require_freeze_disabledbooleantrending_enter: true = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrending_enter: true = only tokens that pass the mint authority check (required).
require_renouncedbooleantrending_enter: true = only tokens that pass the ownership check (required).
require_telegrambooleantrending_enter: true = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrending_enter: true = only tokens that pass the source code check (required).
require_websitebooleantrending_enter: true = only tokens that pass the website check (required).
require_xbooleantrending_enter: true = only tokens that pass the X account check (required).
tokenstringToken address (price_cross, pct_move).
unknownstringtrending_enter: skip (default) = no alert when a value a filter needs is unknown; mark = alert and list them in detail.unknown. One of:
skip,mark.whole_wordsbooleantrending_enter: true = the words match whole words only.
windowstringpct_move: the time window. One of:
1m,5m,15m,1h,4h,24h.
typestringrequiredThe rule type. One of:
price_cross,pct_move,trending_enter,wallet_activity,signal.enabledbooleanAs in a new rule.
endpoint_idstringAlso check this endpoint's event types and plan limit.
labelsmap of stringsWallet labels: address -> text.
namestringA name.
Example request
This page has no try-it form: a change is only made by your own code. For macOS, Linux, Git Bash or WSL.
Check a price alert.
curl -sS -X POST 'https://api.ttf.bot/v1/webhooks/rules/check' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"params": {
"above": 1e-05,
"chain": "eth",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
},
"type": "price_cross"
}'What you get back
A 200 answer is {"data", "meta"} (HookRuleCheckAnswer). always = in every answer; any other field is left out when there is no value.
data
coveragestringalwaysWhat the sources deliver for this rule (coverage_note says it in words). Known values:
full,not_watched,never,partial,pending,denied,native_only,no_source(more may come: handle unknown ones).coverage_notestringalwaysThe coverage in words (empty text when full).
okbooleanalwaystrue.
Check a rule without saving
{
"data": {
"coverage": "full",
"coverage_note": "",
"ok": true
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object of valid text.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Send a JSON object.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:write permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}plan_required: Plan group needed
{
"error": {
"code": "plan_required",
"doc_url": "https://ttf.bot/docs/errors/#plan_required",
"field": "type",
"group": "signals",
"message": "Your plan does not include signals data, so signal rules are not available. Move to a plan that includes it.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}quota_exceeded: Plan limit reached
{
"error": {
"code": "quota_exceeded",
"doc_url": "https://ttf.bot/docs/errors/#quota_exceeded",
"limit": 3,
"message": "Your plan allows 3 webhook rule(s). Delete one first or move to a larger plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such endpoint.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}request_timeout: Body not received
{
"error": {
"code": "request_timeout",
"doc_url": "https://ttf.bot/docs/errors/#request_timeout",
"message": "The request body did not arrive in time. Send it again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}over_limit: Endpoint over the plan limit
{
"error": {
"code": "over_limit",
"doc_url": "https://ttf.bot/docs/errors/#over_limit",
"message": "This endpoint is above your plan's limit, so it is paused. Delete other endpoints or move to a larger plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}too_large: Body too large
{
"error": {
"code": "too_large",
"doc_url": "https://ttf.bot/docs/errors/#too_large",
"message": "Request body too large.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unsupported_media_type: Send JSON
{
"error": {
"code": "unsupported_media_type",
"doc_url": "https://ttf.bot/docs/errors/#unsupported_media_type",
"message": "Send the body with Content-Type: application/json.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}invalid_rule: Invalid rule
{
"error": {
"code": "invalid_rule",
"doc_url": "https://ttf.bot/docs/errors/#invalid_rule",
"field": "percent",
"message": "percent: percent out of range",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}type_not_subscribed: Event type not subscribed
{
"error": {
"code": "type_not_subscribed",
"doc_url": "https://ttf.bot/docs/errors/#type_not_subscribed",
"field": "type",
"message": "This endpoint does not receive price events: add the type to the endpoint first.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 400 | bad_request | Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request. |
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden quota_exceeded account_suspended plan_required | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, quota_exceeded, account_suspended, plan_required. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 408 | request_timeout | The request body did not arrive in time. Nothing changed. Codes: request_timeout. |
| 409 | over_limit | The change conflicts with the current state. Nothing changed. Codes: over_limit. |
| 413 | too_large | The body is too large. Codes: too_large. |
| 415 | unsupported_media_type | The body is not declared as JSON. Codes: unsupported_media_type. |
| 422 | invalid_rule type_not_subscribed | The URL or the rule was refused. Nothing changed. Codes: invalid_rule, type_not_subscribed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable | The service cannot answer right now. See Retry-After. Codes: unavailable. |
| 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"}}; some also carry field, limit or group. What each code means: Errors.
Webhook management
Get one rule
/v1/webhooks/rules/{rule_id}
Look at one rule: its settings, whether it is active and what coverage it has.
A refused or failed call costs nothing.
- The one-click page key has no webhook access: paste a key made with Webhook access (how).
Exact rules
One rule with its status and coverage. An id of another account answers like an unknown one. Needs an API key with webhooks: read (write includes read). Costs 0 credits; counted in your account's webhook read limit.
Parameters
Path parameters
Rule id (data.rule.id).
What you get back
A 200 answer is {"data", "meta"} (HookRuleAnswer). 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.
data
ruleobjectalwaysA webhook rule: when it matches, its event is sent to its endpoint.
91 fields inside
activebooleanalwaystrue = it can fire now.
coveragestringalwaysWhat the sources deliver for this rule (coverage_note says it in words). Known values:
full,not_watched,never,partial,pending,denied,native_only,no_source(more may come: handle unknown ones).coverage_notestringalwaysThe coverage in words (empty text when full).
createdintegeralwaysWhen it was created. Unix time in SECONDS.
enabledbooleanalwaysYour switch.
endpoint_idstringalwaysThe endpoint it delivers to.
idstringalwaysRule id (whr_ + 24 hex).
labelsmap of stringsalwaysYour wallet labels: address -> text (empty when none).
namestringalwaysYour name for it (empty text when none).
over_limitbooleanalwaystrue = above your plan, so it does not fire.
paramsobjectalwaysThe settings of a rule. Which keys apply depends on the rule type (GET /v1/webhooks/schema).
77 fields inside
abovenumberprice_cross: fire when the price rises to this many US dollars (give above or below).
addressstringwallet_activity: the wallet to watch (give address or addresses).
addressesarray of stringswallet_activity: a watchlist of up to 1000 wallets.
belownumberprice_cross: fire when the price falls to this many US dollars.
chainstringChain id (price_cross, pct_move, wallet_activity; trending_enter also takes "all"; wallet_activity also takes "evm" = All EVMs: the wallets on every EVM chain TTF watches, chains added later included, each event naming the chain it happened on).
chainsarray of stringstrending_enter: a list of chains (instead of chain).
directionstringwallet_activity: out (default) = sent by the wallet, in = received, any = both. One of:
out,in,any.exclude_honeypotbooleantrending_enter: true = only tokens that pass the honeypot check check (not a honeypot).
fire_if_already_pastbooleanprice_cross: fire at once when the price is already past the level.
kindstringsignal: the signal kind. One of:
breakout,trending,call,cmd.launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumbertrending_enter: at most this age in hours (0 to 87600).
max_buy_tax_pctnumbertrending_enter: at most this buy tax in percent (0 to 100).
max_liquidity_usdnumbertrending_enter: at most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumbertrending_enter: at most this market cap in US dollars (0 to 1e+13).
max_per_hourintegertrending_enter: at most this many alerts in any 60 minutes.
max_price_change_1h_pctnumbertrending_enter: at most this 1 h change in percent (-100 to 1e+06).
max_rankintegertrending_enter: at most this place (1 to 30).
max_sell_tax_pctnumbertrending_enter: at most this sell tax in percent (0 to 100).
max_top10_pctnumbertrending_enter: at most this top 10 share in percent (0 to 100).
min_age_hoursnumbertrending_enter: at least this age in hours (0 to 87600).
min_buys_1hintegertrending_enter: at least this 1 h buys (0 to 1e+09).
min_holdersintegertrending_enter: at least this holders (0 to 1e+09).
min_liquidity_usdnumbertrending_enter: at least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumbertrending_enter: at least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumbertrending_enter: at least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumbertrending_enter: at least this 1 h change in percent (-100 to 1e+06).
min_scansintegertrending_enter: scans a token needs on the board.
min_usdnumberwallet_activity: smallest transfer in US dollars (0 = every transfer).
min_volume_24h_usdnumbertrending_enter: at least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringstrending_enter: words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringstrending_enter: words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringtrending_enter: pair coin. One of:
native,stable.per_chainmap of objectstrending_enter: per chain, its own filter values: an absent key inherits the value above, a present one is that chain's own, null = no limit on that chain. Only filters the chain has.
30 fields inside
exclude_honeypotbooleantrue = only tokens that pass the honeypot check check (not a honeypot).
launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumberat most this age in hours (0 to 87600).
max_buy_tax_pctnumberat most this buy tax in percent (0 to 100).
max_liquidity_usdnumberat most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumberat most this market cap in US dollars (0 to 1e+13).
max_price_change_1h_pctnumberat most this 1 h change in percent (-100 to 1e+06).
max_rankintegerat most this place (1 to 30).
max_sell_tax_pctnumberat most this sell tax in percent (0 to 100).
max_top10_pctnumberat most this top 10 share in percent (0 to 100).
min_age_hoursnumberat least this age in hours (0 to 87600).
min_buys_1hintegerat least this 1 h buys (0 to 1e+09).
min_holdersintegerat least this holders (0 to 1e+09).
min_liquidity_usdnumberat least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumberat least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumberat least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumberat least this 1 h change in percent (-100 to 1e+06).
min_scansintegerscans a token needs on the board.
min_volume_24h_usdnumberat least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringswords matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringswords matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringpair coin. One of:
native,stable.require_freeze_disabledbooleantrue = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrue = only tokens that pass the mint authority check (required).
require_renouncedbooleantrue = only tokens that pass the ownership check (required).
require_telegrambooleantrue = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrue = only tokens that pass the source code check (required).
require_websitebooleantrue = only tokens that pass the website check (required).
require_xbooleantrue = only tokens that pass the X account check (required).
whole_wordsbooleantrue = the words match whole words only.
percentnumberpct_move: the move in percent (negative = a drop).
repeatstringtrending_enter: the same token again only after this long (absent = once each time it enters the board; never = remembered for 180 days). One of:
1h,6h,24h,never.require_freeze_disabledbooleantrending_enter: true = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrending_enter: true = only tokens that pass the mint authority check (required).
require_renouncedbooleantrending_enter: true = only tokens that pass the ownership check (required).
require_telegrambooleantrending_enter: true = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrending_enter: true = only tokens that pass the source code check (required).
require_websitebooleantrending_enter: true = only tokens that pass the website check (required).
require_xbooleantrending_enter: true = only tokens that pass the X account check (required).
tokenstringToken address (price_cross, pct_move).
unknownstringtrending_enter: skip (default) = no alert when a value a filter needs is unknown; mark = alert and list them in detail.unknown. One of:
skip,mark.whole_wordsbooleantrending_enter: true = the words match whole words only.
windowstringpct_move: the time window. One of:
1m,5m,15m,1h,4h,24h.
statusstringalwaysactive, or why it does not fire: disabled (your switch), endpoint_paused, paused_plan (your plan lacks its data), paused_over_limit, invalid, inactive_denied (an address that is never watched), over_quota (this month's deliveries are used up), inactive. Known values:
active,inactive,disabled,endpoint_paused,paused_plan,paused_over_limit,invalid,inactive_denied,over_quota(more may come: handle unknown ones).typestringalwaysThe rule type. One of:
price_cross,pct_move,trending_enter,wallet_activity,signal.updatedintegeralwaysWhen it was last changed. Unix time in SECONDS.
meta
costintegeralwaysCredits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.
request_idstringalwaysId of this request (= the X-Request-Id header). Quote it to support.
cachedarray of stringsThe groups answered from the shared answer cache (charged at their cached weight). Absent when none.
partialarray of stringsSomething 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.
Get a rule
{
"data": {
"rule": {
"active": true,
"coverage": "full",
"coverage_note": "",
"created": 1795000000,
"enabled": true,
"endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"labels": {},
"name": "PEPE breakout",
"over_limit": false,
"params": {
"above": 1e-05,
"chain": "eth",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
},
"status": "active",
"type": "price_cross",
"updated": 1795000000
}
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:read permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such rule.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | unavailable | The service cannot answer right now. See Retry-After. Codes: unavailable. |
| 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.
Webhook management
Update a rule
/v1/webhooks/rules/{rule_id}
Change the threshold, the wallets or the name of a rule, or switch it off for a while.
A refused or failed call costs nothing.
paramsreplaces all settings of the rule: send every setting it needs.
Exact rules
Send only what changes; params replaces all settings of the rule. Needs an API key with webhooks: write. Costs 0 credits; counted in your account's webhook change and read limits.
Path parameters
| Name | Type | Meaning |
|---|---|---|
rule_id | string | required Rule id (data.rule.id). |
Body
A JSON object, sent as Content-Type: application/json. Unknown fields are refused.
enabledbooleanSwitch the rule on or off.
labelsmap of stringsWallet labels: address -> text.
namestringA new name.
paramsobjectThe settings of a rule. Which keys apply depends on the rule type (GET /v1/webhooks/schema).
77 fields inside
abovenumberprice_cross: fire when the price rises to this many US dollars (give above or below).
addressstringwallet_activity: the wallet to watch (give address or addresses).
addressesarray of stringswallet_activity: a watchlist of up to 1000 wallets.
belownumberprice_cross: fire when the price falls to this many US dollars.
chainstringChain id (price_cross, pct_move, wallet_activity; trending_enter also takes "all"; wallet_activity also takes "evm" = All EVMs: the wallets on every EVM chain TTF watches, chains added later included, each event naming the chain it happened on).
chainsarray of stringstrending_enter: a list of chains (instead of chain).
directionstringwallet_activity: out (default) = sent by the wallet, in = received, any = both. One of:
out,in,any.exclude_honeypotbooleantrending_enter: true = only tokens that pass the honeypot check check (not a honeypot).
fire_if_already_pastbooleanprice_cross: fire at once when the price is already past the level.
kindstringsignal: the signal kind. One of:
breakout,trending,call,cmd.launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumbertrending_enter: at most this age in hours (0 to 87600).
max_buy_tax_pctnumbertrending_enter: at most this buy tax in percent (0 to 100).
max_liquidity_usdnumbertrending_enter: at most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumbertrending_enter: at most this market cap in US dollars (0 to 1e+13).
max_per_hourintegertrending_enter: at most this many alerts in any 60 minutes.
max_price_change_1h_pctnumbertrending_enter: at most this 1 h change in percent (-100 to 1e+06).
max_rankintegertrending_enter: at most this place (1 to 30).
max_sell_tax_pctnumbertrending_enter: at most this sell tax in percent (0 to 100).
max_top10_pctnumbertrending_enter: at most this top 10 share in percent (0 to 100).
min_age_hoursnumbertrending_enter: at least this age in hours (0 to 87600).
min_buys_1hintegertrending_enter: at least this 1 h buys (0 to 1e+09).
min_holdersintegertrending_enter: at least this holders (0 to 1e+09).
min_liquidity_usdnumbertrending_enter: at least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumbertrending_enter: at least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumbertrending_enter: at least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumbertrending_enter: at least this 1 h change in percent (-100 to 1e+06).
min_scansintegertrending_enter: scans a token needs on the board.
min_usdnumberwallet_activity: smallest transfer in US dollars (0 = every transfer).
min_volume_24h_usdnumbertrending_enter: at least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringstrending_enter: words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringstrending_enter: words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringtrending_enter: pair coin. One of:
native,stable.per_chainmap of objectstrending_enter: per chain, its own filter values: an absent key inherits the value above, a present one is that chain's own, null = no limit on that chain. Only filters the chain has.
30 fields inside
exclude_honeypotbooleantrue = only tokens that pass the honeypot check check (not a honeypot).
launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumberat most this age in hours (0 to 87600).
max_buy_tax_pctnumberat most this buy tax in percent (0 to 100).
max_liquidity_usdnumberat most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumberat most this market cap in US dollars (0 to 1e+13).
max_price_change_1h_pctnumberat most this 1 h change in percent (-100 to 1e+06).
max_rankintegerat most this place (1 to 30).
max_sell_tax_pctnumberat most this sell tax in percent (0 to 100).
max_top10_pctnumberat most this top 10 share in percent (0 to 100).
min_age_hoursnumberat least this age in hours (0 to 87600).
min_buys_1hintegerat least this 1 h buys (0 to 1e+09).
min_holdersintegerat least this holders (0 to 1e+09).
min_liquidity_usdnumberat least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumberat least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumberat least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumberat least this 1 h change in percent (-100 to 1e+06).
min_scansintegerscans a token needs on the board.
min_volume_24h_usdnumberat least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringswords matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringswords matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringpair coin. One of:
native,stable.require_freeze_disabledbooleantrue = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrue = only tokens that pass the mint authority check (required).
require_renouncedbooleantrue = only tokens that pass the ownership check (required).
require_telegrambooleantrue = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrue = only tokens that pass the source code check (required).
require_websitebooleantrue = only tokens that pass the website check (required).
require_xbooleantrue = only tokens that pass the X account check (required).
whole_wordsbooleantrue = the words match whole words only.
percentnumberpct_move: the move in percent (negative = a drop).
repeatstringtrending_enter: the same token again only after this long (absent = once each time it enters the board; never = remembered for 180 days). One of:
1h,6h,24h,never.require_freeze_disabledbooleantrending_enter: true = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrending_enter: true = only tokens that pass the mint authority check (required).
require_renouncedbooleantrending_enter: true = only tokens that pass the ownership check (required).
require_telegrambooleantrending_enter: true = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrending_enter: true = only tokens that pass the source code check (required).
require_websitebooleantrending_enter: true = only tokens that pass the website check (required).
require_xbooleantrending_enter: true = only tokens that pass the X account check (required).
tokenstringToken address (price_cross, pct_move).
unknownstringtrending_enter: skip (default) = no alert when a value a filter needs is unknown; mark = alert and list them in detail.unknown. One of:
skip,mark.whole_wordsbooleantrending_enter: true = the words match whole words only.
windowstringpct_move: the time window. One of:
1m,5m,15m,1h,4h,24h.
typestringOnly for a price rule: switch between price_cross and pct_move (send the new params too). One of:
price_cross,pct_move,trending_enter,wallet_activity,signal.
Example request
This page has no try-it form: a change is only made by your own code. For macOS, Linux, Git Bash or WSL.
Switch the rule off.
curl -sS -X PATCH 'https://api.ttf.bot/v1/webhooks/rules/whr_6f1c0a9e2b7d4c3a1e0f9b8d' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"enabled": false
}'New settings.
curl -sS -X PATCH 'https://api.ttf.bot/v1/webhooks/rules/whr_6f1c0a9e2b7d4c3a1e0f9b8d' \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"params": {
"above": 1.2e-05,
"chain": "eth",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
}
}'What you get back
A 200 answer is {"data", "meta"} (HookRuleUpdatedAnswer). always = in every answer; any other field is left out when there is no value.
data
ruleobjectalwaysA webhook rule: when it matches, its event is sent to its endpoint.
91 fields inside
activebooleanalwaystrue = it can fire now.
coveragestringalwaysWhat the sources deliver for this rule (coverage_note says it in words). Known values:
full,not_watched,never,partial,pending,denied,native_only,no_source(more may come: handle unknown ones).coverage_notestringalwaysThe coverage in words (empty text when full).
createdintegeralwaysWhen it was created. Unix time in SECONDS.
enabledbooleanalwaysYour switch.
endpoint_idstringalwaysThe endpoint it delivers to.
idstringalwaysRule id (whr_ + 24 hex).
labelsmap of stringsalwaysYour wallet labels: address -> text (empty when none).
namestringalwaysYour name for it (empty text when none).
over_limitbooleanalwaystrue = above your plan, so it does not fire.
paramsobjectalwaysThe settings of a rule. Which keys apply depends on the rule type (GET /v1/webhooks/schema).
77 fields inside
abovenumberprice_cross: fire when the price rises to this many US dollars (give above or below).
addressstringwallet_activity: the wallet to watch (give address or addresses).
addressesarray of stringswallet_activity: a watchlist of up to 1000 wallets.
belownumberprice_cross: fire when the price falls to this many US dollars.
chainstringChain id (price_cross, pct_move, wallet_activity; trending_enter also takes "all"; wallet_activity also takes "evm" = All EVMs: the wallets on every EVM chain TTF watches, chains added later included, each event naming the chain it happened on).
chainsarray of stringstrending_enter: a list of chains (instead of chain).
directionstringwallet_activity: out (default) = sent by the wallet, in = received, any = both. One of:
out,in,any.exclude_honeypotbooleantrending_enter: true = only tokens that pass the honeypot check check (not a honeypot).
fire_if_already_pastbooleanprice_cross: fire at once when the price is already past the level.
kindstringsignal: the signal kind. One of:
breakout,trending,call,cmd.launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumbertrending_enter: at most this age in hours (0 to 87600).
max_buy_tax_pctnumbertrending_enter: at most this buy tax in percent (0 to 100).
max_liquidity_usdnumbertrending_enter: at most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumbertrending_enter: at most this market cap in US dollars (0 to 1e+13).
max_per_hourintegertrending_enter: at most this many alerts in any 60 minutes.
max_price_change_1h_pctnumbertrending_enter: at most this 1 h change in percent (-100 to 1e+06).
max_rankintegertrending_enter: at most this place (1 to 30).
max_sell_tax_pctnumbertrending_enter: at most this sell tax in percent (0 to 100).
max_top10_pctnumbertrending_enter: at most this top 10 share in percent (0 to 100).
min_age_hoursnumbertrending_enter: at least this age in hours (0 to 87600).
min_buys_1hintegertrending_enter: at least this 1 h buys (0 to 1e+09).
min_holdersintegertrending_enter: at least this holders (0 to 1e+09).
min_liquidity_usdnumbertrending_enter: at least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumbertrending_enter: at least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumbertrending_enter: at least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumbertrending_enter: at least this 1 h change in percent (-100 to 1e+06).
min_scansintegertrending_enter: scans a token needs on the board.
min_usdnumberwallet_activity: smallest transfer in US dollars (0 = every transfer).
min_volume_24h_usdnumbertrending_enter: at least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringstrending_enter: words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringstrending_enter: words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringtrending_enter: pair coin. One of:
native,stable.per_chainmap of objectstrending_enter: per chain, its own filter values: an absent key inherits the value above, a present one is that chain's own, null = no limit on that chain. Only filters the chain has.
30 fields inside
exclude_honeypotbooleantrue = only tokens that pass the honeypot check check (not a honeypot).
launchpadstringtrending_enter (Solana): only = launchpad tokens, none = no launchpad detected by TTF (a graduated Moonshot token, a LaunchLab token without its suffix or a pump.fun mint whose read failed can still pass none). One of:
only,none.max_age_hoursnumberat most this age in hours (0 to 87600).
max_buy_tax_pctnumberat most this buy tax in percent (0 to 100).
max_liquidity_usdnumberat most this liquidity in US dollars (0 to 1e+13).
max_market_cap_usdnumberat most this market cap in US dollars (0 to 1e+13).
max_price_change_1h_pctnumberat most this 1 h change in percent (-100 to 1e+06).
max_rankintegerat most this place (1 to 30).
max_sell_tax_pctnumberat most this sell tax in percent (0 to 100).
max_top10_pctnumberat most this top 10 share in percent (0 to 100).
min_age_hoursnumberat least this age in hours (0 to 87600).
min_buys_1hintegerat least this 1 h buys (0 to 1e+09).
min_holdersintegerat least this holders (0 to 1e+09).
min_liquidity_usdnumberat least this liquidity in US dollars (0 to 1e+13).
min_locked_pctnumberat least this locked or burned liquidity in percent (0 to 100).
min_market_cap_usdnumberat least this market cap in US dollars (0 to 1e+13).
min_price_change_1h_pctnumberat least this 1 h change in percent (-100 to 1e+06).
min_scansintegerscans a token needs on the board.
min_volume_24h_usdnumberat least this 24 h volume in US dollars (0 to 1e+13).
name_excludearray of stringswords matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).
name_includearray of stringswords matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).
pair_withstringpair coin. One of:
native,stable.require_freeze_disabledbooleantrue = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrue = only tokens that pass the mint authority check (required).
require_renouncedbooleantrue = only tokens that pass the ownership check (required).
require_telegrambooleantrue = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrue = only tokens that pass the source code check (required).
require_websitebooleantrue = only tokens that pass the website check (required).
require_xbooleantrue = only tokens that pass the X account check (required).
whole_wordsbooleantrue = the words match whole words only.
percentnumberpct_move: the move in percent (negative = a drop).
repeatstringtrending_enter: the same token again only after this long (absent = once each time it enters the board; never = remembered for 180 days). One of:
1h,6h,24h,never.require_freeze_disabledbooleantrending_enter: true = only tokens that pass the freeze authority check (required).
require_mint_disabledbooleantrending_enter: true = only tokens that pass the mint authority check (required).
require_renouncedbooleantrending_enter: true = only tokens that pass the ownership check (required).
require_telegrambooleantrending_enter: true = only tokens that pass the Telegram group check (required).
require_verified_sourcebooleantrending_enter: true = only tokens that pass the source code check (required).
require_websitebooleantrending_enter: true = only tokens that pass the website check (required).
require_xbooleantrending_enter: true = only tokens that pass the X account check (required).
tokenstringToken address (price_cross, pct_move).
unknownstringtrending_enter: skip (default) = no alert when a value a filter needs is unknown; mark = alert and list them in detail.unknown. One of:
skip,mark.whole_wordsbooleantrending_enter: true = the words match whole words only.
windowstringpct_move: the time window. One of:
1m,5m,15m,1h,4h,24h.
statusstringalwaysactive, or why it does not fire: disabled (your switch), endpoint_paused, paused_plan (your plan lacks its data), paused_over_limit, invalid, inactive_denied (an address that is never watched), over_quota (this month's deliveries are used up), inactive. Known values:
active,inactive,disabled,endpoint_paused,paused_plan,paused_over_limit,invalid,inactive_denied,over_quota(more may come: handle unknown ones).typestringalwaysThe rule type. One of:
price_cross,pct_move,trending_enter,wallet_activity,signal.updatedintegeralwaysWhen it was last changed. Unix time in SECONDS.
Update a rule
{
"data": {
"rule": {
"active": false,
"coverage": "full",
"coverage_note": "",
"created": 1795000000,
"enabled": false,
"endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
"labels": {},
"name": "PEPE breakout",
"over_limit": false,
"params": {
"above": 1e-05,
"chain": "eth",
"token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
},
"status": "disabled",
"type": "price_cross",
"updated": 1795000000
}
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Bad request
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object of valid text.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}bad_request: Send a JSON object.
{
"error": {
"code": "bad_request",
"doc_url": "https://ttf.bot/docs/errors/#bad_request",
"message": "Send a JSON object.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}account_suspended: Account suspended
{
"error": {
"code": "account_suspended",
"doc_url": "https://ttf.bot/docs/errors/#account_suspended",
"message": "This account is suspended. Contact support.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:write permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}plan_required: Plan group needed
{
"error": {
"code": "plan_required",
"doc_url": "https://ttf.bot/docs/errors/#plan_required",
"field": "type",
"group": "signals",
"message": "Your plan does not include signals data, so signal rules are not available. Move to a plan that includes it.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}quota_exceeded: Plan limit reached
{
"error": {
"code": "quota_exceeded",
"doc_url": "https://ttf.bot/docs/errors/#quota_exceeded",
"limit": 3,
"message": "Your plan allows 3 webhook rule(s). Delete one first or move to a larger plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such rule.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}request_timeout: Body not received
{
"error": {
"code": "request_timeout",
"doc_url": "https://ttf.bot/docs/errors/#request_timeout",
"message": "The request body did not arrive in time. Send it again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}too_large: Body too large
{
"error": {
"code": "too_large",
"doc_url": "https://ttf.bot/docs/errors/#too_large",
"message": "Request body too large.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unsupported_media_type: Send JSON
{
"error": {
"code": "unsupported_media_type",
"doc_url": "https://ttf.bot/docs/errors/#unsupported_media_type",
"message": "Send the body with Content-Type: application/json.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}invalid_rule: Invalid rule
{
"error": {
"code": "invalid_rule",
"doc_url": "https://ttf.bot/docs/errors/#invalid_rule",
"field": "percent",
"message": "percent: percent out of range",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "Another change of your wallet rules is in progress. Try again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 400 | bad_request | Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request. |
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden quota_exceeded account_suspended plan_required | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden, quota_exceeded, account_suspended, plan_required. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 408 | request_timeout | The request body did not arrive in time. Nothing changed. Codes: request_timeout. |
| 413 | too_large | The body is too large. Codes: too_large. |
| 415 | unsupported_media_type | The body is not declared as JSON. Codes: unsupported_media_type. |
| 422 | invalid_rule | The URL or the rule was refused. Nothing changed. Codes: invalid_rule. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | busy unavailable | The service cannot answer right now. See Retry-After. Codes: busy, unavailable. |
| 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"}}; some also carry field, limit or group. What each code means: Errors.
Webhook management
Delete a rule
/v1/webhooks/rules/{rule_id}
Stop an alert for good: the rule is removed and its place in your plan is free again.
A refused or failed call costs nothing.
Exact rules
Takes no body. The rule stops firing at once. Needs an API key with webhooks: write. Costs 0 credits; counted in your account's webhook change and read limits.
Path parameters
| Name | Type | Meaning |
|---|---|---|
rule_id | string | required Rule id (data.rule.id). |
Body
This call takes no body.
Example request
This page has no try-it form: a change is only made by your own code. For macOS, Linux, Git Bash or WSL.
curl -sS -X DELETE 'https://api.ttf.bot/v1/webhooks/rules/whr_6f1c0a9e2b7d4c3a1e0f9b8d' \
-H 'Authorization: Bearer YOUR_KEY'What you get back
A 200 answer is {"data", "meta"} (HookRuleDeletedAnswer). always = in every answer; any other field is left out when there is no value.
data
deletedbooleanalwaystrue.
idstringalwaysThe deleted rule.
Delete a rule
{
"data": {
"deleted": true,
"id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d"
},
"meta": {
"cost": 0,
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: Missing or invalid key
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "An API key is required (Authorization: Bearer <key>).",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unauthorized: This API key is not valid.
{
"error": {
"code": "unauthorized",
"doc_url": "https://ttf.bot/docs/errors/#unauthorized",
"message": "This API key is not valid.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}payment_required: Subscription ended
{
"error": {
"code": "payment_required",
"doc_url": "https://ttf.bot/docs/errors/#payment_required",
"message": "This API key subscription has ended. Renew it to continue.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: Not included in your plan
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not have the webhooks:write permission. Create a key with webhook access in the developer dashboard.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key may not be used from this address.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key may not be used from this address.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}forbidden: This API key does not include the developer plan.
{
"error": {
"code": "forbidden",
"doc_url": "https://ttf.bot/docs/errors/#forbidden",
"message": "This API key does not include the developer plan.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "No such rule.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}not_found: Not found
{
"error": {
"code": "not_found",
"doc_url": "https://ttf.bot/docs/errors/#not_found",
"message": "Not found",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}method_not_allowed: Method not allowed
{
"error": {
"code": "method_not_allowed",
"doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
"message": "Method not allowed",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Slow down
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests for this account. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests of this account at once. Wait for one to finish.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests of this account at once. Wait for one to finish.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many invalid API keys from this network. Try again later.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many invalid API keys from this network. Try again later.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}rate_limited: Too many requests per second for this account. Slow down and retry.
{
"error": {
"code": "rate_limited",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"message": "Too many requests per second for this account. Slow down and retry.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}internal: Internal error
{
"error": {
"code": "internal",
"doc_url": "https://ttf.bot/docs/errors/#internal",
"message": "Something went wrong. Try again in a moment.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}busy: Busy
{
"error": {
"code": "busy",
"doc_url": "https://ttf.bot/docs/errors/#busy",
"message": "Another change of your wallet rules is in progress. Try again.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: Temporarily unavailable
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The API cannot check its limits right now. Try again in a few seconds.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}unavailable: The webhook service is busy. Try again in a minute.
{
"error": {
"code": "unavailable",
"doc_url": "https://ttf.bot/docs/errors/#unavailable",
"message": "The webhook service is busy. Try again in a minute.",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}error: Request refused
{
"error": {
"code": "error",
"doc_url": "https://ttf.bot/docs/errors/#error",
"message": "Request refused",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The API key is missing or not valid. Codes: unauthorized. |
| 402 | payment_required | The subscription of this API key has ended. Codes: payment_required. |
| 403 | forbidden | The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden. |
| 404 | not_found | No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found. |
| 405 | method_not_allowed | Wrong HTTP method for this route. Codes: method_not_allowed. |
| 429 | rate_limited | Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited. |
| 500 | internal | Unexpected error. Codes: internal. |
| 503 | busy unavailable | The service cannot answer right now. See Retry-After. Codes: busy, unavailable. |
| 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"}}; some also carry field, limit or group. What each code means: Errors.
Help
Errors
When something goes wrong, the answer says what, why, and whether it cost anything.
Every error has the same shape:
{
"error": {
"code": "rate_limited",
"message": "API key credits used up per minute.",
"doc_url": "https://ttf.bot/docs/errors/#rate_limited",
"request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
}
}
Check code in your program (it never changes); show message to people. Quote
request_id when you ask us for help.
| Code | What it means | How to fix it | Charged | Retry |
|---|---|---|---|---|
bad_request400 | Bad request Something in the request is off: an unknown chain, an address that does not fit the chain, an unknown field or group, a group the chain does not serve, a bad option (interval, limit, cursor, fields), an address we do not serve (burn, router, wrapped coin, exchange), or a webhook body that is not a JSON object of valid text. | Fix the request: GET /v1/chains lists the chains, groups and fields; the message names what was wrong. | No | - |
unauthorized401 | Missing or invalid key No API key was sent, or the key is not valid (typo, revoked, malformed). | Send the key as Authorization: Bearer ttfk_... or X-API-Key: ttfk_.... Create or copy a key in the dashboard. | No | - |
payment_required402 | Subscription ended The subscription behind this key has run out. | Renew the plan in the dashboard; the same key works again right after. | No | - |
forbidden403 | Not included in your plan The key is valid but may not do this: its plan does not include the asked group, the account has no developer plan, the key is locked to other IP addresses, or it does not have the webhook permission the route needs. | Upgrade the plan (GET /v1/chains shows which groups exist), drop the group from fields, add this IP to the key's allow-list, or create a key with webhook access (read or write) in the dashboard. | No | - |
quota_exceeded403 | Plan limit reached Your plan's number of webhook endpoints, webhook rules or watched wallet addresses is used up, or this month's delivery quota is. | Delete something you no longer need or move to a larger plan; error.limit is the limit that was reached. | No | - |
account_suspended403 | Account suspended The account behind this key is suspended, so nothing can be changed. | Contact support and quote the request_id. | No | - |
plan_required403 | Plan group needed Your plan does not include the data a webhook rule of this type delivers. | Move to a plan that includes the group named in error.group, or use another rule type. | No | - |
not_found404 | Not found No data for this token (no market lists it, no holders, no price history, unknown deployer), your account has no webhook endpoint or rule with that id (never charged), the route does not exist, or the API is switched off. | Check the chain and the address (GET /v1/resolve finds where a token trades), or list your endpoints and rules for their ids. A brand-new token may simply not be listed yet. | 1 credit attempt fee | - |
method_not_allowed405 | Method not allowed The route exists but not with this HTTP method. Every data route is GET; the /v1/webhooks routes also take POST, PATCH and DELETE, each as its page says. | Use the method the route's page shows. | No | - |
request_timeout408 | Body not received The body of a webhook request did not arrive in time; nothing was changed. | Send the whole body at once with a correct Content-Length, then repeat the call. | No | - |
duplicate_url409 | URL already used This account already has a webhook endpoint with that URL. | Use the existing endpoint (GET /v1/webhooks/endpoints) or choose another URL. | No | - |
types_in_use409 | Event types in use Rules of this endpoint use an event type the change would remove. | Delete those rules first, or keep the event type. | No | - |
endpoint_paused409 | Endpoint paused The endpoint is paused or disabled, so it gets nothing, not even a test. | Switch it on first (PATCH the endpoint with enabled true). | No | - |
over_limit409 | Endpoint over the plan limit This endpoint is above your plan's number of endpoints, so it is paused. | Delete other endpoints or move to a larger plan. | No | - |
conflict409 | Changed meanwhile The same webhook secret was changed by another request at the same moment; this one changed nothing. | Read the endpoint again, then repeat the change only if it is still needed. | No | - |
too_large413 | Body too large The request body is larger than the route accepts (8 KB for an endpoint, 256 KB for a rule). | Send a smaller body; split a very long watchlist into more rules. | No | - |
unsupported_media_type415 | Send JSON A webhook route that takes a body got one that is not declared as JSON. | Send the header Content-Type: application/json and a JSON object. | No | - |
refused422 | Token cannot be scanned The address is a contract we cannot scan (for example a proxy, or not a token contract at all). | Nothing to retry: this is a property of the address. Check you used the token address, not a pair or a wallet. | 1 credit attempt fee | - |
url_not_allowed422 | Webhook URL refused The webhook URL cannot be used: it must be a public https address with a host name that resolves. | Use a public https URL on port 443 or 8443, without a user name or password. | No | - |
invalid_rule422 | Invalid rule A setting of the webhook rule is missing, unknown or out of range. | Fix the setting named in error.field (GET /v1/webhooks/schema lists every rule type and its limits). | No | - |
type_not_subscribed422 | Event type not subscribed The endpoint does not receive the event type this rule sends. | Add the type to the endpoint's event_types first, or pick another endpoint. | No | - |
rate_limited429 | Slow down Too many requests per second, too many at once, the credits of the minute / day / month (or of this key) are used up, too many webhook reads or changes for your account, or too many invalid keys came from your network. | Wait the Retry-After seconds, then retry. Watch X-RateLimit-Remaining; upgrade the plan for more credits. | No | Yes, after Retry-After |
capacity503 | At capacity The API's shared capacity for today is full (free and trial keys pause first). | Retry after Retry-After, or later today. Paid plans are served first. | No | Yes, after Retry-After |
busy503 | Busy The API or its data providers are busy right now (nothing was asked from a provider), or another change of your wallet rules is still in progress. | Retry after Retry-After (usually a couple of seconds). | No | Yes, after Retry-After |
unavailable503 | Temporarily unavailable The API cannot check its limits or your key's plan right now (an outage on our side), the key is not set up for metering yet, or the webhook service did not answer. | Retry after Retry-After. If it keeps happening for one key, contact support with the request_id. | No | Yes, after Retry-After |
not_configured503 | Webhooks not set up Webhooks cannot be created or delivered on this server right now; nothing was changed. | Try again later (Retry-After). If it lasts, contact support. | No | Yes, after Retry-After |
upstream502 | Provider did not answer A data provider behind the answer failed or returned nothing usable. | Retry in a moment. The attempt fee (1 credit) applies to core and the paid-provider groups. | 1 credit attempt fee | - |
timeout504 | Took too long The data did not arrive in time (a slow scan or provider). | Retry in a moment: a slow security scan often finishes in the background and the next call is a cache hit. | 1 credit attempt fee | - |
internal500 | Internal error An unexpected error on our side. | Retry; if it repeats, contact support and quote the request_id. | No | - |
errorany | Request refused Any other refusal of the HTTP layer (the status says which); rare. | Read the message and the status; quote the request_id if you contact support. | No | - |
Help
Changelog
Every change of the API contract, newest first. Version 1 is frozen: new fields can be added, existing ones keep their meaning (breaking changes are flagged).
Current version 1.1.0.
1.1.0 · 2026-11-29 stable
Additive: webhooks can be managed with an API key (/v1/webhooks/*).
- added Webhook management routes (/v1/webhooks/*): create, change, test and delete endpoints and rules and read their delivery logs, for 0 credits. They need an API key with webhook access (none, read or write), chosen when the key is made; every existing key has none. These calls have their own account limits. The rule list leaves out wallet addresses and labels (address_count and label_count say how many); read one rule for them.
webhooksauth - added New error codes that only the webhook management routes answer; their error body may also carry field, limit or group.
errors - added request_timeout (408): the body of a webhook write did not arrive in time; nothing was changed.
errors
1.0.0 · 2026-11-28 stable
The /v1 contract is frozen: OpenAPI 3.1 document, JSON Schemas of every event and webhook body, error catalog.
- added The OpenAPI 3.1 contract (openapi.json) documents every route, field, unit, error code, credit cost and webhook; from now on every change to it is listed here.
* - added Published JSON Schemas (draft 2020-12) of the event envelope, every event type, every webhook body and the error answer.
eventswebhooks - added One catalog of every error code with its HTTP status, meaning and fix; every error answer links its entry (doc_url).
errors - changed breaking The API lives on its own host (servers in openapi.json); error doc_url points at the main site's errors page.
host - security breaking Answers no longer name third-party data providers: meta.sources is removed, core.links and bubbles.map_url (outbound third-party pages) are removed (fields=links is now an unknown field), and price / signal events no longer carry source; a wallet transfer's source (history / watch) stays.
*formateventswebhooksgetTokengetTokenGroup
0.9.0 · 2026-11-27 pre-release
Response format review before the freeze.
- changed breaking One response format: snake_case keys, money never a float (whole-dollar integers or decimal strings), ISO-8601 *_at outside lists and unix ms *_ms inside, unknown values absent instead of null.
format - changed breaking Every error is {code, message, doc_url, request_id}; a failed group of /v1/token is {"error": {code, message, doc_url}}.
errors - added Every 200 carries a weak ETag of its data; If-None-Match answers 304 (billed like the 200); gzip / br compression.
* - removed breaking The columnar compact=1 option is gone (it saved nothing after compression).
getTrendinggetWalletActivity - added fields= keeps only the asked keys of each trending row (chain and address always kept).
getTrending - changed breaking Events and webhook bodies use the same format: price_usd, value_usd, first_seen_ms, called_at_ms, created_ms; a ping has no rule or detail.
eventswebhookslistSignals