Use case

Price your short-term rental against Airbnb comps for your dates

Pull Airbnb listings for a place and dates, with stay and nightly price, rating, reviews, host and amenities, to set rates for your own rental.

Prepaid, no subscriptionREST or MCPOne key for models, data and agents
Airbnblovelyjsonitems[0]"title": "Sunny 2-bed near Alfa…"price_per_night": "142""price_total": "710""rating": 4.87"reviews": 214"host": "Marta""amenities": "Wi-Fi, Kitchen, Washe…

Setting a nightly rate without knowing what similar places charge for the same dates means guessing, and guesses leave money on the table or empty nights. The comps are on Airbnb, but only one search page at a time. Lovely Router reads them for you. Send a search link with your dates, get one JSON object per listing, pay per listing from a prepaid balance. Call it from a script, a pricing sheet or an AI agent with one API key.

Hand it to your AI agent

Copy this prompt into Claude Code, Cursor, Codex or any coding agent. It tells the agent where the docs are and how to use your API key.

Price your short-term rental against Airbnb comps for your dates. Use the Lovely Router data tools: each returns JSON and is billed per result.

- Docs (read first): https://lovelyrouter.com/docs/tools/find.md and https://lovelyrouter.com/docs/tools/run.md
- Plan first: POST https://lovelyrouter.com/v1/tools/suggest with `{"task": "<my task in plain words>"}` (free). It returns the tools to run in order, each with an example `input`, the `input_required` fields, an estimated cost and a ready-made `run` request. Replace the example values with my task's; if a field is unclear, read the tool with GET https://lovelyrouter.com/v1/tools/<id>. To browse instead, POST https://lovelyrouter.com/v1/tools/discover searches the catalog.
- Show me the plan and its estimated cost (`total_est_cost_usd`) before running anything large.
- Run: POST https://lovelyrouter.com/v1/tools/<id>/run with `{"input": {...}, "max_results": N}`. A 200 has the finished run with `items`; a 202 means it is still running, so poll the `poll` path until `status` is `succeeded`, `failed`, `timed_out` or `stopped`.
- Only delivered results are billed. Keep max_results small on the first run, check the output, then scale up.
- If you support MCP, connect https://lovelyrouter.com/mcp instead (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.

My task: <the inputs (links, keywords or accounts) and how many results you need>
01

How it works

010203
  1. On Airbnb, search the neighborhood with your check-in, check-out and guest count, then copy the link.

  2. Run the tool with a cap

    Send the link to POST /v1/tools/airbnb-listings/run with limitPerUrl in the input and max_results on the request. The run holds its maximum cost from your balance and returns the listings as JSON.

  3. Set your rate

    Compare price per night with rating, review count and amenities, and place your listing among the closest comps.

02

Get comps for your dates with one request

Search Airbnb listings takes search links in urls, with the dates in them. limitPerUrl caps how many listings come from each link, from 10 up to 100 per run:

curl https://lovelyrouter.com/v1/tools/airbnb-listings/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "input": {
        "urls": [
          "https://www.airbnb.com/s/Lisbon/homes?checkin=2026-11-09&checkout=2026-11-14&adults=2"
        ],
        "limitPerUrl": 10
      },
    "max_results": 10
  }'

A place name also works in place of a link. A run still going after 60 seconds returns 202; Run a tool shows how to poll.

03

What each listing holds

Field groupWhat you get
PricePrice for the whole stay and per night
QualityRating and number of reviews
HostWho hosts the listing
OfferAmenities and house rules
ContentPhotos

Prices depend on the dates in the search link, so change the dates to see weekdays, weekends and events.

04

Recipes

Weekend versus midweek pricing

Run the same neighborhood for a Friday-to-Sunday stay and a Monday-to-Wednesday stay, and compare the median nightly price.

Event-week rates

Run your city for the week of a conference or festival and for a normal week, then see how much comps raise prices.

Find your closest comps

Keep listings with a similar rating and review count, then check which amenities the top-priced ones have that yours lacks.

Weekly rate report for owners

If you manage properties, schedule a run for each neighborhood and send owners the range of comps with your recommended rate.

Read the house rules

Ask a model to summarize house rules and amenities across the results, to see which rules guests accept in your price tier.

Prefer plain words? Connect the MCP server and tell Claude Code or Cursor: "Pull 30 Airbnb listings for Lisbon for 2026-11-09 to 2026-11-14 with 2 guests. Give me the median price per night and the five best-rated listings with their amenities. Set max_results to 30."

06

What you pay

You pay per listing: starting a run holds its maximum cost, the per-call fee plus the per-listing fee times max_results, and the run settles to what it returned. The rest of the hold goes back to your balance. A run that fails or times out pays only for the listings it delivered, and a run refused at the start costs nothing.

Pulling 100 listings is billed as 100 listings, whether they come from one link or several. There is no subscription and no monthly minimum: top up from $5, and one balance pays for tools and models. The card above shows today's price; pricing lists every tool.

07

Frequently asked questions

?
Do the prices match my dates?+

Prices come from the dates in the search link, so use the check-in and check-out you care about. A place name alone works too, but a link with dates gives a price for that stay.

Do I get the price per night and for the whole stay?+

Yes, both.

What is the smallest run?+

limitPerUrl starts at 10, so a run returns at least 10 listings per link.

How many listings can one run return?+

Up to 100 per run.

Can I read several areas in one run?+

Yes. Pass several search links in urls; limitPerUrl caps the listings taken from each link.

Do I need a subscription?+

No. You add credit to a prepaid balance and each run draws it down. Failed runs pay only for the results they delivered, and nothing renews automatically.

Researching the wider market? See travel and real estate data, the tool catalog and pricing.

One prepaid key for models, data and agents

No subscription. Top up, use what you need, see every charge in your logs.