CoinGecko Supported Currencies List
https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currenciesSupported Currencies List from CoinGecko. Returns the official CoinGecko API response unchanged.
- ราคา
- $0.008USD / คำขอ
- Method
- POST
- การตอบกลับ
- JSON
- พารามิเตอร์
- 0 จำเป็น · 0 ไม่บังคับ
Playground
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
API README
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
ethorbtcis 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
| Field | Meaning |
|---|---|
[] | 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
- The response is a JSON array of strings, not an object, so there are no named keys.
- To look up coin IDs, call CoinGecko Coins List (ID Map).
- To get market data for coins, call CoinGecko Coins List with Market Data.
Pricing
$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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 '{}'2. การยืนยันตัวตน
ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
3. พารามิเตอร์
ยังไม่มีการเผยแพร่ schema ของพารามิเตอร์สำหรับ API นี้
4. การตอบกลับ
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
APIs ที่เกี่ยวข้อง
| 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 |
คำถาม
คำถามที่พบบ่อย
ฉันจะใช้ CoinGecko Supported Currencies List API ได้อย่างไร?
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
CoinGecko Supported Currencies List API ราคาเท่าไร?
$0.008 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
CoinGecko Supported Currencies List API รับพารามิเตอร์อะไรบ้าง?
CoinGecko Supported Currencies List ไม่รับพารามิเตอร์อินพุต ส่ง JSON body ว่างเปล่า
CoinGecko Supported Currencies List API ส่งคืนอะไร?
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ CoinGecko ไหม?
ไม่จำเป็น CoinGecko Supported Currencies List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง CoinGecko API แยกต่างหาก
