Skip to main content

Odos Enterprise API

Enterprise API (Private Beta)

Our users have been eagerly awaiting the launch of the Odos Enterprise API, and we are happy to announce that it is now available in private beta! This release is a significant step forward in providing enhanced access to our Smart Order Routing (SOR) and Token Pricing APIs through higher RPS performance and future premium features.

We appreciate your patience and support throughout this process and look forward to your feedback as we refine and improve the API to meet your needs. The service has been thoroughly tested; however, some features may not be fully functional, and issues may occur as the API is still in beta. Your team was chosen as an early adopter, and your feedback is very important.

API Features

  • Higher RPS
  • Dedicated Infrastructure
  • Supports Multiple Keys per Account

Endpoints

Take note of the unique Enterprise API URL endpoint:

https://enterprise-api.odos.xyz/

The Enterprise endpoint supports all namespaces, schemas, functionality, etc., which are currently available on the free API. The full API reference is available here.

Authentication

All requests must include the API key in the x-api-key header as shown below:

x-api-key: your-api-key

JS Example:

const axios = require('axios');
const apiKey = 'ebf0c0c0-bacd-4490-8983-3e8b7368bc73'; // Replace with your actual API key provided by Odos
const chainId = '1'; //
const tokenAddress = '0xD533a949740bb3306d119CC777fa900bA034cd52';

axios.get(`https://enterprise-api.odos.xyz/pricing/token/${chainId}/${tokenAddress}`, {
headers: { 'x-api-key': apiKey }})

cURL Example:

curl -X GET "https://enterprise-api.odos.xyz/pricing/token/1/0xD533a949740bb3306d119CC777fa900bA034cd52" \
-H "x-api-key: ebf0c0c0-bacd-4490-8983-3e8b7368bc73"

Important Notes

Exceeding your RPS threshold will return an HTTP 429. Your RPS / monthly quota was provided with your API key.

This API is in private beta. Odos will gather feedback and performance metrics over the next several weeks in preparation for paid monthly service. Requests sent during this beta period will not be billed or appended to any future invoices.

All beta users will be given a 30-day grace period between the end of the private beta and the beginning of Odos' paid subscription service.

Feedback

For any questions or support, please contact our team via Telegram or Discord.