Travel
Hopper logo

Hopper API

hopper.com

Search flights with price prediction, search hotels, get historical price charts, watch trips for price drops, and list booked trips.

Actions
3
Category
Travel
Login
Not required
Output
JSON

Call the Hopper API

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

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_hopper_flight_deals_listing",
    "params": {
      "origin_location_code": "NYC",
      "destination_location_code": "LAX"
    }
  }'

3 actions on hopper.com

Write

Write actions change state on hopper.com and run as the account you connect.

  • Flight Deals Listing

    act_hopper_flight_deals_listingwrite3 credits / call

    Returns curated round-trip flight deals for a route with prices and dates.

    origin_location_code
    string · required
    destination_location_code
    string · required
  • Flight Price Calendar

    act_hopper_flight_price_calendarwrite3 credits / call

    Returns a fare price calendar for a route showing cheaper and pricier departure dates.

    origin_code
    string · required
    origin_region_type
    string · required
    destination_code
    string · required
    destination_region_type
    string · required
  • Location Autocomplete

    act_hopper_location_autocompletewrite3 credits / call

    Returns matching location codes and labels for city or airport text.

    search_text
    string · required
    active_control
    string · required

Hopper API questions

Is there an API for Hopper?
Hopper does not offer a public data API for this, but Anakin Wire provides 3 maintained endpoints for hopper.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 Hopper 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 hopper.com changes its markup, Anakin updates the action.
Do I need a Hopper account?
No. Every Hopper action listed here runs anonymously — no account and no credentials required.
What does the Hopper 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