Skip to main content

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):
Key fields:
  • 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, or null when the building has not been scored yet. See Enrichment
  • meta.dataAge: When the data was last refreshed (ISO 8601)
  • meta.source: How data was served: cached, stale, or live. Search is always cached or stale. live appears only on Business live-first detail and is not guaranteed: while live fetching is held back or paused, detail responses return cached or stale instead
  • meta.links: Pagination navigation URLs
  • meta.warnings: Present when a filter relies on partially populated data (for example noFee, minSqft, amenities, or fiberOnly) and may shrink results. Check it when a search returns fewer results than expected
Responses also carry 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 format BOROUGH-<uuid>. Send yours as a Bearer token:

Next steps