Thailand Flight Prices Scraper | Inbound & Domestic Flights
Pricing
from $4.00 / 1,000 returned fresh flight itineraries
Thailand Flight Prices Scraper | Inbound & Domestic Flights
Search international and domestic flights to Thailand. Compare dates, exact airports and connections. Export THB fares to JSON or CSV. $4/1,000 returned itineraries.
Pricing
from $4.00 / 1,000 returned fresh flight itineraries
Rating
0.0
(0)
Developer
wiseld_squid
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
21 days ago
Last modified
Categories
Features
Share
Thailand Flight Prices Scraper
Search one-way economy flights to and within Thailand and export prices, airlines, flight numbers, departure and arrival times, airports, aircraft, and connecting segments from Trip.com. Use it for fare monitoring, travel research, dashboards, and AI travel assistants.
Search from international origin cities such as Singapore (SIN), Hong Kong (HKG), Tokyo (TYO), and London (LON) to Bangkok, Chiang Mai, Phuket, Krabi, Hat Yai, Koh Samui, and other Thai destinations. Domestic Thailand routes are also supported. The final destination must be in Thailand. Prices are returned in Thai baht (THB) for the requested number of adults.
Quick start
- Enter origin and destination city codes.
- Choose your departure date and number of adults.
- Optionally select exact airports, nonstop flights, or a maximum total price.
- Run the Actor and download JSON, CSV, or Excel from its Dataset.
{"origin": "BKK","destination": "CNX","originAirport": "DMK","departureDate": "2026-11-18","adults": 1,"nonStopOnly": true,"maxItems": 100}
Replace the example date with your travel date. Dates must be today through 330 days ahead.
Bangkok city versus airport: BKK as a city includes both Suvarnabhumi and Don Mueang. Set originAirport: "BKK" for Suvarnabhumi or originAirport: "DMK" for Don Mueang. Leaving the airport filter empty searches the city. The same distinction applies to destinationAirport when flying into Bangkok. Entering DMK as a city is also accepted and selects Don Mueang.
Input
| Field | Default | Description |
|---|---|---|
origin | BKK | Origin city IATA code worldwide, such as SIN, HKG, TYO or LON. |
destination | CNX | Destination city IATA code in Thailand, such as BKK, CNX or HKT. |
originAirport | Empty | Restrict the actual first departure airport. |
destinationAirport | Empty | Restrict the actual final arrival airport. |
departureDate | Required | Local departure date, YYYY-MM-DD. |
additionalDates | [] | Up to 30 additional dates on the same route. Duplicate dates are removed. |
adults | 1 | 1–9 adults. Child and infant fares are not supported. |
nonStopOnly | false | Keep flights with no connections or reported intermediate stops. |
maxPrice | 0 | Maximum total THB price for all adults. 0 disables this filter. |
sortBy | price | Sort each date's results by price, departure, or duration. |
maxItems | 100 | Total output limit across dates. Paying accounts can use 0 for all eligible returned results. |
maxSearches | 5 | Maximum date searches per run, up to 31. |
maxRunSeconds | 180 | Collection time budget, 30–600 seconds. Increase the Actor timeout accordingly for longer runs. |
Dates run in input order. Sorting applies within each date, rather than ranking all dates together. maxItems: 0 remains subject to the number of source results, date/search limits, time budget, and your maximum service charge. It does not create results beyond those returned by the source.
Example: compare three departure dates from Suvarnabhumi to Phuket:
{"origin": "BKK","destination": "HKT","originAirport": "BKK","departureDate": "2026-11-18","additionalDates": ["2026-11-19", "2026-11-20"],"adults": 2,"maxPrice": 10000,"maxItems": 0,"maxSearches": 3}
International origins
Use a city code for origin and an optional airport code for originAirport. For example, Tokyo is TYO; NRT and HND are airports within that city. London is LON; choose LHR as the exact airport if needed. Do not substitute an airport code for a different city code.
Example: Singapore to Suvarnabhumi, with prices in THB:
{"origin": "SIN","destination": "BKK","destinationAirport": "BKK","departureDate": "2026-11-18","adults": 1,"maxItems": 50}
Flight departure and arrival times remain local to their respective airports. An international itinerary can cross time zones and arrive on a different calendar day. totalPrice remains the total THB quote for the requested adults.
Pricing and free trial
$4 per 1,000 fresh itineraries returned ($0.004 each). An itinerary can contain one or more flight segments. The Actor returns the lowest-priced returned fare option for each distinct itinerary and passenger count.
- Paying Apify accounts can run fresh searches repeatedly. Only itineraries actually exported incur the itinerary service fee; filtered results and failed searches have no itinerary fee.
- A free Apify account gets one live date search, with up to 10 returned itineraries. Subsequent runs return that first saved result, even if the input or Actor build changes. Look for
reusedResult: trueand the originalobservedAttimestamp. - The first free attempt is consumed even if no matching flights are returned or the search is interrupted. Saved trial results depend on retaining the account's trial storage.
- Apify platform usage is paid by the runner, including trial runs and saved-result replays. It is separate from the itinerary service fee.
- Your maximum service charge limits fresh paid output. If the remaining allowance cannot cover another itinerary, collection stops. Replaying saved trial data has no itinerary fee.
For example, 50 fresh returned itineraries cost $0.20 in service fees, plus Apify platform usage.
Output
Each Dataset row represents an itinerary with the cheapest fare option returned for the requested adults. Key fields:
| Field | Meaning |
|---|---|
itineraryId | Stable identifier based on flight segments and adult count; useful when comparing scheduled runs. |
totalPrice | Total THB price for all requested adults, not a per-person quote. |
averagePrice, totalTax | Average fare and tax amounts as supplied by the source. |
adults, priceBasis | Passenger count and total_for_all_adults. |
flightNumbers, airlines | Convenient text columns for CSV and table views. |
originAirport, destinationAirport | Actual first departure and final arrival airports. |
departureLocal, arrivalLocal | Source-local date and time strings; these are not UTC timestamps. |
direct, connectionCount, durationMinutes | Nonstop flag, number of flight connections, and source-reported journey duration. |
legs | Full segment details, including airline, airports, times, aircraft, and reported technical stops. |
passengerPrices | Source-provided price breakdown by passenger type. |
originCountry, destinationCountry | Source-reported origin and destination country codes. The destination country is TH. |
observedAt | UTC time the result was collected. It is not a timestamp of the airline's last price update. |
checkedBaggageKg, cabinBaggageKg | null where weight allowances are not available. |
fareRevalidated | false; the Actor does not complete a checkout price confirmation. |
reusedResult | Whether this is a saved free-trial result. |
A stable ID does not guarantee a flight will remain on sale. Codeshares and different itineraries can refer to the same operating flight. Missing baggage weights do not mean zero allowance or included baggage.
The SUMMARY output reports searched dates, returned and charged counts, request count, errors, stop reason, and whether output is partial. A blocked or failed search is reported as an error rather than being presented as a sold-out route. If a later date fails, earlier saved results are retained.
Repeated monitoring and API access
Paying accounts can schedule this Actor to run repeatedly, then compare itineraryId, totalPrice, and observedAt in successive Datasets. Historical price comparisons and notifications are handled by your downstream workflow; this Actor does not maintain a price-history database or send alerts itself.
Start a run using the Apify API:
curl -X POST \'https://api.apify.com/v2/acts/mai_amm~thailand-flight-prices-scraper/runs' \-H 'Authorization: Bearer YOUR_APIFY_TOKEN' \-H 'Content-Type: application/json' \-d '{"origin":"BKK","destination":"CNX","originAirport":"DMK","departureDate":"2026-11-18","adults":1,"maxItems":50}'
Wait for the run to finish, then use its defaultDatasetId to retrieve results from GET https://api.apify.com/v2/datasets/DATASET_ID/items?format=json. CSV exports contain convenient flat columns; use JSON for complete segment and passenger-price structures.
Scope and limitations
This release supports one-way economy searches with adults, from international or Thai origins to a destination in Thailand. Routes ending outside Thailand are rejected. Return tickets, multi-city trips, booking transactions, exact remaining-seat counts, verified baggage allowances, and checkout-confirmed fares are not included.
Prices and availability can change between collection and booking. Discounts, payment fees, membership offers, and optional services can affect the final payable amount. Verify the fare and conditions before purchase. Results reflect the source's available offers and do not guarantee coverage of every airline or fare. Access can change, and a successful test does not guarantee uninterrupted availability.
This is an independent Actor and is not affiliated with Trip.com or any airline. Use the data in accordance with applicable terms and laws.