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

🔄Fetch Tickers

In this section, you’ll learn how to fetch all supported tickers using the PayRam API, allowing you to display real-time token and blockchain options available for user payments.


URL Details

Parameter
Description
Example

BASE_URL

Your PayRam Site URL — find it under Settings → Site URL in your dashboard. Include the port if you installed on one.

https://pay.example.com

API Endpoint

Endpoint to fetch supported currencies and their live USD prices.

/api/v1/ticker

Headers

Note: This is a public endpoint. No API key is required.

curl request

Before running the command, replace the placeholders with your actual details:

  • ${BASE_URL} → Your PayRam server URL

  • <your_api_key> → Your PayRam API key

  • Replace the request body fields with real customer data

curl --location '${BASE_URL}/api/v1/ticker' \
--data ''

curl response

You’ll receive a list of supported blockchain assets, each containing:

  • Blockchain info – e.g., ETH, BTC, TRX, BASE

  • Token details – contract address, precision, and standard

  • Live pricing – current USD value for each token

Note : Each object represents a supported token on PayRam with its blockchain code, token standard, and real-time price.

Last updated