← 金融与货币

加密货币搜索

GET /crypto/search

按名称或代码符号搜索前 250 种加密货币。返回匹配的代币及其 ID、符号、名称和当前价格。适用于在加密货币应用中构建自动补全搜索字段、让用户查找和添加代币到关注列表,或将模糊的代码符号解析为正确的代币。

查看可视化效果

参数

q 必填

Search query

请求示例

基本用法
curl "https://nordapi.ee/api/v1/crypto/search?q=ethereum"
Search for Ethereum
curl "https://nordapi.ee/api/v1/crypto/search?q=ethereum"
Search by ticker symbol
curl "https://nordapi.ee/api/v1/crypto/search?q=SOL"
Search for dog-themed coins
curl "https://nordapi.ee/api/v1/crypto/search?q=doge"

实时响应

{
  "count": 4,
  "data": [
    {
      "id": "ethereum",
      "market_cap_usd": 227890806639.0,
      "name": "Ethereum",
      "price_usd": 1888.27,
      "symbol": "ETH"
    },
    {
      "id": "ethereum-classic",
      "market_cap_usd": 1001511858.0,
      "name": "Ethereum Classic",
      "price_usd": 6.34,
      "symbol": "ETC"
    },
    {
      "id": "ethereum-name-service",
      "market_cap_usd": 173766609.0,
      "name": "Ethereum Name Service",
      "price_usd": 4.13,
      "symbol": "ENS"
    },
    {
      "id": "midas-re7-ethereum",
      "market_cap_usd": 8437806.0,
      "name": "Midas Re7 Ethereum",
      "price_usd": 1764.0,
      "symbol": "MRE7ETH"
    }
  ],
  "success": true
}

响应示例

{"success":true,"data":[{"id":"ethereum","symbol":"ETH","name":"Ethereum","price_usd":2147.50}]}