Basics
A guide to help you easily integrate StableXchange into your product using REST APIs
API offeringsCopied!
Along with standard REST protocol, we also offer gRPC endpoints to drastically improve performance.
Navigate to the reference page for detailed description of each REST endpoint.
API ReferenceGetting StartedCopied!
API Key
You must generate an API key before making any request to the StableXchange server.
Get API KeyURLCopied!
https://api.stablecoinxyz.com/
Use custom header x-stablexchange-api-key
with your API key as the value when using REST.
curl https://api.stablecoinxyz.com/v1/transfer/quote \
--request POST \
--header 'Content-Type: application/json' \
--header 'X-Stablexchange-Api-Key: xxxYOURxKEYxxx' \
--data '{
"amount_stablecoin": 100,
"stablecoin": "USDC",
"blockchain_network": "MATIC-AMOY",
"sponsor_cost": true
}'