Discover/Air Premia API
live

Air Premia APIairpremia.com

Access Air Premia lowest daily fares by route and cabin class, plus active promotions. 2 endpoints covering fare calendars and discount campaigns.

Endpoint health
verified 21h ago
get_sector_fares
list_promotions
2/2 passing latest checkself-healing
Endpoints
2
Updated
22d ago

What is the Air Premia API?

The Air Premia API exposes 2 endpoints to retrieve fare and promotion data from airpremia.com. The get_sector_fares endpoint returns a per-day fare calendar for any supported origin-destination pair, breaking down costs by cabin class (Economy and Premium Economy) with base fare, taxes, and total. The list_promotions endpoint surfaces active and past discount campaigns with pagination support.

This call costs1 credit / call— charged only on success
Try it
Number of adult passengers.
3-letter IATA airport code for departure (e.g. ICN, LAX, NRT).
Number of infant passengers.
Number of child passengers.
End date for fare search in YYYY-MM-DD format. Automatically snapped to the last day of the given month, then clamped to at most 2 calendar months from begin_date. Defaults to end of next month.
Trip type for fare lookup.
Start date for fare search in YYYY-MM-DD format. Must be today or later; dates in the past are automatically adjusted to today. Defaults to today.
3-letter IATA airport code for arrival (e.g. LAX, NRT, HKG, SFO, EWR, HNL, BKK, IAD).
api.parse.bot/scraper/2b9336e1-2c30-459b-819c-5168290ff518/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/2b9336e1-2c30-459b-819c-5168290ff518/get_sector_fares?adults=1&origin=ICN&infants=0&children=0&end_date=2026-10-19&trip_type=OW&begin_date=2026-09-19&destination=LAX' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace airpremia-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Air Premia SDK — bounded, re-runnable; every call capped."""
from parse_apis.airpremia_com_api import AirPremia, TripType, InvalidInput

client = AirPremia()

# Search lowest fares for ICN → LAX sector
calendar = client.fare_calendars.search(origin="ICN", destination="LAX", trip_type=TripType.ONE_WAY)
for route in calendar.results[:3]:
    for day in route.daily_fares[:3]:
        if day.fares:
            print(day.date, day.fares[0].total_fare, day.fares[0].cabin_class)

# Browse current promotions
for promo in client.promotions.list(limit=3):
    print(promo.id, promo.name, promo.is_in_progress)

# Typed error handling
try:
    client.fare_calendars.search(origin="ZZZ", destination="LAX")
except InvalidInput as e:
    print("invalid input:", e)

print("exercised: fare_calendars.search, promotions.list")
All endpoints · 2 totalmissing one? ·

Retrieve the lowest daily fare calendar for a given Air Premia route (origin-destination pair) over a date range. Returns per-day availability with fares broken down by cabin class (Economy and Premium Economy), including base fare, taxes, and total. Dates with no availability are marked as sold out. The API requires end_date to align to the last day of its month; any provided end_date is automatically snapped to the month's end. The maximum date span is 2 calendar months (e.g. begin in August allows end in September at most); wider ranges are automatically clamped.

Input
ParamTypeDescription
adultsstringNumber of adult passengers.
originstring3-letter IATA airport code for departure (e.g. ICN, LAX, NRT).
infantsstringNumber of infant passengers.
childrenstringNumber of child passengers.
end_datestringEnd date for fare search in YYYY-MM-DD format. Automatically snapped to the last day of the given month, then clamped to at most 2 calendar months from begin_date. Defaults to end of next month.
trip_typestringTrip type for fare lookup.
begin_datestringStart date for fare search in YYYY-MM-DD format. Must be today or later; dates in the past are automatically adjusted to today. Defaults to today.
destinationstring3-letter IATA airport code for arrival (e.g. LAX, NRT, HKG, SFO, EWR, HNL, BKK, IAD).
Response
{
  "type": "object",
  "fields": {
    "origin": "string — departure airport code",
    "results": "array of route fare results with daily_fares",
    "end_date": "string — end date of the fare calendar",
    "trip_type": "string — OW or RT",
    "begin_date": "string — start date of the fare calendar",
    "destination": "string — arrival airport code"
  },
  "sample": {
    "data": {
      "origin": "ICN",
      "results": [
        {
          "origin": "ICN",
          "daily_fares": [
            {
              "date": "2026-08-04",
              "fares": [],
              "sold_out": true,
              "no_flights": false
            },
            {
              "date": "2026-08-05",
              "fares": [
                {
                  "base_fare": 1625000,
                  "total_fare": 1875600,
                  "cabin_class": "EY",
                  "product_class": "YS",
                  "taxes_and_fees": 250600,
                  "available_count": 1
                },
                {
                  "base_fare": 2015000,
                  "total_fare": 2265600,
                  "cabin_class": "PE",
                  "product_class": "PS",
                  "taxes_and_fees": 250600,
                  "available_count": 4
                }
              ],
              "sold_out": false,
              "no_flights": false
            }
          ],
          "destination": "LAX"
        }
      ],
      "end_date": "2026-09-30",
      "trip_type": "OW",
      "begin_date": "2026-08-04",
      "destination": "LAX"
    },
    "status": "success"
  }
}

About the Air Premia API

Fare Calendar by Route

The get_sector_fares endpoint accepts IATA airport codes for origin and destination, a begin_date and end_date in YYYY-MM-DD format, passenger counts (adults, children, infants), and a trip_type (one-way or round-trip). It returns a structured response containing a results array of route fare objects, each with a daily_fares breakdown. Each day entry distinguishes Economy from Premium Economy fares and includes base fare, taxes, and total. Dates with no available inventory are omitted from the results. The default date window runs from today through 57 days out if no dates are specified.

Promotions Listing

The list_promotions endpoint returns Air Premia promotional events with full pagination via page (1-based) and size parameters. The response includes a promotions array of campaign objects and page_info metadata. Promotions cover a range of types including route-specific fare sales, credit card partnership deals, and seasonal discount campaigns — both currently active and historical.

Route Coverage and Data Shape

Air Premia operates a focused long-haul network with destinations including ICN (Seoul Incheon), LAX, SFO, NRT, HKG, EWR, HNL, BKK, and IAD. The fare calendar endpoint is built around these sectors. The API does not expose seat maps, individual flight schedules with departure times, or booking/reservation functionality — it is scoped to lowest-fare discovery and promotional awareness.

Reliability & maintenanceVerified

The Air Premia API is a managed, monitored endpoint for airpremia.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when airpremia.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official airpremia.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
21h ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a fare alert tool that monitors daily_fares across Air Premia routes for price drops below a target threshold
  • Populate a flight price comparison widget with lowest Economy and Premium Economy fares for ICN-LAX or ICN-SFO
  • Track round-trip vs. one-way fare spreads over a 57-day window using the trip_type parameter
  • Aggregate Air Premia promotions to surface current discount campaigns alongside fares in a travel deals dashboard
  • Analyze fare patterns across multiple origin-destination pairs to identify low-fare travel windows
  • Display a fare calendar heatmap for a specific route, highlighting cheapest days using daily_fares data
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Air Premia have an official developer API?+
Air Premia does not publish a public developer API or documented data feed. There is no official API portal or developer documentation available from the airline.
What does get_sector_fares return for dates with no available flights?+
Dates with no inventory are omitted from the daily_fares array entirely. The response still includes begin_date, end_date, origin, destination, and trip_type so you can identify gaps in the returned date range.
Does the API return individual flight schedules or departure times?+
Not currently. The API covers lowest daily fares by cabin class and promotional campaign data. Individual flight schedules, departure times, flight numbers, and seat availability are not part of the current endpoints. You can fork it on Parse and revise to add the missing endpoint.
Can I retrieve fares for multi-city itineraries?+
Not currently. The get_sector_fares endpoint works with a single origin-destination pair per request and supports one-way or round-trip via the trip_type parameter. Multi-city or stopover itinerary pricing is not covered. You can fork it on Parse and revise to add the missing endpoint.
How does pagination work for the list_promotions endpoint?+
Pagination is controlled by the page (1-based integer) and size parameters. The response includes a page_info object with metadata you can use to determine total pages and whether additional results exist. Results are auto-iterated across pages when using the default behavior.
Page content last updated . Spec covers 2 endpoints from airpremia.com.
Related APIs in TravelSee all →
skyairline.com API
Search for flights across SKY Airline routes, explore available airports and travel options, and discover current promotions and brand offerings. Plan your trip efficiently by browsing the airline's complete route network and accessing exclusive deals in one place.
us.trip.com API
Search for flights across Trip.com and view a low-price calendar to find the cheapest travel dates for your destination. Compare flight options and prices to book your next trip at the best rates available.
makemytrip.com API
Search for airports and compare the cheapest flight fares between any two cities across multiple dates with MakeMyTrip's fare calendar to find your best deal. Quickly identify the most affordable travel options and plan your trip with real-time pricing information.
jetsmart.com API
Search JetSMART flights across available routes and airports, check real-time schedules and flight status, and discover low fares with an interactive calendar. Plan your trips efficiently by browsing all airport and route options without needing authentication.
avianca.com API
Discover all of Avianca's current flight promotions and special deals in one place to find the best offers available. Browse through active promotional actions to compare prices and plan your next trip with Avianca at discounted rates.
alaskaair.com API
Search for Alaska Airlines award flight availability and pricing in miles, including taxes, fees, and seat details across airports and cities. Look up airport and city codes to find the perfect mileage redemption for your next trip.
ryanair.com API
Access data from ryanair.com.
kayak.com.hk API
Search for flights and compare prices across airlines and routes, including flexible-date searches across multiple origin airports. View monthly price calendars to find the cheapest travel dates and get real-time fare information for any route.