CoinGecko
Obtain price feed, market data, and historical data of crypto assets
Try it in the Widget Center
Click this url to try this widget and copy the Pro Config template.
Usage
Get the Coin ID
action
coin_id
Input Parameters
action
string
The action you want to perform
coin_id
name
string
The name of the coin. Required if you search coin by name.
Output Parameters
data
object
The output of coingecko API.
Output Example
Get the Coin Data by ID
action
coin_data_by_id
Input Parameters
action
string
The action you want to perform
coin_data_by_id
id
string
The id of the coin.
Output Parameters
data
object
The output of coingecko API.
Output Example
Get the Coin Ticker by ID
action
coin_ticker_by_id
Input Parameters
action
string
The action you want to perform
coin_ticker_by_id
id
string
The id of the coin.
Output Parameters
data
object
The output of coingecko API.
Output Example
Advanced
Input Parameters
endpoint
string
The endpoint url of Coingecko, please add the path params in the endpoint
https://pro-api.coingecko.com/api/v3/coins/id
query_param
string
Dict type of query params
Detailed Guidelines
Note: You can test this feature in the widget center, but please be cautious not to output excessive information on the website. Some cryptocurrency data can be extensive and may cause your website to become unresponsive or crash.
Main parameter of Coins:
task_type
, you can use thecoin_id
to obtain the identifier of your chosen cryptocurrency. Then, utilize other functions namedxx_by_id
to fetch specific details about that cryptocurrency.When using
coin_id
, you should provide the name of the coin as a parameter. Forxx_by_id
functions, you should supply the coin's ID as the parameter.
Main parameter of Advanced
endpoint
, refer to the CoinGecko API documentation and use the API interface as the endpoint. Be sure to include the path parameters in the endpoint.For the query parameters, add them as a dictionary, following the format described in the CoinGecko API documentation
Some examples
Last updated