The ShapeShift Exchange API allows you to easily get cross-chain swaps quotes and execute them. It supports major EVM chains as well as Cosmos and UTXO chains.

Generate your API key

  • Navigate to https://exchange.shapeshift.com/, and connect your wallet. After signing-in with Ethereum, GitHub, or email, you will be able to see your dashboard.
  • Click "API Keys"
  • Click "Create new key" to generate your first API key
  • Your new key will be generated and ready to use to authenticate API requests

Making authenticated API requests

  • Once your API key is generated, you can start using it as x-api-key header to make authenticated API requests, like so:

  • All docs playgrounds feature a x-api-key header field where you can paste your API key and try requests