← Finans & valuta

Kryptosökning

GET /crypto/search

Search över the top 250 kryptovalutor by namn or ticker symbol. Returnerar matchande coins med deras ID, symbol, namn, and aktuell pris. Användbart för att bygga autofullständig sök fält in crypto appar, som låter användare hitta and lägga till coins to watchlists, or resolving ambiguous ticker symbols till correct coin.

Parametrar

q obligatorisk

Search query

Exempelförfrågningar

Grundläggande användning
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"

Livesvar

{
  "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
}

Exempelsvar

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