🔸Authentication

Step by step guide to set up the Marswap Aggregator API

Get your API keys

Your API requests are authenticated using an API Key and Integrator ID. Any request that doesn't include these credentials will return an error.

The API Key is passed as a header and the Integrator ID as a query string parameter in the request.

Below is an example API Key and Integrator ID combination.

marswap-api-key: '4b5f885c-b764-4160-95f4-00ceb5124abb' // Example API Key
integratorId: 'test-widget'

Last updated