iNode API
The iNode API allows you to programmatically access your traffic data, traffic stats reports, OD, etc. This page covers everything you need to get started from authenticating your requests to running full API examples in multiple languages. Whether you're integrating iNode into an existing system or building a custom workflow, the sections below will walk you through the setup step by step.
Authentication
API Key
The API Key method is the simplest way to access the iNode API. To retrieve your key, navigate to Settings > My Profile > API Access in the iNode dashboard and copy the key shown there.
Note: Only iNode users with the Owner role can access the API Key from the dashboard.
Once you have your API Key, include it in the Authorization header of every request you send to the iNode API, as shown in the examples below.
Examples
The examples below are making a get request to the iNode Flow v1 endpoint for retrieving the links.
cURL
curl 'https://inode.app/api/v1/ts/' -H 'Authorization: Token xxxxxxxxxxxxxxxxxxxxxxxx' Python
import requests
headers = {
'Authorization': 'Token xxxxxxxxxxxxxxxxxxxxxxxxxxx'
}
response = requests.get('https://inode.app/api/v1/flow/ts/', headers=headers)cURL
API Key Authentication
If you've retrieved your API Key from iNode > Settings > Profile > API Access, use the following example instead. This approach is simpler — no token management is required.
Set up your endpoint URLs and include your API Key in the header.
Swagger documentation
iNode's full API reference is available through the Swagger documentation. You can access it here.
Note: You must be logged into iNode to access the Swagger documentation.