Skip to main content
GET
/
currency
/
{symbol}
cURL
curl --request GET \
  --url https://api.odin.fun/v1/currency/{symbol} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "amount": 123,
  "datetime": "2023-11-07T05:31:56Z",
  "symbol": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

symbol
string
required

Query Parameters

datetime
string

Gets currency that is less than or equal to this datetime

Response

default - application/json
id
integer<int64>
required
amount
number
required
datetime
string<date-time>
required
symbol
string
required