Query Currency
API Overview
This API retrieves the list of supported currencies in the system, with options for pagination and keyword-based fuzzy search.
Request Method:
GET
Request URL:
https://openapi.elven.com/open/v3/currency
Request Headers
elven-api-key
String
Yes
The API key assigned to you
elven-api-sign
String
Yes
Request signature, used to verify the legitimacy of the request
elven-api-timestamp
String
Yes
Request timestamp, in milliseconds
Request Parameters
Query 参数
page
Number
No
The page number to retrieve. Defaults to 1 if not provided.
limit
Number
No
The number of records per page. Defaults to 10 if not provided.
keyword
String
No
A keyword for fuzzy search. If omitted, no filtering is applied.
Example Request
Response Parameters
total
Number
The total number of currencies matching the query.
list
Array
A list of currencies
list of objects
name
String
The name of the currency
currency
String
The currency code (e.g., BTC
, USD
).
type
String
The type of currency (CRYPTO
for cryptocurrencies, FIAT
for fiat currencies).
Example Response
Notes
The following headers are required for all requests to ensure security and validity: elven-api-key,elven-api-sign,elven-api-timestamp
If page and limit are not provided, the API defaults to returning the first page with 10 records per page. If keyword is not provided, no keyword filtering is applied.
Last updated