Skip to main content
GET
/
rates
/
{token}
/
{amount}
/
{fiat}
Get token rate
curl --request GET \
  --url https://api.paycrest.io/v1/rates/{token}/{amount}/{fiat}
{
  "status": "success",
  "message": "Operation successful",
  "data": 123
}
Retrieve an exchange rate for a token amount and fiat pair (legacy v1 API).

Path Parameters

token
string
required
amount
string
required
fiat
string
required

Query Parameters

network
enum<string>

Network identifier for the blockchain (optional, filters tokens by network)

Available options:
ethereum,
base,
bnb-smart-chain,
lisk,
scroll,
celo,
arbitrum-one,
polygon,
asset-chain
provider_id
string

Provider ID to get the rate for a specific provider. If not provided, returns rate from the public queue.

Response

Token rate

status
string
Example:

"success"

message
string
Example:

"Operation successful"

data
number

The exchange rate for the token to fiat currency conversion