{
  "components": {
    "headers": {
      "ETag": {
        "description": "Weak validator of the answer's data (W/\"...\"). Send it back as If-None-Match: the same data answers 304 without a body (computed and billed like the 200; only the bytes are saved).",
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "description": "Seconds to wait before retrying (429 and 503).",
        "schema": {
          "type": "integer"
        }
      },
      "X-Credits-Cost": {
        "description": "Credits this call finally spent (0 for every refused or failed call).",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Limit": {
        "description": "Credits per minute of the account (answers to a recognised key).",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Remaining": {
        "description": "Credits left in the current minute.",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Reset": {
        "description": "Seconds until the minute window resets.",
        "schema": {
          "type": "integer"
        }
      },
      "X-Request-Id": {
        "description": "Id of this request (32 hex); also meta.request_id / error.request_id. Quote it to support.",
        "schema": {
          "type": "string"
        }
      }
    },
    "schemas": {
      "Answer": {
        "description": "Every successful answer: the data and its meta.",
        "properties": {
          "data": {
            "description": "The answer: see each operation (keyed by group for GET /v1/token/{chain}/{address})."
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "Chains": {
        "description": "The chains, groups and prices: what you can ask where, and what it costs.",
        "properties": {
          "chains": {
            "description": "The launch chains.",
            "items": {
              "description": "A launch chain.",
              "properties": {
                "family": {
                  "description": "Chain family: evm, solana, ...",
                  "type": "string"
                },
                "groups": {
                  "description": "The field groups of GET /v1/token it serves.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "id": {
                  "description": "Chain id (use it in paths).",
                  "type": "string"
                },
                "name": {
                  "description": "Display name.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "family",
                "groups"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "groups": {
            "description": "The field groups.",
            "items": {
              "description": "A field group of GET /v1/token.",
              "properties": {
                "all_chains": {
                  "description": "true = served on every launch chain; false = only on `chains`.",
                  "type": "boolean"
                },
                "cached_credits": {
                  "description": "Credits of an answer from the shared cache.",
                  "minimum": 0,
                  "type": "integer"
                },
                "chains": {
                  "description": "The chains it is served on (only when all_chains is false).",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "credits": {
                  "description": "Credits of a live answer.",
                  "minimum": 0,
                  "type": "integer"
                },
                "fields": {
                  "description": "Its field names (a group of one field lists itself).",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "name": {
                  "description": "Group name (use it in `fields`).",
                  "type": "string"
                },
                "tag": {
                  "description": "free = no paid provider behind it; paid = a failed answer keeps the attempt fee.",
                  "enum": [
                    "free",
                    "paid"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "name",
                "credits",
                "cached_credits",
                "tag",
                "fields",
                "all_chains"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "intervals": {
            "description": "Candle intervals.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "route_groups": {
            "description": "The routes that are groups of their own (trending, wallet, signals).",
            "items": {
              "description": "A route of its own.",
              "properties": {
                "all_chains": {
                  "description": "true = served on every launch chain; false = only on `chains`.",
                  "type": "boolean"
                },
                "cached_credits": {
                  "description": "Credits of an answer from the shared cache.",
                  "minimum": 0,
                  "type": "integer"
                },
                "chains": {
                  "description": "The chains it is served on (only when all_chains is false).",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "credits": {
                  "description": "Credits of a live answer.",
                  "minimum": 0,
                  "type": "integer"
                },
                "name": {
                  "description": "Group name (use it in `fields`).",
                  "type": "string"
                },
                "route": {
                  "description": "Its path.",
                  "type": "string"
                },
                "tag": {
                  "description": "free = no paid provider behind it; paid = a failed answer keeps the attempt fee.",
                  "enum": [
                    "free",
                    "paid"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "name",
                "credits",
                "cached_credits",
                "tag",
                "route",
                "all_chains"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "trending_windows": {
            "description": "Trending windows.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "chains",
          "groups",
          "route_groups",
          "intervals",
          "trending_windows"
        ],
        "type": "object"
      },
      "ChainsAnswer": {
        "description": "The answer of listChains: data (Chains) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Chains"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "DetailPctMove": {
        "description": "Why a pct_move rule fired.",
        "properties": {
          "base_ms": {
            "description": "When that start price was seen. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "base_price_usd": {
            "description": "The price at the start of the window, in US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "change_pct": {
            "description": "The move seen over the window. Percent (5.2 = 5.2 %).",
            "type": "number"
          },
          "price_usd": {
            "description": "The price now, in US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "threshold_pct": {
            "description": "Your move threshold (negative = a drop). Percent (5.2 = 5.2 %).",
            "type": "number"
          },
          "window": {
            "description": "Your window.",
            "enum": [
              "1m",
              "5m",
              "15m",
              "1h",
              "4h",
              "24h"
            ],
            "type": "string"
          }
        },
        "required": [
          "window",
          "threshold_pct",
          "change_pct",
          "base_ms"
        ],
        "type": "object"
      },
      "DetailPriceCross": {
        "description": "Why a price_cross rule fired.",
        "properties": {
          "change_pct": {
            "description": "How far the price is past the threshold. Percent (5.2 = 5.2 %).",
            "type": "number"
          },
          "price_usd": {
            "description": "The price that crossed it, in US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "side": {
            "description": "above = the price rose to / past it, below = it fell to / past it.",
            "enum": [
              "above",
              "below"
            ],
            "type": "string"
          },
          "threshold_usd": {
            "description": "Your threshold price in US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          }
        },
        "required": [
          "threshold_usd",
          "side",
          "change_pct"
        ],
        "type": "object"
      },
      "DetailSignal": {
        "description": "Why a signal rule fired.",
        "properties": {
          "kind": {
            "description": "The signal kind your rule asked for.",
            "enum": [
              "breakout",
              "trending",
              "call"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "DetailTrendingEnter": {
        "description": "Why a trending_enter rule fired.",
        "properties": {
          "filters": {
            "description": "The filters of your rule that applied on this chain and passed (besides min_scans). Absent for a rule without filters.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "first_seen_ms": {
            "description": "When the token entered the board. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "min_scans": {
            "description": "Your minimum (on the token's chain, when that chain has its own).",
            "minimum": 0,
            "type": "integer"
          },
          "not_applied": {
            "description": "Filters 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.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "scans": {
            "description": "Scans of the token on the board.",
            "minimum": 0,
            "type": "integer"
          },
          "unknown": {
            "description": "With unknown: mark, the values a filter needed that are unknown (event data keys, e.g. holders). Absent when every value was known.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "scans",
          "min_scans",
          "first_seen_ms"
        ],
        "type": "object"
      },
      "DetailWalletActivity": {
        "description": "Why a wallet_activity rule fired.",
        "properties": {
          "min_value_usd": {
            "description": "Your minimum value in US dollars (\"0\" = every transfer). Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "value_usd": {
            "description": "US dollar value of the transfer, when known. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          }
        },
        "required": [
          "min_value_usd"
        ],
        "type": "object"
      },
      "ErrorAnswer": {
        "description": "Every error answer.",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorBody"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      },
      "ErrorBody": {
        "description": "What went wrong. Branch on `code` (stable), show `message` (fixed text, may be reworded).",
        "properties": {
          "code": {
            "description": "Stable machine code: bad_request, unauthorized, payment_required, forbidden, quota_exceeded, account_suspended, plan_required, not_found, method_not_allowed, request_timeout, duplicate_url, types_in_use, endpoint_paused, over_limit, conflict, too_large, unsupported_media_type, refused, url_not_allowed, invalid_rule, type_not_subscribed, rate_limited, capacity, busy, unavailable, not_configured, upstream, timeout, internal, error. Each one is explained at doc_url.",
            "enum": [
              "bad_request",
              "unauthorized",
              "payment_required",
              "forbidden",
              "quota_exceeded",
              "account_suspended",
              "plan_required",
              "not_found",
              "method_not_allowed",
              "request_timeout",
              "duplicate_url",
              "types_in_use",
              "endpoint_paused",
              "over_limit",
              "conflict",
              "too_large",
              "unsupported_media_type",
              "refused",
              "url_not_allowed",
              "invalid_rule",
              "type_not_subscribed",
              "rate_limited",
              "capacity",
              "busy",
              "unavailable",
              "not_configured",
              "upstream",
              "timeout",
              "internal",
              "error"
            ],
            "type": "string"
          },
          "doc_url": {
            "description": "The reference page of this code (the errors page, anchor = the code).",
            "format": "uri",
            "type": "string"
          },
          "field": {
            "description": "Webhook routes: the setting that was refused (invalid_rule and some other refusals).",
            "type": "string"
          },
          "group": {
            "description": "Webhook routes, plan_required: the data group your plan lacks.",
            "type": "string"
          },
          "limit": {
            "description": "Webhook routes, quota_exceeded: the plan limit that was reached.",
            "minimum": 0,
            "type": "integer"
          },
          "message": {
            "description": "A fixed human-readable text (never a provider's text, never your key).",
            "type": "string"
          },
          "request_id": {
            "description": "Id of this request (= X-Request-Id). Quote it to support.",
            "pattern": "^[0-9a-f]{32}$",
            "type": "string"
          }
        },
        "required": [
          "code",
          "message",
          "doc_url",
          "request_id"
        ],
        "type": "object"
      },
      "Event": {
        "description": "The event envelope (v1): the same on the bus, in GET /v1/signals and in every webhook body's `event`. Text inside (names, symbols, signal text) comes from third parties: escape it before you show it.",
        "properties": {
          "chain": {
            "description": "Chain id. Absent for a signal about no chain.",
            "type": "string"
          },
          "data": {
            "description": "The data of the type: see Event<Type>.",
            "type": "object"
          },
          "id": {
            "description": "Event id: a ULID (26 characters, sorts by time). One event can fire several rules.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "token": {
            "description": "Token address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.",
            "type": "string"
          },
          "ts": {
            "description": "When the event happened. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "type": {
            "description": "The event type.",
            "enum": [
              "price",
              "trending",
              "wallet",
              "signal",
              "ping"
            ],
            "type": "string"
          },
          "v": {
            "const": 1,
            "description": "Envelope version (1).",
            "type": "integer"
          }
        },
        "required": [
          "v",
          "id",
          "type",
          "ts",
          "data"
        ],
        "type": "object"
      },
      "EventPing": {
        "description": "The dashboard's test delivery (webhooks only, never on the bus).",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EventPingData"
          },
          "id": {
            "description": "Event id: a ULID (26 characters, sorts by time). One event can fire several rules.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "ts": {
            "description": "When the event happened. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "type": {
            "const": "ping",
            "description": "The event type.",
            "type": "string"
          },
          "v": {
            "const": 1,
            "description": "Envelope version (1).",
            "type": "integer"
          }
        },
        "required": [
          "v",
          "id",
          "type",
          "ts",
          "data"
        ],
        "type": "object"
      },
      "EventPingData": {
        "description": "The test delivery's data.",
        "properties": {
          "text": {
            "description": "A fixed text (\"Test delivery from TTF\").",
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "EventPrice": {
        "description": "A price update of a token your rule watches.",
        "properties": {
          "chain": {
            "description": "Chain id. Absent for a signal about no chain.",
            "type": "string"
          },
          "data": {
            "$ref": "#/components/schemas/EventPriceData"
          },
          "id": {
            "description": "Event id: a ULID (26 characters, sorts by time). One event can fire several rules.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "token": {
            "description": "Token address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.",
            "type": "string"
          },
          "ts": {
            "description": "When the event happened. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "type": {
            "const": "price",
            "description": "The event type.",
            "type": "string"
          },
          "v": {
            "const": 1,
            "description": "Envelope version (1).",
            "type": "integer"
          }
        },
        "required": [
          "v",
          "id",
          "type",
          "ts",
          "chain",
          "token",
          "data"
        ],
        "type": "object"
      },
      "EventPriceData": {
        "description": "A price update of a token your rule watches. The event data (the keys of this type; unknown = absent).",
        "properties": {
          "liquidity_usd": {
            "description": "Liquidity of the pool the price comes from. Whole US dollars (integer).",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "description": "Token name (third-party text: escape it).",
            "maxLength": 64,
            "type": "string"
          },
          "pair": {
            "description": "The pair (pool) the price comes from.",
            "pattern": "^[A-Za-z0-9_.:-]{1,128}$",
            "type": "string"
          },
          "price_usd": {
            "description": "Price of one token in US dollars. Absent only for an absurd price (more than 64 characters). Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "symbol": {
            "description": "Ticker (third-party text: escape it).",
            "maxLength": 64,
            "type": "string"
          }
        },
        "type": "object"
      },
      "EventSignal": {
        "description": "A TTF signal: an ATH breakout or a call milestone.",
        "properties": {
          "chain": {
            "description": "Chain id. Absent for a signal about no chain.",
            "type": "string"
          },
          "data": {
            "$ref": "#/components/schemas/EventSignalData"
          },
          "id": {
            "description": "Event id: a ULID (26 characters, sorts by time). One event can fire several rules.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "token": {
            "description": "Token address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.",
            "type": "string"
          },
          "ts": {
            "description": "When the event happened. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "type": {
            "const": "signal",
            "description": "The event type.",
            "type": "string"
          },
          "v": {
            "const": 1,
            "description": "Envelope version (1).",
            "type": "integer"
          }
        },
        "required": [
          "v",
          "id",
          "type",
          "ts",
          "data"
        ],
        "type": "object"
      },
      "EventSignalData": {
        "description": "A TTF signal: an ATH breakout or a call milestone. The event data (the keys of this type; unknown = absent).",
        "properties": {
          "buys_24h": {
            "description": "Buys in the last 24 hours.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "called_at_ms": {
            "description": "When the call was made. Unix time in milliseconds.",
            "minimum": 1,
            "type": "integer"
          },
          "dex": {
            "description": "The exchange of the main pool (third-party text: escape it).",
            "maxLength": 32,
            "type": "string"
          },
          "entry_mc_usd": {
            "description": "call: the market cap when the call was made, US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "grade": {
            "description": "The signal grade: strong (daily ATH) or early (hourly ATH).",
            "enum": [
              "strong",
              "early"
            ],
            "type": "string"
          },
          "kind": {
            "description": "breakout = a new all-time high was broken, call = a call reached a milestone, trending = a trending signal.",
            "enum": [
              "breakout",
              "trending",
              "call"
            ],
            "type": "string"
          },
          "liquidity_usd": {
            "description": "Liquidity of its main pool, US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "market_cap_usd": {
            "description": "Market cap now, US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "multiple": {
            "description": "breakout: market cap / the all-time high it broke; call: the milestone reached since the call (2 = 2x).",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "name": {
            "description": "Token name (third-party text: escape it).",
            "maxLength": 64,
            "type": "string"
          },
          "pair_created_ms": {
            "description": "When its main pool was created (the token age).",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "plan_text": {
            "description": "The plan line of the call (\"if it holds 24h -> enter, sell 50% at 2x ...\").",
            "maxLength": 280,
            "type": "string"
          },
          "prev_ath_mc_usd": {
            "description": "breakout: the all-time high it broke, as a market cap in US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "prev_ath_ms": {
            "description": "breakout: when that all-time high was set.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "price_change_24h_pct": {
            "description": "Price change of the last 24 hours, percent (negative = down).",
            "type": "number"
          },
          "price_usd": {
            "description": "Price of one token now, US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "ref": {
            "description": "An id of the signal.",
            "pattern": "^[A-Za-z0-9_.:-]{1,128}$",
            "type": "string"
          },
          "score": {
            "description": "Strength of the signal (higher = stronger), when given.",
            "minimum": 0,
            "type": "number"
          },
          "sells_24h": {
            "description": "Sells in the last 24 hours.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "symbol": {
            "description": "Ticker (third-party text: escape it).",
            "maxLength": 64,
            "type": "string"
          },
          "text": {
            "description": "The signal in words (third-party text: escape it).",
            "maxLength": 1000,
            "type": "string"
          },
          "tier": {
            "description": "Which all-time high: daily (the daily ATH) or 1h (the hourly ATH).",
            "enum": [
              "daily",
              "1h"
            ],
            "type": "string"
          },
          "volume_24h_usd": {
            "description": "Trading volume of the last 24 hours, US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "EventTrending": {
        "description": "A token on TTF's trending board (the most scanned tokens).",
        "properties": {
          "chain": {
            "description": "Chain id. Absent for a signal about no chain.",
            "type": "string"
          },
          "data": {
            "$ref": "#/components/schemas/EventTrendingData"
          },
          "id": {
            "description": "Event id: a ULID (26 characters, sorts by time). One event can fire several rules.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "token": {
            "description": "Token address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.",
            "type": "string"
          },
          "ts": {
            "description": "When the event happened. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "type": {
            "const": "trending",
            "description": "The event type.",
            "type": "string"
          },
          "v": {
            "const": 1,
            "description": "Envelope version (1).",
            "type": "integer"
          }
        },
        "required": [
          "v",
          "id",
          "type",
          "ts",
          "chain",
          "token",
          "data"
        ],
        "type": "object"
      },
      "EventTrendingData": {
        "description": "A token on TTF's trending board (the most scanned tokens). The event data (the keys of this type; unknown = absent).",
        "properties": {
          "buy_tax_pct": {
            "description": "Buy tax measured by that simulation, percent.",
            "minimum": 0,
            "type": "number"
          },
          "buys_1h": {
            "description": "Buys in the last hour.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "first_seen_ms": {
            "description": "When the token entered the board. Absent when its entry was not observed (after a gap). Unix time in milliseconds.",
            "minimum": 1,
            "type": "integer"
          },
          "freeze_disabled": {
            "description": "Solana: true = the freeze authority is off.",
            "type": "boolean"
          },
          "has_telegram": {
            "description": "true = a Telegram group is listed for the token.",
            "type": "boolean"
          },
          "has_website": {
            "description": "true = a website is listed for the token.",
            "type": "boolean"
          },
          "has_x": {
            "description": "true = an X account is listed for the token.",
            "type": "boolean"
          },
          "holders": {
            "description": "Number of holders the TTF scan read.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "honeypot": {
            "description": "The 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.",
            "type": "boolean"
          },
          "interval_min": {
            "description": "The board window, in minutes.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "launchpad": {
            "description": "Solana: 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).",
            "type": "boolean"
          },
          "liquidity_usd": {
            "description": "Liquidity of its most liquid pool, US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "locked_pct": {
            "description": "Share of the liquidity that is locked or burned, percent.",
            "minimum": 0,
            "type": "number"
          },
          "market_cap_usd": {
            "description": "Market cap (or the fully diluted value when no market cap is known), US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "mint_disabled": {
            "description": "Solana: true = the mint authority is off.",
            "type": "boolean"
          },
          "name": {
            "description": "Token name (third-party text: escape it).",
            "maxLength": 64,
            "type": "string"
          },
          "pair": {
            "description": "The main pair (pool).",
            "pattern": "^[A-Za-z0-9_.:-]{1,128}$",
            "type": "string"
          },
          "pair_created_ms": {
            "description": "When its pool was created (the token age).",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "pair_with": {
            "description": "What the pool pairs it with: native (the chain coin), stable (a stablecoin) or other.",
            "enum": [
              "native",
              "stable",
              "other"
            ],
            "type": "string"
          },
          "price_change_1h_pct": {
            "description": "Price change of the last hour, percent (negative = down).",
            "type": "number"
          },
          "rank": {
            "description": "Position on the board (1 = most scanned).",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "renounced": {
            "description": "true = the contract owner is renounced (EVM chains).",
            "type": "boolean"
          },
          "scans": {
            "description": "TTF scans of the token in the board window.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "sell_tax_pct": {
            "description": "Sell tax measured by that simulation, percent.",
            "minimum": 0,
            "type": "number"
          },
          "symbol": {
            "description": "Ticker (third-party text: escape it).",
            "maxLength": 64,
            "type": "string"
          },
          "top10_pct": {
            "description": "Share of the supply the 10 largest holders hold, percent.",
            "minimum": 0,
            "type": "number"
          },
          "verified_source": {
            "description": "true = the contract source code is verified.",
            "type": "boolean"
          },
          "volume_24h_usd": {
            "description": "Trading volume of the last 24 hours, US dollars. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          }
        },
        "required": [
          "rank",
          "scans"
        ],
        "type": "object"
      },
      "EventWallet": {
        "description": "A transfer of a wallet your rule watches (in or out).",
        "properties": {
          "chain": {
            "description": "Chain id. Absent for a signal about no chain.",
            "type": "string"
          },
          "data": {
            "$ref": "#/components/schemas/EventWalletData"
          },
          "id": {
            "description": "Event id: a ULID (26 characters, sorts by time). One event can fire several rules.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "token": {
            "description": "Token address (one canonical form per chain: EVM lower-case 0x + 40 hex). Absent for a signal about no token.",
            "type": "string"
          },
          "ts": {
            "description": "When the event happened. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "type": {
            "const": "wallet",
            "description": "The event type.",
            "type": "string"
          },
          "v": {
            "const": 1,
            "description": "Envelope version (1).",
            "type": "integer"
          }
        },
        "required": [
          "v",
          "id",
          "type",
          "ts",
          "chain",
          "token",
          "data"
        ],
        "type": "object"
      },
      "EventWalletData": {
        "description": "A transfer of a wallet your rule watches (in or out). The event data (the keys of this type; unknown = absent).",
        "properties": {
          "address": {
            "description": "The watched wallet (the subject of your rule). Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.",
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "block": {
            "description": "Block number.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "decimals": {
            "description": "Token decimals.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "direction": {
            "description": "out = the wallet sent it, in = it received it. Absent = out.",
            "enum": [
              "out",
              "in"
            ],
            "type": "string"
          },
          "from": {
            "description": "Sender (empty when unknown). Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.",
            "maxLength": 200,
            "type": "string"
          },
          "kind": {
            "description": "transfer, sell (Solana: a swap out) or native (the chain's own coin; token 0xeeee...eeee).",
            "enum": [
              "sell",
              "transfer",
              "native"
            ],
            "type": "string"
          },
          "late": {
            "description": "1 = recorded by a catch-up round long after its block (not a live transfer).",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "log_index": {
            "description": "Position of the transfer in its transaction's logs.",
            "maximum": 9223372036854775807,
            "minimum": 0,
            "type": "integer"
          },
          "symbol": {
            "description": "Token ticker (third-party text: escape it).",
            "maxLength": 64,
            "type": "string"
          },
          "to": {
            "description": "Receiver (empty when unknown). Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.",
            "maxLength": 200,
            "type": "string"
          },
          "tx": {
            "description": "Transaction hash.",
            "pattern": "^[A-Za-z0-9_.:-]{1,128}$",
            "type": "string"
          },
          "value": {
            "description": "Raw amount (integer string; divide by 10^decimals).",
            "pattern": "^[0-9]{1,80}$",
            "type": "string"
          },
          "value_usd": {
            "description": "US dollar value of the transfer, when known. Decimal string (never a float, no exponent).",
            "maxLength": 64,
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          }
        },
        "required": [
          "address",
          "tx",
          "value"
        ],
        "type": "object"
      },
      "GroupError": {
        "description": "A group of GET /v1/token that failed while others answered (listed in meta.partial).",
        "properties": {
          "error": {
            "description": "Why this group has no data.",
            "properties": {
              "code": {
                "description": "Why: not_found, refused, timeout, upstream, busy (the error codes of the same name).",
                "enum": [
                  "not_found",
                  "refused",
                  "timeout",
                  "upstream",
                  "busy"
                ],
                "type": "string"
              },
              "doc_url": {
                "description": "The reference page of this code.",
                "format": "uri",
                "type": "string"
              },
              "message": {
                "description": "A fixed human-readable text.",
                "type": "string"
              }
            },
            "required": [
              "code",
              "message",
              "doc_url"
            ],
            "type": "object"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      },
      "Health": {
        "description": "Is the API up?",
        "properties": {
          "checked_at": {
            "description": "When this was checked. ISO-8601 UTC (\"2026-11-28T10:00:00Z\").",
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "description": "true = the API is switched on (paid routes answer).",
            "type": "boolean"
          },
          "redis": {
            "description": "true = the limits store answers.",
            "type": "boolean"
          }
        },
        "required": [
          "redis",
          "enabled",
          "checked_at"
        ],
        "type": "object"
      },
      "HealthAnswer": {
        "description": "The answer of getHealth: data (Health) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Health"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookDelivery": {
        "description": "One row of the delivery log.",
        "properties": {
          "attempts": {
            "description": "Attempts made.",
            "minimum": 0,
            "type": "integer"
          },
          "error": {
            "description": "A short reason code of the last failure.",
            "type": "string"
          },
          "event_id": {
            "description": "The event it delivered.",
            "type": "string"
          },
          "id": {
            "description": "Delivery id (= the X-TTF-Delivery header).",
            "type": "string"
          },
          "kind": {
            "description": "The rule type, or ping.",
            "type": "string",
            "x-ttf-known-values": [
              "price_cross",
              "pct_move",
              "trending_enter",
              "wallet_activity",
              "signal",
              "ping"
            ]
          },
          "latency_ms": {
            "description": "How long your receiver took, in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "next_attempt": {
            "description": "When the next attempt is due, while one is. Unix time in SECONDS.",
            "minimum": 0,
            "type": "integer"
          },
          "response_snippet": {
            "description": "The first 1 KB of your receiver's answer (empty text when none).",
            "type": "string"
          },
          "response_status": {
            "description": "The HTTP status your receiver answered, when it answered.",
            "type": "integer"
          },
          "rule_id": {
            "description": "The rule that fired (empty text for a test ping).",
            "type": "string"
          },
          "snippet_truncated": {
            "description": "true = the answer was longer.",
            "type": "boolean"
          },
          "status": {
            "description": "pending = 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.",
            "type": "string",
            "x-ttf-known-values": [
              "pending",
              "delivered",
              "retrying",
              "dead",
              "delayed_expired",
              "lost"
            ]
          },
          "ts": {
            "description": "When the rule fired. Unix time in SECONDS.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "event_id",
          "rule_id",
          "kind",
          "status",
          "attempts",
          "ts",
          "response_snippet",
          "snippet_truncated"
        ],
        "type": "object"
      },
      "HookDeliveryList": {
        "description": "A page of the delivery log, newest first.",
        "properties": {
          "deliveries": {
            "description": "The rows.",
            "items": {
              "$ref": "#/components/schemas/HookDelivery"
            },
            "type": "array"
          },
          "next_cursor": {
            "description": "Pass as ?cursor= for the older page. Absent on the last page.",
            "type": "string"
          }
        },
        "required": [
          "deliveries"
        ],
        "type": "object"
      },
      "HookDeliveryListAnswer": {
        "description": "The answer of listWebhookDeliveries: data (HookDeliveryList) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookDeliveryList"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookEndpoint": {
        "description": "A webhook endpoint: where deliveries go. Its signing secret is never part of it.",
        "properties": {
          "created": {
            "description": "When it was created. Unix time in SECONDS.",
            "minimum": 0,
            "type": "integer"
          },
          "description": {
            "description": "Your note (empty text when none).",
            "type": "string"
          },
          "enabled": {
            "description": "true = switched on.",
            "type": "boolean"
          },
          "event_types": {
            "description": "The event types it receives.",
            "items": {
              "enum": [
                "price",
                "trending",
                "wallet",
                "signal"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "description": "Endpoint id (whe_ + 24 hex).",
            "pattern": "^whe_[0-9a-f]{24}$",
            "type": "string"
          },
          "over_limit": {
            "description": "true = above the number of endpoints of your plan, so it gets nothing.",
            "type": "boolean"
          },
          "previous_secret_until": {
            "description": "After a rotation: when the previous secret stops signing. Absent otherwise. Unix time in SECONDS.",
            "minimum": 0,
            "type": "integer"
          },
          "secret_version": {
            "description": "How many signing secrets this endpoint has had (1 = never rotated).",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "description": "active = 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.",
            "type": "string",
            "x-ttf-known-values": [
              "active",
              "paused",
              "failing",
              "disabled",
              "paused_over_limit"
            ]
          },
          "updated": {
            "description": "When it was last changed. Unix time in SECONDS.",
            "minimum": 0,
            "type": "integer"
          },
          "url": {
            "description": "Where deliveries are POSTed.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "url",
          "description",
          "event_types",
          "status",
          "enabled",
          "over_limit",
          "secret_version",
          "created",
          "updated"
        ],
        "type": "object"
      },
      "HookEndpointAnswer": {
        "description": "The answer of getWebhookEndpoint: data (HookEndpointOne) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookEndpointOne"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookEndpointCreate": {
        "description": "The body of a new endpoint.",
        "properties": {
          "description": {
            "description": "A note, up to 120 characters.",
            "maxLength": 120,
            "type": "string"
          },
          "enabled": {
            "description": "false = create it paused (default true).",
            "type": "boolean"
          },
          "event_types": {
            "description": "Event types to receive (default: all).",
            "items": {
              "enum": [
                "price",
                "trending",
                "wallet",
                "signal"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "url": {
            "description": "Public https URL (port 443 or 8443, a host name that resolves, no user name or password).",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "HookEndpointCreatedAnswer": {
        "description": "The answer of createWebhookEndpoint: data (HookEndpointSecret) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookEndpointSecret"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookEndpointDeleted": {
        "description": "What the delete removed.",
        "properties": {
          "deleted": {
            "description": "true.",
            "type": "boolean"
          },
          "deliveries_deleted": {
            "description": "Delivery log rows deleted with it.",
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "description": "The deleted endpoint.",
            "pattern": "^whe_[0-9a-f]{24}$",
            "type": "string"
          },
          "rules_deleted": {
            "description": "Rules of the endpoint deleted with it.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "deleted",
          "rules_deleted",
          "deliveries_deleted"
        ],
        "type": "object"
      },
      "HookEndpointDeletedAnswer": {
        "description": "The answer of deleteWebhookEndpoint: data (HookEndpointDeleted) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookEndpointDeleted"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookEndpointList": {
        "description": "Your endpoints, newest first.",
        "properties": {
          "endpoints": {
            "description": "The endpoints.",
            "items": {
              "$ref": "#/components/schemas/HookEndpoint"
            },
            "type": "array"
          },
          "max_endpoints": {
            "description": "How many endpoints your plan allows.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "endpoints",
          "max_endpoints"
        ],
        "type": "object"
      },
      "HookEndpointListAnswer": {
        "description": "The answer of listWebhookEndpoints: data (HookEndpointList) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookEndpointList"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookEndpointOne": {
        "description": "One endpoint.",
        "properties": {
          "endpoint": {
            "$ref": "#/components/schemas/HookEndpoint"
          }
        },
        "required": [
          "endpoint"
        ],
        "type": "object"
      },
      "HookEndpointSecret": {
        "description": "An endpoint with its new signing secret.",
        "properties": {
          "endpoint": {
            "$ref": "#/components/schemas/HookEndpoint"
          },
          "notice": {
            "description": "What to do with the secret, in words.",
            "type": "string"
          },
          "secret": {
            "description": "The signing secret (whsec_...). It is in this answer ONLY: store it now.",
            "pattern": "^whsec_",
            "type": "string"
          }
        },
        "required": [
          "endpoint",
          "secret",
          "notice"
        ],
        "type": "object"
      },
      "HookEndpointUpdate": {
        "description": "The fields to change (at least one).",
        "properties": {
          "description": {
            "description": "A note, up to 120 characters.",
            "maxLength": 120,
            "type": "string"
          },
          "enabled": {
            "description": "false = pause, true = resume.",
            "type": "boolean"
          },
          "event_types": {
            "description": "Event types to receive.",
            "items": {
              "enum": [
                "price",
                "trending",
                "wallet",
                "signal"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "url": {
            "description": "Public https URL (port 443 or 8443, a host name that resolves, no user name or password).",
            "type": "string"
          }
        },
        "type": "object"
      },
      "HookEndpointUpdatedAnswer": {
        "description": "The answer of updateWebhookEndpoint: data (HookEndpointOne) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookEndpointOne"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookRule": {
        "description": "A webhook rule: when it matches, its event is sent to its endpoint.",
        "properties": {
          "active": {
            "description": "true = it can fire now.",
            "type": "boolean"
          },
          "coverage": {
            "description": "What the sources deliver for this rule (coverage_note says it in words).",
            "type": "string",
            "x-ttf-known-values": [
              "full",
              "not_watched",
              "never",
              "partial",
              "pending",
              "denied",
              "native_only",
              "no_source"
            ]
          },
          "coverage_note": {
            "description": "The coverage in words (empty text when full).",
            "type": "string"
          },
          "created": {
            "description": "When it was created. Unix time in SECONDS.",
            "minimum": 0,
            "type": "integer"
          },
          "enabled": {
            "description": "Your switch.",
            "type": "boolean"
          },
          "endpoint_id": {
            "description": "The endpoint it delivers to.",
            "pattern": "^whe_[0-9a-f]{24}$",
            "type": "string"
          },
          "id": {
            "description": "Rule id (whr_ + 24 hex).",
            "pattern": "^whr_[0-9a-f]{24}$",
            "type": "string"
          },
          "labels": {
            "additionalProperties": {
              "description": "The label of that address.",
              "type": "string"
            },
            "description": "Your wallet labels: address -> text (empty when none).",
            "type": "object"
          },
          "name": {
            "description": "Your name for it (empty text when none).",
            "type": "string"
          },
          "over_limit": {
            "description": "true = above your plan, so it does not fire.",
            "type": "boolean"
          },
          "params": {
            "$ref": "#/components/schemas/HookRuleParams"
          },
          "status": {
            "description": "active, 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.",
            "type": "string",
            "x-ttf-known-values": [
              "active",
              "inactive",
              "disabled",
              "endpoint_paused",
              "paused_plan",
              "paused_over_limit",
              "invalid",
              "inactive_denied",
              "over_quota"
            ]
          },
          "type": {
            "description": "The rule type.",
            "enum": [
              "price_cross",
              "pct_move",
              "trending_enter",
              "wallet_activity",
              "signal"
            ],
            "type": "string"
          },
          "updated": {
            "description": "When it was last changed. Unix time in SECONDS.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "endpoint_id",
          "type",
          "name",
          "labels",
          "params",
          "enabled",
          "active",
          "over_limit",
          "status",
          "coverage",
          "coverage_note",
          "created",
          "updated"
        ],
        "type": "object"
      },
      "HookRuleAnswer": {
        "description": "The answer of getWebhookRule: data (HookRuleOne) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookRuleOne"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookRuleCheck": {
        "description": "The rule would be accepted (nothing was saved).",
        "properties": {
          "coverage": {
            "description": "What the sources deliver for this rule (coverage_note says it in words).",
            "type": "string",
            "x-ttf-known-values": [
              "full",
              "not_watched",
              "never",
              "partial",
              "pending",
              "denied",
              "native_only",
              "no_source"
            ]
          },
          "coverage_note": {
            "description": "The coverage in words (empty text when full).",
            "type": "string"
          },
          "ok": {
            "description": "true.",
            "type": "boolean"
          }
        },
        "required": [
          "ok",
          "coverage",
          "coverage_note"
        ],
        "type": "object"
      },
      "HookRuleCheckAnswer": {
        "description": "The answer of checkWebhookRule: data (HookRuleCheck) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookRuleCheck"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookRuleCheckInput": {
        "description": "A rule to validate without saving it.",
        "properties": {
          "enabled": {
            "description": "As in a new rule.",
            "type": "boolean"
          },
          "endpoint_id": {
            "description": "Also check this endpoint's event types and plan limit.",
            "pattern": "^whe_[0-9a-f]{24}$",
            "type": "string"
          },
          "labels": {
            "additionalProperties": {
              "description": "The label of that address.",
              "type": "string"
            },
            "description": "Wallet labels: address -> text.",
            "type": "object"
          },
          "name": {
            "description": "A name.",
            "maxLength": 60,
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/HookRuleParams"
          },
          "type": {
            "description": "The rule type.",
            "enum": [
              "price_cross",
              "pct_move",
              "trending_enter",
              "wallet_activity",
              "signal"
            ],
            "type": "string"
          }
        },
        "required": [
          "type",
          "params"
        ],
        "type": "object"
      },
      "HookRuleCreate": {
        "description": "The body of a new rule.",
        "properties": {
          "enabled": {
            "description": "false = create it switched off (default true).",
            "type": "boolean"
          },
          "endpoint_id": {
            "description": "The endpoint it delivers to.",
            "pattern": "^whe_[0-9a-f]{24}$",
            "type": "string"
          },
          "labels": {
            "additionalProperties": {
              "description": "The label of that address.",
              "type": "string"
            },
            "description": "Wallet labels: address -> text (wallet rules only).",
            "type": "object"
          },
          "name": {
            "description": "A name, up to 60 characters.",
            "maxLength": 60,
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/HookRuleParams"
          },
          "type": {
            "description": "The rule type.",
            "enum": [
              "price_cross",
              "pct_move",
              "trending_enter",
              "wallet_activity",
              "signal"
            ],
            "type": "string"
          }
        },
        "required": [
          "endpoint_id",
          "type",
          "params"
        ],
        "type": "object"
      },
      "HookRuleCreatedAnswer": {
        "description": "The answer of createWebhookRule: data (HookRuleOne) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookRuleOne"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookRuleDeleted": {
        "description": "The rule was deleted.",
        "properties": {
          "deleted": {
            "description": "true.",
            "type": "boolean"
          },
          "id": {
            "description": "The deleted rule.",
            "pattern": "^whr_[0-9a-f]{24}$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "type": "object"
      },
      "HookRuleDeletedAnswer": {
        "description": "The answer of deleteWebhookRule: data (HookRuleDeleted) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookRuleDeleted"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookRuleList": {
        "description": "Your rules, newest first.",
        "properties": {
          "max_rules": {
            "description": "How many rules your plan allows.",
            "minimum": 0,
            "type": "integer"
          },
          "max_watch_addresses": {
            "description": "How many wallet addresses your plan may watch at once.",
            "minimum": 0,
            "type": "integer"
          },
          "rules": {
            "description": "The rules.",
            "items": {
              "$ref": "#/components/schemas/HookRuleSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "rules",
          "max_rules",
          "max_watch_addresses"
        ],
        "type": "object"
      },
      "HookRuleListAnswer": {
        "description": "The answer of listWebhookRules: data (HookRuleList) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookRuleList"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookRuleOne": {
        "description": "One rule.",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/HookRule"
          }
        },
        "required": [
          "rule"
        ],
        "type": "object"
      },
      "HookRuleParams": {
        "description": "The settings of a rule. Which keys apply depends on the rule type (GET /v1/webhooks/schema).",
        "properties": {
          "above": {
            "description": "price_cross: fire when the price rises to this many US dollars (give above or below).",
            "type": "number"
          },
          "address": {
            "description": "wallet_activity: the wallet to watch (give address or addresses).",
            "type": "string"
          },
          "addresses": {
            "description": "wallet_activity: a watchlist of up to 1000 wallets.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "below": {
            "description": "price_cross: fire when the price falls to this many US dollars.",
            "type": "number"
          },
          "chain": {
            "description": "Chain 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).",
            "type": "string"
          },
          "chains": {
            "description": "trending_enter: a list of chains (instead of chain).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "direction": {
            "description": "wallet_activity: out (default) = sent by the wallet, in = received, any = both.",
            "enum": [
              "out",
              "in",
              "any"
            ],
            "type": "string"
          },
          "exclude_honeypot": {
            "description": "trending_enter: true = only tokens that pass the honeypot check check (not a honeypot).",
            "type": "boolean"
          },
          "fire_if_already_past": {
            "description": "price_cross: fire at once when the price is already past the level.",
            "type": "boolean"
          },
          "kind": {
            "description": "signal: the signal kind.",
            "enum": [
              "breakout",
              "trending",
              "call",
              "cmd"
            ],
            "type": "string"
          },
          "launchpad": {
            "description": "trending_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).",
            "enum": [
              "only",
              "none"
            ],
            "type": "string"
          },
          "max_age_hours": {
            "description": "trending_enter: at most this age in hours (0 to 87600).",
            "type": "number"
          },
          "max_buy_tax_pct": {
            "description": "trending_enter: at most this buy tax in percent (0 to 100).",
            "type": "number"
          },
          "max_liquidity_usd": {
            "description": "trending_enter: at most this liquidity in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "max_market_cap_usd": {
            "description": "trending_enter: at most this market cap in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "max_per_hour": {
            "description": "trending_enter: at most this many alerts in any 60 minutes.",
            "maximum": 1000,
            "minimum": 1,
            "type": "integer"
          },
          "max_price_change_1h_pct": {
            "description": "trending_enter: at most this 1 h change in percent (-100 to 1e+06).",
            "type": "number"
          },
          "max_rank": {
            "description": "trending_enter: at most this place (1 to 30).",
            "type": "integer"
          },
          "max_sell_tax_pct": {
            "description": "trending_enter: at most this sell tax in percent (0 to 100).",
            "type": "number"
          },
          "max_top10_pct": {
            "description": "trending_enter: at most this top 10 share in percent (0 to 100).",
            "type": "number"
          },
          "min_age_hours": {
            "description": "trending_enter: at least this age in hours (0 to 87600).",
            "type": "number"
          },
          "min_buys_1h": {
            "description": "trending_enter: at least this 1 h buys (0 to 1e+09).",
            "type": "integer"
          },
          "min_holders": {
            "description": "trending_enter: at least this holders (0 to 1e+09).",
            "type": "integer"
          },
          "min_liquidity_usd": {
            "description": "trending_enter: at least this liquidity in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "min_locked_pct": {
            "description": "trending_enter: at least this locked or burned liquidity in percent (0 to 100).",
            "type": "number"
          },
          "min_market_cap_usd": {
            "description": "trending_enter: at least this market cap in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "min_price_change_1h_pct": {
            "description": "trending_enter: at least this 1 h change in percent (-100 to 1e+06).",
            "type": "number"
          },
          "min_scans": {
            "description": "trending_enter: scans a token needs on the board.",
            "type": "integer"
          },
          "min_usd": {
            "description": "wallet_activity: smallest transfer in US dollars (0 = every transfer).",
            "type": "number"
          },
          "min_volume_24h_usd": {
            "description": "trending_enter: at least this 24 h volume in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "name_exclude": {
            "description": "trending_enter: words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name_include": {
            "description": "trending_enter: words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "pair_with": {
            "description": "trending_enter: pair coin.",
            "enum": [
              "native",
              "stable"
            ],
            "type": "string"
          },
          "per_chain": {
            "additionalProperties": {
              "description": "The chain's own values: filter -> value, or null = no limit on this chain.",
              "properties": {
                "exclude_honeypot": {
                  "description": "true = only tokens that pass the honeypot check check (not a honeypot).",
                  "type": "boolean"
                },
                "launchpad": {
                  "description": "trending_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).",
                  "enum": [
                    "only",
                    "none"
                  ],
                  "type": "string"
                },
                "max_age_hours": {
                  "description": "at most this age in hours (0 to 87600).",
                  "type": "number"
                },
                "max_buy_tax_pct": {
                  "description": "at most this buy tax in percent (0 to 100).",
                  "type": "number"
                },
                "max_liquidity_usd": {
                  "description": "at most this liquidity in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "max_market_cap_usd": {
                  "description": "at most this market cap in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "max_price_change_1h_pct": {
                  "description": "at most this 1 h change in percent (-100 to 1e+06).",
                  "type": "number"
                },
                "max_rank": {
                  "description": "at most this place (1 to 30).",
                  "type": "integer"
                },
                "max_sell_tax_pct": {
                  "description": "at most this sell tax in percent (0 to 100).",
                  "type": "number"
                },
                "max_top10_pct": {
                  "description": "at most this top 10 share in percent (0 to 100).",
                  "type": "number"
                },
                "min_age_hours": {
                  "description": "at least this age in hours (0 to 87600).",
                  "type": "number"
                },
                "min_buys_1h": {
                  "description": "at least this 1 h buys (0 to 1e+09).",
                  "type": "integer"
                },
                "min_holders": {
                  "description": "at least this holders (0 to 1e+09).",
                  "type": "integer"
                },
                "min_liquidity_usd": {
                  "description": "at least this liquidity in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "min_locked_pct": {
                  "description": "at least this locked or burned liquidity in percent (0 to 100).",
                  "type": "number"
                },
                "min_market_cap_usd": {
                  "description": "at least this market cap in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "min_price_change_1h_pct": {
                  "description": "at least this 1 h change in percent (-100 to 1e+06).",
                  "type": "number"
                },
                "min_scans": {
                  "description": "scans a token needs on the board.",
                  "type": "integer"
                },
                "min_volume_24h_usd": {
                  "description": "at least this 24 h volume in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "name_exclude": {
                  "description": "words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "name_include": {
                  "description": "words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "pair_with": {
                  "description": "pair coin.",
                  "enum": [
                    "native",
                    "stable"
                  ],
                  "type": "string"
                },
                "require_freeze_disabled": {
                  "description": "true = only tokens that pass the freeze authority check (required).",
                  "type": "boolean"
                },
                "require_mint_disabled": {
                  "description": "true = only tokens that pass the mint authority check (required).",
                  "type": "boolean"
                },
                "require_renounced": {
                  "description": "true = only tokens that pass the ownership check (required).",
                  "type": "boolean"
                },
                "require_telegram": {
                  "description": "true = only tokens that pass the Telegram group check (required).",
                  "type": "boolean"
                },
                "require_verified_source": {
                  "description": "true = only tokens that pass the source code check (required).",
                  "type": "boolean"
                },
                "require_website": {
                  "description": "true = only tokens that pass the website check (required).",
                  "type": "boolean"
                },
                "require_x": {
                  "description": "true = only tokens that pass the X account check (required).",
                  "type": "boolean"
                },
                "whole_words": {
                  "description": "true = the words match whole words only.",
                  "type": "boolean"
                }
              },
              "type": "object"
            },
            "description": "trending_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.",
            "type": "object"
          },
          "percent": {
            "description": "pct_move: the move in percent (negative = a drop).",
            "type": "number"
          },
          "repeat": {
            "description": "trending_enter: the same token again only after this long (absent = once each time it enters the board; never = remembered for 180 days).",
            "enum": [
              "1h",
              "6h",
              "24h",
              "never"
            ],
            "type": "string"
          },
          "require_freeze_disabled": {
            "description": "trending_enter: true = only tokens that pass the freeze authority check (required).",
            "type": "boolean"
          },
          "require_mint_disabled": {
            "description": "trending_enter: true = only tokens that pass the mint authority check (required).",
            "type": "boolean"
          },
          "require_renounced": {
            "description": "trending_enter: true = only tokens that pass the ownership check (required).",
            "type": "boolean"
          },
          "require_telegram": {
            "description": "trending_enter: true = only tokens that pass the Telegram group check (required).",
            "type": "boolean"
          },
          "require_verified_source": {
            "description": "trending_enter: true = only tokens that pass the source code check (required).",
            "type": "boolean"
          },
          "require_website": {
            "description": "trending_enter: true = only tokens that pass the website check (required).",
            "type": "boolean"
          },
          "require_x": {
            "description": "trending_enter: true = only tokens that pass the X account check (required).",
            "type": "boolean"
          },
          "token": {
            "description": "Token address (price_cross, pct_move).",
            "type": "string"
          },
          "unknown": {
            "description": "trending_enter: skip (default) = no alert when a value a filter needs is unknown; mark = alert and list them in detail.unknown.",
            "enum": [
              "skip",
              "mark"
            ],
            "type": "string"
          },
          "whole_words": {
            "description": "trending_enter: true = the words match whole words only.",
            "type": "boolean"
          },
          "window": {
            "description": "pct_move: the time window.",
            "enum": [
              "1m",
              "5m",
              "15m",
              "1h",
              "4h",
              "24h"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "HookRuleSummary": {
        "description": "A rule as the list shows it: without wallet addresses and labels, with their counts. The coverage of a watchlist is partial here whenever its chain is over capacity; the rule itself says exactly.",
        "properties": {
          "active": {
            "description": "true = it can fire now.",
            "type": "boolean"
          },
          "address_count": {
            "description": "wallet_activity: how many wallets the rule watches. Absent for other rules.",
            "minimum": 0,
            "type": "integer"
          },
          "coverage": {
            "description": "What the sources deliver for this rule (coverage_note says it in words).",
            "type": "string",
            "x-ttf-known-values": [
              "full",
              "not_watched",
              "never",
              "partial",
              "pending",
              "denied",
              "native_only",
              "no_source"
            ]
          },
          "coverage_note": {
            "description": "The coverage in words (empty text when full).",
            "type": "string"
          },
          "created": {
            "description": "When it was created. Unix time in SECONDS.",
            "minimum": 0,
            "type": "integer"
          },
          "enabled": {
            "description": "Your switch.",
            "type": "boolean"
          },
          "endpoint_id": {
            "description": "The endpoint it delivers to.",
            "pattern": "^whe_[0-9a-f]{24}$",
            "type": "string"
          },
          "id": {
            "description": "Rule id (whr_ + 24 hex).",
            "pattern": "^whr_[0-9a-f]{24}$",
            "type": "string"
          },
          "label_count": {
            "description": "wallet_activity: how many of them have a label. Absent for other rules.",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "description": "Your name for it (empty text when none).",
            "type": "string"
          },
          "over_limit": {
            "description": "true = above your plan, so it does not fire.",
            "type": "boolean"
          },
          "params": {
            "$ref": "#/components/schemas/HookRuleSummaryParams"
          },
          "status": {
            "description": "active, 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.",
            "type": "string",
            "x-ttf-known-values": [
              "active",
              "inactive",
              "disabled",
              "endpoint_paused",
              "paused_plan",
              "paused_over_limit",
              "invalid",
              "inactive_denied",
              "over_quota"
            ]
          },
          "type": {
            "description": "The rule type.",
            "enum": [
              "price_cross",
              "pct_move",
              "trending_enter",
              "wallet_activity",
              "signal"
            ],
            "type": "string"
          },
          "updated": {
            "description": "When it was last changed. Unix time in SECONDS.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "endpoint_id",
          "type",
          "name",
          "params",
          "enabled",
          "active",
          "over_limit",
          "status",
          "coverage",
          "coverage_note",
          "created",
          "updated"
        ],
        "type": "object"
      },
      "HookRuleSummaryParams": {
        "description": "The 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).",
        "properties": {
          "above": {
            "description": "price_cross: fire when the price rises to this many US dollars (give above or below).",
            "type": "number"
          },
          "below": {
            "description": "price_cross: fire when the price falls to this many US dollars.",
            "type": "number"
          },
          "chain": {
            "description": "Chain 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).",
            "type": "string"
          },
          "chains": {
            "description": "trending_enter: a list of chains (instead of chain).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "direction": {
            "description": "wallet_activity: out (default) = sent by the wallet, in = received, any = both.",
            "enum": [
              "out",
              "in",
              "any"
            ],
            "type": "string"
          },
          "exclude_honeypot": {
            "description": "trending_enter: true = only tokens that pass the honeypot check check (not a honeypot).",
            "type": "boolean"
          },
          "fire_if_already_past": {
            "description": "price_cross: fire at once when the price is already past the level.",
            "type": "boolean"
          },
          "kind": {
            "description": "signal: the signal kind.",
            "enum": [
              "breakout",
              "trending",
              "call",
              "cmd"
            ],
            "type": "string"
          },
          "launchpad": {
            "description": "trending_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).",
            "enum": [
              "only",
              "none"
            ],
            "type": "string"
          },
          "max_age_hours": {
            "description": "trending_enter: at most this age in hours (0 to 87600).",
            "type": "number"
          },
          "max_buy_tax_pct": {
            "description": "trending_enter: at most this buy tax in percent (0 to 100).",
            "type": "number"
          },
          "max_liquidity_usd": {
            "description": "trending_enter: at most this liquidity in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "max_market_cap_usd": {
            "description": "trending_enter: at most this market cap in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "max_per_hour": {
            "description": "trending_enter: at most this many alerts in any 60 minutes.",
            "maximum": 1000,
            "minimum": 1,
            "type": "integer"
          },
          "max_price_change_1h_pct": {
            "description": "trending_enter: at most this 1 h change in percent (-100 to 1e+06).",
            "type": "number"
          },
          "max_rank": {
            "description": "trending_enter: at most this place (1 to 30).",
            "type": "integer"
          },
          "max_sell_tax_pct": {
            "description": "trending_enter: at most this sell tax in percent (0 to 100).",
            "type": "number"
          },
          "max_top10_pct": {
            "description": "trending_enter: at most this top 10 share in percent (0 to 100).",
            "type": "number"
          },
          "min_age_hours": {
            "description": "trending_enter: at least this age in hours (0 to 87600).",
            "type": "number"
          },
          "min_buys_1h": {
            "description": "trending_enter: at least this 1 h buys (0 to 1e+09).",
            "type": "integer"
          },
          "min_holders": {
            "description": "trending_enter: at least this holders (0 to 1e+09).",
            "type": "integer"
          },
          "min_liquidity_usd": {
            "description": "trending_enter: at least this liquidity in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "min_locked_pct": {
            "description": "trending_enter: at least this locked or burned liquidity in percent (0 to 100).",
            "type": "number"
          },
          "min_market_cap_usd": {
            "description": "trending_enter: at least this market cap in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "min_price_change_1h_pct": {
            "description": "trending_enter: at least this 1 h change in percent (-100 to 1e+06).",
            "type": "number"
          },
          "min_scans": {
            "description": "trending_enter: scans a token needs on the board.",
            "type": "integer"
          },
          "min_usd": {
            "description": "wallet_activity: smallest transfer in US dollars (0 = every transfer).",
            "type": "number"
          },
          "min_volume_24h_usd": {
            "description": "trending_enter: at least this 24 h volume in US dollars (0 to 1e+13).",
            "type": "number"
          },
          "name_exclude": {
            "description": "trending_enter: words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name_include": {
            "description": "trending_enter: words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "pair_with": {
            "description": "trending_enter: pair coin.",
            "enum": [
              "native",
              "stable"
            ],
            "type": "string"
          },
          "per_chain": {
            "additionalProperties": {
              "description": "The chain's own values: filter -> value, or null = no limit on this chain.",
              "properties": {
                "exclude_honeypot": {
                  "description": "true = only tokens that pass the honeypot check check (not a honeypot).",
                  "type": "boolean"
                },
                "launchpad": {
                  "description": "trending_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).",
                  "enum": [
                    "only",
                    "none"
                  ],
                  "type": "string"
                },
                "max_age_hours": {
                  "description": "at most this age in hours (0 to 87600).",
                  "type": "number"
                },
                "max_buy_tax_pct": {
                  "description": "at most this buy tax in percent (0 to 100).",
                  "type": "number"
                },
                "max_liquidity_usd": {
                  "description": "at most this liquidity in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "max_market_cap_usd": {
                  "description": "at most this market cap in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "max_price_change_1h_pct": {
                  "description": "at most this 1 h change in percent (-100 to 1e+06).",
                  "type": "number"
                },
                "max_rank": {
                  "description": "at most this place (1 to 30).",
                  "type": "integer"
                },
                "max_sell_tax_pct": {
                  "description": "at most this sell tax in percent (0 to 100).",
                  "type": "number"
                },
                "max_top10_pct": {
                  "description": "at most this top 10 share in percent (0 to 100).",
                  "type": "number"
                },
                "min_age_hours": {
                  "description": "at least this age in hours (0 to 87600).",
                  "type": "number"
                },
                "min_buys_1h": {
                  "description": "at least this 1 h buys (0 to 1e+09).",
                  "type": "integer"
                },
                "min_holders": {
                  "description": "at least this holders (0 to 1e+09).",
                  "type": "integer"
                },
                "min_liquidity_usd": {
                  "description": "at least this liquidity in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "min_locked_pct": {
                  "description": "at least this locked or burned liquidity in percent (0 to 100).",
                  "type": "number"
                },
                "min_market_cap_usd": {
                  "description": "at least this market cap in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "min_price_change_1h_pct": {
                  "description": "at least this 1 h change in percent (-100 to 1e+06).",
                  "type": "number"
                },
                "min_scans": {
                  "description": "scans a token needs on the board.",
                  "type": "integer"
                },
                "min_volume_24h_usd": {
                  "description": "at least this 24 h volume in US dollars (0 to 1e+13).",
                  "type": "number"
                },
                "name_exclude": {
                  "description": "words matched in the name and symbol (none of; at most 50 words of 32 characters, plain text, not case sensitive).",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "name_include": {
                  "description": "words matched in the name and symbol (any of; at most 50 words of 32 characters, plain text, not case sensitive).",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "pair_with": {
                  "description": "pair coin.",
                  "enum": [
                    "native",
                    "stable"
                  ],
                  "type": "string"
                },
                "require_freeze_disabled": {
                  "description": "true = only tokens that pass the freeze authority check (required).",
                  "type": "boolean"
                },
                "require_mint_disabled": {
                  "description": "true = only tokens that pass the mint authority check (required).",
                  "type": "boolean"
                },
                "require_renounced": {
                  "description": "true = only tokens that pass the ownership check (required).",
                  "type": "boolean"
                },
                "require_telegram": {
                  "description": "true = only tokens that pass the Telegram group check (required).",
                  "type": "boolean"
                },
                "require_verified_source": {
                  "description": "true = only tokens that pass the source code check (required).",
                  "type": "boolean"
                },
                "require_website": {
                  "description": "true = only tokens that pass the website check (required).",
                  "type": "boolean"
                },
                "require_x": {
                  "description": "true = only tokens that pass the X account check (required).",
                  "type": "boolean"
                },
                "whole_words": {
                  "description": "true = the words match whole words only.",
                  "type": "boolean"
                }
              },
              "type": "object"
            },
            "description": "trending_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.",
            "type": "object"
          },
          "percent": {
            "description": "pct_move: the move in percent (negative = a drop).",
            "type": "number"
          },
          "repeat": {
            "description": "trending_enter: the same token again only after this long (absent = once each time it enters the board; never = remembered for 180 days).",
            "enum": [
              "1h",
              "6h",
              "24h",
              "never"
            ],
            "type": "string"
          },
          "require_freeze_disabled": {
            "description": "trending_enter: true = only tokens that pass the freeze authority check (required).",
            "type": "boolean"
          },
          "require_mint_disabled": {
            "description": "trending_enter: true = only tokens that pass the mint authority check (required).",
            "type": "boolean"
          },
          "require_renounced": {
            "description": "trending_enter: true = only tokens that pass the ownership check (required).",
            "type": "boolean"
          },
          "require_telegram": {
            "description": "trending_enter: true = only tokens that pass the Telegram group check (required).",
            "type": "boolean"
          },
          "require_verified_source": {
            "description": "trending_enter: true = only tokens that pass the source code check (required).",
            "type": "boolean"
          },
          "require_website": {
            "description": "trending_enter: true = only tokens that pass the website check (required).",
            "type": "boolean"
          },
          "require_x": {
            "description": "trending_enter: true = only tokens that pass the X account check (required).",
            "type": "boolean"
          },
          "token": {
            "description": "Token address (price_cross, pct_move).",
            "type": "string"
          },
          "unknown": {
            "description": "trending_enter: skip (default) = no alert when a value a filter needs is unknown; mark = alert and list them in detail.unknown.",
            "enum": [
              "skip",
              "mark"
            ],
            "type": "string"
          },
          "whole_words": {
            "description": "trending_enter: true = the words match whole words only.",
            "type": "boolean"
          },
          "window": {
            "description": "pct_move: the time window.",
            "enum": [
              "1m",
              "5m",
              "15m",
              "1h",
              "4h",
              "24h"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "HookRuleUpdate": {
        "description": "The fields to change (at least one).",
        "properties": {
          "enabled": {
            "description": "Switch the rule on or off.",
            "type": "boolean"
          },
          "labels": {
            "additionalProperties": {
              "description": "The label of that address.",
              "type": "string"
            },
            "description": "Wallet labels: address -> text.",
            "type": "object"
          },
          "name": {
            "description": "A new name.",
            "maxLength": 60,
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/HookRuleParams"
          },
          "type": {
            "description": "Only for a price rule: switch between price_cross and pct_move (send the new params too).",
            "enum": [
              "price_cross",
              "pct_move",
              "trending_enter",
              "wallet_activity",
              "signal"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "HookRuleUpdatedAnswer": {
        "description": "The answer of updateWebhookRule: data (HookRuleOne) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookRuleOne"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookSchema": {
        "description": "What a rule may look like: types, settings, bounds and chains.",
        "properties": {
          "chains": {
            "description": "Chains a rule may name.",
            "items": {
              "description": "A chain.",
              "properties": {
                "id": {
                  "description": "Chain id.",
                  "type": "string"
                },
                "name": {
                  "description": "Its name.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "coverage_notes": {
            "description": "Every coverage value in words.",
            "properties": {
              "denied": {
                "description": "The note of coverage denied.",
                "type": "string"
              },
              "full": {
                "description": "The note of coverage full.",
                "type": "string"
              },
              "native_only": {
                "description": "The note of coverage native_only.",
                "type": "string"
              },
              "never": {
                "description": "The note of coverage never.",
                "type": "string"
              },
              "no_source": {
                "description": "The note of coverage no_source.",
                "type": "string"
              },
              "not_watched": {
                "description": "The note of coverage not_watched.",
                "type": "string"
              },
              "partial": {
                "description": "The note of coverage partial.",
                "type": "string"
              },
              "pending": {
                "description": "The note of coverage pending.",
                "type": "string"
              }
            },
            "required": [
              "full",
              "not_watched",
              "never",
              "partial",
              "pending",
              "denied",
              "native_only",
              "no_source"
            ],
            "type": "object"
          },
          "event_types": {
            "description": "Every event type.",
            "items": {
              "enum": [
                "price",
                "trending",
                "wallet",
                "signal"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "limits": {
            "description": "Fixed limits.",
            "properties": {
              "description_max": {
                "description": "Longest endpoint description.",
                "minimum": 0,
                "type": "integer"
              },
              "rotate_overlap_s": {
                "description": "Seconds the previous secret keeps signing after a rotation.",
                "minimum": 0,
                "type": "integer"
              },
              "test_per_minute": {
                "description": "Test deliveries a minute per endpoint.",
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "description_max",
              "test_per_minute",
              "rotate_overlap_s"
            ],
            "type": "object"
          },
          "plan_groups": {
            "description": "The plan data group each rule type needs.",
            "properties": {
              "pct_move": {
                "description": "The group a pct_move rule needs.",
                "type": "string"
              },
              "price_cross": {
                "description": "The group a price_cross rule needs.",
                "type": "string"
              },
              "signal": {
                "description": "The group a signal rule needs.",
                "type": "string"
              },
              "trending_enter": {
                "description": "The group a trending_enter rule needs.",
                "type": "string"
              },
              "wallet_activity": {
                "description": "The group a wallet_activity rule needs.",
                "type": "string"
              }
            },
            "required": [
              "price_cross",
              "pct_move",
              "trending_enter",
              "wallet_activity",
              "signal"
            ],
            "type": "object"
          },
          "rule_types": {
            "description": "Per rule type: the event it sends, its params and bounds.",
            "properties": {
              "pct_move": {
                "description": "Price moves by a percentage.",
                "properties": {
                  "event": {
                    "description": "The event type a rule of this kind sends.",
                    "type": "string"
                  },
                  "hint": {
                    "description": "When it fires, in words.",
                    "type": "string"
                  },
                  "percent_bounds": {
                    "description": "Smallest and largest percent.",
                    "items": {
                      "type": "number"
                    },
                    "type": "array"
                  },
                  "percent_min_abs": {
                    "description": "Smallest size of a move.",
                    "type": "number"
                  },
                  "required": {
                    "description": "The params a rule of this kind needs.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "windows": {
                    "description": "Windows available now.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "event",
                  "required",
                  "windows",
                  "percent_bounds",
                  "percent_min_abs",
                  "hint"
                ],
                "type": "object"
              },
              "price_cross": {
                "description": "Price crosses a level.",
                "properties": {
                  "event": {
                    "description": "The event type a rule of this kind sends.",
                    "type": "string"
                  },
                  "hint": {
                    "description": "When it fires, in words.",
                    "type": "string"
                  },
                  "optional": {
                    "description": "The optional params.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "price_bounds": {
                    "description": "Smallest and largest price.",
                    "items": {
                      "type": "number"
                    },
                    "type": "array"
                  },
                  "required": {
                    "description": "The params a rule of this kind needs.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "event",
                  "required",
                  "optional",
                  "price_bounds",
                  "hint"
                ],
                "type": "object"
              },
              "signal": {
                "description": "A TTF signal.",
                "properties": {
                  "coverage": {
                    "description": "full while TTF signals are coming in; no_source while the signal feed is off.",
                    "type": "string",
                    "x-ttf-known-values": [
                      "full",
                      "not_watched",
                      "never",
                      "partial",
                      "pending",
                      "denied",
                      "native_only",
                      "no_source"
                    ]
                  },
                  "event": {
                    "description": "The event type a rule of this kind sends.",
                    "type": "string"
                  },
                  "hint": {
                    "description": "When it fires, in words.",
                    "type": "string"
                  },
                  "kinds": {
                    "description": "Signal kinds a rule may name.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "required": {
                    "description": "The params a rule of this kind needs.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "event",
                  "required",
                  "kinds",
                  "coverage",
                  "hint"
                ],
                "type": "object"
              },
              "trending_enter": {
                "description": "A token enters the trending board.",
                "properties": {
                  "board_size": {
                    "description": "Places on the trending board.",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "chains_max": {
                    "description": "Most chains in chains / per_chain.",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "coverage": {
                    "description": "Which value each chain has: a filter on a value a chain does not have does not apply there.",
                    "properties": {
                      "chains": {
                        "additionalProperties": {
                          "description": "Value keys.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "description": "Per chain id, the values it has.",
                        "type": "object"
                      },
                      "filters": {
                        "additionalProperties": {
                          "description": "A filter.",
                          "properties": {
                            "group": {
                              "description": "Its coverage group.",
                              "type": "string"
                            },
                            "value": {
                              "description": "The value it reads.",
                              "type": "string"
                            }
                          },
                          "required": [
                            "value",
                            "group"
                          ],
                          "type": "object"
                        },
                        "description": "Per filter, its value and group.",
                        "type": "object"
                      },
                      "groups": {
                        "additionalProperties": {
                          "description": "A group.",
                          "properties": {
                            "chains": {
                              "description": "The chains that have them.",
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "note": {
                              "description": "Where the values come from, in words.",
                              "type": "string"
                            },
                            "values": {
                              "description": "Its values.",
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "values",
                            "note",
                            "chains"
                          ],
                          "type": "object"
                        },
                        "description": "Coverage groups, by name.",
                        "type": "object"
                      }
                    },
                    "required": [
                      "groups",
                      "chains",
                      "filters"
                    ],
                    "type": "object"
                  },
                  "enter_window_s": {
                    "description": "Seconds after entering the board a token may still pass.",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "event": {
                    "description": "The event type a rule of this kind sends.",
                    "type": "string"
                  },
                  "filters": {
                    "additionalProperties": {
                      "description": "One filter.",
                      "properties": {
                        "bounds": {
                          "description": "Smallest and largest value (numbers).",
                          "items": {
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        "choices": {
                          "description": "The values it takes (enum).",
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "group": {
                          "description": "Its coverage group.",
                          "type": "string"
                        },
                        "kind": {
                          "description": "int, usd, pct, hours, enum, words or flag.",
                          "type": "string"
                        },
                        "label": {
                          "description": "The value in words.",
                          "type": "string"
                        },
                        "op": {
                          "description": "min, max, eq, words_any, words_none, true, false or pad.",
                          "type": "string"
                        },
                        "value": {
                          "description": "The event data value it reads.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "value",
                        "op",
                        "kind",
                        "label",
                        "group"
                      ],
                      "type": "object"
                    },
                    "description": "Every filter, by param name.",
                    "type": "object"
                  },
                  "hint": {
                    "description": "When it fires, in words.",
                    "type": "string"
                  },
                  "max_per_hour_bounds": {
                    "description": "Smallest and largest max_per_hour.",
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "min_scans_bounds": {
                    "description": "Smallest and largest min_scans.",
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "modifiers": {
                    "description": "Params that change how filters match (whole_words).",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "never_days": {
                    "description": "How long repeat: never remembers a token, days.",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "optional": {
                    "description": "The optional params (the filters, per_chain, repeat, max_per_hour, unknown).",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "repeats": {
                    "description": "repeat values.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "required": {
                    "description": "The params a rule of this kind needs.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "unknown_modes": {
                    "description": "unknown values.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "word_len": {
                    "description": "Longest word.",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "words_max": {
                    "description": "Most words in a word list.",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "event",
                  "required",
                  "min_scans_bounds",
                  "optional",
                  "filters",
                  "modifiers",
                  "repeats",
                  "never_days",
                  "unknown_modes",
                  "max_per_hour_bounds",
                  "words_max",
                  "word_len",
                  "chains_max",
                  "board_size",
                  "enter_window_s",
                  "coverage",
                  "hint"
                ],
                "type": "object"
              },
              "wallet_activity": {
                "description": "A watched wallet makes a transfer.",
                "properties": {
                  "all_evm": {
                    "description": "All EVMs: a wallet rule with chain \"evm\" watches its wallets on every chain listed here (chains switched on later are added by themselves).",
                    "properties": {
                      "chain_names": {
                        "description": "Their names, in the same order.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "chains": {
                        "description": "The chains an All EVMs rule watches now.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "coverage": {
                        "description": "full when at least one chain is watched.",
                        "type": "string",
                        "x-ttf-known-values": [
                          "full",
                          "not_watched",
                          "never",
                          "partial",
                          "pending",
                          "denied",
                          "native_only",
                          "no_source"
                        ]
                      },
                      "id": {
                        "description": "The chain value of an All EVMs rule: evm.",
                        "type": "string"
                      },
                      "name": {
                        "description": "Its name.",
                        "type": "string"
                      },
                      "native_only_chains": {
                        "description": "Of them, the chains where only native coin moves are seen.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "not_covered": {
                        "description": "EVM chains a rule may name that are not watched yet (Solana and other non-EVM chains are never part of All EVMs).",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "chains",
                      "chain_names",
                      "native_only_chains",
                      "not_covered",
                      "coverage"
                    ],
                    "type": "object"
                  },
                  "coverage": {
                    "description": "full when wallets are watched on at least one chain.",
                    "type": "string",
                    "x-ttf-known-values": [
                      "full",
                      "not_watched",
                      "never",
                      "partial",
                      "pending",
                      "denied",
                      "native_only",
                      "no_source"
                    ]
                  },
                  "directions": {
                    "description": "Direction values.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "event": {
                    "description": "The event type a rule of this kind sends.",
                    "type": "string"
                  },
                  "full_chains": {
                    "description": "Chains where wallet rules fire now.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "hint": {
                    "description": "When it fires, in words.",
                    "type": "string"
                  },
                  "min_usd_max": {
                    "description": "Largest min_usd.",
                    "type": "number"
                  },
                  "native_only_chains": {
                    "description": "Chains where only native coin moves are watched (no token transfers): rules there have coverage native_only.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "optional": {
                    "description": "The optional params.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "required": {
                    "description": "The params a rule of this kind needs.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "event",
                  "required",
                  "optional",
                  "min_usd_max",
                  "directions",
                  "coverage",
                  "full_chains",
                  "native_only_chains",
                  "all_evm",
                  "hint"
                ],
                "type": "object"
              }
            },
            "required": [
              "price_cross",
              "pct_move",
              "trending_enter",
              "wallet_activity",
              "signal"
            ],
            "type": "object"
          }
        },
        "required": [
          "event_types",
          "chains",
          "coverage_notes",
          "rule_types",
          "plan_groups",
          "limits"
        ],
        "type": "object"
      },
      "HookSchemaAnswer": {
        "description": "The answer of getWebhookSchema: data (HookSchema) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookSchema"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookSecretRotatedAnswer": {
        "description": "The answer of rotateWebhookSecret: data (HookEndpointSecret) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookEndpointSecret"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookTestAnswer": {
        "description": "The answer of sendWebhookTest: data (HookTestQueued) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookTestQueued"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "HookTestQueued": {
        "description": "A test delivery (a synthetic ping) was queued.",
        "properties": {
          "event_id": {
            "description": "The event id of the test: look it up with ?event_id= in the delivery log.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "queued": {
            "description": "true.",
            "type": "boolean"
          }
        },
        "required": [
          "event_id",
          "queued"
        ],
        "type": "object"
      },
      "HookUsage": {
        "description": "What your account uses of its webhook limits.",
        "properties": {
          "deliveries": {
            "description": "Deliveries of the running subscription month.",
            "properties": {
              "limit": {
                "description": "Allowed.",
                "minimum": 0,
                "type": "integer"
              },
              "over_quota": {
                "description": "true = used up: rules do not fire until the reset or an upgrade.",
                "type": "boolean"
              },
              "resets": {
                "description": "When the count starts again. Unix time in SECONDS.",
                "minimum": 0,
                "type": "integer"
              },
              "used": {
                "description": "Sent.",
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "used",
              "limit",
              "resets",
              "over_quota"
            ],
            "type": "object"
          },
          "endpoints": {
            "description": "Endpoints.",
            "properties": {
              "limit": {
                "description": "Allowed.",
                "minimum": 0,
                "type": "integer"
              },
              "over_limit": {
                "description": "Above the plan (paused).",
                "minimum": 0,
                "type": "integer"
              },
              "used": {
                "description": "In use.",
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "used",
              "limit",
              "over_limit"
            ],
            "type": "object"
          },
          "partial": {
            "description": "Parts that could not be read just now (empty when everything was).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "plan": {
            "description": "Your plan.",
            "properties": {
              "groups": {
                "description": "Data groups of the plan.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "plan_id": {
                "description": "Plan id.",
                "type": "string"
              },
              "plan_name": {
                "description": "Plan name.",
                "type": "string"
              },
              "state": {
                "description": "ok, or why paid terms do not apply (expired = the Free terms).",
                "type": "string"
              }
            },
            "required": [
              "plan_id",
              "plan_name",
              "state",
              "groups"
            ],
            "type": "object"
          },
          "rules": {
            "description": "Rules.",
            "properties": {
              "active": {
                "description": "Switched on and inside the plan.",
                "minimum": 0,
                "type": "integer"
              },
              "limit": {
                "description": "Allowed.",
                "minimum": 0,
                "type": "integer"
              },
              "over_limit": {
                "description": "Above the plan (paused).",
                "minimum": 0,
                "type": "integer"
              },
              "used": {
                "description": "In use.",
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "used",
              "limit",
              "active",
              "over_limit"
            ],
            "type": "object"
          },
          "watch": {
            "description": "Watched wallet addresses.",
            "properties": {
              "limit": {
                "description": "Allowed.",
                "minimum": 0,
                "type": "integer"
              },
              "used": {
                "description": "In use.",
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "used",
              "limit"
            ],
            "type": "object"
          }
        },
        "required": [
          "plan",
          "watch",
          "endpoints",
          "rules",
          "deliveries",
          "partial"
        ],
        "type": "object"
      },
      "HookUsageAnswer": {
        "description": "The answer of getWebhookUsage: data (HookUsage) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HookUsage"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "Meta": {
        "description": "What the call cost and what it lacks.",
        "properties": {
          "cached": {
            "description": "The groups answered from the shared answer cache (charged at their cached weight). Absent when none.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "cost": {
            "description": "Credits this call finally spent (= the X-Credits-Cost header). 0 for free routes and refused calls.",
            "minimum": 0,
            "type": "integer"
          },
          "partial": {
            "description": "Something is missing. A bare group name (\"holders\"): that group failed, its entry in data is {\"error\": {...}} and only the attempt fee can apply. A dotted \"<group>.<part>\" (\"security.holders\"): a part of a group that DID answer is missing (see its complete / missing); that group is still billed. Absent when nothing is missing.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "request_id": {
            "description": "Id of this request (= the X-Request-Id header). Quote it to support.",
            "pattern": "^[0-9a-f]{32}$",
            "type": "string"
          }
        },
        "required": [
          "cost",
          "request_id"
        ],
        "type": "object"
      },
      "ResolveAnswer": {
        "description": "The answer of resolveToken: data (ResolveMatches) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ResolveMatches"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "ResolveMatch": {
        "description": "Where a token trades.",
        "properties": {
          "address": {
            "description": "Token address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.",
            "type": "string"
          },
          "chain": {
            "description": "Chain id.",
            "type": "string"
          },
          "dex": {
            "description": "DEX of the main pair.",
            "type": "string"
          },
          "liquidity_usd": {
            "description": "Symbol / name search only (always there): liquidity over the token's pairs. Whole US dollars (integer).",
            "minimum": 0,
            "type": "integer"
          },
          "listed": {
            "description": "true = a market lists the token; false = no market lists it (then there is no pair).",
            "type": "boolean"
          },
          "name": {
            "description": "Token name.",
            "type": "string"
          },
          "pair": {
            "description": "Main pair (pool) address. A listed token can lack it (unknown).",
            "type": "string"
          },
          "symbol": {
            "description": "Ticker.",
            "type": "string"
          },
          "volume_24h_usd": {
            "description": "Symbol / name search only (always there): 24 h volume over the token's pairs. Whole US dollars (integer).",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "chain",
          "address",
          "listed"
        ],
        "type": "object"
      },
      "ResolveMatches": {
        "description": "The tokens an address or a symbol / name points to.",
        "properties": {
          "matches": {
            "description": "For an address: ONE match. For a symbol / name: the best matches (up to 5, most liquid first). Empty = no match.",
            "items": {
              "$ref": "#/components/schemas/ResolveMatch"
            },
            "type": "array"
          }
        },
        "required": [
          "matches"
        ],
        "type": "object"
      },
      "Signals": {
        "description": "A page of TTF signals, newest first.",
        "properties": {
          "live": {
            "description": "true = the signals feed is running.",
            "type": "boolean"
          },
          "next_cursor": {
            "description": "Pass it as ?cursor= for the next (older) page. Absent = the end.",
            "type": "string"
          },
          "signals": {
            "description": "The signals (the same events a `signal` webhook rule receives).",
            "items": {
              "$ref": "#/components/schemas/EventSignal"
            },
            "type": "array"
          }
        },
        "required": [
          "signals",
          "live"
        ],
        "type": "object"
      },
      "SignalsAnswer": {
        "description": "The answer of listSignals: data (Signals) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Signals"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "TokenAnswer": {
        "description": "The answer of getToken: data (TokenData) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TokenData"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "TokenBubbles": {
        "description": "The bubble map: linked holder groups (wallets funded from the same source), or the top holders as one group when no links are known.",
        "properties": {
          "clusters": {
            "description": "The groups, biggest first.",
            "items": {
              "description": "One group of linked wallets.",
              "properties": {
                "holders": {
                  "description": "The wallets of the group.",
                  "items": {
                    "description": "One wallet of the group.",
                    "properties": {
                      "address": {
                        "description": "Wallet. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.",
                        "type": "string"
                      },
                      "balance": {
                        "description": "Tokens it holds (human units). Decimal string (never a float, no exponent).",
                        "pattern": "^[0-9]+(\\.[0-9]+)?$",
                        "type": "string"
                      },
                      "label": {
                        "description": "A public name of the wallet (an exchange, a contract) when known. Third-party text: escape it.",
                        "type": "string"
                      },
                      "marks": {
                        "description": "Behaviour marks of the wallet.",
                        "items": {
                          "description": "A mark.",
                          "type": "string",
                          "x-ttf-known-values": [
                            "sniper",
                            "bundler",
                            "insider",
                            "dev"
                          ]
                        },
                        "type": "array"
                      },
                      "pct": {
                        "description": "Share of the supply it holds. Percent (5.2 = 5.2 %).",
                        "type": "number"
                      },
                      "tags": {
                        "description": "Tags of this wallet or group (what tag_text explains).",
                        "items": {
                          "description": "A tag.",
                          "type": "string",
                          "x-ttf-known-values": [
                            "cex",
                            "dex",
                            "contract",
                            "burn",
                            "team",
                            "sniper",
                            "bundler",
                            "insider",
                            "dev"
                          ]
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "address",
                      "pct"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "id": {
                  "description": "Group number in this answer.",
                  "minimum": 0,
                  "type": "integer"
                },
                "pct": {
                  "description": "Share of the supply the group holds. Percent (5.2 = 5.2 %).",
                  "type": "number"
                },
                "size": {
                  "description": "Wallets in the group.",
                  "minimum": 0,
                  "type": "integer"
                },
                "tags": {
                  "description": "Tags of this wallet or group (what tag_text explains).",
                  "items": {
                    "description": "A tag.",
                    "type": "string",
                    "x-ttf-known-values": [
                      "cex",
                      "dex",
                      "contract",
                      "burn",
                      "team",
                      "sniper",
                      "bundler",
                      "insider",
                      "dev"
                    ]
                  },
                  "type": "array"
                }
              },
              "required": [
                "id",
                "size",
                "holders"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "mode": {
            "description": "clusters = linked groups were found; holders = no links known, the top holders are shown as one group (never \"linked\").",
            "enum": [
              "clusters",
              "holders"
            ],
            "type": "string"
          },
          "stats": {
            "description": "Totals over the map (a value the source does not give is absent).",
            "properties": {
              "bundlers_pct": {
                "description": "Share held by bundler wallets. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "dev_pct": {
                "description": "Share held by the developer. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "half_supply_wallets": {
                "description": "How few wallets hold half the supply.",
                "minimum": 0,
                "type": "integer"
              },
              "in_view_pct": {
                "description": "Share of the supply the wallets on the map hold. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "insiders_pct": {
                "description": "Share held by insider wallets. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "largest_pct": {
                "description": "Share of the biggest single wallet. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "linked_groups": {
                "description": "Linked groups found.",
                "minimum": 0,
                "type": "integer"
              },
              "snipers_pct": {
                "description": "Share held by sniper wallets. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "top10_pct": {
                "description": "Share of the 10 biggest wallets. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "wallets": {
                "description": "Wallets on the map.",
                "minimum": 0,
                "type": "integer"
              }
            },
            "type": "object"
          },
          "tag_text": {
            "additionalProperties": {
              "description": "The tag explained.",
              "type": "string"
            },
            "description": "What each tag means, keyed by tag.",
            "type": "object"
          },
          "total_cluster_pct": {
            "description": "Share of the supply held by all linked groups together. Percent (5.2 = 5.2 %).",
            "type": "number"
          }
        },
        "required": [
          "mode",
          "clusters"
        ],
        "type": "object"
      },
      "TokenCandles": {
        "description": "Price candles (OHLCV) of the main pool, oldest first. Quiet periods without trades may be missing.",
        "properties": {
          "candles": {
            "description": "The candles, oldest first.",
            "items": {
              "description": "One candle: [time_ms, open_usd, high_usd, low_usd, close_usd, volume_usd].",
              "maxItems": 6,
              "minItems": 6,
              "prefixItems": [
                {
                  "description": "Candle open time. Unix time in milliseconds.",
                  "minimum": 0,
                  "type": "integer"
                },
                {
                  "description": "Open price in US dollars. Decimal string (never a float, no exponent).",
                  "pattern": "^[0-9]+(\\.[0-9]+)?$",
                  "type": "string"
                },
                {
                  "description": "High price in US dollars. Decimal string (never a float, no exponent).",
                  "pattern": "^[0-9]+(\\.[0-9]+)?$",
                  "type": "string"
                },
                {
                  "description": "Low price in US dollars. Decimal string (never a float, no exponent).",
                  "pattern": "^[0-9]+(\\.[0-9]+)?$",
                  "type": "string"
                },
                {
                  "description": "Close price in US dollars. Decimal string (never a float, no exponent).",
                  "pattern": "^[0-9]+(\\.[0-9]+)?$",
                  "type": "string"
                },
                {
                  "description": "Volume of the candle. Whole US dollars (integer).",
                  "minimum": 0,
                  "type": "integer"
                }
              ],
              "type": "array"
            },
            "type": "array"
          },
          "change_pct": {
            "description": "Price change from the first candle's open to the last close. Percent (5.2 = 5.2 %).",
            "type": "number"
          },
          "columns": {
            "description": "The meaning of each cell of a candle row: time_ms, open_usd, high_usd, low_usd, close_usd, volume_usd.",
            "items": {
              "description": "A column name.",
              "enum": [
                "time_ms",
                "open_usd",
                "high_usd",
                "low_usd",
                "close_usd",
                "volume_usd"
              ],
              "type": "string"
            },
            "type": "array",
            "x-ttf-fixed-value": [
              "time_ms",
              "open_usd",
              "high_usd",
              "low_usd",
              "close_usd",
              "volume_usd"
            ]
          },
          "interval": {
            "description": "The candle interval.",
            "enum": [
              "1m",
              "5m",
              "15m",
              "1h",
              "4h",
              "1d"
            ],
            "type": "string"
          },
          "pair": {
            "description": "The pool the candles are from.",
            "type": "string"
          }
        },
        "required": [
          "interval",
          "columns",
          "candles"
        ],
        "type": "object"
      },
      "TokenCore": {
        "description": "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.",
        "properties": {
          "liquidity": {
            "description": "The main pool.",
            "properties": {
              "dex": {
                "description": "DEX of the main pool (\"uniswap\", \"raydium\", ...).",
                "type": "string"
              },
              "pair": {
                "description": "Pair (pool) address of the main pool.",
                "type": "string"
              },
              "pair_created_at": {
                "description": "When the main pool was created. ISO-8601 UTC (\"2026-11-28T10:00:00Z\").",
                "format": "date-time",
                "type": "string"
              },
              "usd": {
                "description": "Liquidity of the main pool. Whole US dollars (integer).",
                "minimum": 0,
                "type": "integer"
              }
            },
            "type": "object"
          },
          "market": {
            "description": "Market size.",
            "properties": {
              "market_cap_usd": {
                "description": "Market cap (or fully diluted value when the market reports only that). Whole US dollars (integer).",
                "minimum": 0,
                "type": "integer"
              },
              "txns_24h": {
                "description": "Trades over the last 24 hours.",
                "properties": {
                  "buys": {
                    "description": "Buy trades.",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "sells": {
                    "description": "Sell trades.",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "buys",
                  "sells"
                ],
                "type": "object"
              },
              "volume_24h_usd": {
                "description": "Traded volume over the last 24 hours. Whole US dollars (integer).",
                "minimum": 0,
                "type": "integer"
              }
            },
            "type": "object"
          },
          "price": {
            "description": "The price.",
            "properties": {
              "change_pct": {
                "description": "Price change per window (percent). A window the market does not report is absent.",
                "properties": {
                  "h1": {
                    "description": "Price change over the last hour. Percent (5.2 = 5.2 %).",
                    "type": "number"
                  },
                  "h24": {
                    "description": "Price change over the last 24 hours. Percent (5.2 = 5.2 %).",
                    "type": "number"
                  },
                  "h6": {
                    "description": "Price change over the last 6 hours. Percent (5.2 = 5.2 %).",
                    "type": "number"
                  },
                  "m5": {
                    "description": "Price change over the last 5 minutes. Percent (5.2 = 5.2 %).",
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "usd": {
                "description": "Price of one token in US dollars. Decimal string (never a float, no exponent).",
                "pattern": "^[0-9]+(\\.[0-9]+)?$",
                "type": "string"
              }
            },
            "type": "object"
          },
          "socials": {
            "additionalProperties": {
              "description": "The https URL.",
              "format": "uri",
              "pattern": "^https://",
              "type": "string"
            },
            "description": "The project's links, keyed by site (\"website\", \"twitter\", \"telegram\", ...). Only https URLs.",
            "type": "object"
          },
          "token": {
            "description": "Which token this is (always kept, whatever `fields` asks).",
            "properties": {
              "address": {
                "description": "Token address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.",
                "type": "string"
              },
              "chain": {
                "description": "Chain id (GET /v1/chains).",
                "type": "string"
              },
              "name": {
                "description": "Token name, as the market lists it.",
                "type": "string"
              },
              "symbol": {
                "description": "Ticker, as the market lists it.",
                "type": "string"
              }
            },
            "required": [
              "chain",
              "address"
            ],
            "type": "object"
          }
        },
        "required": [
          "token"
        ],
        "type": "object"
      },
      "TokenData": {
        "description": "The asked groups, keyed by group name (only the asked ones). A group that failed while others answered is {\"error\": {...}} and is listed in meta.partial.",
        "properties": {
          "bubbles": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenBubbles"
              },
              {
                "$ref": "#/components/schemas/GroupError"
              }
            ],
            "description": "The bubbles group (4 credits live, 1 cached)."
          },
          "candles": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenCandles"
              },
              {
                "$ref": "#/components/schemas/GroupError"
              }
            ],
            "description": "The candles group (1 credits live, 1 cached)."
          },
          "core": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenCore"
              },
              {
                "$ref": "#/components/schemas/GroupError"
              }
            ],
            "description": "The core group (1 credits live, 1 cached)."
          },
          "deployer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenDeployer"
              },
              {
                "$ref": "#/components/schemas/GroupError"
              }
            ],
            "description": "The deployer group (3 credits live, 1 cached)."
          },
          "holders": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenHolders"
              },
              {
                "$ref": "#/components/schemas/GroupError"
              }
            ],
            "description": "The holders group (4 credits live, 1 cached)."
          },
          "resolve": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ResolveMatch"
              },
              {
                "$ref": "#/components/schemas/GroupError"
              }
            ],
            "description": "The resolve group (1 credits live, 1 cached)."
          },
          "security": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TokenSecurity"
              },
              {
                "$ref": "#/components/schemas/GroupError"
              }
            ],
            "description": "The security group (4 credits live, 1 cached)."
          }
        },
        "type": "object"
      },
      "TokenDeployer": {
        "description": "Who deployed the contract (EVM chains).",
        "properties": {
          "address": {
            "description": "Deployer wallet (0x + 40 hex).",
            "type": "string"
          },
          "created_at": {
            "description": "When the contract was created. ISO-8601 UTC (\"2026-11-28T10:00:00Z\").",
            "format": "date-time",
            "type": "string"
          },
          "tx": {
            "description": "The creation transaction hash.",
            "type": "string"
          }
        },
        "required": [
          "address"
        ],
        "type": "object"
      },
      "TokenGroupAnswer": {
        "description": "The answer of getTokenGroup: data (TokenGroupData) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TokenGroupData"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "TokenGroupData": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/TokenCore"
          },
          {
            "$ref": "#/components/schemas/TokenSecurity"
          },
          {
            "$ref": "#/components/schemas/TokenHolders"
          },
          {
            "$ref": "#/components/schemas/TokenCandles"
          },
          {
            "$ref": "#/components/schemas/TokenBubbles"
          },
          {
            "$ref": "#/components/schemas/TokenDeployer"
          },
          {
            "$ref": "#/components/schemas/ResolveMatch"
          }
        ],
        "description": "One group's answer (only the asked field and the always-kept keys, for a field)."
      },
      "TokenHolders": {
        "description": "Who holds the token: the top holders, biggest first.",
        "properties": {
          "holder_count": {
            "description": "Number of holders (when the source reports it).",
            "minimum": 0,
            "type": "integer"
          },
          "holders": {
            "description": "The top holders (`limit` rows, default 20).",
            "items": {
              "description": "One holder (the list order is the rank).",
              "properties": {
                "address": {
                  "description": "Holder wallet. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.",
                  "type": "string"
                },
                "amount": {
                  "description": "Tokens it holds (human units: decimals applied). Decimal string (never a float, no exponent).",
                  "pattern": "^[0-9]+(\\.[0-9]+)?$",
                  "type": "string"
                },
                "fresh": {
                  "description": "true = a fresh wallet (new, little history): a common sign of insiders or bundles.",
                  "type": "boolean"
                },
                "pct": {
                  "description": "Share of the supply it holds. Percent (5.2 = 5.2 %).",
                  "type": "number"
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "top10_pct": {
            "description": "Share of the supply the 10 biggest holders own. Percent (5.2 = 5.2 %).",
            "type": "number"
          }
        },
        "required": [
          "top10_pct",
          "holders"
        ],
        "type": "object"
      },
      "TokenSecurity": {
        "description": "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.",
        "properties": {
          "checks": {
            "description": "Every check the scan ran, with its outcome.",
            "items": {
              "description": "One check of the scan.",
              "properties": {
                "id": {
                  "description": "Stable id of the check.",
                  "type": "string",
                  "x-ttf-known-values": [
                    "honeypot",
                    "tax",
                    "lp_lock",
                    "mint",
                    "freeze",
                    "owner",
                    "source",
                    "contract",
                    "holders",
                    "liquidity"
                  ]
                },
                "label": {
                  "description": "The check in words.",
                  "type": "string"
                },
                "state": {
                  "description": "ok, warn, bad, or na (not answered).",
                  "enum": [
                    "ok",
                    "warn",
                    "bad",
                    "na"
                  ],
                  "type": "string"
                },
                "value": {
                  "description": "What it found, in words (\"0% / 0%\", \"top 10: 31%\").",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "label",
                "state"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "complete": {
            "description": "true = every part of the scan answered. false = see missing; the answer is then not a rating.",
            "type": "boolean"
          },
          "contract": {
            "description": "Contract facts (true / false; unknown = absent).",
            "properties": {
              "freeze_authority": {
                "description": "Solana: true = the freeze authority is still set (wallets can be frozen).",
                "type": "boolean"
              },
              "mint_authority": {
                "description": "Solana: true = the mint authority is still set (more tokens can be created).",
                "type": "boolean"
              },
              "owner_renounced": {
                "description": "true = nobody owns the contract any more.",
                "type": "boolean"
              },
              "proxy": {
                "description": "true = the contract is a proxy (its code can be swapped).",
                "type": "boolean"
              },
              "verified_source": {
                "description": "true = the source code is verified on the explorer.",
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "flags": {
            "description": "Findings, worst first. Empty = nothing found.",
            "items": {
              "description": "One finding.",
              "properties": {
                "detail": {
                  "description": "One more sentence about it.",
                  "type": "string"
                },
                "id": {
                  "description": "Stable id of the finding.",
                  "type": "string",
                  "x-ttf-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"
                  ]
                },
                "severity": {
                  "description": "critical (a red flag), warn (risky), info (good to know).",
                  "enum": [
                    "critical",
                    "warn",
                    "info"
                  ],
                  "type": "string"
                },
                "title": {
                  "description": "The finding in a few words.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "severity",
                "title"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "lp_lock": {
            "description": "Is the liquidity locked or burned?",
            "properties": {
              "burned_pct": {
                "description": "Share of the liquidity that is burned. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "locked": {
                "description": "true = (part of) the liquidity is locked or burned.",
                "type": "boolean"
              },
              "locked_pct": {
                "description": "Share of the liquidity that is locked. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "locker": {
                "description": "Who holds the lock (a locker service or contract).",
                "type": "string"
              },
              "unlock_in_days": {
                "description": "Days until the lock ends.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "missing": {
            "description": "The parts of the scan that have no data (also in meta.partial as \"security.<part>\"). Empty when complete. On eth, bsc, base and sol ask `security,holders` to fill \"holders\". \"market\": no market lists a pool for the token, so its liquidity is unknown and the low / dust liquidity checks could not run (verdict \"Liquidity unknown: not rated\").",
            "items": {
              "description": "A part without data.",
              "type": "string",
              "x-ttf-known-values": [
                "holders",
                "tax",
                "liquidity",
                "contract",
                "market"
              ]
            },
            "type": "array"
          },
          "score": {
            "description": "Safety score 0-100 (higher is safer). Absent when the answer is not a rating (verdict.known false or something missing).",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "tax": {
            "description": "Trading taxes from the buy / sell simulation.",
            "properties": {
              "buy_pct": {
                "description": "Buy tax. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "honeypot": {
                "description": "true = buying works but selling fails.",
                "type": "boolean"
              },
              "max_tx_amount": {
                "description": "Largest amount one transaction may move, in tokens (absent = no limit found). Decimal string (never a float, no exponent).",
                "pattern": "^[0-9]+(\\.[0-9]+)?$",
                "type": "string"
              },
              "sell_pct": {
                "description": "Sell tax. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "transfer_pct": {
                "description": "Tax on a plain transfer between wallets. Percent (5.2 = 5.2 %).",
                "type": "number"
              }
            },
            "type": "object"
          },
          "verdict": {
            "description": "The one-line answer.",
            "properties": {
              "known": {
                "description": "true = enough checks answered to rate the token; false = not a rating, check it yourself.",
                "type": "boolean"
              },
              "label": {
                "description": "The verdict in words (\"No honeypot, no red flags\", \"Honeypot\", \"2 warnings\", ...).",
                "type": "string"
              },
              "level": {
                "description": "ok = nothing bad found, warn = look closer, danger = red flag (honeypot, critical finding).",
                "enum": [
                  "ok",
                  "warn",
                  "danger"
                ],
                "type": "string"
              },
              "reasons": {
                "description": "Short reasons behind the verdict (at most a few), most important first.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "sellable": {
                "description": "true = the sell simulation passed, false = it failed (honeypot). Absent = not simulated.",
                "type": "boolean"
              }
            },
            "required": [
              "level",
              "label",
              "known",
              "reasons"
            ],
            "type": "object"
          }
        },
        "required": [
          "complete",
          "missing"
        ],
        "type": "object",
        "x-ttf-required-full": [
          "verdict",
          "flags",
          "checks"
        ]
      },
      "Trending": {
        "description": "What TTF users are scanning most right now: the board of a time window.",
        "properties": {
          "chain": {
            "description": "The chain filter, when one was asked.",
            "type": "string"
          },
          "generated_at": {
            "description": "When the board was built (it is shared for about a minute). ISO-8601 UTC (\"2026-11-28T10:00:00Z\").",
            "format": "date-time",
            "type": "string"
          },
          "tokens": {
            "description": "The tokens, most distinct scanners first.",
            "items": {
              "$ref": "#/components/schemas/TrendingRow"
            },
            "type": "array"
          },
          "window": {
            "description": "The window the board counts.",
            "type": "string"
          }
        },
        "required": [
          "window",
          "generated_at",
          "tokens"
        ],
        "type": "object"
      },
      "TrendingAnswer": {
        "description": "The answer of getTrending: data (Trending) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Trending"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "TrendingRow": {
        "description": "One token of the board. With `fields=` a row keeps only the asked keys plus chain and address.",
        "properties": {
          "address": {
            "description": "Token address. Address on its chain: 0x + 40 hex (lower case) on EVM chains, base58 on Solana.",
            "type": "string"
          },
          "badges": {
            "description": "Security badges from TTF's latest scan of the token (absent when not scanned lately).",
            "properties": {
              "buy_tax_pct": {
                "description": "Buy tax. Percent (5.2 = 5.2 %).",
                "type": "number"
              },
              "flag_count": {
                "description": "Findings of the scan.",
                "minimum": 0,
                "type": "integer"
              },
              "honeypot": {
                "description": "true = the sell simulation failed.",
                "type": "boolean"
              },
              "level": {
                "description": "ok, warn or danger (the scan verdict).",
                "enum": [
                  "ok",
                  "warn",
                  "danger"
                ],
                "type": "string"
              },
              "sell_tax_pct": {
                "description": "Sell tax. Percent (5.2 = 5.2 %).",
                "type": "number"
              }
            },
            "required": [
              "level",
              "flag_count"
            ],
            "type": "object"
          },
          "chain": {
            "description": "Chain id.",
            "type": "string"
          },
          "chat_groups": {
            "description": "Telegram groups it was scanned in during the window.",
            "minimum": 0,
            "type": "integer"
          },
          "first_scan_ms": {
            "description": "First scan in the window. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "last_scan_ms": {
            "description": "Latest scan in the window. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "liquidity_usd": {
            "description": "Liquidity at the latest scan. Whole US dollars (integer).",
            "minimum": 0,
            "type": "integer"
          },
          "market_cap_change_pct": {
            "description": "Market cap change over the spark (last 24 h). Percent (5.2 = 5.2 %).",
            "type": "number"
          },
          "market_cap_spark_usd": {
            "description": "Hourly market cap over the last 24 h, oldest first (whole US dollars).",
            "items": {
              "description": "Market cap. Whole US dollars (integer).",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "market_cap_usd": {
            "description": "Market cap at the latest scan. Whole US dollars (integer).",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "description": "Token name.",
            "type": "string"
          },
          "price_usd": {
            "description": "Price at the latest scan, in US dollars. Decimal string (never a float, no exponent).",
            "pattern": "^[0-9]+(\\.[0-9]+)?$",
            "type": "string"
          },
          "scanners": {
            "description": "Distinct people who scanned it in the window.",
            "minimum": 0,
            "type": "integer"
          },
          "scans": {
            "description": "TTF scans of the token in the window.",
            "minimum": 0,
            "type": "integer"
          },
          "symbol": {
            "description": "Ticker.",
            "type": "string"
          }
        },
        "required": [
          "chain",
          "address"
        ],
        "type": "object",
        "x-ttf-required-full": [
          "symbol",
          "scans",
          "scanners",
          "chat_groups",
          "first_scan_ms",
          "last_scan_ms"
        ]
      },
      "WalletActivity": {
        "description": "A wallet's recent transfers plus the state of TTF's live watch of it.",
        "properties": {
          "next_cursor": {
            "description": "Pass it as ?cursor= for the next (older) page. Absent = the last page.",
            "type": "string"
          },
          "transfers": {
            "description": "Transfers in and out, newest first.",
            "items": {
              "$ref": "#/components/schemas/WalletTransfer"
            },
            "type": "array"
          },
          "watch": {
            "description": "TTF's real-time watch of this address for your account.",
            "properties": {
              "configured": {
                "description": "true = real-time watching is set up on this chain.",
                "type": "boolean"
              },
              "expires_ms": {
                "description": "When it ends unless you ask again (absent while no watch exists). Unix time in milliseconds.",
                "minimum": 0,
                "type": "integer"
              },
              "hot": {
                "description": "true = dropped from live watching because it moves on most blocks (history still works).",
                "type": "boolean"
              },
              "live": {
                "description": "true = the watcher is running and keeping up right now.",
                "type": "boolean"
              },
              "started_ms": {
                "description": "When your watch of the address started. Unix time in milliseconds.",
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "configured",
              "live",
              "hot"
            ],
            "type": "object"
          }
        },
        "required": [
          "transfers",
          "watch"
        ],
        "type": "object"
      },
      "WalletActivityAnswer": {
        "description": "The answer of getWalletActivity: data (WalletActivity) and meta.",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WalletActivity"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "WalletTransfer": {
        "description": "One ERC-20 (or native-coin) transfer of the wallet. With `fields=` a row keeps only the asked keys.",
        "properties": {
          "block": {
            "description": "Block number.",
            "minimum": 0,
            "type": "integer"
          },
          "decimals": {
            "description": "Token decimals (value / 10^decimals = tokens).",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "direction": {
            "description": "out = the wallet sent it, in = it received it, self = to itself.",
            "enum": [
              "in",
              "out",
              "self"
            ],
            "type": "string"
          },
          "from": {
            "description": "Sender (0x + 40 hex).",
            "type": "string"
          },
          "log_index": {
            "description": "Position of the transfer in its transaction's logs.",
            "minimum": 0,
            "type": "integer"
          },
          "source": {
            "description": "history = public chain history, watch = recorded live by TTF's watcher.",
            "enum": [
              "history",
              "watch"
            ],
            "type": "string"
          },
          "symbol": {
            "description": "Token ticker (third-party text: escape it).",
            "type": "string"
          },
          "time_ms": {
            "description": "Block time (absent when the source did not give it). Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "to": {
            "description": "Receiver (0x + 40 hex).",
            "type": "string"
          },
          "token": {
            "description": "Token contract (0x + 40 hex); native-coin transfers use 0xeeee...eeee.",
            "type": "string"
          },
          "tx": {
            "description": "Transaction hash.",
            "type": "string"
          },
          "value": {
            "description": "Raw amount (integer string; divide by 10^decimals).",
            "pattern": "^[0-9]{1,80}$",
            "type": "string"
          }
        },
        "type": "object",
        "x-ttf-required-full": [
          "tx",
          "block",
          "log_index",
          "token",
          "value",
          "from",
          "to",
          "direction",
          "source"
        ]
      },
      "WebhookPctMove": {
        "description": "A `pct_move` rule fired. Delivery body (POST, application/json). Dedupe on `id` (= X-TTF-Delivery: the same on every retry); order by created_ms / event.ts (deliveries are not ordered). Verify X-TTF-Signature over the RAW body first.",
        "properties": {
          "created_ms": {
            "description": "When the rule fired. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "detail": {
            "$ref": "#/components/schemas/DetailPctMove"
          },
          "event": {
            "$ref": "#/components/schemas/EventPrice"
          },
          "id": {
            "description": "Delivery id (a ULID) = the X-TTF-Delivery header.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "reason": {
            "description": "Why it fired.",
            "enum": [
              "moved"
            ],
            "type": "string"
          },
          "rule": {
            "description": "The rule that fired.",
            "properties": {
              "id": {
                "description": "Rule id (whr_ + 24 hex).",
                "type": "string"
              },
              "kind": {
                "const": "pct_move",
                "description": "The rule type.",
                "type": "string"
              }
            },
            "required": [
              "id",
              "kind"
            ],
            "type": "object"
          },
          "type": {
            "const": "rule.fired",
            "description": "rule.fired",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "created_ms",
          "rule",
          "reason",
          "detail",
          "event"
        ],
        "type": "object"
      },
      "WebhookPing": {
        "description": "The dashboard's test button. Delivery body (POST, application/json). Dedupe on `id` (= X-TTF-Delivery: the same on every retry); order by created_ms / event.ts (deliveries are not ordered). Verify X-TTF-Signature over the RAW body first.",
        "properties": {
          "created_ms": {
            "description": "When the test was queued. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "event": {
            "$ref": "#/components/schemas/EventPing"
          },
          "id": {
            "description": "Delivery id (a ULID) = the X-TTF-Delivery header.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "reason": {
            "const": "test",
            "description": "Always test.",
            "type": "string"
          },
          "type": {
            "const": "ping",
            "description": "ping",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "created_ms",
          "reason",
          "event"
        ],
        "type": "object"
      },
      "WebhookPriceCross": {
        "description": "A `price_cross` rule fired. Delivery body (POST, application/json). Dedupe on `id` (= X-TTF-Delivery: the same on every retry); order by created_ms / event.ts (deliveries are not ordered). Verify X-TTF-Signature over the RAW body first.",
        "properties": {
          "created_ms": {
            "description": "When the rule fired. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "detail": {
            "$ref": "#/components/schemas/DetailPriceCross"
          },
          "event": {
            "$ref": "#/components/schemas/EventPrice"
          },
          "id": {
            "description": "Delivery id (a ULID) = the X-TTF-Delivery header.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "reason": {
            "description": "Why it fired.",
            "enum": [
              "crossed",
              "already_past"
            ],
            "type": "string"
          },
          "rule": {
            "description": "The rule that fired.",
            "properties": {
              "id": {
                "description": "Rule id (whr_ + 24 hex).",
                "type": "string"
              },
              "kind": {
                "const": "price_cross",
                "description": "The rule type.",
                "type": "string"
              }
            },
            "required": [
              "id",
              "kind"
            ],
            "type": "object"
          },
          "type": {
            "const": "rule.fired",
            "description": "rule.fired",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "created_ms",
          "rule",
          "reason",
          "detail",
          "event"
        ],
        "type": "object"
      },
      "WebhookRule": {
        "description": "The rule that fired.",
        "properties": {
          "id": {
            "description": "Rule id (whr_ + 24 hex), as the dashboard and the rules API show it.",
            "type": "string"
          },
          "kind": {
            "description": "The rule type.",
            "enum": [
              "price_cross",
              "pct_move",
              "trending_enter",
              "wallet_activity",
              "signal"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind"
        ],
        "type": "object"
      },
      "WebhookSignal": {
        "description": "A `signal` rule fired. Delivery body (POST, application/json). Dedupe on `id` (= X-TTF-Delivery: the same on every retry); order by created_ms / event.ts (deliveries are not ordered). Verify X-TTF-Signature over the RAW body first.",
        "properties": {
          "created_ms": {
            "description": "When the rule fired. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "detail": {
            "$ref": "#/components/schemas/DetailSignal"
          },
          "event": {
            "$ref": "#/components/schemas/EventSignal"
          },
          "id": {
            "description": "Delivery id (a ULID) = the X-TTF-Delivery header.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "reason": {
            "description": "Why it fired.",
            "enum": [
              "signal"
            ],
            "type": "string"
          },
          "rule": {
            "description": "The rule that fired.",
            "properties": {
              "id": {
                "description": "Rule id (whr_ + 24 hex).",
                "type": "string"
              },
              "kind": {
                "const": "signal",
                "description": "The rule type.",
                "type": "string"
              }
            },
            "required": [
              "id",
              "kind"
            ],
            "type": "object"
          },
          "type": {
            "const": "rule.fired",
            "description": "rule.fired",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "created_ms",
          "rule",
          "reason",
          "detail",
          "event"
        ],
        "type": "object"
      },
      "WebhookTrendingEnter": {
        "description": "A `trending_enter` rule fired. Delivery body (POST, application/json). Dedupe on `id` (= X-TTF-Delivery: the same on every retry); order by created_ms / event.ts (deliveries are not ordered). Verify X-TTF-Signature over the RAW body first.",
        "properties": {
          "created_ms": {
            "description": "When the rule fired. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "detail": {
            "$ref": "#/components/schemas/DetailTrendingEnter"
          },
          "event": {
            "$ref": "#/components/schemas/EventTrending"
          },
          "id": {
            "description": "Delivery id (a ULID) = the X-TTF-Delivery header.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "reason": {
            "description": "Why it fired.",
            "enum": [
              "entered"
            ],
            "type": "string"
          },
          "rule": {
            "description": "The rule that fired.",
            "properties": {
              "id": {
                "description": "Rule id (whr_ + 24 hex).",
                "type": "string"
              },
              "kind": {
                "const": "trending_enter",
                "description": "The rule type.",
                "type": "string"
              }
            },
            "required": [
              "id",
              "kind"
            ],
            "type": "object"
          },
          "type": {
            "const": "rule.fired",
            "description": "rule.fired",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "created_ms",
          "rule",
          "reason",
          "detail",
          "event"
        ],
        "type": "object"
      },
      "WebhookWalletActivity": {
        "description": "A `wallet_activity` rule fired. Delivery body (POST, application/json). Dedupe on `id` (= X-TTF-Delivery: the same on every retry); order by created_ms / event.ts (deliveries are not ordered). Verify X-TTF-Signature over the RAW body first.",
        "properties": {
          "created_ms": {
            "description": "When the rule fired. Unix time in milliseconds.",
            "minimum": 0,
            "type": "integer"
          },
          "detail": {
            "$ref": "#/components/schemas/DetailWalletActivity"
          },
          "event": {
            "$ref": "#/components/schemas/EventWallet"
          },
          "id": {
            "description": "Delivery id (a ULID) = the X-TTF-Delivery header.",
            "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
            "type": "string"
          },
          "reason": {
            "description": "Why it fired.",
            "enum": [
              "activity"
            ],
            "type": "string"
          },
          "rule": {
            "description": "The rule that fired.",
            "properties": {
              "id": {
                "description": "Rule id (whr_ + 24 hex).",
                "type": "string"
              },
              "kind": {
                "const": "wallet_activity",
                "description": "The rule type.",
                "type": "string"
              }
            },
            "required": [
              "id",
              "kind"
            ],
            "type": "object"
          },
          "type": {
            "const": "rule.fired",
            "description": "rule.fired",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "created_ms",
          "rule",
          "reason",
          "detail",
          "event"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "apiKeyHeader": {
        "description": "The same key in the X-API-Key header instead of Authorization.",
        "in": "header",
        "name": "X-API-Key",
        "type": "apiKey"
      },
      "bearerAuth": {
        "bearerFormat": "ttfk_<id>_<secret>",
        "description": "Authorization: Bearer ttfk_... (an API key of the developer plan). Never in the URL.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "TTF token data API. Every answer is {\"data\", \"meta\"} or {\"error\"}; every call is charged in credits (meta.cost, X-Credits-Cost). A refused call (400 / 401 / 402 / 403 / 429 / 503) costs nothing. 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.\n\nThe /v1/webhooks routes manage your webhook endpoints and rules: they cost 0 credits, need a key created with webhook access (read or write), take JSON bodies and are the only routes that write. Their fields are the dashboard's: times there are unix seconds.\n\nFormat: keys are snake_case. Money is never a float: aggregates (market cap, liquidity, volume) are whole US dollars as integers (`*_usd`, also the candle volume); anything that can be fractional (prices, candle prices, USD values of transfers, token amounts) is a decimal string; raw on-chain amounts (`value`) are integer strings. Percentages and ratios are numbers with the unit in the key (`_pct`, `multiple`). A point in time outside a list is ISO-8601 UTC (`*_at`, \"2026-11-28T10:00:00Z\"); inside lists, series and events it is unix milliseconds (`*_ms`, the event `ts`, the first candle column, the webhook body's created_ms, and the wallet watch window that bounds transfer rows). A value that is unknown or none is absent (never null); lists that are the answer are always present, also empty. Pages: `next_cursor` only when there is a next page. Answers are gzip / br compressed on request (Accept-Encoding) and carry an ETag of their data.\n\nChanges: new routes, optional parameters, response keys and values of open vocabularies (`x-ttf-known-values`) may come at any time, so ignore what you do not know. Removing or renaming something, changing a type, unit or meaning, raising the credit cost of a call or a group, or charging for a failure that was free needs a new version or an announced deprecation (a security fix may be immediate). Every change is listed in the changelog of the API reference.",
    "summary": "Token data, security scans, wallets and signals from TTF, for bots and dashboards.",
    "title": "TTF Data API",
    "version": "1.1.0"
  },
  "jsonSchemaDialect": "https://spec.openapis.org/oas/3.1/dialect/base",
  "openapi": "3.1.0",
  "paths": {
    "/v1/chains": {
      "get": {
        "description": "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.\n\nThe 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.",
        "operationId": "listChains",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Chains, groups and credits",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ChainsAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Not charged. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [],
        "summary": "Chains, groups and credits",
        "tags": [
          "Service"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": []
      }
    },
    "/v1/health": {
      "get": {
        "description": "Is the API up? Free, no key, never charged: use it for your own uptime checks.\n\nLiveness of the service and its limits store. No key, no charge; answers even while the API is off.",
        "operationId": "getHealth",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Service health",
                    "value": {
                      "data": {
                        "checked_at": "2026-11-28T10:00:00Z",
                        "enabled": true,
                        "redis": true
                      },
                      "meta": {
                        "cost": 0,
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HealthAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Not charged. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [],
        "summary": "Service health",
        "tags": [
          "Service"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": []
      }
    },
    "/v1/resolve": {
      "get": {
        "description": "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).\n\ndata.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).",
        "operationId": "resolveToken",
        "parameters": [
          {
            "description": "A token address, or a symbol / name (at most 40 characters; at most 100 for an address).",
            "example": "PEPE",
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "description": "Only this chain (optional). Chain id. Launch chains: abstract, arbitrumnova, arc, base, berachain, bsc, bttc, celo, cronos, elysium, eth, flare, fraxtal, gnosis, hedera, injective, ink, katana, linea, mantle, megaeth, merlinchain, monad, moonbeam, moonriver, opbnb, plasma, polygonzkevm, pulsechain, robinhood, scroll, seiv2, sol, sophon, stable, swellchain, taiko, worldchain, xdc, zksync.",
            "example": "eth",
            "in": "query",
            "name": "chain",
            "required": false,
            "schema": {
              "maxLength": 16,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "address": {
                    "summary": "q=<address>: one match, the chain and main pair it trades on.",
                    "value": {
                      "data": {
                        "matches": [
                          {
                            "address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
                            "chain": "eth",
                            "dex": "uniswap",
                            "listed": true,
                            "name": "Pepe",
                            "pair": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f",
                            "symbol": "PEPE"
                          }
                        ]
                      },
                      "meta": {
                        "cost": 1,
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "default": {
                    "summary": "Resolve an address or a symbol",
                    "value": {
                      "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"
                      }
                    }
                  },
                  "no_match": {
                    "summary": "q=<a symbol nobody lists>: no match, costs nothing.",
                    "value": {
                      "data": {
                        "matches": []
                      },
                      "meta": {
                        "cost": 0,
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ResolveAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "This chain is not supported.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "bad_request_address": {
                    "summary": "bad_request: That does not look like a token address on this chain.",
                    "value": {
                      "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_params": {
                    "summary": "bad_request: The request parameters are not valid.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "The request parameters are not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: unknown chain, address, field or option. Not charged. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Not charged. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Not charged. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_group": {
                    "summary": "forbidden: This API key does not include 'security' endpoints.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include 'security' endpoints.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key has no developer plan, or does not include the asked groups. Not charged. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No data is available for this token.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "422": {
            "content": {
              "application/json": {
                "examples": {
                  "refused": {
                    "summary": "refused: Token cannot be scanned",
                    "value": {
                      "error": {
                        "code": "refused",
                        "doc_url": "https://ttf.bot/docs/errors/#refused",
                        "message": "This token cannot be scanned.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "This token cannot be scanned. The attempt fee (1 credit) applies. Codes: refused.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "refused"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_month": {
                    "summary": "rate_limited: API key credits used up this month.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests per second, or the credits of the minute / day / month are used up. See Retry-After. Not charged. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Not charged. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "502": {
            "content": {
              "application/json": {
                "examples": {
                  "upstream": {
                    "summary": "upstream: Provider did not answer",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "A data provider did not answer. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: upstream.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "upstream"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "capacity: At capacity",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Capacity, shedding, busy providers or the limits store is unavailable. See Retry-After. Not charged. Codes: capacity, busy, unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "capacity",
              "busy",
              "unavailable"
            ]
          },
          "504": {
            "content": {
              "application/json": {
                "examples": {
                  "timeout": {
                    "summary": "timeout: Took too long",
                    "value": {
                      "error": {
                        "code": "timeout",
                        "doc_url": "https://ttf.bot/docs/errors/#timeout",
                        "message": "This took too long. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The data took too long. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "timeout"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Resolve an address or a symbol",
        "tags": [
          "Discovery"
        ],
        "x-ttf-credits": {
          "attempt_fee": 1,
          "cached": 1,
          "live": 1
        },
        "x-ttf-groups": [
          "resolve"
        ],
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/signals": {
      "get": {
        "description": "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.\n\nThe 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.",
        "operationId": "listSignals",
        "parameters": [
          {
            "description": "Only signals of this kind: breakout (a new all-time high), call (a call reached a milestone), trending. Default all.",
            "example": "breakout",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "breakout",
                "trending",
                "call"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only this chain (optional). Chain id. Launch chains: abstract, arbitrumnova, arc, base, berachain, bsc, bttc, celo, cronos, elysium, eth, flare, fraxtal, gnosis, hedera, injective, ink, katana, linea, mantle, megaeth, merlinchain, monad, moonbeam, moonriver, opbnb, plasma, polygonzkevm, pulsechain, robinhood, scroll, seiv2, sol, sophon, stable, swellchain, taiko, worldchain, xdc, zksync.",
            "example": "eth",
            "in": "query",
            "name": "chain",
            "required": false,
            "schema": {
              "maxLength": 16,
              "type": "string"
            }
          },
          {
            "description": "Signals per page, 1-50. Default 20.",
            "example": 20,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 50,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "data.next_cursor of the previous page. Omit for the newest page.",
            "example": "1795000000000-0",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 32,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Recent TTF signals",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SignalsAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "This chain is not supported.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "bad_request_address": {
                    "summary": "bad_request: That does not look like a token address on this chain.",
                    "value": {
                      "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_params": {
                    "summary": "bad_request: The request parameters are not valid.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "The request parameters are not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: unknown chain, address, field or option. Not charged. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Not charged. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Not charged. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_group": {
                    "summary": "forbidden: This API key does not include 'security' endpoints.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include 'security' endpoints.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key has no developer plan, or does not include the asked groups. Not charged. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_month": {
                    "summary": "rate_limited: API key credits used up this month.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests per second, or the credits of the minute / day / month are used up. See Retry-After. Not charged. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Not charged. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "502": {
            "content": {
              "application/json": {
                "examples": {
                  "upstream": {
                    "summary": "upstream: Provider did not answer",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "A data provider did not answer. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: upstream.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "upstream"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "capacity: At capacity",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Capacity, shedding, busy providers or the limits store is unavailable. See Retry-After. Not charged. Codes: capacity, busy, unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "capacity",
              "busy",
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Recent TTF signals",
        "tags": [
          "Signals"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 1,
          "live": 1
        },
        "x-ttf-groups": [
          "signals"
        ],
        "x-ttf-plan-minimum": "starter"
      }
    },
    "/v1/token/{chain}/{address}": {
      "get": {
        "description": "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.\n\nThe 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.",
        "operationId": "getToken",
        "parameters": [
          {
            "description": "Chain id. Launch chains: abstract, arbitrumnova, arc, base, berachain, bsc, bttc, celo, cronos, elysium, eth, flare, fraxtal, gnosis, hedera, injective, ink, katana, linea, mantle, megaeth, merlinchain, monad, moonbeam, moonriver, opbnb, plasma, polygonzkevm, pulsechain, robinhood, scroll, seiv2, sol, sophon, stable, swellchain, taiko, worldchain, xdc, zksync.",
            "example": "eth",
            "in": "path",
            "name": "chain",
            "required": true,
            "schema": {
              "maxLength": 16,
              "type": "string"
            }
          },
          {
            "description": "Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).",
            "example": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
            "in": "path",
            "name": "address",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "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.\n\nGroups (credits for a live answer, for a cached one) and their fields:\n- core (1 credit live, 1 cached): price, market, liquidity, socials, token\n- security (4 credits live, 1 cached): verdict, score, flags, checks, tax, lp_lock, contract\n- holders (4 credits live, 1 cached)\n- candles (1 credit live, 1 cached)\n- bubbles (4 credits live, 1 cached)\n- deployer (3 credits live, 1 cached)\n- resolve (1 credit live, 1 cached)\n\nWhich 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.\n\nOn 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).",
            "example": "price,liquidity,security",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "Candle interval (only with the candles group). Default 15m.",
            "example": "15m",
            "in": "query",
            "name": "interval",
            "required": false,
            "schema": {
              "default": "15m",
              "enum": [
                "1m",
                "5m",
                "15m",
                "1h",
                "4h",
                "1d"
              ],
              "type": "string"
            }
          },
          {
            "description": "Holders rows (only with the holders group), 1-30. Default 20.",
            "example": 20,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 30,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "core_only": {
                    "summary": "No fields: the core group (price, market, liquidity, socials), 1 credit.",
                    "value": {
                      "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"
                      }
                    }
                  },
                  "default": {
                    "summary": "Token data by field groups",
                    "value": {
                      "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"
                      }
                    }
                  },
                  "partial": {
                    "summary": "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).",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/TokenAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "This chain is not supported.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "bad_request_address": {
                    "summary": "bad_request: That does not look like a token address on this chain.",
                    "value": {
                      "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_params": {
                    "summary": "bad_request: The request parameters are not valid.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "The request parameters are not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: unknown chain, address, field or option. Not charged. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Not charged. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Not charged. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_group": {
                    "summary": "forbidden: This API key does not include 'security' endpoints.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include 'security' endpoints.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key has no developer plan, or does not include the asked groups. Not charged. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No data is available for this token.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "422": {
            "content": {
              "application/json": {
                "examples": {
                  "refused": {
                    "summary": "refused: Token cannot be scanned",
                    "value": {
                      "error": {
                        "code": "refused",
                        "doc_url": "https://ttf.bot/docs/errors/#refused",
                        "message": "This token cannot be scanned.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "This token cannot be scanned. The attempt fee (1 credit) applies. Codes: refused.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "refused"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_month": {
                    "summary": "rate_limited: API key credits used up this month.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests per second, or the credits of the minute / day / month are used up. See Retry-After. Not charged. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Not charged. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "502": {
            "content": {
              "application/json": {
                "examples": {
                  "upstream": {
                    "summary": "upstream: Provider did not answer",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "A data provider did not answer. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: upstream.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "upstream"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "capacity: At capacity",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Capacity, shedding, busy providers or the limits store is unavailable. See Retry-After. Not charged. Codes: capacity, busy, unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "capacity",
              "busy",
              "unavailable"
            ]
          },
          "504": {
            "content": {
              "application/json": {
                "examples": {
                  "timeout": {
                    "summary": "timeout: Took too long",
                    "value": {
                      "error": {
                        "code": "timeout",
                        "doc_url": "https://ttf.bot/docs/errors/#timeout",
                        "message": "This took too long. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The data took too long. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "timeout"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Token data by field groups",
        "tags": [
          "Tokens"
        ],
        "x-ttf-credits": {
          "attempt_fee": 1,
          "by_group": {
            "bubbles": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 4,
              "plan_minimum": "starter",
              "tag": "paid"
            },
            "candles": {
              "attempt_fee": 0,
              "cached": 1,
              "live": 1,
              "plan_minimum": "free",
              "tag": "free"
            },
            "core": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 1,
              "plan_minimum": "free",
              "tag": "free"
            },
            "deployer": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 3,
              "plan_minimum": "starter",
              "tag": "paid"
            },
            "holders": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 4,
              "plan_minimum": "starter",
              "tag": "paid"
            },
            "resolve": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 1,
              "plan_minimum": "free",
              "tag": "paid"
            },
            "security": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 4,
              "plan_minimum": "starter",
              "tag": "paid"
            }
          },
          "cached": 1,
          "live": 1
        },
        "x-ttf-groups": [
          "core",
          "security",
          "holders",
          "candles",
          "bubbles",
          "deployer",
          "resolve"
        ],
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/token/{chain}/{address}/{group}": {
      "get": {
        "description": "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.\n\nOne 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.",
        "operationId": "getTokenGroup",
        "parameters": [
          {
            "description": "Chain id. Launch chains: abstract, arbitrumnova, arc, base, berachain, bsc, bttc, celo, cronos, elysium, eth, flare, fraxtal, gnosis, hedera, injective, ink, katana, linea, mantle, megaeth, merlinchain, monad, moonbeam, moonriver, opbnb, plasma, polygonzkevm, pulsechain, robinhood, scroll, seiv2, sol, sophon, stable, swellchain, taiko, worldchain, xdc, zksync.",
            "example": "eth",
            "in": "path",
            "name": "chain",
            "required": true,
            "schema": {
              "maxLength": 16,
              "type": "string"
            }
          },
          {
            "description": "Token address of the chain (0x + 40 hex on EVM chains, base58 on Solana).",
            "example": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
            "in": "path",
            "name": "address",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "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.",
            "example": "security",
            "in": "path",
            "name": "group",
            "required": true,
            "schema": {
              "enum": [
                "bubbles",
                "candles",
                "checks",
                "contract",
                "core",
                "deployer",
                "flags",
                "holders",
                "liquidity",
                "lp_lock",
                "market",
                "price",
                "resolve",
                "score",
                "security",
                "socials",
                "tax",
                "token",
                "verdict"
              ],
              "type": "string"
            }
          },
          {
            "description": "Candle interval (only with the candles group). Default 15m.",
            "example": "15m",
            "in": "query",
            "name": "interval",
            "required": false,
            "schema": {
              "default": "15m",
              "enum": [
                "1m",
                "5m",
                "15m",
                "1h",
                "4h",
                "1d"
              ],
              "type": "string"
            }
          },
          {
            "description": "Holders rows (only with the holders group), 1-30. Default 20.",
            "example": 20,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 30,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "One group or field of a token",
                    "value": {
                      "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": {
                    "summary": "/holders?limit=2: the top holders.",
                    "value": {
                      "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_field": {
                    "summary": "/price: only the price field (plus the token identity) of the core group.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/TokenGroupAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "This chain is not supported.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "bad_request_address": {
                    "summary": "bad_request: That does not look like a token address on this chain.",
                    "value": {
                      "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_params": {
                    "summary": "bad_request: The request parameters are not valid.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "The request parameters are not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: unknown chain, address, field or option. Not charged. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Not charged. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Not charged. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_group": {
                    "summary": "forbidden: This API key does not include 'security' endpoints.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include 'security' endpoints.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key has no developer plan, or does not include the asked groups. Not charged. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No data is available for this token.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "422": {
            "content": {
              "application/json": {
                "examples": {
                  "refused": {
                    "summary": "refused: Token cannot be scanned",
                    "value": {
                      "error": {
                        "code": "refused",
                        "doc_url": "https://ttf.bot/docs/errors/#refused",
                        "message": "This token cannot be scanned.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "This token cannot be scanned. The attempt fee (1 credit) applies. Codes: refused.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "refused"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_month": {
                    "summary": "rate_limited: API key credits used up this month.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests per second, or the credits of the minute / day / month are used up. See Retry-After. Not charged. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Not charged. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "502": {
            "content": {
              "application/json": {
                "examples": {
                  "upstream": {
                    "summary": "upstream: Provider did not answer",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "A data provider did not answer. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: upstream.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "upstream"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "capacity: At capacity",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Capacity, shedding, busy providers or the limits store is unavailable. See Retry-After. Not charged. Codes: capacity, busy, unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "capacity",
              "busy",
              "unavailable"
            ]
          },
          "504": {
            "content": {
              "application/json": {
                "examples": {
                  "timeout": {
                    "summary": "timeout: Took too long",
                    "value": {
                      "error": {
                        "code": "timeout",
                        "doc_url": "https://ttf.bot/docs/errors/#timeout",
                        "message": "This took too long. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The data took too long. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "timeout"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "One group or field of a token",
        "tags": [
          "Tokens"
        ],
        "x-ttf-credits": {
          "attempt_fee": 1,
          "by_group": {
            "bubbles": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 4,
              "plan_minimum": "starter",
              "tag": "paid"
            },
            "candles": {
              "attempt_fee": 0,
              "cached": 1,
              "live": 1,
              "plan_minimum": "free",
              "tag": "free"
            },
            "core": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 1,
              "plan_minimum": "free",
              "tag": "free"
            },
            "deployer": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 3,
              "plan_minimum": "starter",
              "tag": "paid"
            },
            "holders": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 4,
              "plan_minimum": "starter",
              "tag": "paid"
            },
            "resolve": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 1,
              "plan_minimum": "free",
              "tag": "paid"
            },
            "security": {
              "attempt_fee": 1,
              "cached": 1,
              "live": 4,
              "plan_minimum": "starter",
              "tag": "paid"
            }
          }
        },
        "x-ttf-groups": [
          "core",
          "security",
          "holders",
          "candles",
          "bubbles",
          "deployer",
          "resolve"
        ],
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/trending": {
      "get": {
        "description": "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.\n\nThe 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).",
        "operationId": "getTrending",
        "parameters": [
          {
            "description": "Only this chain (optional). Chain id. Launch chains: abstract, arbitrumnova, arc, base, berachain, bsc, bttc, celo, cronos, elysium, eth, flare, fraxtal, gnosis, hedera, injective, ink, katana, linea, mantle, megaeth, merlinchain, monad, moonbeam, moonriver, opbnb, plasma, polygonzkevm, pulsechain, robinhood, scroll, seiv2, sol, sophon, stable, swellchain, taiko, worldchain, xdc, zksync.",
            "example": "sol",
            "in": "query",
            "name": "chain",
            "required": false,
            "schema": {
              "maxLength": 16,
              "type": "string"
            }
          },
          {
            "description": "Time window: the board is counted over the scans of that window. Default 1d; 24h = 1d.",
            "example": "1d",
            "in": "query",
            "name": "window",
            "required": false,
            "schema": {
              "default": "1d",
              "enum": [
                "5m",
                "1h",
                "4h",
                "6h",
                "1d",
                "24h"
              ],
              "type": "string"
            }
          },
          {
            "description": "Rows, 1-40. Default 30.",
            "example": 30,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 30,
              "maximum": 40,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "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.",
            "example": "chain,address,symbol,scans",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "maxLength": 200,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Most scanned tokens",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/TrendingAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "This chain is not supported.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "bad_request_address": {
                    "summary": "bad_request: That does not look like a token address on this chain.",
                    "value": {
                      "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_params": {
                    "summary": "bad_request: The request parameters are not valid.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "The request parameters are not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: unknown chain, address, field or option. Not charged. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Not charged. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Not charged. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_group": {
                    "summary": "forbidden: This API key does not include 'security' endpoints.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include 'security' endpoints.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key has no developer plan, or does not include the asked groups. Not charged. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_month": {
                    "summary": "rate_limited: API key credits used up this month.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests per second, or the credits of the minute / day / month are used up. See Retry-After. Not charged. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Not charged. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "502": {
            "content": {
              "application/json": {
                "examples": {
                  "upstream": {
                    "summary": "upstream: Provider did not answer",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "A data provider did not answer. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: upstream.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "upstream"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "capacity: At capacity",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Capacity, shedding, busy providers or the limits store is unavailable. See Retry-After. Not charged. Codes: capacity, busy, unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "capacity",
              "busy",
              "unavailable"
            ]
          },
          "504": {
            "content": {
              "application/json": {
                "examples": {
                  "timeout": {
                    "summary": "timeout: Took too long",
                    "value": {
                      "error": {
                        "code": "timeout",
                        "doc_url": "https://ttf.bot/docs/errors/#timeout",
                        "message": "This took too long. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The data took too long. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "timeout"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Most scanned tokens",
        "tags": [
          "Discovery"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 1,
          "live": 2
        },
        "x-ttf-groups": [
          "trending"
        ],
        "x-ttf-plan-minimum": "starter"
      }
    },
    "/v1/wallet/{chain}/{address}/activity": {
      "get": {
        "description": "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.\n\nThe 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.",
        "operationId": "getWalletActivity",
        "parameters": [
          {
            "description": "Chain id. Chains with wallet history: abstract, arb, arc, avax, base, berachain, bsc, bttc, celo, eth, fraxtal, gnosis, hyperevm, linea, mantle, megaeth, monad, opt, polygon, pulsechain, robinhood, scroll, sonic, taiko, unichain, worldchain, xdc, zksync.",
            "example": "eth",
            "in": "path",
            "name": "chain",
            "required": true,
            "schema": {
              "maxLength": 16,
              "type": "string"
            }
          },
          {
            "description": "Wallet address (0x + 40 hex).",
            "example": "0x3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a",
            "in": "path",
            "name": "address",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Transfers per page, 1-50. Default 20.",
            "example": 20,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 50,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "data.next_cursor of the previous page (opaque). Omit for the newest page.",
            "example": "MjE0MDAwMDA6MTI6MHg1ZDVk",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "description": "Comma-separated keys each transfer keeps (default all): tx, block, time_ms, log_index, token, symbol, decimals, value, from, to, direction, source.",
            "example": "tx,token,value,direction",
            "in": "query",
            "name": "fields",
            "required": false,
            "schema": {
              "maxLength": 200,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Recent transfers of a wallet",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/WalletActivityAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "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_chain": {
                    "summary": "bad_request: 'wallet' is not available on this chain.",
                    "value": {
                      "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_denied": {
                    "summary": "bad_request: This is a burn, router, wrapped-coin or exchange address: its activity is not served.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: unknown chain, address, field or option. Not charged. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Not charged. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Not charged. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_group": {
                    "summary": "forbidden: This API key does not include 'security' endpoints.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include 'security' endpoints.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key has no developer plan, or does not include the asked groups. Not charged. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method (every data route is GET). Not charged. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_month": {
                    "summary": "rate_limited: API key credits used up this month.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests per second, or the credits of the minute / day / month are used up. See Retry-After. Not charged. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Not charged. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "502": {
            "content": {
              "application/json": {
                "examples": {
                  "upstream": {
                    "summary": "upstream: Provider did not answer",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "A data provider did not answer. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: upstream.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "upstream"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "capacity: At capacity",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Capacity, shedding, busy providers or the limits store is unavailable. See Retry-After. Not charged. Codes: capacity, busy, unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "capacity",
              "busy",
              "unavailable"
            ]
          },
          "504": {
            "content": {
              "application/json": {
                "examples": {
                  "timeout": {
                    "summary": "timeout: Took too long",
                    "value": {
                      "error": {
                        "code": "timeout",
                        "doc_url": "https://ttf.bot/docs/errors/#timeout",
                        "message": "This took too long. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The data took too long. The attempt fee (1 credit) applies to core and the paid-provider groups. Codes: timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "timeout"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Recent transfers of a wallet",
        "tags": [
          "Wallets"
        ],
        "x-ttf-credits": {
          "attempt_fee": 1,
          "cached": 1,
          "live": 3
        },
        "x-ttf-groups": [
          "wallet"
        ],
        "x-ttf-plan-minimum": "starter"
      }
    },
    "/v1/webhooks/endpoints": {
      "get": {
        "description": "All the places TTF delivers to for your account, with their state, so your tool can show or repair them.\n\nEvery 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.",
        "operationId": "listWebhookEndpoints",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "List your endpoints",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookEndpointListAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "account_suspended"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "unavailable": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "List your endpoints",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "read",
        "x-ttf-plan-minimum": "free"
      },
      "post": {
        "description": "Register the https URL TTF should POST to. Do it from your own deploy script and store the signing secret it returns.\n\nThe 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.",
        "operationId": "createWebhookEndpoint",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "all_events": {
                  "summary": "Every event type: only the URL.",
                  "value": {
                    "url": "https://bot.example.com/ttf"
                  }
                },
                "default": {
                  "summary": "An endpoint for price and wallet alerts.",
                  "value": {
                    "description": "Trading bot",
                    "event_types": [
                      "price",
                      "wallet"
                    ],
                    "url": "https://bot.example.com/ttf"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/HookEndpointCreate"
              }
            }
          },
          "description": "JSON object, Content-Type: application/json.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Create an endpoint",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookEndpointCreatedAnswer"
                }
              }
            },
            "description": "Created",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "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_json": {
                    "summary": "bad_request: Send a JSON object.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "Send a JSON object.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "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": {
                    "summary": "quota_exceeded: Plan limit reached",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "quota_exceeded",
              "account_suspended"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "408": {
            "content": {
              "application/json": {
                "examples": {
                  "request_timeout": {
                    "summary": "request_timeout: Body not received",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The request body did not arrive in time. Nothing changed. Codes: request_timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "request_timeout"
            ]
          },
          "409": {
            "content": {
              "application/json": {
                "examples": {
                  "duplicate_url": {
                    "summary": "duplicate_url: URL already used",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The change conflicts with the current state. Nothing changed. Codes: duplicate_url.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "duplicate_url"
            ]
          },
          "413": {
            "content": {
              "application/json": {
                "examples": {
                  "too_large": {
                    "summary": "too_large: Body too large",
                    "value": {
                      "error": {
                        "code": "too_large",
                        "doc_url": "https://ttf.bot/docs/errors/#too_large",
                        "message": "Request body too large.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is too large. Codes: too_large.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "too_large"
            ]
          },
          "415": {
            "content": {
              "application/json": {
                "examples": {
                  "unsupported_media_type": {
                    "summary": "unsupported_media_type: Send JSON",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is not declared as JSON. Codes: unsupported_media_type.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unsupported_media_type"
            ]
          },
          "422": {
            "content": {
              "application/json": {
                "examples": {
                  "url_not_allowed": {
                    "summary": "url_not_allowed: Webhook URL refused",
                    "value": {
                      "error": {
                        "code": "url_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#url_not_allowed",
                        "message": "URL must start with https://",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The URL or the rule was refused. Nothing changed. Codes: url_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "url_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "not_configured": {
                    "summary": "not_configured: Webhooks not set up",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable, not_configured.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable",
              "not_configured"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Create an endpoint",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "write",
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/webhooks/endpoints/{endpoint_id}": {
      "delete": {
        "description": "Remove an endpoint you no longer need, together with everything attached to it.\n\nRemoves 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.",
        "operationId": "deleteWebhookEndpoint",
        "parameters": [
          {
            "description": "Endpoint id (data.endpoint.id).",
            "example": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
            "in": "path",
            "name": "endpoint_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Delete an endpoint",
                    "value": {
                      "data": {
                        "deleted": true,
                        "deliveries_deleted": 128,
                        "id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
                        "rules_deleted": 3
                      },
                      "meta": {
                        "cost": 0,
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookEndpointDeletedAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such endpoint.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "unavailable": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Delete an endpoint",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "write",
        "x-ttf-plan-minimum": "free"
      },
      "get": {
        "description": "Look at one endpoint: its URL, the event types it receives and whether it is receiving.\n\nOne 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.",
        "operationId": "getWebhookEndpoint",
        "parameters": [
          {
            "description": "Endpoint id (data.endpoint.id).",
            "example": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
            "in": "path",
            "name": "endpoint_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Get an endpoint",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookEndpointAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such endpoint.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "unavailable": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Get an endpoint",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "read",
        "x-ttf-plan-minimum": "free"
      },
      "patch": {
        "description": "Change where deliveries go, which events they carry, or pause and resume an endpoint without losing its rules.\n\nSend 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.",
        "operationId": "updateWebhookEndpoint",
        "parameters": [
          {
            "description": "Endpoint id (data.endpoint.id).",
            "example": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
            "in": "path",
            "name": "endpoint_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "default": {
                  "summary": "Pause the endpoint.",
                  "value": {
                    "enabled": false
                  }
                },
                "url": {
                  "summary": "Move it to another URL.",
                  "value": {
                    "url": "https://bot.example.com/ttf-v2"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/HookEndpointUpdate"
              }
            }
          },
          "description": "JSON object, Content-Type: application/json.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Update an endpoint",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookEndpointUpdatedAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "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_json": {
                    "summary": "bad_request: Send a JSON object.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "Send a JSON object.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "account_suspended"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such endpoint.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "408": {
            "content": {
              "application/json": {
                "examples": {
                  "request_timeout": {
                    "summary": "request_timeout: Body not received",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The request body did not arrive in time. Nothing changed. Codes: request_timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "request_timeout"
            ]
          },
          "409": {
            "content": {
              "application/json": {
                "examples": {
                  "duplicate_url": {
                    "summary": "duplicate_url: URL already used",
                    "value": {
                      "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": {
                    "summary": "types_in_use: Event types in use",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The change conflicts with the current state. Nothing changed. Codes: duplicate_url, types_in_use.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "duplicate_url",
              "types_in_use"
            ]
          },
          "413": {
            "content": {
              "application/json": {
                "examples": {
                  "too_large": {
                    "summary": "too_large: Body too large",
                    "value": {
                      "error": {
                        "code": "too_large",
                        "doc_url": "https://ttf.bot/docs/errors/#too_large",
                        "message": "Request body too large.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is too large. Codes: too_large.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "too_large"
            ]
          },
          "415": {
            "content": {
              "application/json": {
                "examples": {
                  "unsupported_media_type": {
                    "summary": "unsupported_media_type: Send JSON",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is not declared as JSON. Codes: unsupported_media_type.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unsupported_media_type"
            ]
          },
          "422": {
            "content": {
              "application/json": {
                "examples": {
                  "url_not_allowed": {
                    "summary": "url_not_allowed: Webhook URL refused",
                    "value": {
                      "error": {
                        "code": "url_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#url_not_allowed",
                        "message": "URL must start with https://",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The URL or the rule was refused. Nothing changed. Codes: url_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "url_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "not_configured: Webhooks not set up",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: busy, unavailable, not_configured.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "busy",
              "unavailable",
              "not_configured"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Update an endpoint",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "write",
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/webhooks/endpoints/{endpoint_id}/deliveries": {
      "get": {
        "description": "Debug a receiver: what was sent, how many tries it took and what your server answered.\n\nWhat 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.",
        "operationId": "listWebhookDeliveries",
        "parameters": [
          {
            "description": "Endpoint id (data.endpoint.id).",
            "example": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
            "in": "path",
            "name": "endpoint_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "data.next_cursor of the previous page. Omit for the newest page.",
            "example": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          },
          {
            "description": "Rows per page, 1-100. Default 25.",
            "example": 25,
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Only the rows of this event (the event_id of a test).",
            "example": "01JDZ8Q7X3M4N5P6Q7R8S9T0PE",
            "in": "query",
            "name": "event_id",
            "required": false,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Delivery log of an endpoint",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookDeliveryListAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "limit: 1..100.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "bad_request_cursor": {
                    "summary": "bad_request: cursor: the next_cursor of the previous page.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such endpoint.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "unavailable": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Delivery log of an endpoint",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "read",
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/webhooks/endpoints/{endpoint_id}/rotate": {
      "post": {
        "description": "Replace the signing secret, for example after it showed up in a log. Your receiver can accept both for a day.\n\nTakes 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.",
        "operationId": "rotateWebhookSecret",
        "parameters": [
          {
            "description": "Endpoint id (data.endpoint.id).",
            "example": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
            "in": "path",
            "name": "endpoint_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Rotate the signing secret",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookSecretRotatedAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "account_suspended"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such endpoint.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "409": {
            "content": {
              "application/json": {
                "examples": {
                  "conflict": {
                    "summary": "conflict: Changed meanwhile",
                    "value": {
                      "error": {
                        "code": "conflict",
                        "doc_url": "https://ttf.bot/docs/errors/#conflict",
                        "message": "The secret was changed meanwhile. Reload and try again.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The change conflicts with the current state. Nothing changed. Codes: conflict.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "conflict"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "not_configured": {
                    "summary": "not_configured: Webhooks not set up",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable, not_configured.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable",
              "not_configured"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Rotate the signing secret",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "write",
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/webhooks/endpoints/{endpoint_id}/test": {
      "post": {
        "description": "Check your receiver end to end: a signed test delivery goes through the same path as a real alert.\n\nTakes 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.",
        "operationId": "sendWebhookTest",
        "parameters": [
          {
            "description": "Endpoint id (data.endpoint.id).",
            "example": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
            "in": "path",
            "name": "endpoint_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Send a test delivery",
                    "value": {
                      "data": {
                        "event_id": "01JDZ8Q7X3M4N5P6Q7R8S9T0PE",
                        "queued": true
                      },
                      "meta": {
                        "cost": 0,
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookTestAnswer"
                }
              }
            },
            "description": "Queued",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "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": {
                    "summary": "quota_exceeded: Plan limit reached",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "quota_exceeded",
              "account_suspended"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such endpoint.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "409": {
            "content": {
              "application/json": {
                "examples": {
                  "endpoint_paused": {
                    "summary": "endpoint_paused: Endpoint paused",
                    "value": {
                      "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": {
                    "summary": "over_limit: Endpoint over the plan limit",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The change conflicts with the current state. Nothing changed. Codes: endpoint_paused, over_limit.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "endpoint_paused",
              "over_limit"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "not_configured": {
                    "summary": "not_configured: Webhooks not set up",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable, not_configured.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable",
              "not_configured"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Send a test delivery",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "write",
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/webhooks/rules": {
      "get": {
        "description": "Everything that can fire for your account, with the reason when a rule is not firing.\n\nEvery 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.",
        "operationId": "listWebhookRules",
        "parameters": [
          {
            "description": "Only the rules of this endpoint.",
            "example": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
            "in": "query",
            "name": "endpoint_id",
            "required": false,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "List your rules",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookRuleListAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "account_suspended"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such endpoint.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "unavailable": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "List your rules",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "read",
        "x-ttf-plan-minimum": "free"
      },
      "post": {
        "description": "Ask TTF to tell you when a price crosses a level, a wallet moves, a token starts trending or a signal appears.\n\nThere 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.",
        "operationId": "createWebhookRule",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "default": {
                  "summary": "A price alert.",
                  "value": {
                    "endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
                    "name": "PEPE breakout",
                    "params": {
                      "above": 1e-05,
                      "chain": "eth",
                      "token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
                    },
                    "type": "price_cross"
                  }
                },
                "watchlist": {
                  "summary": "A watchlist of wallets with labels.",
                  "value": {
                    "endpoint_id": "whe_8b1f0c2d9a7e4f3b5c6d1e2a",
                    "labels": {
                      "0x3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a": "Whale"
                    },
                    "params": {
                      "addresses": [
                        "0x3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a"
                      ],
                      "chain": "eth",
                      "direction": "any",
                      "min_usd": 1000
                    },
                    "type": "wallet_activity"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/HookRuleCreate"
              }
            }
          },
          "description": "JSON object, Content-Type: application/json.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Create a rule",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookRuleCreatedAnswer"
                }
              }
            },
            "description": "Created",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "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_json": {
                    "summary": "bad_request: Send a JSON object.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "Send a JSON object.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "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": {
                    "summary": "plan_required: Plan group needed",
                    "value": {
                      "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": {
                    "summary": "quota_exceeded: Plan limit reached",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "quota_exceeded",
              "account_suspended",
              "plan_required"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such endpoint.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "408": {
            "content": {
              "application/json": {
                "examples": {
                  "request_timeout": {
                    "summary": "request_timeout: Body not received",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The request body did not arrive in time. Nothing changed. Codes: request_timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "request_timeout"
            ]
          },
          "409": {
            "content": {
              "application/json": {
                "examples": {
                  "over_limit": {
                    "summary": "over_limit: Endpoint over the plan limit",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The change conflicts with the current state. Nothing changed. Codes: over_limit.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "over_limit"
            ]
          },
          "413": {
            "content": {
              "application/json": {
                "examples": {
                  "too_large": {
                    "summary": "too_large: Body too large",
                    "value": {
                      "error": {
                        "code": "too_large",
                        "doc_url": "https://ttf.bot/docs/errors/#too_large",
                        "message": "Request body too large.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is too large. Codes: too_large.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "too_large"
            ]
          },
          "415": {
            "content": {
              "application/json": {
                "examples": {
                  "unsupported_media_type": {
                    "summary": "unsupported_media_type: Send JSON",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is not declared as JSON. Codes: unsupported_media_type.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unsupported_media_type"
            ]
          },
          "422": {
            "content": {
              "application/json": {
                "examples": {
                  "invalid_rule": {
                    "summary": "invalid_rule: Invalid rule",
                    "value": {
                      "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": {
                    "summary": "type_not_subscribed: Event type not subscribed",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The URL or the rule was refused. Nothing changed. Codes: invalid_rule, type_not_subscribed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "invalid_rule",
              "type_not_subscribed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: busy, unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "busy",
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Create a rule",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "write",
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/webhooks/rules/check": {
      "post": {
        "description": "Validate what a user typed before you create an endpoint or a rule for it. Nothing is saved.\n\nValidates 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.",
        "operationId": "checkWebhookRule",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "default": {
                  "summary": "Check a price alert.",
                  "value": {
                    "params": {
                      "above": 1e-05,
                      "chain": "eth",
                      "token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
                    },
                    "type": "price_cross"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/HookRuleCheckInput"
              }
            }
          },
          "description": "JSON object, Content-Type: application/json.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Check a rule without saving",
                    "value": {
                      "data": {
                        "coverage": "full",
                        "coverage_note": "",
                        "ok": true
                      },
                      "meta": {
                        "cost": 0,
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookRuleCheckAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "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_json": {
                    "summary": "bad_request: Send a JSON object.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "Send a JSON object.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "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": {
                    "summary": "plan_required: Plan group needed",
                    "value": {
                      "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": {
                    "summary": "quota_exceeded: Plan limit reached",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "quota_exceeded",
              "account_suspended",
              "plan_required"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such endpoint.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "408": {
            "content": {
              "application/json": {
                "examples": {
                  "request_timeout": {
                    "summary": "request_timeout: Body not received",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The request body did not arrive in time. Nothing changed. Codes: request_timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "request_timeout"
            ]
          },
          "409": {
            "content": {
              "application/json": {
                "examples": {
                  "over_limit": {
                    "summary": "over_limit: Endpoint over the plan limit",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The change conflicts with the current state. Nothing changed. Codes: over_limit.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "over_limit"
            ]
          },
          "413": {
            "content": {
              "application/json": {
                "examples": {
                  "too_large": {
                    "summary": "too_large: Body too large",
                    "value": {
                      "error": {
                        "code": "too_large",
                        "doc_url": "https://ttf.bot/docs/errors/#too_large",
                        "message": "Request body too large.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is too large. Codes: too_large.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "too_large"
            ]
          },
          "415": {
            "content": {
              "application/json": {
                "examples": {
                  "unsupported_media_type": {
                    "summary": "unsupported_media_type: Send JSON",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is not declared as JSON. Codes: unsupported_media_type.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unsupported_media_type"
            ]
          },
          "422": {
            "content": {
              "application/json": {
                "examples": {
                  "invalid_rule": {
                    "summary": "invalid_rule: Invalid rule",
                    "value": {
                      "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": {
                    "summary": "type_not_subscribed: Event type not subscribed",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The URL or the rule was refused. Nothing changed. Codes: invalid_rule, type_not_subscribed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "invalid_rule",
              "type_not_subscribed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "unavailable": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Check a rule without saving",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "write",
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/webhooks/rules/{rule_id}": {
      "delete": {
        "description": "Stop an alert for good: the rule is removed and its place in your plan is free again.\n\nTakes 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.",
        "operationId": "deleteWebhookRule",
        "parameters": [
          {
            "description": "Rule id (data.rule.id).",
            "example": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
            "in": "path",
            "name": "rule_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Delete a rule",
                    "value": {
                      "data": {
                        "deleted": true,
                        "id": "whr_6f1c0a9e2b7d4c3a1e0f9b8d"
                      },
                      "meta": {
                        "cost": 0,
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookRuleDeletedAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such rule.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: busy, unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "busy",
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Delete a rule",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "write",
        "x-ttf-plan-minimum": "free"
      },
      "get": {
        "description": "Look at one rule: its settings, whether it is active and what coverage it has.\n\nOne 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.",
        "operationId": "getWebhookRule",
        "parameters": [
          {
            "description": "Rule id (data.rule.id).",
            "example": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
            "in": "path",
            "name": "rule_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Get a rule",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookRuleAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such rule.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "unavailable": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Get a rule",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "read",
        "x-ttf-plan-minimum": "free"
      },
      "patch": {
        "description": "Change the threshold, the wallets or the name of a rule, or switch it off for a while.\n\nSend 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.",
        "operationId": "updateWebhookRule",
        "parameters": [
          {
            "description": "Rule id (data.rule.id).",
            "example": "whr_6f1c0a9e2b7d4c3a1e0f9b8d",
            "in": "path",
            "name": "rule_id",
            "required": true,
            "schema": {
              "maxLength": 64,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "default": {
                  "summary": "Switch the rule off.",
                  "value": {
                    "enabled": false
                  }
                },
                "params": {
                  "summary": "New settings.",
                  "value": {
                    "params": {
                      "above": 1.2e-05,
                      "chain": "eth",
                      "token": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
                    }
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/HookRuleUpdate"
              }
            }
          },
          "description": "JSON object, Content-Type: application/json.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Update a rule",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookRuleUpdatedAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "bad_request": {
                    "summary": "bad_request: Bad request",
                    "value": {
                      "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_json": {
                    "summary": "bad_request: Send a JSON object.",
                    "value": {
                      "error": {
                        "code": "bad_request",
                        "doc_url": "https://ttf.bot/docs/errors/#bad_request",
                        "message": "Send a JSON object.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Bad request: an unknown field or a bad value. Nothing changed. Codes: bad_request.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "bad_request"
            ]
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "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": {
                    "summary": "plan_required: Plan group needed",
                    "value": {
                      "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": {
                    "summary": "quota_exceeded: Plan limit reached",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "quota_exceeded",
              "account_suspended",
              "plan_required"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "No such rule.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "not_found_off": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "408": {
            "content": {
              "application/json": {
                "examples": {
                  "request_timeout": {
                    "summary": "request_timeout: Body not received",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The request body did not arrive in time. Nothing changed. Codes: request_timeout.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "request_timeout"
            ]
          },
          "413": {
            "content": {
              "application/json": {
                "examples": {
                  "too_large": {
                    "summary": "too_large: Body too large",
                    "value": {
                      "error": {
                        "code": "too_large",
                        "doc_url": "https://ttf.bot/docs/errors/#too_large",
                        "message": "Request body too large.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is too large. Codes: too_large.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "too_large"
            ]
          },
          "415": {
            "content": {
              "application/json": {
                "examples": {
                  "unsupported_media_type": {
                    "summary": "unsupported_media_type: Send JSON",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The body is not declared as JSON. Codes: unsupported_media_type.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unsupported_media_type"
            ]
          },
          "422": {
            "content": {
              "application/json": {
                "examples": {
                  "invalid_rule": {
                    "summary": "invalid_rule: Invalid rule",
                    "value": {
                      "error": {
                        "code": "invalid_rule",
                        "doc_url": "https://ttf.bot/docs/errors/#invalid_rule",
                        "field": "percent",
                        "message": "percent: percent out of range",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The URL or the rule was refused. Nothing changed. Codes: invalid_rule.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "invalid_rule"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "busy": {
                    "summary": "busy: Busy",
                    "value": {
                      "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": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: busy, unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "busy",
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Update a rule",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "write",
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/webhooks/schema": {
      "get": {
        "description": "Read this first when you build a rule form: every rule type, the settings it takes, their limits and the chains you can name.\n\nThe 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.",
        "operationId": "getWebhookSchema",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Rule types, fields and bounds",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookSchemaAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The key lacks the webhook permission (or its plan, IP or account refuses the call), or a plan limit is reached. Codes: forbidden.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "unavailable": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Rule types, fields and bounds",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "read",
        "x-ttf-plan-minimum": "free"
      }
    },
    "/v1/webhooks/usage": {
      "get": {
        "description": "How much room is left: endpoints, rules, watched wallets and deliveries of this month against what your plan allows.\n\nEndpoints, 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.",
        "operationId": "getWebhookUsage",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "summary": "Webhook usage and limits",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/HookUsageAnswer"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "unauthorized: Missing or invalid key",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "An API key is required (Authorization: Bearer <key>).",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "unauthorized_invalid": {
                    "summary": "unauthorized: This API key is not valid.",
                    "value": {
                      "error": {
                        "code": "unauthorized",
                        "doc_url": "https://ttf.bot/docs/errors/#unauthorized",
                        "message": "This API key is not valid.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The API key is missing or not valid. Codes: unauthorized.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unauthorized"
            ]
          },
          "402": {
            "content": {
              "application/json": {
                "examples": {
                  "payment_required": {
                    "summary": "payment_required: Subscription ended",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The subscription of this API key has ended. Codes: payment_required.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "payment_required"
            ]
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "account_suspended": {
                    "summary": "account_suspended: Account suspended",
                    "value": {
                      "error": {
                        "code": "account_suspended",
                        "doc_url": "https://ttf.bot/docs/errors/#account_suspended",
                        "message": "This account is suspended. Contact support.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  },
                  "forbidden": {
                    "summary": "forbidden: Not included in your plan",
                    "value": {
                      "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_ip": {
                    "summary": "forbidden: This API key may not be used from this address.",
                    "value": {
                      "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_plan": {
                    "summary": "forbidden: This API key does not include the developer plan.",
                    "value": {
                      "error": {
                        "code": "forbidden",
                        "doc_url": "https://ttf.bot/docs/errors/#forbidden",
                        "message": "This API key does not include the developer plan.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "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.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "forbidden",
              "account_suspended"
            ]
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "not_found": {
                    "summary": "not_found: Not found",
                    "value": {
                      "error": {
                        "code": "not_found",
                        "doc_url": "https://ttf.bot/docs/errors/#not_found",
                        "message": "Not found",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "No such endpoint or rule in your account, or the webhook API is switched off. Codes: not_found.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "not_found"
            ]
          },
          "405": {
            "content": {
              "application/json": {
                "examples": {
                  "method_not_allowed": {
                    "summary": "method_not_allowed: Method not allowed",
                    "value": {
                      "error": {
                        "code": "method_not_allowed",
                        "doc_url": "https://ttf.bot/docs/errors/#method_not_allowed",
                        "message": "Method not allowed",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Wrong HTTP method for this route. Codes: method_not_allowed.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "method_not_allowed"
            ]
          },
          "429": {
            "content": {
              "application/json": {
                "examples": {
                  "rate_limited": {
                    "summary": "rate_limited: Slow down",
                    "value": {
                      "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_inflight": {
                    "summary": "rate_limited: Too many requests of this account at once. Wait for one to finish.",
                    "value": {
                      "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_network": {
                    "summary": "rate_limited: Too many invalid API keys from this network. Try again later.",
                    "value": {
                      "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_rps": {
                    "summary": "rate_limited: Too many requests per second for this account. Slow down and retry.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Too many requests, or too many webhook reads or changes of your account. See Retry-After. Codes: rate_limited.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "rate_limited"
            ]
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "internal": {
                    "summary": "internal: Internal error",
                    "value": {
                      "error": {
                        "code": "internal",
                        "doc_url": "https://ttf.bot/docs/errors/#internal",
                        "message": "Something went wrong. Try again in a moment.",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Unexpected error. Codes: internal.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "internal"
            ]
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "unavailable": {
                    "summary": "unavailable: Temporarily unavailable",
                    "value": {
                      "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_service": {
                    "summary": "unavailable: The webhook service is busy. Try again in a minute.",
                    "value": {
                      "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"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "The service cannot answer right now. See Retry-After. Codes: unavailable.",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "unavailable"
            ]
          },
          "default": {
            "content": {
              "application/json": {
                "examples": {
                  "error": {
                    "summary": "error: Request refused",
                    "value": {
                      "error": {
                        "code": "error",
                        "doc_url": "https://ttf.bot/docs/errors/#error",
                        "message": "Request refused",
                        "request_id": "3f2a9c0e5b7d4e18a6c1f0b2d9e8a7c6"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorAnswer"
                }
              }
            },
            "description": "Any other refusal of the HTTP layer (rare): the status says which. Codes: error.",
            "headers": {
              "X-Credits-Cost": {
                "$ref": "#/components/headers/X-Credits-Cost"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              },
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "x-ttf-error-codes": [
              "error"
            ]
          }
        },
        "security": [
          {
            "bearerAuth": []
          },
          {
            "apiKeyHeader": []
          }
        ],
        "summary": "Webhook usage and limits",
        "tags": [
          "Webhook management"
        ],
        "x-ttf-credits": {
          "attempt_fee": 0,
          "cached": 0,
          "live": 0
        },
        "x-ttf-groups": [],
        "x-ttf-permission": "read",
        "x-ttf-plan-minimum": "free"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.ttf.bot"
    }
  ],
  "tags": [
    {
      "description": "Everything about one token: price, market, security scan, holders, candles, bubble map, deployer.",
      "name": "Tokens"
    },
    {
      "description": "Find tokens: resolve an address or a ticker, see what TTF users are scanning most.",
      "name": "Discovery"
    },
    {
      "description": "What a wallet is doing: its recent transfers, watched live by TTF.",
      "name": "Wallets"
    },
    {
      "description": "TTF's own signals: ATH breakouts and call milestones.",
      "name": "Signals"
    },
    {
      "description": "Free routes without a key: the chain / group / price catalogue and the health check.",
      "name": "Service"
    },
    {
      "description": "Create and manage your webhook endpoints and rules with an API key that has webhook access. 0 credits. These are the only routes that write. Their account limits are their own: calls here never use up the dashboard's.",
      "name": "Webhook management"
    },
    {
      "description": "What TTF POSTs to your endpoint when one of your rules fires (signed, retried).",
      "name": "Webhooks"
    }
  ],
  "webhooks": {
    "ping": {
      "post": {
        "description": "Sent when the dashboard's Test button. 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.",
        "operationId": "webhookPing",
        "parameters": [
          {
            "description": "The event type of the body's `event`: price, trending, wallet, signal or ping.",
            "example": "ping",
            "in": "header",
            "name": "X-TTF-Event",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The event id (a ULID). One event can fire several of your rules: each is its own delivery.",
            "example": "01JDZ8Q7X3M4N5P6Q7R8S9T0PE",
            "in": "header",
            "name": "X-TTF-Event-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it.",
            "example": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
            "in": "header",
            "name": "X-TTF-Delivery",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours).",
            "example": 1,
            "in": "header",
            "name": "X-TTF-Attempt",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "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).",
            "example": 1795000000,
            "in": "header",
            "name": "X-TTF-Timestamp",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "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.",
            "example": "v1=0000000000000000000000000000000000000000000000000000000000000000",
            "in": "header",
            "name": "X-TTF-Signature",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Always TTF-Webhooks/1.0.",
            "example": "TTF-Webhooks/1.0",
            "in": "header",
            "name": "User-Agent",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "ping": {
                  "summary": "ping delivery",
                  "value": {
                    "created_ms": 1795000000000,
                    "event": {
                      "data": {
                        "text": "Test delivery from TTF"
                      },
                      "id": "01JDZ8Q7X3M4N5P6Q7R8S9T0PE",
                      "ts": 1795000000000,
                      "type": "ping",
                      "v": 1
                    },
                    "id": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
                    "reason": "test",
                    "type": "ping"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/WebhookPing"
              }
            }
          },
          "description": "The delivery body (identical on every attempt).",
          "required": true
        },
        "responses": {
          "2XX": {
            "description": "Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log."
          },
          "default": {
            "description": "Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried."
          }
        },
        "security": [],
        "summary": "Webhook: ping (test)",
        "tags": [
          "Webhooks"
        ],
        "x-ttf-rule-kinds": [
          "ping"
        ],
        "x-ttf-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
        }
      }
    },
    "price": {
      "post": {
        "description": "Sent when a `price_cross`, `pct_move` rule fired on a `price` event. 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.",
        "operationId": "webhookPrice",
        "parameters": [
          {
            "description": "The event type of the body's `event`: price, trending, wallet, signal or ping.",
            "example": "price",
            "in": "header",
            "name": "X-TTF-Event",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The event id (a ULID). One event can fire several of your rules: each is its own delivery.",
            "example": "01JDZ8Q7X3M4N5P6Q7R8S9T0PA",
            "in": "header",
            "name": "X-TTF-Event-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it.",
            "example": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
            "in": "header",
            "name": "X-TTF-Delivery",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours).",
            "example": 1,
            "in": "header",
            "name": "X-TTF-Attempt",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "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).",
            "example": 1795000000,
            "in": "header",
            "name": "X-TTF-Timestamp",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "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.",
            "example": "v1=0000000000000000000000000000000000000000000000000000000000000000",
            "in": "header",
            "name": "X-TTF-Signature",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Always TTF-Webhooks/1.0.",
            "example": "TTF-Webhooks/1.0",
            "in": "header",
            "name": "User-Agent",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "pct_move": {
                  "summary": "pct_move delivery",
                  "value": {
                    "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": {
                  "summary": "price_cross delivery",
                  "value": {
                    "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"
                  }
                }
              },
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/WebhookPriceCross"
                  },
                  {
                    "$ref": "#/components/schemas/WebhookPctMove"
                  }
                ]
              }
            }
          },
          "description": "The delivery body (identical on every attempt).",
          "required": true
        },
        "responses": {
          "2XX": {
            "description": "Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log."
          },
          "default": {
            "description": "Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried."
          }
        },
        "security": [],
        "summary": "Webhook: price",
        "tags": [
          "Webhooks"
        ],
        "x-ttf-rule-kinds": [
          "price_cross",
          "pct_move"
        ],
        "x-ttf-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
        }
      }
    },
    "signal": {
      "post": {
        "description": "Sent when a `signal` rule fired on a `signal` event. 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.",
        "operationId": "webhookSignal",
        "parameters": [
          {
            "description": "The event type of the body's `event`: price, trending, wallet, signal or ping.",
            "example": "signal",
            "in": "header",
            "name": "X-TTF-Event",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The event id (a ULID). One event can fire several of your rules: each is its own delivery.",
            "example": "01JDZ8Q7X3M4N5P6Q7R8S9T0SD",
            "in": "header",
            "name": "X-TTF-Event-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it.",
            "example": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
            "in": "header",
            "name": "X-TTF-Delivery",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours).",
            "example": 1,
            "in": "header",
            "name": "X-TTF-Attempt",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "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).",
            "example": 1795000000,
            "in": "header",
            "name": "X-TTF-Timestamp",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "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.",
            "example": "v1=0000000000000000000000000000000000000000000000000000000000000000",
            "in": "header",
            "name": "X-TTF-Signature",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Always TTF-Webhooks/1.0.",
            "example": "TTF-Webhooks/1.0",
            "in": "header",
            "name": "User-Agent",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "signal": {
                  "summary": "signal delivery",
                  "value": {
                    "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"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/WebhookSignal"
              }
            }
          },
          "description": "The delivery body (identical on every attempt).",
          "required": true
        },
        "responses": {
          "2XX": {
            "description": "Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log."
          },
          "default": {
            "description": "Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried."
          }
        },
        "security": [],
        "summary": "Webhook: signal",
        "tags": [
          "Webhooks"
        ],
        "x-ttf-rule-kinds": [
          "signal"
        ],
        "x-ttf-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
        }
      }
    },
    "trending": {
      "post": {
        "description": "Sent when a `trending_enter` rule fired on a `trending` event. 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.",
        "operationId": "webhookTrending",
        "parameters": [
          {
            "description": "The event type of the body's `event`: price, trending, wallet, signal or ping.",
            "example": "trending",
            "in": "header",
            "name": "X-TTF-Event",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The event id (a ULID). One event can fire several of your rules: each is its own delivery.",
            "example": "01JDZ8Q7X3M4N5P6Q7R8S9T0TB",
            "in": "header",
            "name": "X-TTF-Event-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it.",
            "example": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
            "in": "header",
            "name": "X-TTF-Delivery",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours).",
            "example": 1,
            "in": "header",
            "name": "X-TTF-Attempt",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "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).",
            "example": 1795000000,
            "in": "header",
            "name": "X-TTF-Timestamp",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "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.",
            "example": "v1=0000000000000000000000000000000000000000000000000000000000000000",
            "in": "header",
            "name": "X-TTF-Signature",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Always TTF-Webhooks/1.0.",
            "example": "TTF-Webhooks/1.0",
            "in": "header",
            "name": "User-Agent",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "trending_enter": {
                  "summary": "trending_enter delivery",
                  "value": {
                    "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"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/WebhookTrendingEnter"
              }
            }
          },
          "description": "The delivery body (identical on every attempt).",
          "required": true
        },
        "responses": {
          "2XX": {
            "description": "Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log."
          },
          "default": {
            "description": "Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried."
          }
        },
        "security": [],
        "summary": "Webhook: trending",
        "tags": [
          "Webhooks"
        ],
        "x-ttf-rule-kinds": [
          "trending_enter"
        ],
        "x-ttf-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
        }
      }
    },
    "wallet": {
      "post": {
        "description": "Sent when a `wallet_activity` rule fired on a `wallet` event. 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.",
        "operationId": "webhookWallet",
        "parameters": [
          {
            "description": "The event type of the body's `event`: price, trending, wallet, signal or ping.",
            "example": "wallet",
            "in": "header",
            "name": "X-TTF-Event",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The event id (a ULID). One event can fire several of your rules: each is its own delivery.",
            "example": "01JDZ8Q7X3M4N5P6Q7R8S9T0WC",
            "in": "header",
            "name": "X-TTF-Event-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The delivery id (a ULID) = body.id, THE SAME on every retry and re-send: drop duplicates on it.",
            "example": "01JDR4Q7Z2N8M5K3X9V6B4C2HA",
            "in": "header",
            "name": "X-TTF-Delivery",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "1 for the first try, then 2, 3, ... (at most 6 attempts over about 15 hours).",
            "example": 1,
            "in": "header",
            "name": "X-TTF-Attempt",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "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).",
            "example": 1795000000,
            "in": "header",
            "name": "X-TTF-Timestamp",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "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.",
            "example": "v1=0000000000000000000000000000000000000000000000000000000000000000",
            "in": "header",
            "name": "X-TTF-Signature",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Always TTF-Webhooks/1.0.",
            "example": "TTF-Webhooks/1.0",
            "in": "header",
            "name": "User-Agent",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "wallet_activity": {
                  "summary": "wallet_activity delivery",
                  "value": {
                    "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"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/WebhookWalletActivity"
              }
            }
          },
          "description": "The delivery body (identical on every attempt).",
          "required": true
        },
        "responses": {
          "2XX": {
            "description": "Delivered: any 2xx. The first 1 KB of your answer shows in the delivery log."
          },
          "default": {
            "description": "Any other answer (or a timeout, a TLS / connection failure, a redirect) is a failed attempt and is retried."
          }
        },
        "security": [],
        "summary": "Webhook: wallet",
        "tags": [
          "Webhooks"
        ],
        "x-ttf-rule-kinds": [
          "wallet_activity"
        ],
        "x-ttf-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
        }
      }
    }
  }
}
