{
  "openapi": "3.1.0",
  "info": {
    "title": "ListedOn API",
    "version": "1.2.0",
    "summary": "New crypto listings, exchange announcements and delistings as JSON",
    "description": "New coin listings and trading pairs on crypto exchanges, official exchange announcements and delistings.\n\n**Key** — `X-API-Key: <key>` or `Authorization: Bearer <key>` in every request; the query string is not accepted. Get a key at https://listedon.org/en/api/keys.\n\n**Limits** — per minute and per calendar month (UTC), see the `X-RateLimit-*` and `X-Monthly-*` headers; history window, delay and features follow the plan: https://listedon.org/en/api#plans.\n\n**Pages** — lists return `data`, `page_size`, `has_more` and `next_cursor`; pass `next_cursor` as `?cursor=`.\n\n**Real-time stream** — WebSocket `wss://listedon.org/api/v1/ws` (Pro and above): the same objects as here, with a cursor to resume. The protocol is described in the documentation, section Stream: https://listedon.org/en/api/docs#stream.\n\n**AI agents** — MCP server `https://listedon.org/api/mcp` with the same key.\n\n**Changes** — new fields, values and event types are added without notice: ignore what you do not know. Breaking changes get a new path and six months of parallel work.",
    "contact": {
      "name": "ListedOn",
      "url": "https://listedon.org"
    },
    "termsOfService": "https://listedon.org/en/terms"
  },
  "externalDocs": {
    "description": "Documentation",
    "url": "https://listedon.org/en/api/docs"
  },
  "servers": [
    {
      "url": "https://listedon.org/api/v1"
    }
  ],
  "security": [
    {
      "ApiKey": []
    },
    {
      "Bearer": []
    }
  ],
  "tags": [
    {
      "name": "Listings"
    },
    {
      "name": "Announcements"
    },
    {
      "name": "Delistings"
    },
    {
      "name": "Exchanges"
    },
    {
      "name": "Cryptocurrencies"
    },
    {
      "name": "Stocks"
    },
    {
      "name": "Account"
    },
    {
      "name": "Export"
    }
  ],
  "paths": {
    "/listings": {
      "get": {
        "operationId": "listListings",
        "tags": [
          "Listings"
        ],
        "summary": "List listings",
        "description": "New coin listings and new trading pairs, newest first. Bulk additions and pairs back after an exchange outage are not listings and never appear here. The history window and delay follow your plan.",
        "parameters": [
          {
            "$ref": "#/components/parameters/exchanges"
          },
          {
            "$ref": "#/components/parameters/coins"
          },
          {
            "$ref": "#/components/parameters/symbols"
          },
          {
            "name": "type",
            "in": "query",
            "description": "listing, new_pair or both (default)",
            "schema": {
              "type": "string",
              "enum": [
                "listing",
                "new_pair"
              ]
            }
          },
          {
            "$ref": "#/components/parameters/kind"
          },
          {
            "$ref": "#/components/parameters/market"
          },
          {
            "$ref": "#/components/parameters/since"
          },
          {
            "$ref": "#/components/parameters/until"
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/page_size"
          },
          {
            "$ref": "#/components/parameters/cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListingPage"
                },
                "example": {
                  "data": [
                    {
                      "id": 144586,
                      "type": "listing",
                      "category": "crypto",
                      "market": "spot",
                      "detected_at": "2026-11-23T17:42:47.093Z",
                      "exchange": {
                        "id": 9,
                        "slug": "upbit",
                        "name": "Upbit"
                      },
                      "coin": {
                        "id": 12171,
                        "symbol": "US",
                        "name": "Talus"
                      },
                      "pairs": [
                        {
                          "quote": "BTC",
                          "trading": true,
                          "url": "https://upbit.com/exchange?code=CRIX.UPBIT.BTC-US"
                        },
                        {
                          "quote": "USDT",
                          "trading": true,
                          "url": "https://upbit.com/exchange?code=CRIX.UPBIT.USDT-US"
                        }
                      ],
                      "url": "https://listedon.org/en/ticker/us",
                      "price_after_listing": {
                        "status": "first_day",
                        "quote": "USDT",
                        "precision_minutes": 1,
                        "trading_started_at": "2026-11-24T23:07:00Z",
                        "open": 0.002987,
                        "points": {
                          "10m": {
                            "price": 0.002987,
                            "change_pct": 0
                          },
                          "15m": {
                            "price": 0.002987,
                            "change_pct": 0
                          },
                          "30m": {
                            "price": 0.002987,
                            "change_pct": 0
                          },
                          "1h": {
                            "price": 0.002987,
                            "change_pct": 0
                          },
                          "2h": {
                            "price": 0.002987,
                            "change_pct": 0
                          },
                          "6h": {
                            "price": 0.002986,
                            "change_pct": -0.03
                          },
                          "24h": {
                            "price": 0.002986,
                            "change_pct": -0.03
                          },
                          "7d": null
                        },
                        "peak_24h": {
                          "price": 0.002987,
                          "change_pct": 0,
                          "minutes_after_start": 0,
                          "precision_minutes": 60
                        },
                        "max_drawdown_24h": {
                          "price": 0.002986,
                          "change_pct": -0.03
                        },
                        "volume_1h": 36.45976087,
                        "volume_24h": 90.66150477,
                        "note": null
                      },
                      "attribution": {
                        "text": "Data by ListedOn",
                        "url": "https://listedon.org"
                      }
                    },
                    {
                      "id": 144585,
                      "type": "listing",
                      "category": "crypto",
                      "market": "spot",
                      "detected_at": "2026-11-23T17:42:47.093Z",
                      "exchange": {
                        "id": 9,
                        "slug": "upbit",
                        "name": "Upbit"
                      },
                      "coin": {
                        "id": 2075,
                        "symbol": "REQ",
                        "name": "Request"
                      },
                      "pairs": [
                        {
                          "quote": "BTC",
                          "trading": true,
                          "url": "https://upbit.com/exchange?code=CRIX.UPBIT.BTC-REQ"
                        },
                        {
                          "quote": "USDT",
                          "trading": true,
                          "url": "https://upbit.com/exchange?code=CRIX.UPBIT.USDT-REQ"
                        }
                      ],
                      "url": "https://listedon.org/en/ticker/req",
                      "price_after_listing": {
                        "status": "pending",
                        "quote": "USDT",
                        "precision_minutes": null,
                        "trading_started_at": null,
                        "open": null,
                        "points": null,
                        "peak_24h": null,
                        "max_drawdown_24h": null,
                        "volume_1h": null,
                        "volume_24h": null,
                        "note": null
                      },
                      "attribution": {
                        "text": "Data by ListedOn",
                        "url": "https://listedon.org"
                      }
                    }
                  ],
                  "page_size": 2,
                  "has_more": true,
                  "next_cursor": "639310525670930000-144585"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/listings/{id}": {
      "get": {
        "operationId": "getListing",
        "tags": [
          "Listings"
        ],
        "summary": "Get a listing",
        "description": "One listing by id — the same object as in the list, in webhooks and in the stream.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Listing id",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true,
            "example": 144583
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListingItem"
                },
                "example": {
                  "data": {
                    "id": 144583,
                    "type": "listing",
                    "category": "crypto",
                    "market": "spot",
                    "detected_at": "2026-11-23T17:42:47.093Z",
                    "exchange": {
                      "id": 9,
                      "slug": "upbit",
                      "name": "Upbit"
                    },
                    "coin": {
                      "id": 19550,
                      "symbol": "STRK",
                      "name": "Starknet"
                    },
                    "pairs": [
                      {
                        "quote": "BTC",
                        "trading": true,
                        "url": "https://upbit.com/exchange?code=CRIX.UPBIT.BTC-STRK"
                      },
                      {
                        "quote": "USDT",
                        "trading": true,
                        "url": "https://upbit.com/exchange?code=CRIX.UPBIT.USDT-STRK"
                      }
                    ],
                    "url": "https://listedon.org/en/ticker/strk",
                    "price_after_listing": {
                      "status": "first_day",
                      "quote": "USDT",
                      "precision_minutes": 1,
                      "trading_started_at": "2026-11-23T18:22:00Z",
                      "open": 0.07199,
                      "points": {
                        "10m": null,
                        "15m": {
                          "price": 0.07199,
                          "change_pct": 0
                        },
                        "30m": null,
                        "1h": {
                          "price": 0.07199,
                          "change_pct": 0
                        },
                        "2h": {
                          "price": 0.0207,
                          "change_pct": -71.25
                        },
                        "6h": {
                          "price": 0.0207,
                          "change_pct": -71.25
                        },
                        "24h": {
                          "price": 0.02073,
                          "change_pct": -71.2
                        },
                        "7d": null
                      },
                      "peak_24h": {
                        "price": 0.07199,
                        "change_pct": 0,
                        "minutes_after_start": 0,
                        "precision_minutes": 60
                      },
                      "max_drawdown_24h": {
                        "price": 0.02067,
                        "change_pct": -71.29
                      },
                      "volume_1h": 75,
                      "volume_24h": 152.08933283,
                      "note": null
                    },
                    "attribution": {
                      "text": "Data by ListedOn",
                      "url": "https://listedon.org"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/announcements": {
      "get": {
        "operationId": "listAnnouncements",
        "tags": [
          "Announcements"
        ],
        "summary": "List exchange announcements",
        "description": "Official announcements of Binance, OKX, Bybit, Upbit, Bithumb and KuCoin: upcoming listings, new pairs, tokenized stocks, delistings and pair removals, newest first (by publication time). Each ticker is linked to a ListedOn coin when unambiguous and to the listing ListedOn detected later. Pro and above.",
        "parameters": [
          {
            "$ref": "#/components/parameters/exchanges"
          },
          {
            "name": "coins",
            "in": "query",
            "description": "Coin ids, comma-separated: announcements that mention them",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "symbols",
            "in": "query",
            "description": "Tickers as written in announcements, comma-separated",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "description": "Comma-separated: listing, new_pairs, tokenized, delisting, pair_removal, other; default — all but other",
            "schema": {
              "type": "string"
            },
            "example": "listing"
          },
          {
            "name": "upcoming",
            "in": "query",
            "description": "true — only announcements still ahead: listings where trading has not started (status announced or postponed), delistings with a known end of trading in the future. The same list as Upcoming on the site",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            }
          },
          {
            "name": "since",
            "in": "query",
            "description": "Published at or after, ISO 8601 UTC",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "until",
            "in": "query",
            "description": "Published at or before, ISO 8601 UTC",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "scheduled_after",
            "in": "query",
            "description": "Trading starts or ends at or after, ISO 8601 UTC",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "scheduled_before",
            "in": "query",
            "description": "Trading starts or ends at or before, ISO 8601 UTC",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/page_size"
          },
          {
            "$ref": "#/components/parameters/cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnnouncementPage"
                },
                "example": {
                  "data": [
                    {
                      "id": 215,
                      "kind": "listing",
                      "status": "trading",
                      "exchange": {
                        "id": 6,
                        "slug": "kucoin",
                        "name": "KuCoin"
                      },
                      "title": "World Premiere: VerityAI (VERITY) Listed on KuCoin",
                      "url": "https://www.kucoin.com/announcement/en-world-premiere-verityai-verity-listed-on-kucoin?lang=en_US",
                      "published_at": "2026-11-25T08:17:00Z",
                      "detected_at": "2026-11-26T12:15:10.08Z",
                      "scheduled_at": null,
                      "coins": [
                        {
                          "symbol": "VERITY",
                          "name": "VerityAI",
                          "coin": {
                            "id": 60878,
                            "symbol": "VERITY",
                            "name": "VERITY"
                          },
                          "status": "trading",
                          "listing_id": null,
                          "lead_minutes": null,
                          "delisting_id": null
                        }
                      ],
                      "attribution": {
                        "text": "Data by ListedOn",
                        "url": "https://listedon.org"
                      }
                    }
                  ],
                  "page_size": 1,
                  "has_more": true,
                  "next_cursor": "639311914200000000-215"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/announcements/{id}": {
      "get": {
        "operationId": "getAnnouncement",
        "tags": [
          "Announcements"
        ],
        "summary": "Get an announcement",
        "description": "One announcement by id. Pro and above.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Announcement id",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true,
            "example": 215
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnnouncementItem"
                },
                "example": {
                  "data": {
                    "id": 215,
                    "kind": "listing",
                    "status": "trading",
                    "exchange": {
                      "id": 6,
                      "slug": "kucoin",
                      "name": "KuCoin"
                    },
                    "title": "World Premiere: VerityAI (VERITY) Listed on KuCoin",
                    "url": "https://www.kucoin.com/announcement/en-world-premiere-verityai-verity-listed-on-kucoin?lang=en_US",
                    "published_at": "2026-11-25T08:17:00Z",
                    "detected_at": "2026-11-26T12:15:10.08Z",
                    "scheduled_at": null,
                    "coins": [
                      {
                        "symbol": "VERITY",
                        "name": "VerityAI",
                        "coin": {
                          "id": 60878,
                          "symbol": "VERITY",
                          "name": "VERITY"
                        },
                        "status": "trading",
                        "listing_id": null,
                        "lead_minutes": null,
                        "delisting_id": null
                      }
                    ],
                    "attribution": {
                      "text": "Data by ListedOn",
                      "url": "https://listedon.org"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/delistings": {
      "get": {
        "operationId": "listDelistings",
        "tags": [
          "Delistings"
        ],
        "summary": "List delistings",
        "description": "A delisting is a coin losing its last trading pair on an exchange. ListedOn confirms it after an hour without trading; a mass disappearance of pairs waits for an exchange announcement; if a pair comes back within 14 days, the delisting gets status reverted. History starts on the day detection was switched on. Pro and above.",
        "parameters": [
          {
            "$ref": "#/components/parameters/exchanges"
          },
          {
            "$ref": "#/components/parameters/coins"
          },
          {
            "$ref": "#/components/parameters/symbols"
          },
          {
            "$ref": "#/components/parameters/market"
          },
          {
            "$ref": "#/components/parameters/kind"
          },
          {
            "name": "status",
            "in": "query",
            "description": "confirmed (default), reverted or all",
            "schema": {
              "type": "string",
              "enum": [
                "confirmed",
                "reverted",
                "all"
              ]
            }
          },
          {
            "name": "since",
            "in": "query",
            "description": "Delisted at or after, ISO 8601 UTC",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "until",
            "in": "query",
            "description": "Delisted at or before, ISO 8601 UTC",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "$ref": "#/components/parameters/order"
          },
          {
            "$ref": "#/components/parameters/page_size"
          },
          {
            "$ref": "#/components/parameters/cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DelistingPage"
                },
                "example": {
                  "data": [
                    {
                      "id": 18,
                      "status": "confirmed",
                      "category": "crypto",
                      "market": "spot",
                      "delisted_at": "2026-11-24T11:22:05.23Z",
                      "detected_at": "2026-11-26T12:14:09.567Z",
                      "exchange": {
                        "id": 205,
                        "slug": "whitebit",
                        "name": "WhiteBIT"
                      },
                      "coin": {
                        "id": 85,
                        "symbol": "LRC",
                        "name": "Loopring"
                      },
                      "pairs": [
                        {
                          "quote": "USDC",
                          "removed_at": "2026-11-24T11:22:05.23Z"
                        },
                        {
                          "quote": "USDT",
                          "removed_at": "2026-11-24T11:22:05.23Z"
                        }
                      ],
                      "announcement": null,
                      "reverted_at": null,
                      "url": "https://listedon.org/en/ticker/lrc",
                      "attribution": {
                        "text": "Data by ListedOn",
                        "url": "https://listedon.org"
                      }
                    }
                  ],
                  "page_size": 1,
                  "has_more": false,
                  "next_cursor": null
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/delistings/{id}": {
      "get": {
        "operationId": "getDelisting",
        "tags": [
          "Delistings"
        ],
        "summary": "Get a delisting",
        "description": "One delisting by id. Pro and above.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Delisting id",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true,
            "example": 18
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DelistingItem"
                },
                "example": {
                  "data": {
                    "id": 18,
                    "status": "confirmed",
                    "category": "crypto",
                    "market": "spot",
                    "delisted_at": "2026-11-24T11:22:05.23Z",
                    "detected_at": "2026-11-26T12:14:09.567Z",
                    "exchange": {
                      "id": 205,
                      "slug": "whitebit",
                      "name": "WhiteBIT"
                    },
                    "coin": {
                      "id": 85,
                      "symbol": "LRC",
                      "name": "Loopring"
                    },
                    "pairs": [
                      {
                        "quote": "USDC",
                        "removed_at": "2026-11-24T11:22:05.23Z"
                      },
                      {
                        "quote": "USDT",
                        "removed_at": "2026-11-24T11:22:05.23Z"
                      }
                    ],
                    "announcement": null,
                    "reverted_at": null,
                    "url": "https://listedon.org/en/ticker/lrc",
                    "attribution": {
                      "text": "Data by ListedOn",
                      "url": "https://listedon.org"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/exchanges": {
      "get": {
        "operationId": "listExchanges",
        "tags": [
          "Exchanges"
        ],
        "summary": "List exchanges",
        "description": "Exchanges ListedOn tracks or tracked, one record per exchange as on the site, with slugs for filters. Spot and futures (perpetual contracts) are markets of the exchange: Binance futures are exchanges=binance&market=futures, not a separate exchange. A futures-only platform is an exchange with one market, futures. Former slugs of futures platforms (binance_futures) are still accepted in filters.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangePage"
                },
                "example": {
                  "data": [
                    {
                      "id": 1,
                      "slug": "binance",
                      "name": "Binance",
                      "website": "https://www.binance.com",
                      "tracked": true,
                      "markets": {
                        "spot": {
                          "tracked": true,
                          "pairs_trading": 1376,
                          "coins_trading": 527,
                          "last_listing_at": "2026-11-26T16:16:15.6Z"
                        },
                        "futures": {
                          "tracked": true,
                          "pairs_trading": 564,
                          "coins_trading": 519,
                          "last_listing_at": null
                        }
                      }
                    },
                    {
                      "id": 200,
                      "slug": "bydfi",
                      "name": "BYDFi",
                      "website": "https://bydfi.com",
                      "tracked": true,
                      "markets": {
                        "futures": {
                          "tracked": true,
                          "pairs_trading": 695,
                          "coins_trading": 647,
                          "last_listing_at": "2026-11-26T12:40:43.44Z"
                        }
                      }
                    }
                  ],
                  "page_size": 72,
                  "has_more": false,
                  "next_cursor": null
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/coins": {
      "get": {
        "operationId": "findCoins",
        "tags": [
          "Cryptocurrencies"
        ],
        "summary": "Find coins",
        "description": "By ticker (exact), by the start of the ticker or name, or by ids. One ticker can belong to several coins; the most traded comes first. Tokenized stocks are coins too (kind=stock); companies and their tokens by issuer are in /stocks.",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "description": "Exact ticker",
            "schema": {
              "type": "string"
            },
            "example": "LRC"
          },
          {
            "name": "search",
            "in": "query",
            "description": "Start of the ticker or name, at least 2 characters",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "description": "Coin ids, comma-separated",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "description": "crypto, stock, leveraged or all (default)",
            "schema": {
              "type": "string",
              "enum": [
                "crypto",
                "stock",
                "leveraged",
                "all"
              ]
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "description": "From 1 to 100, default 30",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoinPage"
                },
                "example": {
                  "data": [
                    {
                      "id": 85,
                      "symbol": "LRC",
                      "name": "Loopring",
                      "category": "crypto",
                      "exchanges_trading": 39,
                      "first_listed_at": "2020-06-24T17:59:12.3Z",
                      "url": "https://listedon.org/en/ticker/lrc"
                    }
                  ],
                  "page_size": 30,
                  "has_more": false,
                  "next_cursor": null
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/coins/{id}": {
      "get": {
        "operationId": "getCoin",
        "tags": [
          "Cryptocurrencies"
        ],
        "summary": "Get a coin",
        "description": "A coin with its pairs on every exchange, its listings and — from Pro — announcements and delistings.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Coin id",
            "schema": {
              "type": "integer"
            },
            "required": true,
            "example": 85
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoinDetailsItem"
                },
                "example": {
                  "data": {
                    "id": 85,
                    "symbol": "LRC",
                    "name": "Loopring",
                    "category": "crypto",
                    "url": "https://listedon.org/en/ticker/lrc",
                    "pairs": [
                      {
                        "exchange": {
                          "id": 62,
                          "slug": "bitmax",
                          "name": "AscendEX"
                        },
                        "market": "spot",
                        "quote": "USDT",
                        "trading": true,
                        "first_seen_at": "2019-04-30T00:00:00Z",
                        "missing_since": null,
                        "url": "https://ascendex.com/en/cashtrade-spottrading/usdt/lrc"
                      },
                      {
                        "exchange": {
                          "id": 184,
                          "slug": "biconomy",
                          "name": "Biconomy.com"
                        },
                        "market": "spot",
                        "quote": "USDT",
                        "trading": true,
                        "first_seen_at": "2025-11-17T03:33:18.153Z",
                        "missing_since": null,
                        "url": "https://www.biconomy.com/exchange/LRC_USDT"
                      }
                    ],
                    "listings": [
                      {
                        "id": 135775,
                        "type": "new_pair",
                        "category": "crypto",
                        "market": "spot",
                        "detected_at": "2026-03-10T02:25:00.723Z",
                        "exchange": {
                          "id": 13,
                          "slug": "okex",
                          "name": "OKX"
                        }
                      }
                    ],
                    "announcements": [],
                    "delistings": [
                      {
                        "id": 18,
                        "status": "confirmed",
                        "category": "crypto",
                        "market": "spot",
                        "delisted_at": "2026-11-24T11:22:05.23Z",
                        "detected_at": "2026-11-26T12:14:09.567Z",
                        "exchange": {
                          "id": 205,
                          "slug": "whitebit",
                          "name": "WhiteBIT"
                        },
                        "coin": {
                          "id": 85,
                          "symbol": "LRC",
                          "name": "Loopring"
                        },
                        "pairs": [
                          {
                            "quote": "USDC",
                            "removed_at": "2026-11-24T11:22:05.23Z"
                          },
                          {
                            "quote": "USDT",
                            "removed_at": "2026-11-24T11:22:05.23Z"
                          }
                        ],
                        "announcement": null,
                        "reverted_at": null,
                        "url": "https://listedon.org/en/ticker/lrc",
                        "attribution": {
                          "text": "Data by ListedOn",
                          "url": "https://listedon.org"
                        }
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/stocks": {
      "get": {
        "operationId": "listStocks",
        "tags": [
          "Stocks"
        ],
        "summary": "List tokenized stocks",
        "description": "Companies whose tokenized stocks trade on crypto exchanges now, with their tokens by issuer: xStocks, Ondo, bStocks, OKX, Bitget rStocks, pre-IPO. Each token is a ListedOn coin: its listings are in /listings?kind=stock&coins=<id>. All plans.",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Ticker or company name, e.g. TSLA or Nvidia; an exact ticker comes first",
            "schema": {
              "type": "string"
            },
            "example": "TSLA"
          },
          {
            "name": "issuer",
            "in": "query",
            "description": "Only companies with tokens of this issuer (and only those tokens)",
            "schema": {
              "type": "string",
              "enum": [
                "xstocks",
                "ondo",
                "bstocks",
                "okx",
                "bitget_rstocks",
                "pre_ipo",
                "other"
              ]
            }
          },
          {
            "$ref": "#/components/parameters/page_size"
          },
          {
            "$ref": "#/components/parameters/cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StockPage"
                },
                "example": {
                  "data": [
                    {
                      "id": "TSLA",
                      "ticker": "TSLA",
                      "name": "Tesla",
                      "exchanges_trading": 29,
                      "last_listing_at": "2026-11-23T17:42:35.18Z",
                      "tokens": [
                        {
                          "coin": {
                            "id": 54537,
                            "symbol": "TSLAX",
                            "name": "Tesla xStock"
                          },
                          "issuer": "xstocks",
                          "issuer_name": "xStocks",
                          "exchanges_trading": 17,
                          "pairs_trading": 18,
                          "last_listing_at": "2026-07-30T08:50:16.767Z",
                          "url": "https://listedon.org/en/ticker/tslax"
                        },
                        {
                          "coin": {
                            "id": 55028,
                            "symbol": "TSLAON",
                            "name": "Tesla"
                          },
                          "issuer": "ondo",
                          "issuer_name": "Ondo Global Markets",
                          "exchanges_trading": 12,
                          "pairs_trading": 12,
                          "last_listing_at": "2026-11-23T17:42:35.18Z",
                          "url": "https://listedon.org/en/ticker/tslaon"
                        },
                        {
                          "coin": {
                            "id": 57162,
                            "symbol": "TSLAB",
                            "name": "Tesla (bStocks)"
                          },
                          "issuer": "bstocks",
                          "issuer_name": "bStocks",
                          "exchanges_trading": 8,
                          "pairs_trading": 8,
                          "last_listing_at": "2026-09-19T01:18:18.23Z",
                          "url": "https://listedon.org/en/ticker/tslab"
                        }
                      ]
                    }
                  ],
                  "page_size": 1,
                  "has_more": true,
                  "next_cursor": "o1"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/stocks/{id}": {
      "get": {
        "operationId": "getStock",
        "tags": [
          "Stocks"
        ],
        "summary": "Get a stock",
        "description": "A company by ticker (case-insensitive) with all its tokens.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Ticker of the company",
            "schema": {
              "type": "string"
            },
            "required": true,
            "example": "NVDA"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StockItem"
                },
                "example": {
                  "data": {
                    "id": "NVDA",
                    "ticker": "NVDA",
                    "name": "NVIDIA",
                    "exchanges_trading": 29,
                    "last_listing_at": "2026-11-23T17:42:35.18Z",
                    "tokens": [
                      {
                        "coin": {
                          "id": 54533,
                          "symbol": "NVDAX",
                          "name": "NVIDIA xStock"
                        },
                        "issuer": "xstocks",
                        "issuer_name": "xStocks",
                        "exchanges_trading": 17,
                        "pairs_trading": 18,
                        "last_listing_at": "2026-07-30T10:30:32.313Z",
                        "url": "https://listedon.org/en/ticker/nvdax"
                      },
                      {
                        "coin": {
                          "id": 55027,
                          "symbol": "NVDAON",
                          "name": "NVIDIA"
                        },
                        "issuer": "ondo",
                        "issuer_name": "Ondo Global Markets",
                        "exchanges_trading": 12,
                        "pairs_trading": 12,
                        "last_listing_at": "2026-11-23T17:42:35.18Z",
                        "url": "https://listedon.org/en/ticker/nvdaon"
                      },
                      {
                        "coin": {
                          "id": 57160,
                          "symbol": "NVDAB",
                          "name": "NVIDIA (bStocks)"
                        },
                        "issuer": "bstocks",
                        "issuer_name": "bStocks",
                        "exchanges_trading": 7,
                        "pairs_trading": 7,
                        "last_listing_at": "2026-09-16T03:00:19.83Z",
                        "url": "https://listedon.org/en/ticker/nvdab"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/account": {
      "get": {
        "operationId": "getAccount",
        "tags": [
          "Account"
        ],
        "summary": "Plan and usage",
        "description": "Your plan, limits and usage this month. Does not count toward limits.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-Monthly-Limit": {
                "$ref": "#/components/headers/X-Monthly-Limit"
              },
              "X-Monthly-Remaining": {
                "$ref": "#/components/headers/X-Monthly-Remaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountInfo"
                },
                "example": {
                  "plan": "pro",
                  "paid_until": "2026-12-02T02:26:57.43Z",
                  "trial": true,
                  "limits": {
                    "requests_per_month": 1000000,
                    "requests_per_minute": 300,
                    "keys": 10,
                    "history_days": 365,
                    "delay_hours": 0,
                    "markets": [
                      "spot",
                      "futures"
                    ],
                    "feeds": [
                      "listings",
                      "announcements",
                      "delistings"
                    ],
                    "streams": 1
                  },
                  "usage": {
                    "month": "2026-11",
                    "requests": 702,
                    "remaining": 999298,
                    "streams": 0
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/export": {
      "get": {
        "operationId": "exportListings",
        "tags": [
          "Export"
        ],
        "summary": "Export all listings",
        "description": "The whole listings database as NDJSON (one Listing per line), once per hour. Elite and above.",
        "responses": {
          "200": {
            "description": "NDJSON file",
            "content": {
              "application/x-ndjson": {
                "schema": {
                  "$ref": "#/components/schemas/Listing"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    }
  },
  "webhooks": {
    "listing.created": {
      "post": {
        "summary": "New listing or new pair",
        "description": "listing.created and new_pair.created. Pro and above; filters of the address: types, categories, markets, exchanges.",
        "parameters": [
          {
            "name": "X-ListedOn-Signature",
            "in": "header",
            "required": true,
            "description": "sha256=<HMAC-SHA256 of the raw body with the secret of the address>",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ListedOn-Event",
            "in": "header",
            "required": true,
            "description": "The type of the event",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ListedOn-Delivery",
            "in": "header",
            "required": true,
            "description": "Delivery id: the same on retries — use it to drop repeats",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookListing"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Any 2xx within 10 seconds means delivered; otherwise retries after 1, 5 and 30 minutes, 2 and 6 hours"
          }
        }
      }
    },
    "announcement.created": {
      "post": {
        "summary": "New exchange announcement",
        "description": "Pro and above; filters: kinds, exchanges. Announcements found on the first read of an exchange feed are not sent.",
        "parameters": [
          {
            "name": "X-ListedOn-Signature",
            "in": "header",
            "required": true,
            "description": "sha256=<HMAC-SHA256 of the raw body with the secret of the address>",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ListedOn-Event",
            "in": "header",
            "required": true,
            "description": "The type of the event",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ListedOn-Delivery",
            "in": "header",
            "required": true,
            "description": "Delivery id: the same on retries — use it to drop repeats",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookAnnouncement"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Any 2xx within 10 seconds means delivered; otherwise retries after 1, 5 and 30 minutes, 2 and 6 hours"
          }
        }
      }
    },
    "delisting.created": {
      "post": {
        "summary": "New delisting",
        "description": "Pro and above; filters: categories, markets, exchanges. Only confirmed delistings.",
        "parameters": [
          {
            "name": "X-ListedOn-Signature",
            "in": "header",
            "required": true,
            "description": "sha256=<HMAC-SHA256 of the raw body with the secret of the address>",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ListedOn-Event",
            "in": "header",
            "required": true,
            "description": "The type of the event",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ListedOn-Delivery",
            "in": "header",
            "required": true,
            "description": "Delivery id: the same on retries — use it to drop repeats",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookDelisting"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Any 2xx within 10 seconds means delivered; otherwise retries after 1, 5 and 30 minutes, 2 and 6 hours"
          }
        }
      }
    },
    "test.ping": {
      "post": {
        "summary": "Test",
        "description": "Sent by the Test button in My API keys.",
        "parameters": [
          {
            "name": "X-ListedOn-Signature",
            "in": "header",
            "required": true,
            "description": "sha256=<HMAC-SHA256 of the raw body with the secret of the address>",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ListedOn-Event",
            "in": "header",
            "required": true,
            "description": "The type of the event",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ListedOn-Delivery",
            "in": "header",
            "required": true,
            "description": "Delivery id: the same on retries — use it to drop repeats",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookPing"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Any 2xx within 10 seconds means delivered; otherwise retries after 1, 5 and 30 minutes, 2 and 6 hours"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      },
      "Bearer": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "parameters": {
      "exchanges": {
        "name": "exchanges",
        "in": "query",
        "description": "Exchange slugs or ids from /exchanges, comma-separated (up to 50)",
        "schema": {
          "type": "string"
        },
        "example": "binance,upbit"
      },
      "coins": {
        "name": "coins",
        "in": "query",
        "description": "Coin ids from /coins, comma-separated (up to 100)",
        "schema": {
          "type": "string"
        }
      },
      "symbols": {
        "name": "symbols",
        "in": "query",
        "description": "Tickers, comma-separated (up to 100)",
        "schema": {
          "type": "string"
        }
      },
      "since": {
        "name": "since",
        "in": "query",
        "description": "From this time, ISO 8601 UTC; not earlier than the history window of your plan",
        "schema": {
          "type": "string",
          "format": "date-time"
        }
      },
      "until": {
        "name": "until",
        "in": "query",
        "description": "Up to this time, ISO 8601 UTC",
        "schema": {
          "type": "string",
          "format": "date-time"
        }
      },
      "order": {
        "name": "order",
        "in": "query",
        "description": "desc — newest first (default), asc — oldest first",
        "schema": {
          "type": "string",
          "enum": [
            "desc",
            "asc"
          ]
        }
      },
      "page_size": {
        "name": "page_size",
        "in": "query",
        "description": "From 1 to 100, default 30",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "example": 2
      },
      "cursor": {
        "name": "cursor",
        "in": "query",
        "description": "next_cursor from the previous page",
        "schema": {
          "type": "string"
        }
      },
      "kind": {
        "name": "kind",
        "in": "query",
        "description": "crypto (default), stock — tokenized stocks, leveraged or all; stocks and leveraged tokens from Starter. The former name category is accepted too",
        "schema": {
          "type": "string",
          "enum": [
            "crypto",
            "stock",
            "leveraged",
            "all"
          ]
        }
      },
      "market": {
        "name": "market",
        "in": "query",
        "description": "spot (default), futures — perpetual contracts on the futures market of the exchange, or all; futures and all from Pro",
        "schema": {
          "type": "string",
          "enum": [
            "spot",
            "futures",
            "all"
          ]
        }
      }
    },
    "headers": {
      "X-RateLimit-Limit": {
        "description": "Requests per minute of your plan",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Remaining": {
        "description": "Requests left in the current minute",
        "schema": {
          "type": "integer"
        }
      },
      "X-Monthly-Limit": {
        "description": "Requests per calendar month (UTC) of your plan",
        "schema": {
          "type": "integer"
        }
      },
      "X-Monthly-Remaining": {
        "description": "Requests left this month",
        "schema": {
          "type": "integer"
        }
      }
    },
    "responses": {
      "BadRequest": {
        "description": "A parameter could not be read; the message says which",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": {
                "code": "invalid_parameter",
                "message": "page_size: 1..100"
              }
            }
          }
        }
      },
      "Unauthorized": {
        "description": "No key, or the key is wrong or revoked",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": {
                "code": "invalid_key",
                "message": "Invalid or revoked API key"
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Needs a higher plan",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": {
                "code": "plan_restricted",
                "message": "Exchange announcements and delistings are available from the Pro plan",
                "upgrade_url": "https://listedon.org/en/api#plans"
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "No such object",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": {
                "code": "not_found",
                "message": "No listing with id 1"
              }
            }
          }
        }
      },
      "TooManyRequests": {
        "description": "Per-minute or monthly limit reached",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": {
                "code": "rate_limit",
                "message": "Too many requests per minute for your plan (60)",
                "upgrade_url": "https://listedon.org/en/api#plans"
              }
            }
          }
        },
        "headers": {
          "Retry-After": {
            "description": "Seconds to wait",
            "schema": {
              "type": "integer"
            }
          }
        }
      },
      "ServerError": {
        "description": "Our side; we log it",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": {
                "code": "internal_error",
                "message": "Internal error, please retry later"
              }
            }
          }
        }
      },
      "Unavailable": {
        "description": "The data is temporarily unavailable",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": {
                "code": "not_available",
                "message": "Announcements and delistings are not available yet, please retry later"
              }
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "Machine-readable code: invalid_parameter, missing_key, invalid_key, plan_restricted, not_found, rate_limit, monthly_limit, internal_error, not_available"
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people"
              },
              "upgrade_url": {
                "type": "string",
                "description": "Plans page; only on plan and limit errors",
                "format": "uri"
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ]
      },
      "ExchangeRef": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "slug": {
            "type": "string",
            "description": "Use in the exchanges filter"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "slug",
          "name"
        ],
        "description": "The exchange as on the site: spot and futures are markets of one exchange (see market of the object)"
      },
      "CoinRef": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "symbol": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "symbol",
          "name"
        ]
      },
      "PairInfo": {
        "type": "object",
        "properties": {
          "quote": {
            "type": "string",
            "description": "Quote currency"
          },
          "trading": {
            "type": "boolean",
            "description": "The pair trades now"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Trading page of the pair, without referral parameters"
          }
        },
        "required": [
          "quote",
          "trading",
          "url"
        ]
      },
      "Attribution": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "text",
          "url"
        ],
        "description": "Free, Starter and Pro: show the data with a link to ListedOn"
      },
      "PricePoint": {
        "type": "object",
        "properties": {
          "price": {
            "type": "number",
            "description": "Close price at this time after the trading start"
          },
          "change_pct": {
            "type": [
              "number",
              "null"
            ],
            "description": "To open, %"
          }
        },
        "required": [
          "price",
          "change_pct"
        ]
      },
      "PricePoints": {
        "type": "object",
        "properties": {
          "10m": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "15m": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "30m": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "1h": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "2h": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "6h": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "24h": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "7d": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "10m",
          "15m",
          "30m",
          "1h",
          "2h",
          "6h",
          "24h",
          "7d"
        ],
        "description": "Price after 10, 15, 30 minutes, 1, 2, 6, 24 hours and 7 days of trading. 10m, 15m and 30m only from minute candles (precision_minutes = 1): fresh listings; for older listings (hourly candles) they are null. A point is null until its time comes and when the exchange gives no candle for it."
      },
      "PricePeak": {
        "type": "object",
        "properties": {
          "price": {
            "type": "number",
            "description": "Highest price within the first 24 hours"
          },
          "change_pct": {
            "type": [
              "number",
              "null"
            ],
            "description": "To open, %"
          },
          "minutes_after_start": {
            "type": [
              "integer",
              "null"
            ],
            "description": "When the peak came, minutes after the trading start"
          },
          "precision_minutes": {
            "type": "integer",
            "description": "1 — found in minute candles; 60 — in hourly candles, minutes_after_start is accurate to an hour"
          }
        },
        "required": [
          "price",
          "change_pct",
          "minutes_after_start",
          "precision_minutes"
        ]
      },
      "PriceAfterListing": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "pending — not counted yet; first_hour, first_day, complete — counted up to 1 hour, 24 hours, 7 days; unavailable — the exchange gives no candles (see note); not_tracked — no candles for this exchange or market",
            "enum": [
              "pending",
              "first_hour",
              "first_day",
              "complete",
              "unavailable",
              "not_tracked"
            ]
          },
          "quote": {
            "type": [
              "string",
              "null"
            ],
            "description": "Quote currency of the pair the price is taken from"
          },
          "precision_minutes": {
            "type": [
              "integer",
              "null"
            ],
            "description": "1 — minute candles of the first hours (fresh listings), 60 — hourly candles (older listings)"
          },
          "trading_started_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "First candle of the pair, UTC",
            "format": "date-time"
          },
          "open": {
            "type": [
              "number",
              "null"
            ],
            "description": "Open price of the first candle; percentages are counted from it"
          },
          "points": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoints"
              },
              {
                "type": "null"
              }
            ]
          },
          "peak_24h": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePeak"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_drawdown_24h": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PricePoint"
              },
              {
                "type": "null"
              }
            ]
          },
          "volume_1h": {
            "type": [
              "number",
              "null"
            ],
            "description": "Traded in the first hour, in the quote currency"
          },
          "volume_24h": {
            "type": [
              "number",
              "null"
            ],
            "description": "Traded in the first 24 hours, in the quote currency"
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why candles are unavailable"
          }
        },
        "required": [
          "status",
          "quote",
          "precision_minutes",
          "trading_started_at",
          "open",
          "points",
          "peak_24h",
          "max_drawdown_24h",
          "volume_1h",
          "volume_24h",
          "note"
        ],
        "description": "Pro and above. Counted from the exchange candles of the first pair (USDT, USDC, USD, KRW…) of the listing."
      },
      "Listing": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "description": "listing — the first pair of a coin on an exchange; new_pair — another pair",
            "enum": [
              "listing",
              "new_pair"
            ]
          },
          "category": {
            "type": "string",
            "enum": [
              "crypto",
              "stock",
              "leveraged"
            ]
          },
          "market": {
            "type": "string",
            "description": "futures — a perpetual contract on the futures market of the exchange",
            "enum": [
              "spot",
              "futures"
            ]
          },
          "detected_at": {
            "type": "string",
            "description": "When ListedOn saw the pair, UTC",
            "format": "date-time"
          },
          "exchange": {
            "$ref": "#/components/schemas/ExchangeRef"
          },
          "coin": {
            "$ref": "#/components/schemas/CoinRef"
          },
          "pairs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PairInfo"
            }
          },
          "url": {
            "type": "string",
            "description": "Coin page on ListedOn",
            "format": "uri"
          },
          "price_after_listing": {
            "$ref": "#/components/schemas/PriceAfterListing"
          },
          "attribution": {
            "$ref": "#/components/schemas/Attribution"
          }
        },
        "required": [
          "id",
          "type",
          "category",
          "market",
          "detected_at",
          "exchange",
          "coin",
          "pairs",
          "url"
        ]
      },
      "ExchangeMarket": {
        "type": "object",
        "properties": {
          "tracked": {
            "type": "boolean",
            "description": "ListedOn follows this market now"
          },
          "pairs_trading": {
            "type": "integer"
          },
          "coins_trading": {
            "type": "integer"
          },
          "last_listing_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "tracked",
          "pairs_trading",
          "coins_trading",
          "last_listing_at"
        ]
      },
      "Exchange": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "slug": {
            "type": "string",
            "description": "Use in the exchanges filter"
          },
          "name": {
            "type": "string"
          },
          "website": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "tracked": {
            "type": "boolean",
            "description": "ListedOn follows at least one market of the exchange now"
          },
          "markets": {
            "type": "object",
            "properties": {
              "spot": {
                "$ref": "#/components/schemas/ExchangeMarket"
              },
              "futures": {
                "$ref": "#/components/schemas/ExchangeMarket"
              }
            },
            "required": [],
            "description": "Markets of the exchange: spot and futures (perpetual contracts). A futures-only platform has only futures"
          }
        },
        "required": [
          "id",
          "slug",
          "name",
          "tracked",
          "markets"
        ]
      },
      "StockToken": {
        "type": "object",
        "properties": {
          "coin": {
            "$ref": "#/components/schemas/CoinRef"
          },
          "issuer": {
            "type": "string",
            "enum": [
              "xstocks",
              "ondo",
              "bstocks",
              "okx",
              "bitget_rstocks",
              "pre_ipo",
              "other"
            ]
          },
          "issuer_name": {
            "type": "string"
          },
          "exchanges_trading": {
            "type": "integer"
          },
          "pairs_trading": {
            "type": "integer"
          },
          "last_listing_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "url": {
            "type": "string",
            "description": "Coin page on ListedOn",
            "format": "uri"
          }
        },
        "required": [
          "coin",
          "issuer",
          "issuer_name",
          "exchanges_trading",
          "pairs_trading",
          "last_listing_at",
          "url"
        ]
      },
      "Stock": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Ticker of the company; use in /stocks/{id}"
          },
          "ticker": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "exchanges_trading": {
            "type": "integer",
            "description": "Exchanges where at least one token trades"
          },
          "last_listing_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "tokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StockToken"
            },
            "description": "Tokens of the company by issuer; each is a ListedOn coin"
          }
        },
        "required": [
          "id",
          "ticker",
          "name",
          "tokens"
        ]
      },
      "Coin": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "symbol": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "enum": [
              "crypto",
              "stock",
              "leveraged"
            ]
          },
          "exchanges_trading": {
            "type": "integer"
          },
          "first_listed_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "id",
          "symbol",
          "name",
          "category",
          "exchanges_trading",
          "first_listed_at",
          "url"
        ]
      },
      "CoinPair": {
        "type": "object",
        "properties": {
          "exchange": {
            "$ref": "#/components/schemas/ExchangeRef"
          },
          "market": {
            "type": "string",
            "enum": [
              "spot",
              "futures"
            ]
          },
          "quote": {
            "type": "string"
          },
          "trading": {
            "type": "boolean"
          },
          "first_seen_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "missing_since": {
            "type": [
              "string",
              "null"
            ],
            "description": "The pair is not in the exchange answer (or does not trade) since",
            "format": "date-time"
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "exchange",
          "market",
          "quote",
          "trading",
          "first_seen_at",
          "missing_since",
          "url"
        ]
      },
      "CoinListing": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "enum": [
              "listing",
              "new_pair"
            ]
          },
          "category": {
            "type": "string",
            "enum": [
              "crypto",
              "stock",
              "leveraged"
            ]
          },
          "market": {
            "type": "string",
            "enum": [
              "spot",
              "futures"
            ]
          },
          "detected_at": {
            "type": "string",
            "format": "date-time"
          },
          "exchange": {
            "$ref": "#/components/schemas/ExchangeRef"
          }
        },
        "required": [
          "id",
          "type",
          "category",
          "market",
          "detected_at",
          "exchange"
        ]
      },
      "CoinDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "symbol": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "enum": [
              "crypto",
              "stock",
              "leveraged"
            ]
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "pairs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CoinPair"
            }
          },
          "listings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CoinListing"
            },
            "description": "Within the history window of your plan"
          },
          "announcements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Announcement"
            },
            "description": "Pro and above: the latest 20 announcements with this coin"
          },
          "delistings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Delisting"
            },
            "description": "Pro and above: delistings of this coin, all statuses"
          }
        },
        "required": [
          "id",
          "symbol",
          "name",
          "category",
          "url",
          "pairs",
          "listings"
        ]
      },
      "AnnouncementCoin": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string",
            "description": "Ticker as written in the announcement"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "coin": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoinRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "announced",
              "trading",
              "delisted",
              "postponed",
              "cancelled",
              "expired",
              null
            ],
            "description": "Status of this ticker"
          },
          "listing_id": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The listing ListedOn detected on this exchange for this coin, if it happened",
            "format": "int64"
          },
          "lead_minutes": {
            "type": [
              "integer",
              "null"
            ],
            "description": "How many minutes the announcement came before that listing (negative — after)"
          },
          "delisting_id": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The ListedOn delisting matched to this announcement",
            "format": "int64"
          }
        },
        "required": [
          "symbol",
          "name",
          "coin",
          "status",
          "listing_id",
          "lead_minutes",
          "delisting_id"
        ]
      },
      "Announcement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "kind": {
            "type": "string",
            "enum": [
              "listing",
              "new_pairs",
              "tokenized",
              "delisting",
              "pair_removal",
              "other"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "announced",
              "trading",
              "delisted",
              "postponed",
              "cancelled",
              "expired",
              null
            ],
            "description": "Listings: announced → trading (ListedOn saw the pair), or postponed / cancelled (a later announcement of the exchange says so), or expired (no trading by the date + 2 days; without a date — 14 days after publication). Delistings: announced → delisted (confirmed or the end date passed), postponed, cancelled, expired (no date and no delisting in 30 days). null for other. The earliest status of the tickers"
          },
          "exchange": {
            "$ref": "#/components/schemas/ExchangeRef"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "published_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Publication time by the exchange",
            "format": "date-time"
          },
          "detected_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "When ListedOn saw it; null for announcements found on the first read of the exchange feed",
            "format": "date-time"
          },
          "scheduled_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Trading start (listing) or end (delisting); a date without time is 00:00 UTC",
            "format": "date-time"
          },
          "coins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnnouncementCoin"
            }
          },
          "attribution": {
            "$ref": "#/components/schemas/Attribution"
          }
        },
        "required": [
          "id",
          "kind",
          "status",
          "exchange",
          "title",
          "url",
          "published_at",
          "detected_at",
          "scheduled_at",
          "coins"
        ]
      },
      "AnnouncementRef": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "kind": {
            "type": "string",
            "enum": [
              "listing",
              "new_pairs",
              "tokenized",
              "delisting",
              "pair_removal",
              "other"
            ]
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "published_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "scheduled_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "kind",
          "title",
          "url",
          "published_at",
          "scheduled_at"
        ]
      },
      "DelistedPair": {
        "type": "object",
        "properties": {
          "quote": {
            "type": "string"
          },
          "removed_at": {
            "type": "string",
            "description": "When the pair left the exchange answer",
            "format": "date-time"
          }
        },
        "required": [
          "quote",
          "removed_at"
        ]
      },
      "Delisting": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string",
            "description": "reverted — a pair came back within 14 days",
            "enum": [
              "confirmed",
              "reverted"
            ]
          },
          "category": {
            "type": "string",
            "enum": [
              "crypto",
              "stock",
              "leveraged"
            ]
          },
          "market": {
            "type": "string",
            "enum": [
              "spot",
              "futures"
            ]
          },
          "delisted_at": {
            "type": "string",
            "description": "When the last pair of the coin left the exchange",
            "format": "date-time"
          },
          "detected_at": {
            "type": "string",
            "description": "When ListedOn confirmed the delisting",
            "format": "date-time"
          },
          "exchange": {
            "$ref": "#/components/schemas/ExchangeRef"
          },
          "coin": {
            "$ref": "#/components/schemas/CoinRef"
          },
          "pairs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DelistedPair"
            }
          },
          "announcement": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AnnouncementRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "reverted_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "url": {
            "type": "string",
            "description": "Coin page on ListedOn",
            "format": "uri"
          },
          "attribution": {
            "$ref": "#/components/schemas/Attribution"
          }
        },
        "required": [
          "id",
          "status",
          "category",
          "market",
          "delisted_at",
          "detected_at",
          "exchange",
          "coin",
          "pairs",
          "announcement",
          "reverted_at",
          "url"
        ]
      },
      "AccountLimits": {
        "type": "object",
        "properties": {
          "requests_per_month": {
            "type": [
              "integer",
              "null"
            ]
          },
          "requests_per_minute": {
            "type": [
              "integer",
              "null"
            ]
          },
          "keys": {
            "type": [
              "integer",
              "null"
            ]
          },
          "history_days": {
            "type": [
              "integer",
              "null"
            ],
            "description": "null — all history since 2019"
          },
          "delay_hours": {
            "type": "integer"
          },
          "markets": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ]
            }
          },
          "feeds": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "listings",
                "announcements",
                "delistings"
              ]
            }
          },
          "streams": {
            "type": "integer",
            "description": "Stream connections at a time; 0 — the stream is not in the plan"
          }
        },
        "required": [
          "requests_per_month",
          "requests_per_minute",
          "keys",
          "history_days",
          "delay_hours",
          "markets",
          "feeds",
          "streams"
        ]
      },
      "AccountUsage": {
        "type": "object",
        "properties": {
          "month": {
            "type": "string",
            "description": "yyyy-MM, UTC"
          },
          "requests": {
            "type": "integer"
          },
          "remaining": {
            "type": [
              "integer",
              "null"
            ]
          },
          "streams": {
            "type": "integer",
            "description": "Open stream connections now"
          }
        },
        "required": [
          "month",
          "requests",
          "remaining",
          "streams"
        ]
      },
      "AccountInfo": {
        "type": "object",
        "properties": {
          "plan": {
            "type": "string",
            "enum": [
              "free",
              "starter",
              "pro",
              "elite",
              "enterprise"
            ]
          },
          "paid_until": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "trial": {
            "type": "boolean"
          },
          "limits": {
            "$ref": "#/components/schemas/AccountLimits"
          },
          "usage": {
            "$ref": "#/components/schemas/AccountUsage"
          }
        },
        "required": [
          "plan",
          "paid_until",
          "trial",
          "limits",
          "usage"
        ]
      },
      "ListingPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Listing"
            }
          },
          "page_size": {
            "type": "integer"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as ?cursor= for the next page; null on the last page"
          }
        },
        "required": [
          "data",
          "page_size",
          "has_more",
          "next_cursor"
        ]
      },
      "ExchangePage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Exchange"
            }
          },
          "page_size": {
            "type": "integer"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as ?cursor= for the next page; null on the last page"
          }
        },
        "required": [
          "data",
          "page_size",
          "has_more",
          "next_cursor"
        ]
      },
      "CoinPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Coin"
            }
          },
          "page_size": {
            "type": "integer"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as ?cursor= for the next page; null on the last page"
          }
        },
        "required": [
          "data",
          "page_size",
          "has_more",
          "next_cursor"
        ]
      },
      "StockPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Stock"
            }
          },
          "page_size": {
            "type": "integer"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as ?cursor= for the next page; null on the last page"
          }
        },
        "required": [
          "data",
          "page_size",
          "has_more",
          "next_cursor"
        ]
      },
      "AnnouncementPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Announcement"
            }
          },
          "page_size": {
            "type": "integer"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as ?cursor= for the next page; null on the last page"
          }
        },
        "required": [
          "data",
          "page_size",
          "has_more",
          "next_cursor"
        ]
      },
      "DelistingPage": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Delisting"
            }
          },
          "page_size": {
            "type": "integer"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as ?cursor= for the next page; null on the last page"
          }
        },
        "required": [
          "data",
          "page_size",
          "has_more",
          "next_cursor"
        ]
      },
      "ListingItem": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Listing"
          }
        },
        "required": [
          "data"
        ]
      },
      "CoinDetailsItem": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CoinDetails"
          }
        },
        "required": [
          "data"
        ]
      },
      "StockItem": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Stock"
          }
        },
        "required": [
          "data"
        ]
      },
      "AnnouncementItem": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Announcement"
          }
        },
        "required": [
          "data"
        ]
      },
      "DelistingItem": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Delisting"
          }
        },
        "required": [
          "data"
        ]
      },
      "WebhookListing": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "listing.created",
              "new_pair.created"
            ]
          },
          "listing": {
            "$ref": "#/components/schemas/Listing"
          },
          "sent_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "type",
          "listing",
          "sent_at"
        ]
      },
      "WebhookAnnouncement": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "announcement.created"
            ]
          },
          "announcement": {
            "$ref": "#/components/schemas/Announcement"
          },
          "sent_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "type",
          "announcement",
          "sent_at"
        ]
      },
      "WebhookDelisting": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "delisting.created"
            ]
          },
          "delisting": {
            "$ref": "#/components/schemas/Delisting"
          },
          "sent_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "type",
          "delisting",
          "sent_at"
        ]
      },
      "WebhookPing": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "test.ping"
            ]
          },
          "sent_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "type",
          "sent_at"
        ]
      }
    }
  }
}
