Page cover image

Coingecko API

This documents the REST endpoints to query live data from the FIN markets for our Coingecko integration.

Query options

None

Sample Response

{
  "pairs": [
    {
      "base": "KUJI",
      "pool_id": "kujira14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sl4e867",
      "target": "axlUSDC",
      "ticker_id": "KUJI_axlUSDC"
    }
  ]
}

Query Options

  • *ticker_id eg ticker_id=KUJI_axlUSDC

  • depth eg depth=200 - total number of prices retrieved (equal number either side of the spread)

Sample Reponse

{
  "asks": [
    [
      "1.0650000000",
      "83.8864970000"
    ],
    [
      "1.0660000000",
      "888.0000000000"
    ],
    [
      "1.0670000000",
      "4145.2413890000"
    ]
  ],
  "bids": [
    [
      "1.0610000000",
      "79.7181120000"
    ],
    [
      "1.0600000000",
      "235.2562910000"
    ],
    [
      "1.0580000000",
      "0.0000020000"
    ]
  ],
  "ticker_id":"KUJI_axlUSDC",
  "timestamp":1667742512184
}

Query Options

None

Sample Response

{
  "tickers": [
    {
      "ask": "0.3950",
      "base_currency": "KUJI",
      "base_volume": "2091945.3229",
      "bid": "0.3900",
      "high": "1.4755",
      "last_price": "0.3900",
      "low": "0.2910",
      "pool_id": "kujira14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sl4e867",
      "target_currency": "axlUSDC",
      "target_volume": "868587.7620",
      "ticker_id": "KUJI_axlUSDC"
    } 
  ]
}

Last updated