Questions? Feedback? powered by Olark live chat software

Milefy API


Our Milefy API computes the number of frequent flyer miles for any flight in the world. 

What you get: Fully personalized computations, according to the traveler's frequent flyer programs and status levels or in a program-agnostic way in case the memberships haven’t been provided. It provides results for all types of miles available (award and status miles, status segments and points) and works for both distance and revenue-based programs (for a list of supported programs click here)

Bottom line, with this API you’ll be able to display miles earned next to a single flight or a list of flight results.

See it in action: run a flight search on to see how 30K is powering their search engine with miles results.

The API exports a REST based web service over HTTPS, using JSON to encode service request and response data. 


30K uses an SSL secured channel to transmit data from client to the service. The customer is authenticated using HTTP basic authentication (over HTTPS) via a customer login and password that is provided when the customer registers for the service.


There are two environments available for the customer:

a) The TESTING environment is to be used for integration and testing purposes. It’s usually slower than the LIVE environment (see further below). If you are interested in getting url to our TESTING environment please proceed to the sign up page and we will revert back to you shortly with all essential details.

b) The LIVE environment is to be used after successful integration and receipt of LIVE service credentials (different from the TESTING environment credentials). The LIVE environment guarantees the most accurate calculations and up to date loyalty programs and their rules configuration. 

NB: above urls will be later referred to as “base service URL” and web methods urls will assume usage of the base service URL at the beginning. This applies to both TESTING or LIVE environments.

Want more information or have questions? Get in touch with us here.

MilefyAPI v2.6
Download our API documentation and start testing our application

FFPs Introduction
Download to have an overview on how frequent flyer programs work. We recommend taking a look at this document before opening the API documents and testing our application.