pagenumber
Page through results. Default: 1
https://api.sandbase.ai/v1/api/coingecko/exchangesGet all the supported exchanges with exchanges' data (ID, name, country, ...) that have active trading volumes on CoinGecko
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns a list of crypto exchanges tracked on CoinGecko, with each exchange's ID, name, country, trust score and 24-hour trading volume in BTC. It needs no input. You can set page and per_page to step through the list.
trust_score_rank or trade_volume_24h_btc.id values to feed into per-exchange lookups.country or year_established to study how the market is spread out.curl -X POST "https://api.sandbase.ai/v1/api/coingecko/exchanges" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | Page through results. Default: 1 |
per_page | number | No | Total results per page. Default: 100. Valid values: 1...250 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"country": "United States",
"has_trading_incentive": false,
"id": "kraken",
"image": "https://coin-images.coingecko.com/markets/images/29/small/kraken.jpg?1706864265",
"name": "Kraken",
"trade_volume_24h_btc": 21814.843227406407,
"trust_score": 10,
"trust_score_rank": 1,
"url": "https://www.kraken.com/",
"year_established": 2011
}
]
| Field | Meaning |
|---|---|
id | Exchange ID on CoinGecko, such as kraken or gdax. Use it to identify the exchange in other CoinGecko calls. |
name | Display name of the exchange. |
country | Country listed for the exchange. It can be missing or empty for some entries. |
year_established | Year the exchange was founded. |
trust_score / trust_score_rank | trust_score is a numeric score for the exchange, and trust_score_rank is its position in the ranking. Rank 1 is the top entry. |
trade_volume_24h_btc | Trading volume of the exchange over 24 hours, expressed in BTC. |
has_trading_incentive | Boolean flag that shows whether the exchange has a trading incentive. |
description | Short text about the exchange. It appears only on some entries. |
url / image | url is the exchange's website. image is the link to its logo. |
page (default 1) and per_page (default 100, valid values 1 to 250) to move through the list.id value works as the exchange ID input for CoinGecko Exchange Data by ID and CoinGecko Exchange Tickers by ID.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/coingecko/exchanges" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
pagenumberPage through results. Default: 1
per_pagenumberTotal results per page. Default: 100. Valid values: 1...250
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
CoinGecko | $0.008 / 回 | JSON |
CoinGecko | $0.008 / 回 | JSON |
CoinGecko | $0.008 / 回 | JSON |
CoinGecko | $0.008 / 回 | JSON |
CoinGecko | $0.008 / 回 | JSON |
CoinGecko | $0.008 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/coingecko/exchanges に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.008、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須パラメータはありません。 任意: page (number) と per_page (number)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。CoinGecko Exchanges List with Data は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。CoinGecko の API アクセスを別途申請する必要はありません。