For the complete documentation index, see llms.txt. This page is also available as Markdown.

Prices

This endpoint allows you to retrieve the current prices of all cryptocurrencies supported by OxaPay.

Get cryptocurrency prices

get
Responses
200

Successful operation

application/json
dataobjectOptional

Object keyed by cryptocurrency symbol. Each value represents the current price.

messagestringOptional

A message containing additional information about the result of the request.

statusintegerOptional

The status of the request response. Typically provided as a numeric code.

versionstringOptional

The version of the API being used.

get/common/prices
import requests

url = 'https://api.oxapay.com/v1/common/prices'

response = requests.get(url)
result = response.json()
print(result)
200

Successful operation

{
  "data": {
    "DOGE": 0.33417,
    "BNB": 695.79,
    "XMR": 198.42,
    "BTC": 94876.55,
    "ETH": 3301.45,
    "USDC": 1.0001,
    "POL": 0.4591,
    "SOL": 191.35,
    "NOT": 0.0059799,
    "SHIB": 0.00002163,
    "TRX": 0.2422,
    "USDT": 1,
    "DOGS": 0.000459,
    "GRAM": 5.2515,
    "BCH": 433.5,
    "DGB": 0.01244,
    "LTC": 103.99
  },
  "message": "Operation completed successfully!",
  "error": {},
  "status": 200,
  "version": "1.0.0"
}

Last updated