Crypto Bro

Crypto Bro · GPT-Aktionen

CoinGecko API V3

  • GET /searchSearch for coins, categories and markets on CoinGecko

    Search for coins, categories and markets listed on CoinGecko ordered by largest Market Cap first. Cache / Update Frequency: every 15 minutes

  • GET /coins/{id}Get current data (name, price, market, ... including exchange tickers) for a coin

    Use this endpoint to get current data for a coin (name, price, market, etc). Don't use this for historical data

  • GET /coins/{id}/historyGet historical data (price, market cap, 24hr volume, ..) at a given date for a coin.

    Use this endpoint to find historical data for a coin

  • GET /coins/{id}/market_chartGet historical market data include price, market cap, and 24h volume (granularity auto)

    Get historical market data include price, market cap, and 24h volume (granularity auto) Data granularity is automatic (cannot be adjusted) 1 day from current time = 5 minute interval data2 - 90 days from current time = hourly dataabove 90 days from current time = daily data (00:00 UTC) Cache based

  • GET /coins/{id}/market_chart/rangeGet historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto)

    Get historical market data include price, market cap, and 24h volume (granularity auto) Data granularity is automatic (cannot be adjusted) 1 day from current time = 5 minute interval data2 - 90 days of date range = hourly dataabove 90 days of date range = daily data (00:00 UTC) Cache / Update Freq

  • GET /globalGet cryptocurrency global data

    Get cryptocurrency global data Cache / Update Frequency: every 10 minutes

  • GET /search/trendingGet trending search coins (Top-7) on CoinGecko in the last 24 hours

    * Top-7 trending coins on CoinGecko as searched by users in the last 24 hours (Ordered by most popular first). * Top-5 trending NFTs on CoinGecko based on the highest trading volume in the last 24 hours Cache / Update Frequency: every 10 minutes

  • GET /newsFetch the latest news

    Retrieves the latest news articles.

Ursprüngliches API-Schema
{
  "info": {
    "description": "",
    "title": "CoinGecko API V3",
    "version": "3.0.0"
  },
  "openapi": "3.0.1",
  "paths": {
    "/search": {
      "get": {
        "description": "Search for coins, categories and markets listed on CoinGecko ordered by largest Market Cap first. Cache / Update Frequency: every 15 minutes",
        "operationId": "perform_search",
        "parameters": [
          {
            "description": "Search string",
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {},
            "description": "List of coins, categories and markets matching search term ordered by market cap"
          }
        },
        "summary": "Search for coins, categories and markets on CoinGecko",
        "tags": [
          "search"
        ]
      }
    },
    "/coins/{id}": {
      "get": {
        "description": "Use this endpoint to get current data for a coin (name, price, market, etc). Don't use this for historical data ",
        "operationId": "get_coins_data",
        "parameters": [
          {
            "description": "pass the coin id (can be obtained from /coins) eg. bitcoin",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Include all localized languages in response (true/false) <b>[default: true]</b>",
            "in": "query",
            "name": "localization",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Include tickers data (true/false) <b>[default: true]</b>",
            "in": "query",
            "name": "tickers",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Include market_data (true/false) <b>[default: true]</b>",
            "in": "query",
            "name": "market_data",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Include community_data data (true/false) <b>[default: true]</b>",
            "in": "query",
            "name": "community_data",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Include developer_data data (true/false) <b>[default: true]</b>",
            "in": "query",
            "name": "developer_data",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Include sparkline 7 days data (eg. true, false) <b>[default: false]</b>",
            "in": "query",
            "name": "sparkline",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {},
            "description": "Get current data for a coin"
          }
        },
        "summary": "Get current data (name, price, market, ... including exchange tickers) for a coin",
        "tags": [
          "coins"
        ]
      }
    },
    "/coins/{id}/history": {
      "get": {
        "description": " Use this endpoint to find historical data for a coin",
        "operationId": "get_coins_id_history",
        "parameters": [
          {
            "description": "pass the coin id (can be obtained from /coins) eg. bitcoin",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The date of data snapshot in dd-mm-yyyy eg. 30-12-2022",
            "in": "query",
            "name": "date",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Set to false to exclude localized languages in response",
            "in": "query",
            "name": "localization",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {},
            "description": "Get historical data at a given date for a coin"
          }
        },
        "summary": "Get historical data (price, market cap, 24hr volume, ..) at a given date for a coin.",
        "tags": [
          "coins"
        ]
      }
    },
    "/coins/{id}/market_chart": {
      "get": {
        "description": "Get historical market data include price, market cap, and 24h volume (granularity auto)\n\nData granularity is automatic (cannot be adjusted) 1 day from current time = 5 minute interval data2 - 90 days from current time = hourly dataabove 90 days from current time = daily data (00:00 UTC)\n\nCache based",
        "operationId": "get_coins_id_market_chart",
        "parameters": [
          {
            "description": "pass the coin id (can be obtained from /coins) eg. bitcoin",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The target currency of market data (usd, eur, jpy, etc.)",
            "in": "query",
            "name": "vs_currency",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Data up to number of days ago (eg. 1,14,30,max)",
            "in": "query",
            "name": "days",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Data interval. Possible value: daily",
            "in": "query",
            "name": "interval",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "<b>full</b> or any value between 0 - 18 to specify decimal place for currency price value",
            "in": "query",
            "name": "precision",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {},
            "description": "Get historical market data include price, market cap, and 24h volume"
          }
        },
        "summary": "Get historical market data include price, market cap, and 24h volume (granularity auto)",
        "tags": [
          "coins"
        ]
      }
    },
    "/coins/{id}/market_chart/range": {
      "get": {
        "description": "Get historical market data include price, market cap, and 24h volume (granularity auto) Data granularity is automatic (cannot be adjusted) 1 day from current time = 5 minute interval data2 - 90 days of date range = hourly dataabove 90 days of date range = daily data (00:00 UTC) Cache / Update Freq",
        "operationId": "get_coins_id_market_chart_range",
        "parameters": [
          {
            "description": "pass the coin id (can be obtained from /coins) eg. bitcoin",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The target currency of market data (usd, eur, jpy, etc.)",
            "in": "query",
            "name": "vs_currency",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "From date in UNIX Timestamp (eg. 1392577232)",
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "To date in UNIX Timestamp (eg. 1422577232)",
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "<b>full</b> or any value between 0 - 18 to specify decimal place for currency price value",
            "in": "query",
            "name": "precision",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {},
            "description": "Get historical market data include price, market cap, and 24h volume"
          }
        },
        "summary": "Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto)",
        "tags": [
          "coins"
        ]
      }
    },
    "/global": {
      "get": {
        "description": "Get cryptocurrency global data Cache / Update Frequency: every 10 minutes",
        "operationId": "get_global",
        "responses": {
          "200": {
            "content": {},
            "description": "Get global data - total_volume, total_market_cap, ongoing icos etc"
          }
        },
        "summary": "Get cryptocurrency global data",
        "tags": [
          "global"
        ]
      }
    },
    "/search/trending": {
      "get": {
        "description": "* Top-7 trending coins on CoinGecko as searched by users in the last 24 hours (Ordered by most popular first).\n* Top-5 trending NFTs on CoinGecko based on the highest trading volume in the last 24 hours\n\nCache / Update Frequency: every 10 minutes",
        "operationId": "get_search_trending",
        "responses": {
          "200": {
            "content": {},
            "description": "List trending coins by most popular first"
          }
        },
        "summary": "Get trending search coins (Top-7) on CoinGecko in the last 24 hours",
        "tags": [
          "trending"
        ]
      }
    },
    "/news": {
      "get": {
        "summary": "Fetch the latest news",
        "description": "Retrieves the latest news articles.",
        "operationId": "get_news",
        "responses": {
          "200": {
            "description": "Successful response with news articles."
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.askhere.ai/crypto/api/v3"
    }
  ],
  "x-original-swagger-version": "2.0"
}