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

CoinGecko Supported Currencies List

Tài liệu API
https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies

Supported Currencies List from CoinGecko. Returns the official CoinGecko API response unchanged.

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

Phòng thử nghiệm

Đầu vào
Không có schema đầu vào
Đầ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 Supported Currencies List API

Returns the list of currency codes that CoinGecko supports, as a flat JSON array of lowercase strings. The request takes no input.

Use cases

  • Fill a currency dropdown with only the codes CoinGecko supports.
  • Check that a code such as eth or btc is on the supported list before you send it in another CoinGecko request.
  • Compare the list with your own stored list to spot codes that were added or removed.

Request

curl -X POST "https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

[
  "btc"
]

Response fields

FieldMeaning
[]The full response is an array. Each item is one supported currency code as a lowercase string.
[0]The first code in the array. In the sample response it is btc.
[1] / [2]Further codes in the array. In the sample response they are eth and ltc.

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 Supported Currencies List?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies 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 Supported Currencies List 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 Supported Currencies List chấp nhận những tham số nào?

CoinGecko Supported Currencies List không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.

API CoinGecko Supported Currencies List 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 Supported Currencies List 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.