Piratefly

The flight price verdict, as an API

One endpoint: tell it a route, it tells you whether today’s fare is cheap or expensive against that route’s own price history — the same verdict this site shows on every route page, as JSON you can call from your own code.

Free

30 requests/day per IP, no signup, no API key. Good for trying it out or a low-volume use case.

Pro — $9.99/month

No daily cap. Pay by card, get a key back immediately — no approval wait.

Example

GET /v1/analisi with an origin and a destination IATA code:

curl "https://next.piratefly.com/v1/analisi?origine=FCO&destinazione=BCN"

Full reference

Machine-readable docs, including the Pro key flow: /v1/docs

What does the Piratefly API return?

For a given route it returns today’s cheapest fare, how it compares against the route’s own price history (percentile), and a buy/wait verdict — the same logic behind piratefly.com, as JSON.

How does the Pro tier work?

POST your email to /v1/pro/checkout, pay $9.99/month on Stripe, and the confirmation endpoint hands back an API key. Send it as the X-Api-Key header to drop the free tier’s daily cap.