Alaskaair APIalaskaair.com ↗
Search Alaska Airlines Mileage Plan award availability by route and date. Get miles pricing, taxes/fees, seat counts, segments, and nearby date options.
What is the Alaskaair API?
The Alaska Airlines API exposes 2 endpoints for querying Mileage Plan award flight availability and resolving airport codes. The search_award_flights endpoint returns a full breakdown of available itineraries for a given origin, destination, and date — including miles required, cash taxes/fees, seat counts, flight segments with carrier and aircraft details, and a nearby-date pricing calendar. The search_airports endpoint resolves city names or IATA codes to their canonical airport identifiers.
curl -X GET 'https://api.parse.bot/scraper/fdc007c8-aa7a-45cd-bccf-a1409f8ecd50/search_award_flights?date=2026-08-01&cabin=Main&adults=1&origin=SEA&destination=LAX' \ -H 'X-API-Key: $PARSE_API_KEY'
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 alaskaair-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.
from parse_apis.alaska_airlines_award_flight_search_api import AlaskaAir, Flight, Airport, Cabin
client = AlaskaAir()
# Search for airports matching a city name
for airport in client.airports.search(query="Seattle"):
print(airport.name, airport.code, airport.group)
# Search for award flights with a cabin filter
for flight in client.flights.search(origin="SEA", destination="LAX", date="2026-07-15", cabin=Cabin.FIRST):
print(flight.origin, flight.destination, flight.total_duration_minutes, flight.num_stops)
for segment in flight.segments:
print(segment.carrier_code, segment.flight_number, segment.departure_airport, segment.arrival_airport, segment.departure_time, segment.aircraft)
for fare in flight.fares:
print(fare.cabin_class, fare.fare_type, fare.miles, fare.taxes_fees_usd, fare.seats_remaining)
Search for award flight availability using Alaska Airlines Mileage Plan miles. Returns all available flights for a given route and date with miles pricing, cash taxes/fees, seats remaining, flight segments with carrier details, aircraft, and amenities. Also includes nearby date pricing calendar when available. Each flight contains multiple fare options (cabin/class combinations) and one or more segments describing the route.
| Param | Type | Description |
|---|---|---|
| daterequired | string | Travel date in YYYY-MM-DD format. |
| cabin | string | Cabin class filter: Main, Business, or First. Omitting returns all cabin classes. |
| adults | string | Number of adult passengers. |
| originrequired | string | Origin airport IATA code (e.g. SEA, SFO, LAX). |
| destinationrequired | string | Destination airport IATA code (e.g. LAX, NRT, LHR). |
{
"type": "object",
"fields": {
"date": "string - search date in YYYY-MM-DD format",
"adults": "integer - number of passengers",
"origin": "string - origin airport code",
"flights": "array of Flight objects with segments and fares",
"destination": "string - destination airport code",
"nearby_dates": "array of nearby date pricing objects (present when available)",
"total_flights": "integer - number of flight options found"
},
"sample": {
"data": {
"date": "2026-07-01",
"adults": 1,
"origin": "SEA",
"flights": [
{
"fares": [
{
"miles": 32500,
"cabins": [
"FIRST"
],
"fare_key": "REFUNDABLE_FIRST",
"fare_type": "Refundable",
"refundable": "true",
"cabin_class": "First",
"mixed_cabin": "false",
"is_discounted": "false",
"taxes_fees_usd": 5.6,
"seats_remaining": 5
}
],
"origin": "SEA",
"segments": [
{
"aircraft": "Boeing 737-900 (Winglets) Passenger",
"amenities": [
"Entertainment on demand",
"In-seat power source",
"Wi-Fi"
],
"operated_by": "Operated by Alaska",
"arrival_time": "2026-07-01T08:47:00-07:00",
"carrier_code": "AS",
"carrier_name": "Alaska Airlines",
"aircraft_code": "73J",
"flight_number": 505,
"stopover_info": "0m",
"departure_time": "2026-07-01T06:03:00-07:00",
"arrival_airport": "LAX",
"duration_minutes": 164,
"next_day_arrival": "false",
"departure_airport": "SEA",
"stopover_duration": 0
}
],
"num_stops": 0,
"destination": "LAX",
"total_duration_minutes": 164
}
],
"destination": "LAX",
"nearby_dates": [
{
"date": "2026-06-30",
"award_points": 7500,
"is_discounted": true,
"taxes_fees_usd": 5.6
}
],
"total_flights": 35
},
"status": "success"
}
}About the Alaskaair API
Award Flight Search
The search_award_flights endpoint accepts a required origin, destination, and date (YYYY-MM-DD format), with optional cabin and adults parameters. cabin accepts Main, Business, or First; omitting it returns all classes. The response contains a flights array where each object includes total_duration_minutes, num_stops, a segments array with per-leg carrier and aircraft details, and a fares array with miles required and cash taxes/fees in USD. A nearby_dates array is included when available, listing alternative dates with their own award_points, taxes_fees_usd, and an is_discounted flag — useful for identifying the cheapest redemption window around your target date.
Airport Code Lookup
The search_airports endpoint takes a free-text query — either a city name like Tokyo or an IATA code like SFO — and returns an airports array. Each result includes name, code, and group, which indicates regional groupings Alaska uses internally. This is the right tool to run before search_award_flights when you're unsure of the correct airport code for a given city or metro area.
Data Coverage and Scope
Results reflect one-way award availability on Mileage Plan, including partner carrier itineraries where they appear in award search results. Each flight object exposes num_stops and segment-level detail, so multi-stop itineraries are represented individually alongside nonstops. The total_flights field in the response tells you exactly how many options were found for the query.
The Alaskaair API is a managed, monitored endpoint for alaskaair.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when alaskaair.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 alaskaair.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.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Monitor award seat availability on a specific route to trigger alerts when seatmap opens up
- Build a fare calendar by iterating
search_award_flightsover a date range and comparingaward_pointsacross thenearby_datesarray - Display the cheapest redemption date in a given week using
is_discountedflags fromnearby_dates - Compare nonstop vs. connecting award itineraries using
num_stopsandtotal_duration_minutesfrom the flights array - Resolve ambiguous city names to correct IATA codes with
search_airportsbefore submitting route queries - Filter award results by cabin class (Main, Business, First) to surface only premium availability for a route
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Alaska Airlines have an official developer API?+
What does the `nearby_dates` field include, and is it always present?+
nearby_dates is included when the data source provides it, and contains an array of objects each with a date, award_points, taxes_fees_usd, and an is_discounted boolean. It gives you a pricing snapshot for dates close to your search date. It is not guaranteed to appear on every response — if the source returns no nearby-date data for a given query, the field is absent.Does the API cover round-trip or multi-city award searches?+
search_award_flights endpoint covers one-way award searches. Round-trip itineraries are not returned as a single query; you would make two separate one-way calls. You can fork this API on Parse and revise it to add a combined round-trip endpoint.Does the API return loyalty program pricing for partner airlines other than Alaska?+
Can I look up airports that are not served by Alaska Airlines?+
search_airports returns results from Alaska Airlines' own airport lookup, so coverage is limited to airports and cities recognized within their booking system. Airports outside Alaska's network may not appear in results.