Travel
Lomprayah logo

Lomprayah API

lomprayah.com

Lomprayah high-speed ferry and bus+ferry tickets in Thailand

Actions
3
Category
Travel
Login
Not required
Output
JSON

Call the Lomprayah API

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

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

3 actions on lomprayah.com

Read

  • List Routes and Stations

    act_lomprayah_com_list_stationsread1 credit / call

    List Lomprayah departure/arrival stations and route groups with ids

    group_station_id
    string
  • Search Departures

    act_lomprayah_com_search_departuresread1 credit / call

    Search ferry/bus departures by source, destination, and travel date

    source_station_id
    string · required
    destination_station_id
    string · required
    travel_date
    string · required
  • Trip Details

    act_lomprayah_com_trip_detailsread1 credit / call

    Full multi-leg itinerary for a selected departure schedule

    source_id
    string · required
    destination_id
    string · required
    departure_time_id
    string · required

Lomprayah API questions

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