url
stringlengths
39
90
function_name
stringlengths
7
35
description
stringlengths
69
200
params
stringlengths
266
2.05k
https://api.coingecko.com/api/v3/simple/price
simple_price
This endpoint allows you to query the prices of one or more coins by using their unique Coin API IDs.
[ { "type": "function", "function": { "name": "simple_price", "description": "This endpoint allows you to query the prices of one or more coins by using their unique Coin API IDs.", "parameters": { "type": "object", "properties": { "ids": { "type": "string", "description": "Coins' ids, comma-separated if querying more than one coin. Refers to /coins/list endpoint." }, "vs_currencies": { "type": "string", "description": "Target currency of coins, comma-separated if querying more than one currency. Refers to /simple/supported_vs_currencies endpoint." }, "include_market_cap": { "type": "boolean", "description": "Include market capitalization, default is false." }, "include_24hr_vol": { "type": "boolean", "description": "Include 24hr volume, default is false." }, "include_24hr_change": { "type": "boolean", "description": "Include 24hr change, default is false." }, "include_last_updated_at": { "type": "boolean", "description": "Include last updated price time in UNIX, default is false." }, "precision": { "type": "string", "description": "Decimal place for currency price value." } }, "required": [ "ids", "vs_currencies" ] } } } ]
https://api.coingecko.com/api/v3/simple/token_price/{id}
simple_token_price
This endpoint allows you to query a token price by using token contract address.
[ { "type": "function", "function": { "name": "simple_token_price", "description": "Query a token price by using token contract address", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Asset platform's id, refers to /asset_platforms endpoint" }, "contract_addresses": { "type": "string", "description": "The contract addresses of tokens, comma-separated if querying more than one token's contract address" }, "vs_currencies": { "type": "string", "description": "Target currency of coins, comma-separated if querying more than one currency. Refers to /simple/supported_vs_currencies endpoint" }, "include_market_cap": { "type": "boolean", "description": "Include market capitalization, default is false" }, "include_24hr_vol": { "type": "boolean", "description": "Include 24hr volume, default is false" }, "include_24hr_change": { "type": "boolean", "description": "Include 24hr change, default is false" }, "include_last_updated_at": { "type": "boolean", "description": "Include last updated price time in UNIX, default is false" }, "precision": { "type": "string", "description": "Decimal place for currency price value" } }, "required": [ "id", "contract_addresses", "vs_currencies" ] } } } ]
https://api.coingecko.com/api/v3/simple/supported_vs_currencies
simple_supported_currencies
This endpoint allows you to query all the supported currencies on CoinGecko.
[ { "type": "function", "function": { "name": "simple_supported_currencies", "description": "This endpoint allows you to query all the supported currencies on CoinGecko.", "parameters": { "type": "object", "properties": {} } } } ]
https://api.coingecko.com/api/v3/coins/list
coins_list
This endpoint allows you to query all the supported coins on CoinGecko with coins id, name and symbol.
[ { "type": "function", "function": { "name": "coins_list", "description": "This endpoint allows you to query all the supported coins on CoinGecko with coins id, name and symbol.", "parameters": { "type": "object", "properties": { "include_platform": { "type": "boolean", "description": "Include platform and token's contract addresses, default is false." } } } } } ]
https://api.coingecko.com/api/v3/coins/markets
coins_markets
This endpoint allows you to query all the supported coins with price, market cap, volume and market related data.
[ { "type": "function", "function": { "name": "coins_markets", "description": "This endpoint allows you to query all the supported coins with price, market cap, volume and market related data.", "parameters": { "type": "object", "properties": { "vs_currency": { "type": "string", "description": "Target currency of coins and market data. Refers to /simple/supported_vs_currencies endpoint." }, "ids": { "type": "string", "description": "Coins' ids, comma-separated if querying more than one coin. Refers to /coins/list endpoint." }, "category": { "type": "string", "description": "Filter based on coins' category. Refers to /coins/categories/list endpoint." }, "order": { "type": "string", "description": "Sort result by field, default is market_cap_desc." }, "per_page": { "type": "integer", "description": "Total results per page, default is 100. Valid values: 1...250." }, "page": { "type": "integer", "description": "Page through results, default is 1." }, "sparkline": { "type": "boolean", "description": "Include sparkline 7 days data, default is false." }, "price_change_percentage": { "type": "string", "description": "Include price change percentage timeframe, comma-separated if querying more than one price change percentage timeframe. Valid values: 1h, 24h, 7d, 14d, 30d, 200d, 1y." }, "locale": { "type": "string", "description": "Language background, default is en." }, "precision": { "type": "string", "description": "Decimal place for currency price value." } }, "required": [ "vs_currency" ] } } } ]
https://api.coingecko.com/api/v3/coins/{id}
coins_id
This endpoint allows you to query all the coin data of a coin (name, price, market .... including exchange tickers) on CoinGecko coin page based on a particular coin id.
[ { "type": "function", "function": { "name": "coins_id", "description": "This endpoint allows you to query all the coin data of a coin (name, price, market, etc. including exchange tickers) on CoinGecko coin page based on a particular coin id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Coin id. Refers to /coins/list endpoint." }, "localization": { "type": "boolean", "description": "Include all the localized languages in the response, default is true." }, "tickers": { "type": "boolean", "description": "Include tickers data, default is true." }, "market_data": { "type": "boolean", "description": "Include market data, default is true." }, "community_data": { "type": "boolean", "description": "Include community data, default is true." }, "developer_data": { "type": "boolean", "description": "Include developer data, default is true." }, "sparkline": { "type": "boolean", "description": "Include sparkline 7 days data, default is false." } }, "required": [ "id" ] } } } ]
https://api.coingecko.com/api/v3/coins/{id}/tickers
coins_id_tickers
This endpoint allows you to query the coin tickers on both centralized exchange (cex) and decentralized exchange (dex) based on a particular coin id.
[ { "type": "function", "function": { "name": "coins_id_tickers", "description": "This endpoint allows you to query the coin tickers on both centralized exchange (cex) and decentralized exchange (dex) based on a particular coin id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Coin id. Refers to /coins/list endpoint." }, "exchange_ids": { "type": "string", "description": "Exchange id. Refers to /exchanges/list endpoint." }, "include_exchange_logo": { "type": "boolean", "description": "Include exchange logo, default is false." }, "page": { "type": "integer", "description": "Page through results." }, "order": { "type": "string", "description": "Use this to sort the order of responses, default is trust_score_desc." }, "depth": { "type": "boolean", "description": "Include 2% orderbook depth, ie. cost_to_move_up_usd and cost_to_move_down_usd, default is false." } }, "required": [ "id" ] } } } ]
https://api.coingecko.com/api/v3/coins/{id}/history
coins_id_history
This endpoint allows you to query the historical data (price, market cap, 24hrs volume, etc) at a given date for a coin based on a particular coin id.
[ { "type": "function", "function": { "name": "coins_id_history", "description": "This endpoint allows you to query the historical data (price, market cap, 24hrs volume, etc) at a given date for a coin based on a particular coin id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Coin id. Refers to /coins/list endpoint." }, "date": { "type": "string", "description": "The date of data snapshot. Format: dd-mm-yyyy." }, "localization": { "type": "boolean", "description": "Include all the localized languages in response, default is true." } }, "required": [ "id", "date" ] } } } ]
https://api.coingecko.com/api/v3/coins/{id}/market_chart
coins_id_market_chart
This endpoint allows you to get the historical chart data of a coin including time in UNIX, price, market cap and 24hrs volume based on particular coin id.
[ { "type": "function", "function": { "name": "coins_id_market_chart", "description": "This endpoint allows you to get the historical chart data of a coin including time in UNIX, price, market cap and 24hrs volume based on a particular coin id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Coin id. Refers to /coins/list endpoint." }, "vs_currency": { "type": "string", "description": "Target currency of market data. Refers to /simple/supported_vs_currencies endpoint." }, "days": { "type": "string", "description": "Data up to number of days ago. You may use any integer for number of days." }, "interval": { "type": "string", "description": "Data interval, leave empty for auto granularity. Possible value: daily." }, "precision": { "type": "string", "description": "Decimal place for currency price value." } }, "required": [ "id", "vs_currency", "days" ] } } } ]
https://api.coingecko.com/api/v3/coins/{id}/market_chart/range
coins_id_market_chart_range
This endpoint allows you to get the historical chart data of a coin within certain time range in UNIX along with price, market cap and 24hrs volume based on particular coin id.
[ { "type": "function", "function": { "name": "coins_id_market_chart_range", "description": "This endpoint allows you to get the historical chart data of a coin within a certain time range in UNIX along with price, market cap and 24hrs volume based on a particular coin id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Coin id. Refers to /coins/list endpoint." }, "vs_currency": { "type": "string", "description": "Target currency of market data. Refers to /simple/supported_vs_currencies endpoint." }, "from": { "type": "integer", "description": "Starting date in UNIX timestamp." }, "to": { "type": "integer", "description": "Ending date in UNIX timestamp." }, "precision": { "type": "string", "description": "Decimal place for currency price value." } }, "required": [ "id", "vs_currency", "from", "to" ] } } } ]
https://api.coingecko.com/api/v3/coins/{id}/ohlc
coins_id_ohlc
This endpoint allows you to get the OHLC chart (Open, High, Low, Close) of a coin based on particular coin id.
[ { "type": "function", "function": { "name": "coins_id_ohlc", "description": "This endpoint allows you to get the OHLC chart (Open, High, Low, Close) of a coin based on a particular coin id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Coin id. Refers to /coins/list endpoint." }, "vs_currency": { "type": "string", "description": "Target currency of price data. Refers to /simple/supported_vs_currencies endpoint." }, "days": { "type": "string", "description": "Data up to number of days ago." }, "precision": { "type": "string", "description": "Decimal place for currency price value." } }, "required": [ "id", "vs_currency", "days" ] } } } ]
https://api.coingecko.com/api/v3/coins/{id}/contract/{contract_address}
coins_contract_address
This endpoint allows you to query all the coin data (name, price, market .... including exchange tickers) on CoinGecko coin page based on asset platform and particular token contract address.
[ { "type": "function", "function": { "name": "coins_contract_address", "description": "This endpoint allows you to query all the coin data (name, price, market, etc. including exchange tickers) on CoinGecko coin page based on asset platform and a particular token contract address.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Asset platform id. Refers to /asset_platforms endpoint." }, "contract_address": { "type": "string", "description": "The contract address of the token." } }, "required": [ "id", "contract_address" ] } } } ]
https://api.coingecko.com/api/v3/coins/{id}/contract/{contract_address}/market_chart
contract_address_market_chart
This endpoint allows you to get the historical chart data including time in UNIX, price, market cap and 24hrs volume based on asset platform and particular token contract address.
[ { "type": "function", "function": { "name": "contract_address_market_chart", "description": "This endpoint allows you to get the historical chart data including time in UNIX, price, market cap and 24hrs volume based on asset platform and a particular token contract address.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Asset platform id. Refers to /asset_platforms endpoint." }, "contract_address": { "type": "string", "description": "The contract address of the token." }, "vs_currency": { "type": "string", "description": "Target currency of market data. Refers to /simple/supported_vs_currencies endpoint." }, "days": { "type": "string", "description": "Data up to number of days ago. You may use any integer for number of days." }, "interval": { "type": "string", "description": "Data interval, leave empty for auto granularity. Possible value: daily." }, "precision": { "type": "string", "description": "Decimal place for currency price value." } }, "required": [ "id", "contract_address", "vs_currency", "days" ] } } } ]
https://api.coingecko.com/api/v3/coins/{id}/contract/{contract_address}/market_chart/range
contract_address_market_chart_range
This endpoint allows you to get the historical chart data within certain time range in UNIX along with price, market cap and 24hrs volume based on asset platform and particular token contract address.
[ { "type": "function", "function": { "name": "contract_address_market_chart_range", "description": "This endpoint allows you to get the historical chart data within a certain time range in UNIX along with price, market cap and 24hrs volume based on asset platform and a particular token contract address.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Asset platform id. Refers to /asset_platforms endpoint." }, "contract_address": { "type": "string", "description": "The contract address of the token." }, "vs_currency": { "type": "string", "description": "Target currency of market data. Refers to /simple/supported_vs_currencies endpoint." }, "from": { "type": "integer", "description": "Starting date in UNIX timestamp." }, "to": { "type": "integer", "description": "Ending date in UNIX timestamp." }, "precision": { "type": "string", "description": "Decimal place for currency price value." } }, "required": [ "id", "contract_address", "vs_currency", "from", "to" ] } } } ]
https://api.coingecko.com/api/v3/asset_platforms
asset_platforms_list
This endpoint allows you to query all the asset platforms on CoinGecko.
[ { "type": "function", "function": { "name": "asset_platforms_list", "description": "This endpoint allows you to query all the asset platforms on CoinGecko.", "parameters": { "type": "object", "properties": { "filter": { "type": "string", "description": "Apply relevant filters to results." } } } } } ]
https://api.coingecko.com/api/v3/coins/categories/list
coins_categories_list
This endpoint allows you to query all the coins categories on CoinGecko.
[ { "type": "function", "function": { "name": "coins_categories_list", "description": "This endpoint allows you to query all the coins categories on CoinGecko.", "parameters": { "type": "object", "properties": {} } } } ]
https://api.coingecko.com/api/v3/coins/categories
coins_categories
This endpoint allows you to query all the coins categories with market data (market cap, volume, etc.) on CoinGecko.
[ { "type": "function", "function": { "name": "coins_categories", "description": "This endpoint allows you to query all the coins categories with market data (market cap, volume, etc.) on CoinGecko.", "parameters": { "type": "object", "properties": { "order": { "type": "string", "description": "Sort results by field, default is market_cap_desc." } } } } } ]
https://api.coingecko.com/api/v3/exchanges
exchanges
This endpoint allows you to query all the supported exchanges with exchanges’ data (id, name, country, .... etc) that have active trading volumes on CoinGecko.
[ { "type": "function", "function": { "name": "exchanges", "description": "This endpoint allows you to query all the supported exchanges with exchanges’ data (id, name, country, etc.) that have active trading volumes on CoinGecko.", "parameters": { "type": "object", "properties": { "per_page": { "type": "integer", "description": "Total results per page, default is 100. Valid values: 1...250." }, "page": { "type": "integer", "description": "Page through results, default is 1." } } } } } ]
https://api.coingecko.com/api/v3/exchanges/list
exchanges_list
This endpoint allows you to query all the exchanges with id and name.
[ { "type": "function", "function": { "name": "exchanges_list", "description": "This endpoint allows you to query all the exchanges with id and name.", "parameters": { "type": "object", "properties": {} } } } ]
https://api.coingecko.com/api/v3/exchanges/{id}
exchanges_id
This endpoint allows you to query exchange’s data (name, year established, country, .... etc), exchange volume in BTC and top 100 tickers based on exchange’s id.
[ { "type": "function", "function": { "name": "exchanges_id", "description": "This endpoint allows you to query exchange’s data (name, year established, country, etc.), exchange volume in BTC and top 100 tickers based on exchange’s id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Exchange id. Refers to /exchanges/list endpoint." } }, "required": [ "id" ] } } } ]
https://api.coingecko.com/api/v3/exchanges/{id}/tickers
exchanges_id_tickers
This endpoint allows you to query exchange's tickers based on exchange’s id.
[ { "type": "function", "function": { "name": "exchanges_id_tickers", "description": "This endpoint allows you to query exchange's tickers based on exchange’s id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Exchange id. Refers to /exchanges/list endpoint." }, "coin_ids": { "type": "string", "description": "Filter tickers by coin_ids, comma-separated if querying more than one coin. Refers to /coins/list endpoint." }, "include_exchange_logo": { "type": "boolean", "description": "Include exchange logo, default is false." }, "page": { "type": "integer", "description": "Page through results." }, "depth": { "type": "boolean", "description": "Include 2% orderbook depth (Example: cost_to_move_up_usd & cost_to_move_down_usd), default is false." }, "order": { "type": "string", "description": "Use this to sort the order of responses, default is trust_score_desc." } }, "required": [ "id" ] } } } ]
https://api.coingecko.com/api/v3/exchanges/{id}/volume_chart
exchanges_id_volume_chart
This endpoint allows you to query the historical volume chart data with time in UNIX and trading volume data in BTC based on exchange’s id.
[ { "type": "function", "function": { "name": "exchanges_id_volume_chart", "description": "This endpoint allows you to query the historical volume chart data with time in UNIX and trading volume data in BTC based on exchange’s id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Exchange id or derivatives exchange id. Refers to /exchanges/list or /derivatives/exchanges/list endpoint." }, "days": { "type": "string", "description": "Data up to number of days ago." } }, "required": [ "id", "days" ] } } } ]
https://api.coingecko.com/api/v3/derivatives
derivatives_tickers
This endpoint allows you to query all the tickers from derivatives exchanges on CoinGecko.
[ { "type": "function", "function": { "name": "derivatives_tickers", "description": "This endpoint allows you to query all the tickers from derivatives exchanges on CoinGecko.", "parameters": { "type": "object", "properties": {} } } } ]
https://api.coingecko.com/api/v3/derivatives/exchanges
derivatives_exchanges
This endpoint allows you to query all the derivatives exchanges with related data (id, name, open interest, .... etc) on CoinGecko.
[ { "type": "function", "function": { "name": "derivatives_exchanges", "description": "This endpoint allows you to query all the derivatives exchanges with related data (id, name, open interest, etc.) on CoinGecko.", "parameters": { "type": "object", "properties": { "order": { "type": "string", "description": "Use this to sort the order of responses, default is open_interest_btc_desc." }, "per_page": { "type": "integer", "description": "Total results per page." }, "page": { "type": "integer", "description": "Page through results, default is 1." } } } } } ]
https://api.coingecko.com/api/v3/derivatives/exchanges/{id}
derivatives_exchanges_id
This endpoint allows you to query the derivatives exchange’s related data (id, name, open interest, .... etc) based on the exchanges’ id.
[ { "type": "function", "function": { "name": "derivatives_exchanges_id", "description": "This endpoint allows you to query the derivatives exchange’s related data (id, name, open interest, etc.) based on the exchange’s id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "Derivative exchange id. Refers to /derivatives/exchanges/list endpoint." }, "include_tickers": { "type": "string", "description": "Include tickers data." } }, "required": [ "id" ] } } } ]
https://api.coingecko.com/api/v3/derivatives/exchanges/list
derivatives_exchanges_list
This endpoint allows you to query all the derivatives exchanges with id and name on CoinGecko.
[ { "type": "function", "function": { "name": "derivatives_exchanges_list", "description": "This endpoint allows you to query all the derivatives exchanges with id and name on CoinGecko.", "parameters": { "type": "object", "properties": {} } } } ]
https://api.coingecko.com/api/v3/nfts/list
nfts_list
This endpoint allows you to query all supported NFTs with id, contract address, name, asset platform id and symbol on CoinGecko.
[ { "type": "function", "function": { "name": "nfts_list", "description": "This endpoint allows you to query all supported NFTs with id, contract address, name, asset platform id and symbol on CoinGecko.", "parameters": { "type": "object", "properties": { "order": { "type": "string", "description": "Use this to sort the order of responses." }, "per_page": { "type": "integer", "description": "Total results per page. Valid values: 1...250." }, "page": { "type": "integer", "description": "Page through results." } } } } } ]
https://api.coingecko.com/api/v3/nfts/{id}
nfts_id
This endpoint allows you to query all the NFT data (name, floor price, 24 hr volume....) based on the nft collection id.
[ { "type": "function", "function": { "name": "nfts_id", "description": "This endpoint allows you to query all the NFT data (name, floor price, 24 hr volume, etc.) based on the NFT collection id.", "parameters": { "type": "object", "properties": { "id": { "type": "string", "description": "NFT id. Refers to /nfts/list endpoint." } }, "required": [ "id" ] } } } ]
https://api.coingecko.com/api/v3/nfts/{asset_platform_id}/contract/{contract_address}
nfts_contract_address
This endpoint allows you to query all the NFT data (name, floor price, 24 hr volume....) based on the nft collection contract address and respective asset platform.
[ { "type": "function", "function": { "name": "nfts_contract_address", "description": "This endpoint allows you to query all the NFT data (name, floor price, 24 hr volume, etc.) based on the NFT collection contract address and respective asset platform.", "parameters": { "type": "object", "properties": { "asset_platform_id": { "type": "string", "description": "Asset platform id. Refers to /asset_platforms endpoint." }, "contract_address": { "type": "string", "description": "The contract address of the token." } }, "required": [ "asset_platform_id", "contract_address" ] } } } ]
https://api.coingecko.com/api/v3/exchange_rates
exchange_rates
This endpoint allows you to query BTC exchange rates with other currencies.
[ { "type": "function", "function": { "name": "exchange_rates", "description": "This endpoint allows you to query BTC exchange rates with other currencies.", "parameters": { "type": "object", "properties": {} } } } ]
https://api.coingecko.com/api/v3/search
search_data
This endpoint allows you to search for coins, categories and markets listed on CoinGecko.
[ { "type": "function", "function": { "name": "search_data", "description": "This endpoint allows you to search for coins, categories, and markets listed on CoinGecko.", "parameters": { "type": "object", "properties": { "query": { "type": "string", "description": "Search query." } }, "required": [ "query" ] } } } ]
https://api.coingecko.com/api/v3/search/trending
trending_search
This endpoint allows you query trending search coins, nfts and categories on CoinGecko in the last 24 hours.
[ { "type": "function", "function": { "name": "trending_search", "description": "This endpoint allows you to query trending search coins, NFTs, and categories on CoinGecko in the last 24 hours.", "parameters": { "type": "object", "properties": {} } } } ]
https://api.coingecko.com/api/v3/global
crypto_global
This endpoint allows you query cryptocurrency global data including active cryptocurrencies, markets, total crypto market cap and etc.
[ { "type": "function", "function": { "name": "crypto_global", "description": "This endpoint allows you to query cryptocurrency global data including active cryptocurrencies, markets, total crypto market cap, etc.", "parameters": { "type": "object", "properties": {} } } } ]
https://api.coingecko.com/api/v3/global/decentralized_finance_defi
global_defi
This endpoint allows you query top 100 cryptocurrency global decentralized finance (defi) data including defi market cap, trading volume.
[ { "type": "function", "function": { "name": "global_defi", "description": "This endpoint allows you to query top 100 cryptocurrency global decentralized finance (DeFi) data including DeFi market cap and trading volume.", "parameters": { "type": "object", "properties": {} } } } ]
https://api.coingecko.com/api/v3/companies/public_treasury/{coin_id}
companies_public_treasury
This endpoint allows you query public companies’ bitcoin or ethereum holdings.
[ { "type": "function", "function": { "name": "companies_public_treasury", "description": "This endpoint allows you to query public companies’ Bitcoin or Ethereum holdings.", "parameters": { "type": "object", "properties": { "coin_id": { "type": "string", "description": "Coin id. Can be either 'bitcoin' or 'ethereum'." } }, "required": [ "coin_id" ] } } } ]
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
1
Edit dataset card