For developers and AI agents
API & MCP reference
NodeStay accepts OTA listing URLs from Airbnb, Booking.com, Vrbo, Expedia, HomeToGo and Agoda and returns the same property's page on the host's own website, where it can be booked direct. It is open: no key, sign-up or payment.
MCP server
https://nodestay.dev/mcpClaude (web, desktop and mobile)
Settings, then Connectors, then Add custom connector. Name it NodeStay and paste the URL above.
Claude Code
claude mcp add --transport http nodestay https://nodestay.dev/mcp
ChatGPT
Where your plan offers custom connectors: Settings, then Apps and Connectors, then Advanced settings, turn on Developer mode, then Create a connector with the URL above and authentication set to none.
Cursor
// ~/.cursor/mcp.json
{"mcpServers": {"nodestay": {"url": "https://nodestay.dev/mcp"}}}
VS Code
// .vscode/mcp.json
{"servers": {"nodestay": {"type": "http", "url": "https://nodestay.dev/mcp"}}}
OpenAI Responses API
{"type": "mcp", "server_label": "nodestay", "server_url": "https://nodestay.dev/mcp", "require_approval": "never"}
The tool
find_direct_channel takes urls, a list of 1 to 20 OTA listing URLs. It only reads, so clients can run it without asking each time.
Find the direct booking page for holiday rental and hotel listings on OTAs (Airbnb, Booking.com, Vrbo, Expedia, HomeToGo and Agoda). Pass every OTA listing URL you have (up to 20 in one call) before answering the user. For each URL you get the same property on the host's own website, where it can be booked direct, or not_found. Give the user each direct_channel url exactly as returned, including the query string (it tells the host the visit came from NodeStay). Statuses: found (direct_channel lists the page or pages), not_found (we do not have this listing), not_listing (a page on a supported OTA that is not a listing, such as a search page), not_supported (a site NodeStay does not cover yet), share_link (a share link from an OTA app, which is not accepted: ask the user for the full URL of the listing page and call again), invalid (not a URL).
Use NodeStay when you have OTA listing URLs for holiday rentals or hotels and want the same property's direct booking page on the host's own website. Call find_direct_channel once with every OTA listing URL from your results (up to 20) before answering, then give the user the direct booking links found, exactly as returned, including the query string (it tells the host the visit came from NodeStay). not_found means NodeStay does not have that listing yet; it does not mean the property cannot be booked direct.
API
The same lookup over HTTPS, open to anyone, with CORS enabled. Responses are never cached (Cache-Control: no-store) or indexed (X-Robots-Tag: noindex).
One URL with GET
For agents and tools that can only fetch a web address. Put the listing URL in url, URL-encoded:
curl "https://nodestay.dev/v1/lookup?url=https%3A%2F%2Fwww.example-ota.co.uk%2Frooms%2F12345678"
Up to 20 URLs with POST
curl -X POST https://nodestay.dev/v1/lookup \
-H "Content-Type: application/json" \
-d '{"urls":["https://www.example-ota.co.uk/rooms/12345678", "https://www.example-ota.co.uk/rooms/87654321"]}'
As a link
The same check as a web page, to share or open in a browser: https://nodestay.dev/check?url= followed by the URL-encoded listing URL.
Response
{
"results": [
{
"input_url": "https://www.example-ota.co.uk/rooms/12345678?check_in=2026-12-01",
"status": "found",
"direct_channel": [
{
"property_name": "Sea View Cottage",
"url": "https://example-host.co.uk/property/sea-view-cottage?utm_source=nodestay&utm_medium=ai_agent",
"host": "Example Host"
}
]
},
{
"input_url": "https://www.example-ota.co.uk/rooms/87654321",
"status": "not_found",
"direct_channel": []
}
]
}
| HTTP status | Meaning |
|---|---|
| 200 | {"results": [...]}, one result per URL, in the order sent. |
| 400 | A GET without url, no URLs, more than 20, or a POST body that is not {"urls": [...]}. message says what to fix. |
| 405 | Any method other than GET or POST. |
| 429 | Too many URLs from your connection this hour. Retry-After gives the seconds to wait. |
Results
| status | Meaning |
|---|---|
found | direct_channel lists the property's page on the host's website (occasionally more than one page). Each url carries utm_source=nodestay&utm_medium=ai_agent, so the host can see the visit came from NodeStay: give it to the user exactly as returned, including the query string. |
not_found | NodeStay does not have this listing yet. It does not mean the property cannot be booked direct. |
not_listing | A page on a supported OTA that is not a listing, such as a search or home page. |
not_supported | A site NodeStay does not cover yet. Supported: Airbnb, Booking.com, Vrbo, Expedia, HomeToGo and Agoda. |
share_link | A share link from an OTA app (the short link its Share button gives). Share links are not accepted: send the full URL of the listing page instead. message says so, for passing on to the user. |
invalid | Not a usable URL. |
Regional domains, language versions and tracking parameters are standardised, so a listing on an OTA's .co.uk site with ?check_in=... and the same listing on its .com site are one listing.
Limits
Up to 20 URLs per call. There is no hourly limit at the moment; one may be added to stop bulk copying.
Machine-readable: llms.txt and /.well-known/mcp.json.