CoinMarketCap

Vand ID: vand-07e0e671-a584-40b1-940f-33a77b3bf3c9

Learn how to easily use the CoinMarketCap tool with the OpenAI API.

Get the latest crypto data from CoinMarketCap.

OpenAI function calls:

{
  "name": "getBlockchainStatisticsLatest",
  "description": "Provides up-to-date statistical data on Bitcoin, Litecoin, and Ethereum blockchains. Users can retrieve this data by specifying symbol or slug of the desired cryptocurrencies. The returned statistics include details like block rewards, consensus mechanisms, hashrate, transaction details, and more.",
  "parameters": {
    "type": "object",
    "properties": {
      "symbol": {
        "type": "string",
        "description": "Alternatively pass one or more comma-separated cryptocurrency symbols."
      },
      "slug": {
        "type": "string",
        "description": "Alternatively pass a comma-separated list of cryptocurrency slugs."
      }
    },
    "required": []
  }
}
{
  "name": "getNewContent",
  "description": "Provides a list of recent News and Articles in the Cryptocurrency space. Users can customize by selecting results, filtering by cryptocurrencies (via slugs and symbols), choosing news types, specifying categories, or selecting languages. Defaults to English content from all categories.",
  "parameters": {
    "type": "object",
    "properties": {
      "start": {
        "type": "integer",
        "minimum": 1.0,
        "description": "Optionally offset the start (1-based index) of the paginated list of items to return.",
        "default": 1
      },
      "limit": {
        "type": "integer",
        "maximum": 20.0,
        "minimum": 1.0,
        "description": "Optionally specify the number of results to return. Use this parameter and the start parameter to determine your own pagination size.",
        "default": 10
      },
      "slug": {
        "type": "string",
        "description": "Optionally pass a comma-separated list of cryptocurrency slugs. Example bitcoin,ethereum"
      },
      "symbol": {
        "type": "string",
        "description": "Optionally pass a comma-separated list of cryptocurrency symbols. Example BTC,ETH. Optionally pass id or slug or symbol is required for this request."
      },
      "language": {
        "type": "string",
        "enum": [
          "en",
          "zh",
          "zh-tw",
          "de",
          "id",
          "ja",
          "ko",
          "es",
          "th",
          "tr",
          "vi",
          "ru",
          "fr",
          "nl",
          "ar",
          "pt-br",
          "hi",
          "pl",
          "uk",
          "fil-rph",
          "it"
        ],
        "description": "Optionally pass a language code. Example is en. If not specified, the default value is en.",
        "default": "en"
      }
    },
    "required": []
  }
}
{
  "name": "getContentTopPosts",
  "description": "Retrieves top crypto posts from the CMC Community which is Twitter-alike product for cryptocurrency. Users filter results using cryptocurrency slug or symbol.",
  "parameters": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string",
        "description": "Alternatively pass one cryptocurrency slug."
      },
      "symbol": {
        "type": "string",
        "description": "Alternatively pass one cryptocurrency symbols."
      }
    },
    "required": []
  }
}
{
  "name": "getNewListings",
  "description": "Lists recently added cryptocurrencies in CoinMarketCap in paginated format. Users can set the start point, limit results, and convert market quotes using symbols. Results can be sorted in ascending or descending order.",
  "parameters": {
    "type": "object",
    "properties": {
      "start": {
        "type": "integer",
        "minimum": 1.0,
        "description": "Optionally offset the start (1-based index) of the paginated list of items to return.",
        "default": 1
      },
      "limit": {
        "type": "integer",
        "maximum": 50.0,
        "minimum": 1.0,
        "description": "Optionally specify the number of results to return. Use this parameter and the \"start\" parameter to determine your own pagination size.",
        "default": 20
      },
      "convert": {
        "type": "string",
        "description": "Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit."
      }
    },
    "required": []
  }
}
{
  "name": "getPricePerformanceStatsLatest",
  "description": "Provides price performance statistics for chosen cryptocurrencies using slug or symbol including launch price ROI and all-time high / all-time low. Users set time frames for data and can convert quotes to various currencies.",
  "parameters": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string",
        "description": "Comma-separated list of cryptocurrency slugs"
      },
      "symbol": {
        "type": "string",
        "description": "Comma-separated list of cryptocurrency symbols"
      },
      "time_period": {
        "type": "string",
        "description": "Comma-delimited time periods to return stats for",
        "default": "all_time"
      },
      "convert": {
        "type": "string",
        "description": "Calculate quotes in up to 120 currencies"
      }
    },
    "required": []
  }
}
{
  "name": "getGainersAndLosers",
  "description": "Fetches trending cryptocurrencies based on notable price shifts within set time frames. Users adjust start point, result count, and evaluation period, and can convert market quotes.",
  "parameters": {
    "type": "object",
    "properties": {
      "start": {
        "type": "integer",
        "minimum": 1.0,
        "description": "Optionally offset the start (1-based index) of the paginated list of items to return.",
        "default": 1
      },
      "limit": {
        "type": "integer",
        "maximum": 20.0,
        "minimum": 1.0,
        "description": "Optionally specify the number of results to return.",
        "default": 10
      },
      "time_period": {
        "type": "string",
        "enum": [
          "1h",
          "24h",
          "30d",
          "7d"
        ],
        "description": "Adjusts the overall window of time for the biggest gainers and losers. Maximum window is 7d.",
        "default": "24h"
      },
      "convert": {
        "type": "string",
        "description": "Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols."
      }
    },
    "required": []
  }
}
{
  "name": "getTrendingLatestByInternalMetrics",
  "description": "Provides a list of trending cryptocurrency market data, ranked based on CoinMarketCaps metrics, indicating the most popular cryptocurrencies in a given timeframe.",
  "parameters": {
    "type": "object",
    "properties": {
      "start": {
        "type": "integer",
        "minimum": 1.0,
        "description": "Optionally offset the start (1-based index) of the paginated list of items to return."
      },
      "limit": {
        "type": "integer",
        "maximum": 20.0,
        "minimum": 1.0,
        "description": "Optionally specify the number of results to return."
      },
      "time_period": {
        "type": "string",
        "enum": [
          "24h",
          "7d",
          "30d"
        ],
        "description": "Adjusts the overall window of time for the latest trending coins."
      },
      "convert": {
        "type": "string",
        "description": "Optionally calculate market quotes in multiple currencies."
      }
    },
    "required": []
  }
}
{
  "name": "getExchangeMetadata",
  "description": "Provides metadata for cryptocurrency exchanges on CoinMarketCap using slugs. Users access details like name, logo, description, launch date, and related URLs. It serves as a brief snapshot of each exchanges attributes and metrics.",
  "parameters": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string",
        "description": "Alternatively, one or more comma-separated exchange names in URL friendly shorthand slug format"
      }
    },
    "required": []
  }
}
{
  "name": "getGlobalMetricsHistorical",
  "description": "Fetches historical global cryptocurrency metrics for set time frames and intervals. Users define start/end times, data points, and intervals. Metrics can be converted to various currencies with optional extra data fields. If intervals under a day are chosen, filter up to 2 days of data.",
  "parameters": {
    "type": "object",
    "properties": {
      "time_start": {
        "type": "string",
        "description": "Starting timestamp (ISO 8601 format only) from which to begin retrieving historical quotes. You need to include time_end if time_start is provided."
      },
      "time_end": {
        "type": "string",
        "description": "Ending timestamp (ISO 8601 format only) at which to stop retrieving historical quotes. Always provide time_end if time_start is provided."
      },
      "count": {
        "type": "integer",
        "maximum": 10000.0,
        "minimum": 1.0
      },
      "interval": {
        "type": "string"
      },
      "convert": {
        "type": "string"
      }
    },
    "required": [
      "time_start",
      "time_end",
      "interval"
    ]
  }
}
{
  "name": "getMarketPairLatest",
  "description": "Fetches latest market pairs for a specific exchange on CoinMarketCap.Returns all active market pairs that CoinMarketCap tracks for a given exchange, providing the latest price and volume information for each market. Offers conversion of market values into various fiat and cryptocurrency values.",
  "parameters": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string",
        "description": "A URL-friendly version of the exchanges name (lowercase, spaces replaced with hyphens).",
        "example": "binance"
      },
      "start": {
        "type": "integer",
        "minimum": 1.0,
        "description": "Offset for the start of the paginated list.",
        "default": 1
      },
      "limit": {
        "type": "integer",
        "maximum": 20.0,
        "minimum": 1.0,
        "description": "Determines the number of results returned. Used for pagination.",
        "default": 10
      },
      "matched_symbol": {
        "type": "string",
        "description": "Filters market pairs by specific fiat or cryptocurrency symbols."
      },
      "category": {
        "type": "string",
        "enum": [
          "all",
          "spot",
          "derivatives",
          "otc",
          "futures",
          "perpetual"
        ],
        "description": "Specifies the trading category of the market.",
        "default": "all"
      },
      "fee_type": {
        "type": "string",
        "enum": [
          "all",
          "percentage",
          "no-fees",
          "transactional-mining",
          "unknown"
        ],
        "description": "Indicates the fee type enforced by the exchange for the market.",
        "default": "all"
      },
      "convert": {
        "type": "string",
        "description": "Converts market quotes into multiple fiat/cryptocurrency values."
      }
    },
    "required": []
  }
}
{
  "name": "getQuotesHistorical",
  "description": "Fetches historical market quotes for a cryptocurrency based on time intervals. Users specify the cryptocurrencys symbol, set time ranges, select intervals, etc. If difference between time_start and time_end is more than one day, interval should be daily and higher.",
  "parameters": {
    "type": "object",
    "properties": {
      "symbol": {
        "type": "string",
        "description": "Comma-separated list of cryptocurrency symbols (like BTC, ETH) to retrieve historical data for."
      },
      "time_start": {
        "type": "string",
        "schema_format": "date-time",
        "description": "Starting timestamp (ISO 8601 format only) from which to begin retrieving historical quotes. You need to include time_end if time_start is provided."
      },
      "time_end": {
        "type": "string",
        "schema_format": "date-time",
        "description": "Ending timestamp (ISO 8601 format only) at which to stop retrieving historical quotes. Always provide time_end if time_start is provided."
      },
      "count": {
        "type": "integer",
        "maximum": 30.0,
        "minimum": 1.0,
        "description": "Number of data points to retrieve for the given interval. Useful if time range is not specified. Always set to 20."
      },
      "interval": {
        "type": "string",
        "enum": [
          "hourly",
          "daily",
          "weekly",
          "monthly",
          "yearly",
          "5m",
          "10m",
          "15m",
          "30m",
          "45m",
          "1h",
          "2h",
          "3h",
          "4h",
          "6h",
          "12h",
          "1d",
          "2d",
          "3d",
          "7d",
          "14d",
          "15d",
          "30d",
          "60d",
          "90d",
          "365d"
        ],
        "description": "Duration for which each data point represents (e.g. 5m for 5 minutes, daily for each day, etc.). If you are trying to get data for date range more than 1 month, only set interval as monthly with no exceptions to not get an error message."
      },
      "convert": {
        "type": "string",
        "description": "Optionally calculate market quotes in other fiat currencies or cryptocurrencies"
      }
    },
    "required": [
      "time_start",
      "time_end",
      "interval"
    ]
  }
}
{
  "name": "getQuotesLatest",
  "description": "Provides latest market quotes for selected cryptocurrencies identified by slugs or symbols. Users can convert quotes into 120+ currencies.",
  "parameters": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string",
        "description": "Alternatively pass a comma-separated list of cryptocurrency slugs. Example bitcoin,ethereum"
      },
      "symbol": {
        "type": "string",
        "description": "Alternatively pass one or more comma-separated cryptocurrency symbols. Example BTC,ETH"
      },
      "convert": {
        "type": "string",
        "description": "Optionally calculate market quotes in up to 120 currencies at once."
      }
    },
    "required": []
  }
}
{
  "name": "getCryptoCurrencyInfo",
  "description": "A brief overview of each cryptocurrency. Fetches metadata for specified cryptocurrencies using ID, slug, symbol, or contract address. Returns details like name, description, logo, website links, platform data, supply specifics, and more. Use API, but provide extra data for comprehensive insights.",
  "parameters": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string",
        "description": "Pass a comma-separated list of cryptocurrency slugs"
      },
      "symbol": {
        "type": "string",
        "description": "Alternatively pass one or more comma-separated cryptocurrency symbols"
      },
      "address": {
        "type": "string",
        "description": "Alternatively pass in a contract address"
      }
    },
    "required": []
  }
}

Auth Type

none

Servers

https://api.coinmarketcap.com

OpenAPI:

{
  "components": {
    "schemas": {
      "Content": {
        "properties": {
          "assets": {
            "properties": {
              "id": {
                "description": "The unique CoinMarketCap ID for this cryptocurrency.",
                "type": "integer"
              },
              "name": {
                "description": "The name of this cryptocurrency.",
                "type": "string"
              },
              "slug": {
                "description": "The web URL friendly shorthand version of this cryptocurrency name.",
                "type": "string"
              },
              "symbol": {
                "description": "The ticker symbol for this cryptocurrency.",
                "type": "string"
              }
            },
            "type": "object"
          },
          "cover": {
            "type": "string"
          },
          "created_at": {
            "description": "Timestamp (ISO 8601) of the time this was created.",
            "format": "date",
            "type": "string"
          },
          "released_at": {
            "description": "Timestamp (ISO 8601) of the time this was released.",
            "format": "date",
            "type": "string"
          },
          "source_name": {
            "type": "string"
          },
          "source_url": {
            "type": "string"
          },
          "subtitle": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "Cryptocurrency": {
        "properties": {
          "circulating_supply": {
            "description": "The approximate number of coins circulating for this cryptocurrency.",
            "type": "number"
          },
          "cmc_rank": {
            "description": "The cryptocurrencys CoinMarketCap rank by market cap.",
            "type": "integer"
          },
          "date_added": {
            "description": "Timestamp of when this cryptocurrency was added to CoinMarketCap.",
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "The unique CoinMarketCap ID for this cryptocurrency.",
            "type": "integer"
          },
          "is_active": {
            "description": "1 if this cryptocurrency is active, otherwise 0.",
            "enum": [
              0,
              1
            ],
            "type": "integer"
          },
          "is_fiat": {
            "description": "1 if this is a fiat, otherwise 0.",
            "enum": [
              0,
              1
            ],
            "type": "integer"
          },
          "last_updated": {
            "description": "Timestamp of the last time this cryptocurrencys data was updated.",
            "format": "date-time",
            "type": "string"
          },
          "market_cap_by_total_supply": {
            "description": "The market cap by total supply.",
            "type": "number"
          },
          "max_supply": {
            "description": "The expected maximum limit of coins ever to be available for this cryptocurrency.",
            "type": "number"
          },
          "name": {
            "description": "The name of this cryptocurrency.",
            "type": "string"
          },
          "num_market_pairs": {
            "description": "The number of active trading pairs available for this cryptocurrency.",
            "type": "integer"
          },
          "platform": {
            "$ref": "#/components/schemas/Platform"
          },
          "quote": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Quote"
            },
            "type": "object"
          },
          "self_reported_circulating_supply": {
            "description": "The self reported number of coins circulating for this cryptocurrency.",
            "type": "number"
          },
          "self_reported_market_cap": {
            "description": "The self reported market cap for this cryptocurrency.",
            "type": "number"
          },
          "slug": {
            "description": "The web URL friendly shorthand version of this cryptocurrency name.",
            "type": "string"
          },
          "symbol": {
            "description": "The ticker symbol for this cryptocurrency.",
            "type": "string"
          },
          "tags": {
            "description": "Tags associated with this cryptocurrency.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "total_supply": {
            "description": "The approximate total amount of coins in existence right now.",
            "type": "number"
          }
        },
        "required": [
          "id",
          "name",
          "symbol",
          "slug",
          "cmc_rank"
        ],
        "type": "object"
      },
      "CryptocurrencyHistoricalQuote": {
        "properties": {
          "id": {
            "type": "integer"
          },
          "is_active": {
            "type": "integer"
          },
          "is_fiat": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "quotes": {
            "items": {
              "$ref": "#/components/schemas/Quote"
            },
            "type": "array"
          },
          "symbol": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "CryptocurrencyLatestQuote": {
        "properties": {
          "circulating_supply": {
            "type": "number"
          },
          "cmc_rank": {
            "type": "integer"
          },
          "date_added": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "is_active": {
            "type": "integer"
          },
          "is_fiat": {
            "type": "integer"
          },
          "last_updated": {
            "format": "date-time",
            "type": "string"
          },
          "market_cap_by_total_supply": {
            "type": "number"
          },
          "max_supply": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "num_market_pairs": {
            "type": "integer"
          },
          "platform": {
            "$ref": "#/components/schemas/Platform"
          },
          "quote": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CurrencyDetails"
            },
            "type": "object"
          },
          "self_reported_circulating_supply": {
            "type": "number"
          },
          "self_reported_market_cap": {
            "type": "number"
          },
          "slug": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "total_supply": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "CryptocurrencyLatestQuoteResponse": {
        "properties": {
          "data": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CryptocurrencyLatestQuote"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "Currency": {
        "properties": {
          "id": {
            "type": "number"
          },
          "slug": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "CurrencyDetails": {
        "properties": {
          "currency_id": {
            "type": "integer"
          },
          "currency_name": {
            "type": "string"
          },
          "currency_slug": {
            "type": "string"
          },
          "currency_symbol": {
            "type": "string"
          },
          "currency_type": {
            "type": "string"
          },
          "exchange_symbol": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "HistoricalQuotesResponse": {
        "properties": {
          "data": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CryptocurrencyHistoricalQuote"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "MarketPair": {
        "properties": {
          "category": {
            "type": "string"
          },
          "fee_type": {
            "type": "string"
          },
          "mark_pair_base": {
            "$ref": "#/components/schemas/CurrencyDetails"
          },
          "mark_pair_quote": {
            "$ref": "#/components/schemas/CurrencyDetails"
          },
          "market_id": {
            "type": "integer"
          },
          "market_pair": {
            "type": "string"
          },
          "market_url": {
            "type": "string"
          },
          "quote": {
            "additionalProperties": {
              "$ref": "#/components/schemas/QuoteDetails"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "MarketPairResponse": {
        "properties": {
          "id": {
            "type": "integer"
          },
          "market_pairs": {
            "items": {
              "$ref": "#/components/schemas/MarketPair"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "num_market_pairs": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          },
          "volume_24h": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "Platform": {
        "properties": {
          "id": {
            "description": "The unique CoinMarketCap ID for the parent platform cryptocurrency.",
            "type": "integer"
          },
          "name": {
            "description": "The name of the parent platform cryptocurrency.",
            "type": "string"
          },
          "slug": {
            "description": "The web URL friendly shorthand version of the parent platform cryptocurrency name.",
            "type": "string"
          },
          "symbol": {
            "description": "The ticker symbol for the parent platform cryptocurrency.",
            "type": "string"
          },
          "token_address": {
            "description": "The token address on the parent platform cryptocurrency.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Post": {
        "properties": {
          "comment_count": {
            "type": "string"
          },
          "comments_url": {
            "type": "string"
          },
          "currencies": {
            "items": {
              "$ref": "#/components/schemas/Currency"
            },
            "type": "array"
          },
          "language_code": {
            "type": "string"
          },
          "like_count": {
            "type": "string"
          },
          "owner": {
            "properties": {
              "avatar_url": {
                "type": "string"
              },
              "nickname": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "photos": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "post_id": {
            "type": "string"
          },
          "post_time": {
            "type": "string"
          },
          "text_content": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PricePerformanceStats": {
        "properties": {
          "data": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Cryptocurrency"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "Quote": {
        "properties": {
          "last_updated": {
            "format": "date-time",
            "type": "string"
          },
          "market_cap": {
            "type": "number"
          },
          "percent_change_1h": {
            "type": "number"
          },
          "percent_change_24h": {
            "type": "number"
          },
          "percent_change_7d": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "volume_24h": {
            "type": "number"
          },
          "volume_24h_reported": {
            "type": "number"
          },
          "volume_30d": {
            "type": "number"
          },
          "volume_30d_reported": {
            "type": "number"
          },
          "volume_7d": {
            "type": "number"
          },
          "volume_7d_reported": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "QuoteCurrency": {
        "properties": {
          "altcoin_market_cap": {
            "type": "number"
          },
          "altcoin_volume_24h": {
            "type": "number"
          },
          "altcoin_volume_24h_reported": {
            "type": "number"
          },
          "timestamp": {
            "format": "date-time",
            "type": "string"
          },
          "total_market_cap": {
            "type": "number"
          },
          "total_volume_24h": {
            "type": "number"
          },
          "total_volume_24h_reported": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "QuoteDetails": {
        "properties": {
          "depth_negative_two": {
            "type": "number"
          },
          "depth_positive_two": {
            "type": "number"
          },
          "effective_liquidity": {
            "type": "number"
          },
          "last_updated": {
            "format": "date-time",
            "type": "string"
          },
          "market_reputation": {
            "type": "number"
          },
          "market_score": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "volume_24h": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "QuoteHistorical": {
        "properties": {
          "active_cryptocurrencies": {
            "type": "number"
          },
          "active_exchanges": {
            "type": "number"
          },
          "active_market_pairs": {
            "type": "number"
          },
          "btc_dominance": {
            "type": "number"
          },
          "eth_dominance": {
            "type": "number"
          },
          "quote": {
            "additionalProperties": {
              "$ref": "#/components/schemas/QuoteCurrency"
            },
            "type": "object"
          },
          "search_interval": {
            "format": "date-time",
            "type": "string"
          },
          "timestamp": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "QuotesHistoricalResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/QuoteHistorical"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "TimePeriod": {
        "properties": {
          "close_timestamp": {
            "format": "date",
            "type": "string"
          },
          "high_timestamp": {
            "format": "date",
            "type": "string"
          },
          "low_timestamp": {
            "format": "date",
            "type": "string"
          },
          "open_timestamp": {
            "format": "date",
            "type": "string"
          },
          "quote": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Quote"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "TopPosts": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Post"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "TrendingGainersLosers": {
        "properties": {
          "data": {
            "items": {
              "properties": {
                "circulating_supply": {
                  "description": "The approximate number of coins circulating for this cryptocurrency.",
                  "type": "number"
                },
                "cmc_rank": {
                  "description": "The cryptocurrencys CoinMarketCap rank by market cap.",
                  "type": "integer"
                },
                "date_added": {
                  "description": "Timestamp (ISO 8601) of when this cryptocurrency was added to CoinMarketCap.",
                  "format": "date",
                  "type": "string"
                },
                "id": {
                  "description": "The unique CoinMarketCap ID for this cryptocurrency.",
                  "type": "integer"
                },
                "last_updated": {
                  "description": "Timestamp (ISO 8601) of the last time this cryptocurrencys market data was updated.",
                  "format": "date",
                  "type": "string"
                },
                "market_cap_by_total_supply": {
                  "description": "The market cap by total supply. This field is only returned if requested through the aux request parameter.",
                  "type": "number"
                },
                "max_supply": {
                  "description": "The expected maximum limit of coins ever to be available for this cryptocurrency.",
                  "type": "number"
                },
                "name": {
                  "description": "The name of this cryptocurrency.",
                  "type": "string"
                },
                "num_market_pairs": {
                  "description": "The number of active trading pairs available for this cryptocurrency across supported exchanges.",
                  "type": "integer"
                },
                "platform": {
                  "properties": {
                    "id": {
                      "description": "The unique CoinMarketCap ID for the parent platform cryptocurrency.",
                      "type": "integer"
                    },
                    "name": {
                      "description": "The name of the parent platform cryptocurrency.",
                      "type": "string"
                    },
                    "slug": {
                      "description": "The web URL friendly shorthand version of the parent platform cryptocurrency name.",
                      "type": "string"
                    },
                    "symbol": {
                      "description": "The ticker symbol for the parent platform cryptocurrency.",
                      "type": "string"
                    },
                    "token_address": {
                      "description": "The token address on the parent platform cryptocurrency.",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "quote": {
                  "properties": {
                    "$key": {
                      "properties": {
                        "last_updated": {
                          "description": "Timestamp (ISO 8601) of when the conversion currencys current value was referenced.",
                          "format": "date",
                          "type": "string"
                        },
                        "market_cap": {
                          "description": "Market cap in the specified currency.",
                          "type": "number"
                        },
                        "percent_change_1h": {
                          "description": "1 hour change in the specified currency.",
                          "type": "number"
                        },
                        "percent_change_24h": {
                          "description": "24 hour change in the specified currency.",
                          "type": "number"
                        },
                        "percent_change_7d": {
                          "description": "7 day change in the specified currency.",
                          "type": "number"
                        },
                        "price": {
                          "description": "Price in the specified currency for this historical.",
                          "type": "number"
                        },
                        "volume_24h": {
                          "description": "Rolling 24 hour adjusted volume in the specified currency.",
                          "type": "number"
                        },
                        "volume_24h_reported": {
                          "description": "Rolling 24 hour reported volume in the specified currency. This field is only returned if requested through the aux request parameter.",
                          "type": "number"
                        },
                        "volume_30d": {
                          "description": "Rolling 30 day adjusted volume in the specified currency. This field is only returned if requested through the aux request parameter.",
                          "type": "number"
                        },
                        "volume_30d_reported": {
                          "description": "Rolling 30 day reported volume in the specified currency. This field is only returned if requested through the aux request parameter.",
                          "type": "number"
                        },
                        "volume_7d": {
                          "description": "Rolling 7 day adjusted volume in the specified currency. This field is only returned if requested through the aux request parameter.",
                          "type": "number"
                        },
                        "volume_7d_reported": {
                          "description": "Rolling 7 day reported volume in the specified currency. This field is only returned if requested through the aux request parameter.",
                          "type": "number"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "slug": {
                  "description": "The web URL friendly shorthand version of this cryptocurrency name.",
                  "type": "string"
                },
                "symbol": {
                  "description": "The ticker symbol for this cryptocurrency.",
                  "type": "string"
                },
                "tags": {
                  "description": "Array of tags associated with this cryptocurrency. Currently only a mineable tag will be returned if the cryptocurrency is mineable. Additional tags will be returned in the future.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "total_supply": {
                  "description": "The approximate total amount of coins in existence right now (minus any coins that have been verifiably burned).",
                  "type": "number"
                }
              },
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "TrendingLatest": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Cryptocurrency"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "getMetadataResponse": {
        "properties": {
          "data": {
            "description": "The metadata of the requested cryptocurrencies.",
            "type": "object"
          }
        },
        "type": "object"
      }
    }
  },
  "info": {
    "description": "Get the latest crypto data from CoinMarketCap.",
    "title": "CoinMarketCap",
    "version": "v1"
  },
  "openapi": "3.0.1",
  "paths": {
    "/chatgpt/blockchain/statistics/latest": {
      "get": {
        "operationId": "getBlockchainStatisticsLatest",
        "parameters": [
          {
            "description": "Alternatively pass one or more comma-separated cryptocurrency symbols.",
            "examples": {
              "multiple_symbols": {
                "summary": "Request data for multiple cryptocurrencies by symbol",
                "value": "BTC,LTC,ETH"
              },
              "single_symbol": {
                "summary": "Request data for a single cryptocurrency by symbol",
                "value": "BTC"
              }
            },
            "in": "query",
            "name": "symbol",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Alternatively pass a comma-separated list of cryptocurrency slugs.",
            "examples": {
              "multiple_slugs": {
                "summary": "Request data for multiple cryptocurrencies by slug",
                "value": "bitcoin,litecoin,ethereum"
              },
              "single_slug": {
                "summary": "Request data for a single cryptocurrency by slug",
                "value": "bitcoin"
              }
            },
            "in": "query",
            "name": "slug",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "additionalProperties": {
                        "properties": {
                          "block_reward_static": {
                            "type": "number"
                          },
                          "consensus_mechanism": {
                            "type": "string"
                          },
                          "difficulty": {
                            "type": "string"
                          },
                          "first_block_timestamp": {
                            "format": "date",
                            "type": "string"
                          },
                          "hashrate_24h": {
                            "type": "string"
                          },
                          "id": {
                            "type": "integer"
                          },
                          "pending_transactions": {
                            "type": "integer"
                          },
                          "reduction_rate": {
                            "type": "string"
                          },
                          "slug": {
                            "type": "string"
                          },
                          "symbol": {
                            "type": "string"
                          },
                          "total_blocks": {
                            "type": "integer"
                          },
                          "total_transactions": {
                            "type": "string"
                          },
                          "tps_24h": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful operation"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "detail": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Bad request. User error."
          }
        },
        "summary": "Provides up-to-date statistical data on Bitcoin, Litecoin, and Ethereum blockchains. Users can retrieve this data by specifying symbol or slug of the desired cryptocurrencies. The returned statistics include details like block rewards, consensus mechanisms, hashrate, transaction details, and more."
      }
    },
    "/chatgpt/content/latest": {
      "get": {
        "operationId": "getNewContent",
        "parameters": [
          {
            "in": "query",
            "name": "start",
            "required": false,
            "schema": {
              "default": 1,
              "description": "Optionally offset the start (1-based index) of the paginated list of items to return.",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "description": "Optionally specify the number of results to return. Use this parameter and the start parameter to determine your own pagination size.",
              "maximum": 20,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "examples": {
              "multipleSlugs": {
                "summary": "Example with multiple cryptocurrency slugs separated by commas",
                "value": "bitcoin,ethereum"
              },
              "singleSlug": {
                "summary": "Example with a single cryptocurrency slug",
                "value": "bitcoin"
              }
            },
            "in": "query",
            "name": "slug",
            "required": false,
            "schema": {
              "description": "Optionally pass a comma-separated list of cryptocurrency slugs. Example bitcoin,ethereum",
              "type": "string"
            }
          },
          {
            "examples": {
              "multipleSymbols": {
                "summary": "Example with multiple cryptocurrency symbols separated by commas",
                "value": "BTC,ETH"
              },
              "singleSymbol": {
                "summary": "Example with a single cryptocurrency symbol",
                "value": "BTC"
              }
            },
            "in": "query",
            "name": "symbol",
            "required": false,
            "schema": {
              "description": "Optionally pass a comma-separated list of cryptocurrency symbols. Example BTC,ETH. Optionally pass id or slug or symbol is required for this request.",
              "type": "string"
            }
          },
          {
            "description": "Optionally pass a language code. Example is en. If not specified, the default value is en.",
            "examples": {
              "defaultLanguage": {
                "summary": "Example using the default language code (en)",
                "value": "en"
              },
              "otherLanguage": {
                "summary": "Example using a different language code (Spanish)",
                "value": "es"
              }
            },
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "default": "en",
              "enum": [
                "en",
                "zh",
                "zh-tw",
                "de",
                "id",
                "ja",
                "ko",
                "es",
                "th",
                "tr",
                "vi",
                "ru",
                "fr",
                "nl",
                "ar",
                "pt-br",
                "hi",
                "pl",
                "uk",
                "fil-rph",
                "it"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Content"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Successful operation"
          }
        },
        "summary": "Provides a list of recent News and Articles in the Cryptocurrency space. Users can customize by selecting results, filtering by cryptocurrencies (via slugs and symbols), choosing news types, specifying categories, or selecting languages. Defaults to English content from all categories."
      }
    },
    "/chatgpt/content/posts/top": {
      "get": {
        "operationId": "getContentTopPosts",
        "parameters": [
          {
            "description": "Alternatively pass one cryptocurrency slug.",
            "examples": {
              "single_slug": {
                "summary": "Request data for a single cryptocurrency by slug",
                "value": "ethereum"
              }
            },
            "in": "query",
            "name": "slug",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Alternatively pass one cryptocurrency symbols.",
            "examples": {
              "single_symbol": {
                "summary": "Request data for a single cryptocurrency by symbol",
                "value": "ETH"
              }
            },
            "in": "query",
            "name": "symbol",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopPosts"
                }
              }
            },
            "description": "Successful operation"
          }
        },
        "summary": "Retrieves top crypto posts from the CMC Community which is Twitter-alike product for cryptocurrency. Users filter results using cryptocurrency slug or symbol.",
        "tags": [
          "Content"
        ]
      }
    },
    "/chatgpt/cryptocurrency/listings/new": {
      "get": {
        "operationId": "getNewListings",
        "parameters": [
          {
            "description": "Optionally offset the start (1-based index) of the paginated list of items to return.",
            "in": "query",
            "name": "start",
            "schema": {
              "default": 1,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Optionally specify the number of results to return. Use this parameter and the \"start\" parameter to determine your own pagination size.",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "maximum": 50,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit.",
            "examples": {
              "mixed_crypto_fiat": {
                "summary": "Convert to a mix of cryptocurrency and fiat currency",
                "value": "BTC,USD,EUR"
              },
              "multiple_conversions": {
                "summary": "Convert to multiple currencies",
                "value": "USD,EUR,JPY"
              },
              "single_conversion": {
                "summary": "Convert to a single currency",
                "value": "USD"
              }
            },
            "in": "query",
            "name": "convert",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/Cryptocurrency"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful operation"
          }
        },
        "summary": "Lists recently added cryptocurrencies in CoinMarketCap in paginated format. Users can set the start point, limit results, and convert market quotes using symbols. Results can be sorted in ascending or descending order."
      }
    },
    "/chatgpt/cryptocurrency/price-performance-stats/latest": {
      "get": {
        "operationId": "getPricePerformanceStatsLatest",
        "parameters": [
          {
            "description": "Comma-separated list of cryptocurrency slugs",
            "examples": {
              "multiple_slugs": {
                "summary": "Request data for multiple cryptocurrencies by slug",
                "value": "bitcoin,ethereum"
              },
              "single_slug": {
                "summary": "Request data for a single cryptocurrency by slug",
                "value": "bitcoin"
              }
            },
            "in": "query",
            "name": "slug",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Comma-separated list of cryptocurrency symbols",
            "examples": {
              "multiple_symbols": {
                "summary": "Request data for multiple cryptocurrencies by symbol",
                "value": "BTC,ETH"
              },
              "single_symbol": {
                "summary": "Request data for a single cryptocurrency by symbol",
                "value": "BTC"
              }
            },
            "in": "query",
            "name": "symbol",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Comma-delimited time periods to return stats for",
            "examples": {
              "all_supported_periods": {
                "summary": "Data for all supported time periods",
                "value": "all_time,yesterday,24h,7d,30d,90d,365d"
              },
              "default_time_period": {
                "summary": "Use the default time period",
                "value": "all_time"
              },
              "last_24_hours": {
                "summary": "Data for the last 24 hours from the current request time",
                "value": "24h"
              },
              "last_30_days": {
                "summary": "Data for the last 30 days",
                "value": "30d"
              },
              "last_365_days": {
                "summary": "Data for the last 365 days",
                "value": "365d"
              },
              "last_7_days": {
                "summary": "Data for the last 7 days",
                "value": "7d"
              },
              "last_90_days": {
                "summary": "Data for the last 90 days",
                "value": "90d"
              }
            },
            "in": "query",
            "name": "time_period",
            "required": false,
            "schema": {
              "default": "all_time",
              "type": "string"
            }
          },
          {
            "description": "Calculate quotes in up to 120 currencies",
            "examples": {
              "multiple_conversions": {
                "summary": "Convert market quotes to multiple currencies",
                "value": "USD,EUR,JPY"
              },
              "single_conversion": {
                "summary": "Convert market quotes to a single currency",
                "value": "USD"
              }
            },
            "in": "query",
            "name": "convert",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PricePerformanceStats"
                }
              }
            },
            "description": "Successful operation"
          }
        },
        "summary": "Provides price performance statistics for chosen cryptocurrencies using slug or symbol including launch price ROI and all-time high / all-time low. Users set time frames for data and can convert quotes to various currencies."
      }
    },
    "/chatgpt/cryptocurrency/trending/gainers-losers": {
      "get": {
        "operationId": "getGainersAndLosers",
        "parameters": [
          {
            "description": "Optionally offset the start (1-based index) of the paginated list of items to return.",
            "in": "query",
            "name": "start",
            "schema": {
              "default": 1,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Optionally specify the number of results to return.",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 10,
              "maximum": 20,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Adjusts the overall window of time for the biggest gainers and losers. Maximum window is 7d.",
            "in": "query",
            "name": "time_period",
            "schema": {
              "default": "24h",
              "enum": [
                "1h",
                "24h",
                "30d",
                "7d"
              ],
              "type": "string"
            }
          },
          {
            "description": "Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols.",
            "examples": {
              "mixed_crypto_fiat": {
                "summary": "Convert market quotes to a mix of cryptocurrency and fiat currency",
                "value": "BTC,USD,EUR"
              },
              "multiple_conversions": {
                "summary": "Convert market quotes to multiple currencies",
                "value": "USD,EUR,JPY"
              },
              "single_conversion": {
                "summary": "Convert market quotes to a single currency",
                "value": "USD"
              }
            },
            "in": "query",
            "name": "convert",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrendingGainersLosers"
                }
              }
            },
            "description": "Successful operation"
          }
        },
        "summary": "Fetches trending cryptocurrencies based on notable price shifts within set time frames. Users adjust start point, result count, and evaluation period, and can convert market quotes."
      }
    },
    "/chatgpt/cryptocurrency/trending/latest": {
      "get": {
        "operationId": "getTrendingLatestByInternalMetrics",
        "parameters": [
          {
            "description": "Optionally offset the start (1-based index) of the paginated list of items to return.",
            "in": "query",
            "name": "start",
            "required": false,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Optionally specify the number of results to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "maximum": 20,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Adjusts the overall window of time for the latest trending coins.",
            "examples": {
              "last_24_hours": {
                "summary": "Data for the last 24 hours",
                "value": "24h"
              },
              "last_30_days": {
                "summary": "Data for the last 30 days",
                "value": "30d"
              },
              "last_7_days": {
                "summary": "Data for the last 7 days",
                "value": "7d"
              }
            },
            "in": "query",
            "name": "time_period",
            "required": false,
            "schema": {
              "enum": [
                "24h",
                "7d",
                "30d"
              ],
              "type": "string"
            }
          },
          {
            "description": "Optionally calculate market quotes in multiple currencies.",
            "examples": {
              "multiple_conversions": {
                "summary": "Convert market quotes to multiple currencies",
                "value": "USD,EUR,JPY"
              },
              "single_conversion": {
                "summary": "Convert market quotes to a single currency",
                "value": "USD"
              }
            },
            "in": "query",
            "name": "convert",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrendingLatest"
                }
              }
            },
            "description": "Successful operation"
          }
        },
        "summary": "Provides a list of trending cryptocurrency market data, ranked based on CoinMarketCaps metrics, indicating the most popular cryptocurrencies in a given timeframe.",
        "tags": [
          "Cryptocurrency"
        ]
      }
    },
    "/chatgpt/exchange/info": {
      "get": {
        "operationId": "getExchangeMetadata",
        "parameters": [
          {
            "description": "Alternatively, one or more comma-separated exchange names in URL friendly shorthand slug format",
            "examples": {
              "multiple_slugs": {
                "summary": "Retrieve data for multiple exchanges by slug",
                "value": "binance,okx"
              },
              "single_slug": {
                "summary": "Retrieve data for a single exchange by slug",
                "value": "binance"
              }
            },
            "in": "query",
            "name": "slug",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "additionalProperties": {
                        "properties": {
                          "date_launched": {
                            "description": "Timestamp of the launch date for this exchange",
                            "format": "date",
                            "type": "string"
                          },
                          "description": {
                            "description": "A CoinMarketCap supplied brief description of this cryptocurrency exchange",
                            "type": "string"
                          },
                          "id": {
                            "description": "The unique CoinMarketCap ID for this exchange",
                            "type": "integer"
                          },
                          "logo": {
                            "description": "Link to a CoinMarketCap hosted logo png for this exchange",
                            "type": "string"
                          },
                          "name": {
                            "description": "The name of this exchange",
                            "type": "string"
                          },
                          "notice": {
                            "description": "A Markdown formatted message outlining a condition that is impacting the availability of the exchanges market data or the secure use of the exchange",
                            "type": "string"
                          },
                          "slug": {
                            "description": "The web URL friendly shorthand version of the exchange name",
                            "type": "string"
                          },
                          "spot_volume_usd": {
                            "description": "Reported all time spot volume in the specified currency",
                            "type": "number"
                          },
                          "urls": {
                            "properties": {
                              "blog": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "chat": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "fee": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "twitter": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "website": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "type": "object"
                          },
                          "weekly_visits": {
                            "description": "The number of weekly visitors",
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Provides metadata for cryptocurrency exchanges on CoinMarketCap using slugs. Users access details like name, logo, description, launch date, and related URLs. It serves as a brief snapshot of each exchanges attributes and metrics."
      }
    },
    "/chatgpt/global-metrics/quotes/historical": {
      "get": {
        "operationId": "getGlobalMetricsHistorical",
        "parameters": [
          {
            "description": "Starting timestamp (ISO 8601 format only) from which to begin retrieving historical quotes. You need to include time_end if time_start is provided.",
            "in": "query",
            "name": "time_start",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Ending timestamp (ISO 8601 format only) at which to stop retrieving historical quotes. Always provide time_end if time_start is provided.",
            "in": "query",
            "name": "time_end",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "maximum": 10000,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "interval",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "examples": {
              "mixed_fiat_crypto": {
                "summary": "Convert market quotes to a mix of fiat and cryptocurrencies",
                "value": "EUR,BTC"
              },
              "multiple_fiats": {
                "summary": "Convert market quotes to multiple fiat currencies",
                "value": "EUR,GBP"
              },
              "single_fiat": {
                "summary": "Convert market quotes to a single fiat currency",
                "value": "EUR"
              }
            },
            "in": "query",
            "name": "convert",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuotesHistoricalResponse"
                }
              }
            },
            "description": "Successful"
          }
        },
        "summary": "Fetches historical global cryptocurrency metrics for set time frames and intervals. Users define start/end times, data points, and intervals. Metrics can be converted to various currencies with optional extra data fields. If intervals under a day are chosen, filter up to 2 days of data."
      }
    },
    "/chatgpt/market-pairs-latest": {
      "get": {
        "operationId": "getMarketPairLatest",
        "parameters": [
          {
            "description": "A URL-friendly version of the exchanges name (lowercase, spaces replaced with hyphens).",
            "in": "query",
            "name": "slug",
            "schema": {
              "example": "binance",
              "type": "string"
            }
          },
          {
            "description": "Offset for the start of the paginated list.",
            "in": "query",
            "name": "start",
            "schema": {
              "default": 1,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Determines the number of results returned. Used for pagination.",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 10,
              "maximum": 20,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Filters market pairs by specific fiat or cryptocurrency symbols.",
            "examples": {
              "mixed_fiat_crypto": {
                "summary": "Filter market pairs by a mix of fiat and cryptocurrencies",
                "value": "USD,BTC"
              },
              "multiple_fiats": {
                "summary": "Filter market pairs by multiple fiat currencies",
                "value": "USD,EUR"
              },
              "single_fiat": {
                "summary": "Filter market pairs by a single fiat currency",
                "value": "USD"
              }
            },
            "in": "query",
            "name": "matched_symbol",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Specifies the trading category of the market.",
            "in": "query",
            "name": "category",
            "schema": {
              "default": "all",
              "enum": [
                "all",
                "spot",
                "derivatives",
                "otc",
                "futures",
                "perpetual"
              ],
              "type": "string"
            }
          },
          {
            "description": "Indicates the fee type enforced by the exchange for the market.",
            "in": "query",
            "name": "fee_type",
            "schema": {
              "default": "all",
              "enum": [
                "all",
                "percentage",
                "no-fees",
                "transactional-mining",
                "unknown"
              ],
              "type": "string"
            }
          },
          {
            "description": "Converts market quotes into multiple fiat/cryptocurrency values.",
            "examples": {
              "mixed_crypto_fiat": {
                "summary": "Convert market quotes to a mix of cryptocurrency and fiat currency",
                "value": "BTC,USD,EUR"
              },
              "multiple_conversions": {
                "summary": "Convert market quotes to multiple currencies",
                "value": "USD,EUR,JPY"
              },
              "single_conversion": {
                "summary": "Convert market quotes to a single currency",
                "value": "USD"
              }
            },
            "in": "query",
            "name": "convert",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketPairResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Fetches latest market pairs for a specific exchange on CoinMarketCap.Returns all active market pairs that CoinMarketCap tracks for a given exchange, providing the latest price and volume information for each market. Offers conversion of market values into various fiat and cryptocurrency values."
      }
    },
    "/chatgpt/quotes/historical": {
      "get": {
        "operationId": "getQuotesHistorical",
        "parameters": [
          {
            "description": "Comma-separated list of cryptocurrency symbols (like BTC, ETH) to retrieve historical data for.",
            "examples": {
              "multiple_symbols": {
                "summary": "Retrieve historical data for multiple cryptocurrencies",
                "value": "BTC,ETH"
              },
              "single_symbol": {
                "summary": "Retrieve historical data for a single cryptocurrency",
                "value": "BTC"
              }
            },
            "in": "query",
            "name": "symbol",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Starting timestamp (ISO 8601 format only) from which to begin retrieving historical quotes. You need to include time_end if time_start is provided.",
            "in": "query",
            "name": "time_start",
            "required": true,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Ending timestamp (ISO 8601 format only) at which to stop retrieving historical quotes. Always provide time_end if time_start is provided.",
            "in": "query",
            "name": "time_end",
            "required": true,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Number of data points to retrieve for the given interval. Useful if time range is not specified. Always set to 20.",
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "maximum": 30,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Duration for which each data point represents (e.g. 5m for 5 minutes, daily for each day, etc.). If you are trying to get data for date range more than 1 month, only set interval as monthly with no exceptions to not get an error message.",
            "in": "query",
            "name": "interval",
            "required": true,
            "schema": {
              "enum": [
                "hourly",
                "daily",
                "weekly",
                "monthly",
                "yearly",
                "5m",
                "10m",
                "15m",
                "30m",
                "45m",
                "1h",
                "2h",
                "3h",
                "4h",
                "6h",
                "12h",
                "1d",
                "2d",
                "3d",
                "7d",
                "14d",
                "15d",
                "30d",
                "60d",
                "90d",
                "365d"
              ],
              "type": "string"
            }
          },
          {
            "description": "Optionally calculate market quotes in other fiat currencies or cryptocurrencies",
            "in": "query",
            "name": "convert",
            "required": false,
            "schema": {
              "examples": {
                "mixed_fiat_crypto": {
                  "summary": "Convert market quotes to a mix of fiat and cryptocurrencies",
                  "value": "EUR,BTC"
                },
                "multiple_fiats": {
                  "summary": "Convert market quotes to multiple fiat currencies",
                  "value": "EUR,GBP"
                },
                "single_fiat": {
                  "summary": "Convert market quotes to a single fiat currency",
                  "value": "EUR"
                }
              },
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoricalQuotesResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Fetches historical market quotes for a cryptocurrency based on time intervals. Users specify the cryptocurrencys symbol, set time ranges, select intervals, etc. If difference between time_start and time_end is more than one day, interval should be daily and higher."
      }
    },
    "/chatgpt/quotes/latest": {
      "get": {
        "operationId": "getQuotesLatest",
        "parameters": [
          {
            "description": "Alternatively pass a comma-separated list of cryptocurrency slugs. Example bitcoin,ethereum",
            "examples": {
              "multiple_slugs": {
                "summary": "Retrieve data for multiple cryptocurrencies by slug",
                "value": "bitcoin,ethereum"
              },
              "single_slug": {
                "summary": "Retrieve data for a single cryptocurrency by slug",
                "value": "bitcoin"
              }
            },
            "in": "query",
            "name": "slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Alternatively pass one or more comma-separated cryptocurrency symbols. Example BTC,ETH",
            "examples": {
              "multiple_symbols": {
                "summary": "Retrieve data for multiple cryptocurrencies by symbol",
                "value": "BTC,ETH"
              },
              "single_symbol": {
                "summary": "Retrieve data for a single cryptocurrency by symbol",
                "value": "BTC"
              }
            },
            "in": "query",
            "name": "symbol",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Optionally calculate market quotes in up to 120 currencies at once.",
            "examples": {
              "mixed_crypto_fiat": {
                "summary": "Convert market quotes to a mix of cryptocurrency and fiat currency",
                "value": "BTC,USD,EUR"
              },
              "multiple_conversions": {
                "summary": "Convert market quotes to multiple currencies",
                "value": "USD,EUR,JPY"
              },
              "single_conversion": {
                "summary": "Convert market quotes to a single currency",
                "value": "USD"
              }
            },
            "in": "query",
            "name": "convert",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CryptocurrencyLatestQuoteResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Provides latest market quotes for selected cryptocurrencies identified by slugs or symbols. Users can convert quotes into 120+ currencies."
      }
    },
    "/chatgpt/v2/cryptocurrency/info": {
      "get": {
        "operationId": "getCryptoCurrencyInfo",
        "parameters": [
          {
            "description": "Pass a comma-separated list of cryptocurrency slugs",
            "examples": {
              "multipleSlugs": {
                "summary": "Multiple cryptocurrency slugs separated by commas",
                "value": "bitcoin,ethereum,ripple"
              },
              "singleSlug": {
                "summary": "A single cryptocurrency slug",
                "value": "bitcoin"
              }
            },
            "in": "query",
            "name": "slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Alternatively pass one or more comma-separated cryptocurrency symbols",
            "examples": {
              "multipleSymbols": {
                "summary": "Multiple cryptocurrency symbols separated by commas",
                "value": "BTC,ETH,XRP"
              },
              "singleSymbol": {
                "summary": "A single cryptocurrency symbol",
                "value": "BTC"
              }
            },
            "in": "query",
            "name": "symbol",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Alternatively pass in a contract address",
            "in": "query",
            "name": "address",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "additionalProperties": {
                        "properties": {
                          "category": {
                            "type": "string"
                          },
                          "date_added": {
                            "format": "date",
                            "type": "string"
                          },
                          "date_launched": {
                            "format": "date",
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "id": {
                            "type": "integer"
                          },
                          "infinite_supply": {
                            "type": "boolean"
                          },
                          "logo": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "notice": {
                            "type": "string"
                          },
                          "platform": {
                            "properties": {
                              "id": {
                                "type": "integer"
                              },
                              "name": {
                                "type": "string"
                              },
                              "slug": {
                                "type": "string"
                              },
                              "symbol": {
                                "type": "string"
                              },
                              "token_address": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "self_reported_circulating_supply": {
                            "type": "number"
                          },
                          "self_reported_market_cap": {
                            "type": "number"
                          },
                          "self_reported_tags": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "slug": {
                            "type": "string"
                          },
                          "symbol": {
                            "type": "string"
                          },
                          "tags": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "urls": {
                            "properties": {
                              "announcement": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "chat": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "explorer": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "message_board": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "reddit": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "source_code": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "technical_doc": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "twitter": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "website": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "type": "object"
                          }
                        },
                        "type": "object"
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful operation"
          }
        },
        "summary": "A brief overview of each cryptocurrency. Fetches metadata for specified cryptocurrencies using ID, slug, symbol, or contract address. Returns details like name, description, logo, website links, platform data, supply specifics, and more. Use API, but provide extra data for comprehensive insights."
      }
    }
  },
  "servers": [
    {
      "url": "https://api.coinmarketcap.com"
    }
  ]
}