Another data source for a travel agent: Thunderbit, Apify, and a self-hosted scraping API

November 10, 2025

While looking for flights, hotels, and other outside information for a travel agent, I considered web scraping alongside ready-made APIs. Thunderbit and Apify were two products I researched. In hindsight, the comparison was between using an all-in-one scraping SaaS or an existing service on a platform, and building a collection pipeline with open-source tools such as Crawlee and Playwright, then exposing the results through an API.

Both approaches addressed the same practical problem. We wanted to test an itinerary assistant quickly, but many official travel APIs required partnership discussions first. If a user could already look up information on a webpage, could we extract just the parts the agent needed?

Looking back, my main concerns were stability and cost, and they were connected. Keeping collection working reliably takes runtime resources and maintenance time. Handling proxy access, anti-bot checks, and CAPTCHAs ourselves was particularly unrealistic for a small team hurrying to build a prototype. The appeal of an all-in-one service was precisely that some of this work could be left to the provider.

Following choosing the agent framework and researching travel data APIs, this third article in the technology selection series records another option we considered. A separate article covers the product and commercialization.

This article is based on my additional recollections. Its provisional archive time, November 10, 2025 at 20:00, places it alongside the agent selection work rather than recording an exact trial time. I can confirm researching Thunderbit, Apify, and a self-built scraping API. That doesn't establish that we bought a plan or completed a production integration. The architecture and checks below organize the options in retrospect; they aren't a point-by-point reconstruction of the original system.

After looking at APIs, I considered obtaining the data myself

My earlier API research had shown that “offers an API” doesn't tell you where data comes from. Some APIs connect to upstream suppliers, some aggregate other services, and some return scraped webpage data. Buying an API versus building a scraper doesn't always mean choosing between fundamentally different sources. Sometimes it means deciding who implements and maintains the same kind of data acquisition.

Building our own meant defining query parameters and response fields around itinerary planning. If all we needed was a property's location, a room price for a specific date, and a source link, there was no reason to copy the entire site. But that brought responsibilities: was the query really for the specified dates, could we still extract it after the page changed, how would failures be returned, and who would maintain it?

This raised three different questions. Could a tool help us check whether useful data was extractable? Could a platform run repeatable scraping jobs? Or should our own service handle collection, processing, and the external API?

The self-built option included using Crawlee to organize tasks and Playwright to drive a browser. A 2025 tutorial cited below illustrates that approach.1 Open-source tools provide a starting point, but our system would still need to handle site-specific access limits, query workflows, extraction rules, and failures. So the comparison had to establish which layer a provider maintained for us and whether the work left over fit our team's capacity.

Thunderbit made me look at structured results from a webpage first

Thunderbit provides webpage data extraction tools. Its website presents a Chrome extension as a main entry point, organizing page contents into exportable tables.2 An early product introduction from the Thunderbit account also describes defining what to extract with column names, generating a table, and sending it to other tools.3

An interactive extraction tool has an immediate use in prototype research: check which fields a page contains and whether the result is suitable for later processing. Can a hotel name, location, and rating form an identifiable record? Are the conditions next to the quoted price preserved?

There's still an integration gap between manually obtaining a table and calling something repeatedly from the backend. Evaluate the interactive experience separately from the programmatic interface. A successful extraction in the browser doesn't establish unattended operation. My recollection identifies Thunderbit as a candidate. I haven't retroactively assigned today's new interfaces or plans to the product as it existed then.

Apify is closer to running a scraping task as a service

Apify offers another level: choose an existing Actor or develop your own and run it on the platform. An Actor is a program that accepts input, performs a task, and produces output. It needn't be an LLM agent. Nor does a platform or marketplace itself amount to an official supply interface from a travel website.4

There is dated evidence predating this article. Apify's August 11, 2025 Expedia tutorial demonstrates building a hotel listing scraper using Python, Crawlee, and Playwright, then deploying it to Apify for cloud execution, API calls, and scheduling. It also describes using an existing scraper as an alternative.1

That's directly relevant to building a scraper and exposing an API, but there are degrees of ownership: choose someone else's maintained scraper, write the logic and let the platform run it, or deploy everything yourself. Buying an existing Actor is primarily a provider selection. Writing your own still leaves you maintaining extraction logic while the platform handles some operations.

Putting the options together made the comparison clearer:

ApproachWhat to validate during prototypingWhat remains ours to solve
Interactive extraction such as ThunderbitCan page information quickly become useful fields?Integration into an automated workflow and checking the output.
Ready-made Apify ActorDoes it cover the target site and exact query conditions?Provider quality, field adaptation, failure handling, and data-use rights.
Custom Actor run on the platformCan specific extraction logic run repeatedly?Code and page adaptation, business data validation, and platform cost.
Self-hosted Crawlee/Playwright service exposed as an APICan we keep obtaining data under our own business contract?Access and verification handling, scheduling, resources, monitoring, page changes, and repairs.

This table compares implementation paths, not measured rankings from the time. Without success rates, latency, and maintenance records for the same queries, a price per call alone can't establish which is cheaper.

With flight and hotel data, query conditions are the easiest thing to get wrong

A number in travel data rarely means much by itself. Hotel prices depend on check-in and checkout dates, number of rooms, and guests, with possible conditions for breakfast, taxes, and cancellation. Flight prices need dates, legs, cabin class, baggage, and connection arrangements.

Suppose a page yields “800 yuan” without establishing whether that's per night or for the stay, which room it covers, or whether tax is included. Putting it into an itinerary budget can make the result meaningless. The problem occurred before the data reached the model. “Please calculate accurately” won't fix it.

An API wrapper therefore needs to retain query conditions, source address, and retrieval time, and keep missing information missing. The example below illustrates the interface boundary, not a real provider response. A null means unconfirmed. The agent mustn't fill it in as a price or booking status:

{
  "query": {
    "destination": "杭州",
    "check_in": "2025-11-15",
    "check_out": "2025-11-17",
    "adults": 2,
    "rooms": 1
  },
  "status": "partial",
  "items": [{
    "name": "示例酒店",
    "price": null,
    "currency": "CNY",
    "price_basis": null,
    "taxes_included": null,
    "availability": "unknown",
    "source_url": "https://example.com/hotel",
    "retrieved_at": "2025-11-10T20:00:00+08:00"
  }]
}

Equally important is distinguishing a confirmed empty result from a failed lookup. A timeout, incomplete page load, or broken extraction rule shouldn't become “no flights” or “hotel sold out.” A price once displayed on a page still needs reconfirmation when booking.

Once there's an API, what belongs to the agent and what belongs to the scraper?

I considered building a scraping API to give the agent a clear query entry point. The agent interprets the user's need; the data tool retrieves and organizes results. Details from the page don't have to be scattered through each itinerary conversation.

One candidate architecture looks like this:

flowchart TD
    A[行程 Agent] --> B[查询工具或 MCP 接口]
    B --> C[检查查询条件与可用缓存]
    C --> D[现成 Actor 或自建抓取任务]
    D --> E[字段整理与数据校验]
    E --> F[返回结果 来源 时间和查询状态]
    F --> A

This illustrates interface design. Platform versus self-hosting depends on task volume, acceptable waiting times, and maintenance capacity. For long jobs, separate submitting a task from retrieving its result instead of leaving a single request waiting. Key caches with query conditions and retrieval times so results for another date or guest count aren't accidentally reused.

This fits the validation workflow I was using: try the task interactively, adjust prompts and tools, then turn a satisfactory workflow into an SDK call. Browser interaction helps reveal where a task gets stuck. A repeated query can become a tool with explicit parameters. Actual repeated demand determines whether that is worthwhile.

Service guarantees depend on the site and the query

When comparing hosted services, I cared about both whether the scraper could run and how much responsibility the provider accepted for maintaining the results. Platform availability, task completion, and obtaining the data you need are different outcomes. The last is what matters to an itinerary assistant.

Apify's SLA description distinguishes platform availability from Actor performance. The first concerns accessing the platform, starting tasks, and downloading data. The second concerns project-specific quantities, response times, or runtimes. Optional service guarantees include different levels of monitoring, maintenance, and compensation. Being listed on the marketplace doesn't automatically give a tool those guarantees.5

So platform uptime doesn't translate directly into successful retrieval from a target site. A promise to begin incident response by a certain time isn't a promise of repair by then. Whether a service fits flight and hotel lookups depends on whether its specific commitments meet users' waiting times and freshness requirements.5 For Thunderbit and similar services, I'd also need to establish what the provider handles and what support is available if a source fails. A general extraction capability alone doesn't establish long-term reliability.

For sites with access limits and anti-bot verification, such as Meituan, Taobao, and Xiaohongshu, I'd narrow each target to specific queries. “Supports this site” doesn't establish availability of the data we need:

Target siteCoverage to checkConsequence for the prototype
XiaohongshuCan it discover travel guides by keyword, or only read notes whose URLs are already known? Are text, comments, and author details subject to separate limits?Reading one note doesn't make it a search entry point for guides.
Meituan / DianpingCan it query the needed businesses, reviews, and group deals? Is a place directory separate from full commercial information?Names and locations help discover candidates but aren't enough to support spending decisions.
Taobao / TmallCan it retrieve descriptions, variant-specific prices, and stock? Do public and logged-in pages agree?Extracting a product card doesn't establish an available offer for the requested variant.

These are questions to answer in selection, not tests a particular vendor has passed. A marketplace listing, active users, or good reviews can justify trying a tool, but don't replace our own query tests. For data that requires login, establish who maintains account permissions and sessions and whether failure is returned explicitly.

The more useful unit of comparison is a specific site, a specific query, and its service agreement. First establish that the data is covered, then ask how failure is handled, who maintains it, and whether there are performance metrics and compensation. If custom maintenance or an SLA costs extra, stability still requires a budget. The spending moves from maintaining our own collection system to buying a service guarantee.

The cost of making our own pipeline reliable exceeded what we wanted to invest in a prototype

Looking back, taking responsibility for the entire pipeline ourselves was the least realistic option. One successful scrape is a long way from continuously serving reliable itinerary data. Beyond runtime fees, we would have to account for proxies or IP resources, work imposed by anti-bot checks and CAPTCHAs, repairs after page changes, retries, and data checks. Sources requiring login also need authorized account access and session maintenance. That doesn't imply every job needs a pool of accounts.

Reliability itself costs money. Timely failure detection needs monitoring. Recovery needs retries and alternatives. When a page changes, someone must update extraction logic and revalidate fields. The same people were responsible for the agent, tool integrations, and product experience. Ongoing maintenance could quickly displace the time spent validating the product.

All-in-one SaaS and ready-made scraping services can reduce this work. The underlying costs might be included in subscriptions or calls or billed separately, depending on the service. What mattered to us was how much maintenance remained ours, not whether the provider used proxies or browsers underneath. Buying an existing Actor on Apify differs from writing one and deploying it there. My concern about self-hosting costs shouldn't be read as saying “Thunderbit and Apify didn't save the team any effort,” much less as evidence that they are unreliable.

By comparison, the ready-made interfaces we found on RapidAPI at the time were affordable and could be activated without a sales process, which fit the goal of getting a prototype working. This doesn't establish that they tested more reliably than a custom scraper. We prioritized reducing the effort of building and maintaining collection. That's the main consideration I could confirm in retrospect. I no longer have records sufficient to quantify comparative success rates or total costs.

Data-use rights also need a separate check. Possessing a scraping tool, paying for a subscription, or seeing content in a browser does not in itself establish authorization for commercial display, storage, or redistribution. Prototype experiments also need to check the terms applicable to the site and provider. A channel with unclear authorization or service guarantees shouldn't simply be treated as a stable production supply. That follows the same boundaries discussed in the previous article on third-party RapidAPI interfaces and makes no blanket judgment about the legality of scraping a particular site.

The earlier prototype already used Amap MCP, a community 12306 MCP, flight and hotel channels on RapidAPI, and JustOneAPI. This additional research shows that I considered collecting data ourselves, not that all those channels were later replaced.

These choices had the same goal: let real tasks test the itinerary assistant as soon as possible. Existing APIs, interactive extraction, hosted scraping, and self-built services save work at different stages. In deciding whether to adopt one, ask whether the time saved on integration will be spent again on maintenance.

Source notes and references

My research into Thunderbit and Apify and my comparison of all-in-one services with building a scraping API using Crawlee and Playwright are recollections. In retrospect, reliability and total cost were my main concerns about self-building. Long-term handling of access restrictions and maintenance didn't fit our resources. I can't reconstruct the exact extent of trials, plan prices, or quantitative results and therefore don't rank the two products on reliability or price. The 2025 Apify tutorial establishes that this technical route existed at the time. It doesn't mean I read or followed the tutorial then. The vendors' websites are rolling pages used to identify product positioning, not to cite current user counts, Actor counts, prices, or new capabilities as 2025 selection evidence.

Footnotes

  1. Zanini, A. (2025, August 11). How to scrape Expedia with Python (2025 guide). Apify Blog. https://blog.apify.com/how-to-scrape-expedia-python/ . Used to explain the relationship between a custom scraper, deployment, and API calls. This doesn't establish an Expedia partnership or data authorization, nor that every detail of the current tutorial is identical to the original release. ↩ ↩2

  2. Thunderbit. (n.d.). Thunderbit [Product website]. Retrieved November 13, 2026, from https://thunderbit.com/ . The research entry point I provided. The current site isn't a complete snapshot of the specific features available in 2025. ↩

  3. Thunderbit_. (n.d.). Enhanced our original Chrome Extension to help you build a Web Scraper using natural language. Just provide the column names and click once to begin [Online forum post]. Reddit. Retrieved November 13, 2026, from https://www.reddit.com/r/SideProject/comments/1fozyzl/ . The Thunderbit account's description illustrates the interactive extraction approach. The accessible post shows only a relative date, so no unverified exact publication date is given. ↩

  4. Apify. (n.d.). Apify [Product website]. Retrieved November 13, 2026, from https://apify.com/ . The original link I supplied contained advertising tracking parameters; the canonical homepage is retained here. The dated tutorial below separately supports the historical route from a custom scraper to platform execution and API access. ↩

  5. Nosek, T. (2023, June 22). Apify service levels (SLA). Apify Help & Support. https://help.apify.com/en/articles/7913562-apify-service-levels-sla . Page dated June 22, 2023. Used to distinguish platform availability, project-specific Actor performance, maintenance, and response times. Specific guarantees depend on contract; this article makes no claim that an SLA was purchased. ↩ ↩2

© 2025 borui. All rights reserved. This content may be freely reproduced, displayed, modified, or distributed with proper attribution to borui and a link to the article: borui (2025-11-10). Another data source for a travel agent: Thunderbit, Apify, and a self-hosted scraping API. https://caiborui.com/blog/2025-11-10-zh-travel-agent-web-scraping-selection-entrans

@misc{borui2025-5dbb3858,
  author = {borui},
  title = {{Another data source for a travel agent: Thunderbit, Apify, and a self-hosted scraping API}},
  year = {2025},
  publisher = {borui's blog},
  url = {https://caiborui.com/blog/2025-11-10-zh-travel-agent-web-scraping-selection-entrans}
}