Get a currency

GET /currencies/{code}

Get a specific currency

Query parameters

  • base string

    Base currency for exchange rate. Default: USD

Responses

  • 200 application/json

    Found currency

    Hide response attributes Show response attributes object
  • API key is missing or invalid

  • Currency not found

  • No or empty currency/query specified

  • [FREE PLANS ONLY] Request Quota Exceeded

GET /currencies/{code}
curl \
 -X GET https://api.tellusdb.com/v1/currencies/{code}?token=api_token_value
Response examples (200)
{
  "result": {
    "code": "USD",
    "name": "United States dollar",
    "symbol": "$",
    "rate": 7.06881
  },
  "time_taken_ms": 1.3892211
}