Request Quote
API Documentation for the requesting quotes - don't hesitate to reach out for additional support at [email protected]
POST https://api.bindpay.xyz/v1/quoteHeader
Value
Description
Request Body
Field
Type
Description
Example Request
curl -X POST "https://api.bindpay.xyz/v1/quote" \
-H "Content-Type: application/json" \
-H "x-api-key: your_api_key_here" \
-d '{
"fromChain": "1", //Eth Chain ID
"fromToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", //USDC
"fromAddress": "0x742d35Cc6634C0532925a3b844Bc45426438f000",
"usdAmount": 100
}'import requests
url = "https://api.bindpay.xyz/v1/quote"
headers = {
"Content-Type": "application/json",
"x-api-key": "your_api_key_here"
}
data = {
"fromChain": "1",
"fromToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"fromAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"usdAmount": 100
}
response = requests.post(url, headers=headers, json=data)
print(response.json())Response
Notes
Status Code
Error Type
Description
Error Handling
Last updated