Travel
Aeromexico logo

Aeromexico API

aeromexico.com

Aeromexico - flight and fare search, schedules, flight status, and destinations.

Actions
5
Category
Travel
Login
Not required
Output
JSON

Call the Aeromexico API

Submit a task, then poll the job until it settles. This example runs act_aeromexico_airport_directory_cms.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_aeromexico_airport_directory_cms",
    "params": {}
  }'

5 actions on aeromexico.com

Read

  • Airport Directory

    act_aeromexico_airport_directory_cmsread1 credit / call

    Returns the airport directory with names, IATA codes, cities, and coordinates.

  • Branded Fare Definitions

    act_aeromexico_branded_fare_definitionsread2 credits / call

    Returns branded fare tiers and benefit details for a route region and storefront.

    region
    string · required
    storefront
    string · required
    language
    string · required
    flight_type
    string
    status
    string
    origin_country
    string
    destination_country
    string
  • Destination Details

    act_aeromexico_destination_detailsread1 credit / call

    Returns destination details for a city code including promotional copy and imagery.

    city_code
    string · required
    language
    string
    status
    string
  • Fare Benefits Allowances

    act_aeromexico_fare_benefits_allowancesread1 credit / call

    Returns baggage, seat, and allowance rules for a fare family on a route.

    fare_family
    string · required
    route
    string · required
  • Flight Search Results

    act_aeromexico_flight_search_resultsread2 credits / call

    Returns flight availability with fares, prices, and flight numbers for an itinerary.

    itinerary
    string · required
    travelers
    string · required

Aeromexico API questions

Is there an API for Aeromexico?
Aeromexico does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for aeromexico.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Aeromexico data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when aeromexico.com changes its markup, Anakin updates the action.
Do I need a Aeromexico account?
No. Every Aeromexico action listed here runs anonymously — no account and no credentials required.
What does the Aeromexico API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Travel APIs

All Travel sites