Returns fiat-to-crypto quotes from all eligible providers, sorted by cheapest total cost.
Enter your Chainrails API key as a Bearer token
ISO 4217 fiat currency code
"NGN"
Amount of crypto the user wants to receive (e.g., 10 for 10 USDC)
10
Destination blockchain where user wants funds
ARBITRUM_MAINNET, ARBITRUM_TESTNET, AVALANCHE_MAINNET, AVALANCHE_TESTNET, BASE_MAINNET, BASE_TESTNET, STARKNET_MAINNET, STARKNET_TESTNET, BSC_MAINNET, ETHEREUM_MAINNET, ETHEREUM_TESTNET, OPTIMISM_MAINNET, OPTIMISM_TESTNET, MONAD_MAINNET, MONAD_TESTNET, POLYGON_MAINNET, HYPEREVM_MAINNET, LISK_MAINNET "BASE_MAINNET"
ISO 3166-1 alpha-2 country code of the user. Required for multi-country currencies (e.g., XOF — pass "BJ" for Benin, "SN" for Senegal). Falls back to the currency's default country if omitted.
"NG"
If true, only return quotes with direct transfer channels (no widget/redirect)
false
Aggregated ramp quotes