1. Make your first request
Search, areas, market, and photo endpoints work without an API key, so you can try Borough right now. Keyless requests are limited per IP to 100 requests/month and 10 requests/minute, with up to 10 results per page. This finds 1+ bedroom rentals under $4,000 on the Upper East Side:140 is the Upper East Side. An area that contains other areas covers all of them, so this search also returns Yorkville, Lenox Hill, and Carnegie Hill listings. Find the ID for any neighborhood with List Areas, for example /v1/areas?q=williamsburg.
2. Understand the response
Every response follows this envelope (values below are illustrative):data: The response payload (array for lists, object for single resources)data[].buildingScores: Health, noise, safety, and transit scores plus the open violation count for the listing’s building, ornullwhen the building has not been scored yet. See Enrichmentmeta.dataAge: When the data was last refreshed (ISO 8601)meta.source: How data was served:cached,stale, orlive. Search is alwayscachedorstale.liveappears only on Business live-first detail and is not guaranteed: while live fetching is held back or paused, detail responses returncachedorstaleinsteadmeta.links: Pagination navigation URLsmeta.warnings: Present when a filter relies on partially populated data (for examplenoFee,minSqft,amenities, orfiberOnly) and may shrink results. Check it when a search returns fewer results than expected
X-Quota-Limit, X-Quota-Used, and X-Quota-Remaining headers so you can track your monthly allowance. X-Quota-Used is the count before the current request.
If a listing includes a leadPhotoKey, you can fetch a first-party image URL through Borough at /v1/photos/{key}. Each photo request counts as one request against your quota, so cache images you have already fetched. See Photo URLs for supported sizes.
3. Get an API key when you need more
Paid plans add property and building detail (price history, fees, open houses, comparables, and HPD violations), higher monthly limits, and larger pages. Pro adds live listing streams (the live update is best-effort); Business adds live-first detail, webhooks, and watchers. See Tiers & Pricing. Keys are provisioned automatically when you subscribe and use the formatBOROUGH-<uuid>. Send yours as a Bearer token:
Next steps
- Search Filters: All available filter parameters
- SDK Guide: Install and use the TypeScript SDK
- MCP Server: Connect Claude or another AI agent (the free tier works there too)
- Authentication: API key formats and OAuth