Travel
Trafalgar logo

Trafalgar API

trafalgar.com

Trafalgar guided touring — trip search, itineraries, departures and offers (Australia)

Actions
4
Category
Travel
Login
Not required
Output
JSON

Call the Trafalgar API

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

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_trafalgar_com_current_offers",
    "params": {}
  }'

4 actions on trafalgar.com

Read

  • Current Offers

    act_trafalgar_com_current_offersread1 credit / call

    Current Trafalgar offers and the trips they apply to.

  • List Destinations

    act_trafalgar_com_list_destinationsread1 credit / call

    List Trafalgar destinations with trip counts.

  • Search Trips

    act_trafalgar_com_search_tripsread1 credit / call

    Search Trafalgar guided trips by destination and month. Returns trip code, name, days, countries and published from-price in AUD.

    destination
    string · required
    month
    string · required
  • Trip Reviews Summary

    act_trafalgar_com_trip_reviews_summaryread1 credit / call

    Overall rating and review count for a Trafalgar trip.

    trip_code
    string · required
    url
    string

Trafalgar API questions

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