Use case

Track home prices and rents by ZIP code from Zillow listings

Get Zillow homes for sale, for rent or recently sold by ZIP code as JSON with price, beds, baths, area, address and Zestimate, to track a local market.

Prepaid, no subscriptionREST or MCPOne key for models, data and agents
Zillowlovelyjsonitems[0]"address": "412 Oak Ln, Austin, T…"price": 689000"beds": 3"baths": 2"living_area": 1840"zestimate": 672000

If you invest in rentals, price homes as an agent or build a market report, you need to know what homes in a ZIP code ask, what they sold for and what they rent for, this month and not from a quarterly PDF. Zillow shows that, one search at a time. Lovely Router runs the search for you. Send ZIP codes, get one JSON object per listing, pay per listing from a prepaid balance. Run it from a script, a spreadsheet job 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.

Track home prices and rents by ZIP code from Zillow listings. 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. List your ZIP codes

    Pick the ZIP codes of the neighborhoods you watch: where you own, where you want to buy, where your clients live.

  2. Run the tool with a cap

    Send them to POST /v1/tools/zillow-listings/run with operation set to buy, rent or sold, maxItems for the number of listings and max_results as the run cap. The run holds its maximum cost from your balance and returns the listings as JSON.

  3. Compute and compare

    Per ZIP code, compute the median price, price per square foot of living area and the gap to the Zestimate. Save it with a date and compare month over month.

02

Get a ZIP code's listings with one request

Search Zillow listings takes ZIP codes in locations. Narrow with minPrice and maxPrice (0 means any; for rent the price is per week, as the field is labeled). For sales, agentListed and ownerPosted choose which kinds of listings come back:

curl https://lovelyrouter.com/v1/tools/zillow-listings/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "input": {
      "locations": ["78701"],
      "operation": "buy",
      "maxItems": 5
    },
    "max_results": 5
  }'

A run still going after 60 seconds returns 202; Run a tool shows how to poll. One run can return up to 200 listings.

03

What each listing holds

Field groupWhat you get
PriceThe asking or sold price
SizeBeds, baths and living area
LocationAddress
ValuationZillow's Zestimate
04

Recipes

Monthly market snapshot

On the first of the month, run buy for each ZIP code you track, store the median asking price and the count, and chart it.

Rent-to-price screen

Run rent and buy for the same ZIP code, and compare typical rent with typical price per bedroom to find areas that pencil out for a rental.

Price a home with sold comps

Run sold for the ZIP code, keep homes with similar beds, baths and living area, and use their prices as comparables.

Spot overpriced listings

For buy results, compute asking price against the Zestimate and list those priced far above it.

Find deals in a budget

Set minPrice and maxPrice, and send yourself the new listings every morning.

Prefer plain words? Connect the MCP server and tell Claude Code or Cursor: "For ZIP codes 78701, 78702 and 78704, get 40 homes for sale each and show median price, median living area and median gap to the Zestimate. Set max_results to 120."

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.

Tracking 12 ZIP codes at 50 listings each is billed as 600 listings. 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

?
Can I search by city or address?+

This tool searches by ZIP code only. Put ZIP codes in locations.

Can I get sold homes and rentals?+

Yes. operation accepts buy, rent or sold.

Does it include the Zestimate?+

Yes. The description of the tool lists price, beds, baths, living area, address and Zestimate for each listing.

How many listings can I get?+

maxItems sets the number per run, and the run cap max_results goes up to 200 listings. For more, start several runs.

Can I filter by price?+

Yes, with minPrice and maxPrice. Use 0 for any.

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.

Studying a property market? See travel and real estate data, e-commerce intelligence and the tool catalog.

One prepaid key for models, data and agents

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