BTC assistant

BTC assistant · Actions GPT

CoinGecko Simple Price API

API for retrieving the simple price of a cryptocurrency in a specific fiat currency

  • GET /simple/priceGet the simple price of a cryptocurrency

    Get price for a specific a cryptocurrency

Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "CoinGecko Simple Price API",
    "version": "1.0.0",
    "description": "API for retrieving the simple price of a cryptocurrency in a specific fiat currency"
  },
  "servers": [
    {
      "url": "https://api.coingecko.com/api/v3"
    }
  ],
  "paths": {
    "/simple/price": {
      "get": {
        "summary": "Get the simple price of a cryptocurrency",
        "description": "Get price for a specific a cryptocurrency",
        "operationId": "GetCryptoCurrency",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "description": "A single coin or a list of coin ids (comma separated), like use bitcoin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "vs_currencies",
            "in": "query",
            "description": "A single fiat currency or a list of fiat currencies (comma separated), like use usd",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {}
          }
        }
      }
    }
  }
}