Onramp API Integration.
Crypto Token Quotation

Fetch Quotation

1min
Fetch Quotation for the provided token and chainId combination.
POST
Request
Header Parameters
x-api-key
required
String
api key from dashboard
Body Parameters
buyTokenSymbol
required
String
example : "USDC"
chainId
required
Number
example: 80001 for polygon testnet
fiatCurrency
required
String
example: "inr"
fiatAmount
required
Number
example: 100
buyTokenAddress
required
String
example: "0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889"

Sample Request body