Skip to content
ScoutingAPI
← All workflows
Price ComparisonTravelers & conciergesAI-agent builders

Booking-ready cheapest-link resolver

Resolve a property + dates to the single cheapest bookable link (with price and OTA) as clean JSON — for a concierge bot, a "book now" button, or an internal tool.

AI Agentn8nMCPMake · soonZapier · soon

The job it gets done

Sometimes you do not want a report — you want the answer: the one cheapest bookable link for this property on these dates, as a clean object a bot or a button can act on. This workflow calls the flagship price-compare endpoint, keeps only offers that carry a bookable URL, sorts by total price, and returns the single cheapest — OTA, price, currency, deep link, and the savings versus the median. It is the "resolve to a deal link" primitive behind a concierge assistant, a checkout CTA, or an internal booking tool.

Produces: Cheapest bookable linkA clean object: OTA, total price, currency, deep link, and savings vs. median.

Step by step

  1. 1

    Provide the property and dates

    Give the workflow a property name (plus an optional location to disambiguate), check-in / check-out, occupancy and a currency.

  2. 2

    Compare every OTA offer

    It calls GET /v1/price-compare, which resolves the property and returns every OTA offer for the dates, each with a bookable url, plus computed min and median.

  3. 3

    Resolve to the single cheapest link

    The transform keeps only offers that carry a bookable URL, sorts by total price, and returns the single cheapest as a clean object — OTA, price, deep link, and savings vs. median.

  4. 4

    Return / deliver the deal link

    The compact JSON is returned to a webhook (for a bot or a "book now" button) or posted to Slack/Telegram — a one-call primitive you can drop into any surface.

Two ways to run it

Using an AI agent

Just your ScoutingAPI key. Your agent is the brain — it calls the endpoint and reports the result itself, so there's no separate AI key to buy. Install the SKILL.md below.

Using n8n

A running n8n instance, the workflow JSON below, a ScoutingAPI Header Auth credential, and a delivery credential (e.g. Slack) — or swap the last node. The transform is plain JavaScript, so no LLM key is required.

Run the core call now — sandbox, 0 credits

Exercise the endpoint this workflow is built on against the deterministic sandbox — a real 200, zero credits, no sign-up.

Try itsandbox · 0 credits · no sign-up
GET/v1/price-compare

Runs against the deterministic Google Hotels sandbox fixture — a real 200, zero credits.

Response

Run the call to see a live, deterministic sandbox response.

Copy as curl
curl -sS "https://api.scoutingapi.com/v1/price-compare" \
  -H "Authorization: Bearer $SCOUTINGAPI_KEY"

The same call, every way that matters

curl -sS "https://api.scoutingapi.com/v1/price-compare?name=Hotel%20X%20Sibenik&location=Sibenik,HR&checkIn=2026-07-13&checkOut=2026-07-20&currency=EUR" \
  -H "Authorization: Bearer $SCOUTINGAPI_KEY"

Download & import

Typical cost

≈ 22 credits per run.

  • price-compare · 22 credits per call

Failed & empty calls are always free; sandbox calls cost 0. Live costs are on the pricing page.

Common questions

Get your free key — no card

300 credits, the full API, the sandbox, and the native MCP server. Power this workflow and more.

No credit card · failed calls cost 0 credits