測試和了解加密貨幣 API 端點的工作原理 - 需要 API Key 認證
• 查詢參數方式:API Key 會自動添加到 URL 查詢參數中
• 格式:?apikey=YOUR_API_KEY
• 範例:/api/v1/cryptocurrencies/btc?currency=MYR&apikey=xxx
{{ apiRequestUrl }}
Accept: application/jsonX-API-Key: YOUR_API_KEY
{{ JSON.stringify(apiResponse, null, 2) }}
/api/v1/cryptocurrencies/{symbol}?currency={currency}| 字段 | 類型 | 說明 |
|---|---|---|
| name | string | 加密貨幣名稱 |
| symbol | string | 加密貨幣代碼 |
| base_currency | string | 基礎幣別 (USD) |
| base_price | string | USD 價格 |
| currency | string | 目標幣別 |
| price | string | 轉換後的價格 |
| change | float | 24小時價格變化百分比 |
| last_updated | string | 最後更新時間 (ISO 8601) |