Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

CoinGecko Exchanges List with Data

Tài liệu API
https://api.sandbase.ai/v1/api/coingecko/exchanges

Get all the supported exchanges with exchanges' data (ID, name, country, ...) that have active trading volumes on CoinGecko

Giá
$0.008USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Page through results. Default: 1
Total results per page. Default: 100. Valid values: 1...250
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

CoinGecko Exchanges List with Data API

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.

Use cases

  • Build a ranking table of exchanges sorted by trust_score_rank or trade_volume_24h_btc.
  • Collect exchange id values to feed into per-exchange lookups.
  • Group exchanges by country or year_established to study how the market is spread out.
  • Show exchange names, logos and links in a crypto app's exchange directory.

Request

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.

Parameters

NameTypeRequiredDescription
pagenumberNoPage through results. Default: 1
per_pagenumberNoTotal results per page. Default: 100. Valid values: 1...250

Example response

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
  }
]

Response fields

FieldMeaning
idExchange ID on CoinGecko, such as kraken or gdax. Use it to identify the exchange in other CoinGecko calls.
nameDisplay name of the exchange.
countryCountry listed for the exchange. It can be missing or empty for some entries.
year_establishedYear the exchange was founded.
trust_score / trust_score_ranktrust_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_btcTrading volume of the exchange over 24 hours, expressed in BTC.
has_trading_incentiveBoolean flag that shows whether the exchange has a trading incentive.
descriptionShort text about the exchange. It appears only on some entries.
url / imageurl is the exchange's website. image is the link to its logo.

Notes

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
CoinGecko$0.008 mỗi lần gọiJSON
CoinGecko$0.008 mỗi lần gọiJSON
CoinGecko$0.008 mỗi lần gọiJSON
CoinGecko$0.008 mỗi lần gọiJSON
CoinGecko$0.008 mỗi lần gọiJSON
CoinGecko$0.008 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API CoinGecko Exchanges List with Data?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/coingecko/exchanges với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API CoinGecko Exchanges List with Data có giá bao nhiêu?

$0.008 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API CoinGecko Exchanges List with Data chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: page (number) và per_page (number). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API CoinGecko Exchanges List with Data trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của CoinGecko không?

Không. CoinGecko Exchanges List with Data chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của CoinGecko.