# GET /v1/listings/keys Every served listing's key and last change time, for a sitemap. | Access | | | --- | --- | | Keys | secret only | | Plan | every plan | | Environment | live and sandbox | | Acts for | the account | | While the account is suspended | refused | | During a data stop | refused | ## Query | Name | Type | Description | | --- | --- | --- | | `limit` | integer | Keys a page: 1 to 5,000. 1,000 when left out. | | `cursor` | string | The nextCursor of the page before, exactly as it came. Left out for the first page. | | `status` | string | Only listings of these statuses, separated by commas: active, active_under_contract, coming_soon, pending, closed. Left out: every listing the API serves. | ## Answers ### 200: One page of keys, in key order The answer is `{ data, meta }`; `meta` holds `requestId`, `environment` and `page`. `data` is a list. Each item: | Field | Type | Description | | --- | --- | --- | | `listingKey` | string | | | `updatedAt` | string or null | The listing's own updatedAt: your sitemap's lastmod. | `meta.page` is a [CursorPage](../objects.md#cursorpage). Header `RateLimit-Limit`: Of whichever bucket has the fewest requests left: this route's own, or the key's. ## Errors | Status | Codes | | --- | --- | | 400 | [`client_id_must_be_opaque`](../../errors/client_id_must_be_opaque.md), [`validation_failed`](../../errors/validation_failed.md) | | 401 | [`invalid_api_key`](../../errors/invalid_api_key.md), [`key_revoked`](../../errors/key_revoked.md), [`missing_api_key`](../../errors/missing_api_key.md) | | 403 | [`account_pending`](../../errors/account_pending.md), [`account_suspended`](../../errors/account_suspended.md), [`origin_not_allowed`](../../errors/origin_not_allowed.md), [`secret_key_in_browser`](../../errors/secret_key_in_browser.md), [`secret_key_required`](../../errors/secret_key_required.md) | | 429 | [`rate_limited`](../../errors/rate_limited.md) | | 500 | [`data_stale`](../../errors/data_stale.md), [`internal_error`](../../errors/internal_error.md), [`temporarily_unavailable`](../../errors/temporarily_unavailable.md) | Every error has the same body, and says how to fix it ([responses and errors](../../concepts/responses-and-errors.md)). ## More The key list, for a sitemap: every listing the API serves, by its `listingKey`, with the time it last changed. Call it from your server, on a schedule. ```json { "data": [ { "listingKey": "301234567890", "updatedAt": "2026-11-28T14:02:11.000Z" }, { "listingKey": "301234567891", "updatedAt": "2026-10-03T09:15:40.000Z" } ], "meta": { "requestId": "req_…", "environment": "live", "page": { "limit": 1000, "nextCursor": "c_…" } } } ``` - **What is in it** is exactly what `GET /v1/listings/{listingKey}` answers `200` for, in `listingKey` order. A listing whose address is hidden is in it (its detail is served, without the address). A listing that left the feed, or is kept from display, is not: its detail is `404 listing_not_found`. - **`updatedAt`** is the listing's own `updatedAt`, as its detail gives it. Use it as your sitemap's `lastmod`, and to decide which of your pages to refresh. - **Keys and times, and nothing else.** No address, no price, no count of the whole list: page until `nextCursor` is `null`. - **A cursor belongs to the list it came from.** With another `status` filter, or on a search, it is `400 validation_failed`. Start again from the first page. - **A key that was on your last list and is not on this one** has left the feed: remove its page and answer `410 Gone` for it. Don't keep a copy of a listing the API no longer serves. ([`listing.removed`](../../concepts/webhooks.md) notices tell you the same sooner.) - **Its own rate limit:** one request every 2 seconds for a key, with bursts of 5, on top of the key's usual limit ([rate limits](../../concepts/rate-limits.md#the-key-list)). At 5,000 keys a page a full list of a million keys is about 210 requests, and takes a few minutes. Past the limit: `429 rate_limited` with `Retry-After`. - Like every listing route, it answers `500 data_stale` while live data is over 12 hours old. Build your pages' addresses from the `listingKey` alone, never from an address. _This page is made from the route's own declaration by `npm run openapi`. To change it, change the declaration or its explanation, never this file._