Skip to main content
GET
/
v1
/
markets
/
prices
Get Fiat Prices
curl --request GET \
  --url https://api.openxswitch.com/v1/markets/prices \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "ETH": "0.022",
    "BTC": "0.322",
    "USDT": "120.5"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Query Parameters

baseCurrency
string

The currency code for filtering fiat prices (e.g., USD, NGN)

Example:

"USD"

coins
string

Coin symbol to filter, separated by commas (e.g., 'BTC, ETH')

Example:

"BTC,ETH"

Response

success
boolean
required
Example:

true

data
object
required