🚦Native API

Native API allows users to get prices for token swap and build transaction data to execute on-chain swaps through Native infrastructure.

Before using the Native API, you need to create a project and generate an API key in the Developer Portal. You can refer to Create your project and get API Key to get started.

Get started

We provide users with the best possible prices on the market through an intelligent routing algorithm;

  • Refer to the authentication guide on how to authenticate yourself to access Native API

  • Refer to get /orderbook for any aggregator or resolvers to know Native price levels for all the supported pairs

  • Refer to get /indicative-quote to get quote regularly for a given chain and token pair. Code snippet can be found here.

  • Refer to get /firm-quote and get /calldata to obtain transaction data to execute the swap. Code snippet can be found here.

Swagger Docs

You can visit our swagger docs and experience first hand how our API works and how it can benefit you.

Last updated