GET /crypto/search
按名称或代码符号搜索前 250 种加密货币。返回匹配的代币及其 ID、符号、名称和当前价格。适用于在加密货币应用中构建自动补全搜索字段、让用户查找和添加代币到关注列表,或将模糊的代码符号解析为正确的代币。
q
必填
Search query
| 名称 | 必填 | 默认值 | 描述 |
|---|---|---|---|
q |
是 | - | Search query |
curl "https://nordapi.ee/api/v1/crypto/search?q=ethereum"
curl "https://nordapi.ee/api/v1/crypto/search?q=ethereum"
curl "https://nordapi.ee/api/v1/crypto/search?q=SOL"
curl "https://nordapi.ee/api/v1/crypto/search?q=doge"
{
"count": 3,
"data": [
{
"id": "ethereum",
"market_cap_usd": 249557663837.0,
"name": "Ethereum",
"price_usd": 2066.43,
"symbol": "ETH"
},
{
"id": "ethereum-classic",
"market_cap_usd": 1339982035.0,
"name": "Ethereum Classic",
"price_usd": 8.58,
"symbol": "ETC"
},
{
"id": "ethereum-name-service",
"market_cap_usd": 212626675.0,
"name": "Ethereum Name Service",
"price_usd": 5.54,
"symbol": "ENS"
}
],
"success": true
}
{"success":true,"data":[{"id":"ethereum","symbol":"ETH","name":"Ethereum","price_usd":2147.50}]}