API-Reference

Endpoints

Learn more about the different endpoints of Swap API:

  • GET /v1/shortcuts/route - Get an easy-to-submit bytecode to go from a token to another, including LPs and DeFi tokens/positions. Returns a transaction that can be submitted to an Ethereum node.

Authentication

Enso authenticates your API requests using your account’s API keys. Once you’re set up, ensure that you specify your key with the 0x-api-key header parameter in your requests.

You can create, access or revoke your API keys via the Enso portal.