Supported Currencies & Networks
API Details
Action: Fetch Supported Currencies
Method: GET
Path: /v1/currency
Business Summary
This endpoint returns all currencies that Basqet supports, and is grouped by FIAT or CRYPTO.
- FIAT – Traditional currencies like NGN, USD, EUR.
- CRYPTO – Digital currencies like USDT, BTC, ETH, along with the networks they support (e.g., ERC20, BEP20).
For cryptocurrencies, it also lists the blockchain networks each currency is available on. You can use this API to:
- Dynamically display supported currencies and networks in your UI.
- Validate user input before transactions.
- Ensure only supported currencies and networks are used in conversions or payments.
Request Parameters
Query Parameters
| Name | Type | Required | Default | Allowed Values | Description |
|---|---|---|---|---|---|
| type | string | No | FIAT | FIAT, CRYPTO | Filter currencies by category. - Use FIAT to get only traditional currencies, - Use CRYPTO to get digital currencies and their networks. Omitting this parameter returns both types. |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer YOUR_SECRET_KEY |
Request Examples
cURL
curl \-X GET "<https://api.basqet.com/v1/currency?type=CRYPTO"> \\
\-H "Authorization: Bearer sk\_test\_xxxxxxxxx"
Response Schema
| Field | Type | Nullable | Description |
|---|---|---|---|
| status | string | No | Request status (success or error) |
| data | object | No | Container for all supported currencies |
| data.id | integer | No | Unique currency ID |
| data.name | string | No | Full currency name (e.g., “Tether”) |
| data.slug | string | No | Currency code / short identifier (e.g., USDT) |
| data.icon_url | string | No | URL to the currency icon |
| data.type | string | No | Currency category: FIAT or CRYPTO |
| data.created_at | string (ISO 8601) | No | Timestamp of when currency was added |
| data.updated_at | string (ISO 8601) | No | Timestamp of last currency update |
| meta | object | Yes | Additional metadata (currently empty; may include pagination or filter info in future) |
Sample Response
{
"status": "success",
"data": [
{
"id": 3,
"name": "Tether",
"slug": "USDT",
"icon_url": "https://basquet-assets.s3.amazonaws.com/icons/currency/USDT.svg",
"type": "CRYPTO",
"created_at": "2022-01-19T13:41:40.000Z",
"updated_at": "2022-01-19T13:41:40.000Z"
},
{
"id": 4,
"name": "Bitcoin",
"slug": "BTC",
"icon_url": "https://basquet-assets.s3.amazonaws.com/icons/currency/BTC.svg",
"type": "CRYPTO",
"created_at": "2022-01-19T13:41:40.000Z",
"updated_at": "2022-01-19T13:41:40.000Z"
},
{
"id": 5,
"name": "Quidax Token",
"slug": "QDX",
"icon_url": "https://basquet-assets.s3.amazonaws.com/icons/currency/QDX.svg",
"type": "CRYPTO",
"created_at": "2022-01-19T13:41:40.000Z",
"updated_at": "2022-01-19T13:41:40.000Z"
},
{
"id": 6,
"name": "Ethereum",
"slug": "ETH",
"icon_url": "https://basquet-assets.s3.amazonaws.com/icons/currency/ETH.svg",
"type": "CRYPTO",
"created_at": "2022-01-19T13:41:40.000Z",
"updated_at": "2022-01-19T13:41:40.000Z"
},
{
"id": 7,
"name": "Litecoin",
"slug": "LTC",
"icon_url": "https://basquet-assets.s3.amazonaws.com/icons/currency/LTC.svg",
"type": "CRYPTO",
"created_at": "2022-01-19T13:41:40.000Z",
"updated_at": "2022-01-19T13:41:40.000Z"
}
],
"meta": {}
}
Error Reference
| HTTP Code | Error Code | Message | Resolution |
|---|---|---|---|
| 400 | invalid_type | Invalid currency type | Use either FIAT or CRYPTO |
| 401 | unauthorized | Invalid API key | Use a valid secret key in the Authorization header |
| 500 | server_error | Internal server error | Retry request or contact support |
Updated 5 days ago