Agoda Scraper avatar

Agoda Scraper

Under maintenance
Try for free

Pay $8.00 for 1,000 results

Go to Store
This Actor is under maintenance.

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

See alternative Actors
Agoda Scraper

Agoda Scraper

ivanvs/fast-agoda-scraper
Try for free

Pay $8.00 for 1,000 results

Scrape Agoda.com with this scraper and get data about accommodation on Agoda.com. Extract data by URLs for hotel prices, ratings, number of reviews, images. Scrape and download data from Agoda.com in JSON, Excel, HTML ,and CSV.

Developer
Maintained by Community

Actor Metrics

  • 10 monthly users

  • No reviews yet

  • 3 bookmarks

  • >99% runs succeeded

  • Created in May 2024

  • Modified 4 days ago

Categories

You can access the Agoda Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1# Start Server-Sent Events (SSE) session and keep it running
2curl "https://actors-mcp-server.apify.actor/sse?token=<YOUR_API_TOKEN>&actors=ivanvs/fast-agoda-scraper"
3
4# Session id example output:
5# event: endpoint
6# data: /message?sessionId=9d820491-38d4-4c7d-bb6a-3b7dc542f1fa

Using Agoda Scraper via Model Context Protocol (MCP) server

MCP server lets you use Agoda Scraper within your AI workflows. Send API requests to trigger actions and receive real-time results. Take the received sessionId and use it to communicate with the MCP server. The message starts the Agoda Scraper Actor with the provided input.

1curl -X POST "https://actors-mcp-server.apify.actor/message?token=<YOUR_API_TOKEN>&session_id=<SESSION_ID>" -H "Content-Type: application/json" -d '{
2  "jsonrpc": "2.0",
3  "id": 1,
4  "method": "tools/call",
5  "params": {
6    "arguments": {
7      "urls": [
8            {
9                  "url": "https://www.agoda.com/search?city=2002&checkIn=2024-11-17&los=4&rooms=1&adults=2&children=0&cid=1891458&locale=en-us&ckuid=b562286c-42e1-4863-9fcc-29fa62237d77&prid=0&gclid=Cj0KCQjw6auyBhDzARIsALIo6v8trlSwJ5PkogO2QVsRUyTvU15vNIqNeye_5TISy6-1DIfajcqACHkaAgw8EALw_wcB&currency=EUR&correlationId=679bfdad-f530-417c-b9a8-09977714401e&analyticsSessionId=-5159500142018198708&pageTypeId=1&realLanguageId=1&languageId=1&origin=RS&stateCode=06&tag=e6f69b67-c544-262c-b720-5f8f711bbe26&userId=b562286c-42e1-4863-9fcc-29fa62237d77&whitelabelid=1&loginLvl=0&storefrontId=3&currencyId=1&currencyCode=EUR&htmlLanguage=en-us&cultureInfoName=en-us&machineName=am-pc-4g-acm-web-user-8cf85f99c-zsddp&trafficGroupId=5&sessionId=njgc050c4jilhylc254hisdh&trafficSubGroupId=122&aid=82361&useFullPageLogin=true&cttp=4&isRealUser=true&mode=production&browserFamily=Firefox&cdnDomain=agoda.net&checkOut=2024-11-21&priceCur=EUR&textToSearch=Barcelona&travellerType=1&familyMode=off&productType=-1"
10            }
11      ],
12      "maxConcurrency": 1,
13      "maxNumberOfResults": 90,
14      "proxyConfiguration": {
15            "useApifyProxy": true
16      }
17},
18    "name": "ivanvs/fast-agoda-scraper"
19  }
20}'

The response should be: Accepted. You should received response via SSE (JSON) as:

1event: message
2data: {
3  "result": {
4    "content": [
5      {
6        "type": "text",
7        "text": "ACTOR_RESPONSE"
8      }
9    ]
10  }
11}

Configure local MCP Server via standard input/output for Agoda Scraper

You can connect to the MCP Server using clients like ClaudeDesktop and LibreChat or build your own. The server can run both locally and remotely, giving you full flexibility. Set up the server in the client configuration as follows:

1{
2  "mcpServers": {
3    "actors-mcp-server": {
4      "command": "npx",
5      "args": [
6        "-y",
7        "@apify/actors-mcp-server",
8        "--actors",
9        "ivanvs/fast-agoda-scraper"
10      ],
11      "env": {
12        "APIFY_TOKEN": "<YOUR_API_TOKEN>"
13      }
14    }
15  }
16}

You can further access the MCP client through the Tester MCP Client, a chat user interface to interact with the server.

To get started, check out the documentation and example clients. If you are interested in learning more about our MCP server, check out our blog post.