Developer API
Last updated September 3, 2026
Search our flights, link travellers straight into a booking, and earn commission on what you send. Everything below is served from https://aviodeals.com.
Getting access
The affiliate programme is open — anyone can join. Get in touch and tell us who you are and roughly what traffic you expect, and we will set you up.
- A tracking code — the value you put in the ref parameter on every link you send us.
- An API token for the search and feed endpoints.
- Commission terms: a percentage of the order total, up to an agreed maximum per booking.
Your token is a bearer credential: anyone holding it can query as you. We store only a hash of it, so we cannot read it back to you — keep it somewhere safe, and tell us straight away if it leaks and we will replace it.
Authentication
Send your token on every feed and search request, either as an Authorization header carrying the raw token — with no Bearer prefix — or as an accessToken query parameter. The redirect endpoints are public and take no token.
Example
curl -H "Authorization: YOUR_TOKEN" \
"https://aviodeals.com/api/v2/data/routes.json"Failures
Both answer HTTP 401 with the code ERROR_UNAUTHORIZED:
- No token at all: Authentication required
- A token we do not recognise, or one belonging to a deactivated account: Access Denied [1]
Endpoints
Responses are JSON. Dates are ISO 8601 (YYYY-MM-DD). Airports are referenced either by IATA code or by the numeric id from the airports feed; both are accepted everywhere an airport is named.