# apidata.one API > Real-estate listing data for Bright MLS's region (DE, MD, NJ, PA, VA, WV and DC), for the websites of Bright's member brokers and agents. Base URL for every call: https://api.apidata.one/v1. One host… The API's OpenAPI 3.1 document is at https://docs.apidata.one/openapi.json. Every page below is Markdown. All of them in one file: https://docs.apidata.one/llms-full.txt ## Start here - [apidata.one API documentation](https://docs.apidata.one/index.md): Real-estate listing data for Bright MLS's region (DE, MD, NJ, PA, VA, WV and DC), for the websites of Bright's member brokers and agents. Base URL for every… - [Changelog](https://docs.apidata.one/changelog.md): What changed in the API and its docs, newest first. Within /v1, changes only add: a new endpoint, a new field, a new value where a list of values is open. A… - [Quickstart](https://docs.apidata.one/quickstart.md): Ten minutes with a sandbox key. The sandbox is a made-up world that answers exactly like live, so everything below works unchanged on live once you swap the… ## Guides - [The sandbox](https://docs.apidata.one/guides/sandbox.md): The sandbox is a made-up world for building and testing your site. It answers exactly like the live API (the same endpoints, the same shapes, the same errors)… - [Building with AI](https://docs.apidata.one/guides/building-with-ai.md): Most sites on this API are written with an AI tool: Claude, ChatGPT, Cursor, Lovable and others. These docs are made for that. This page gives you a prompt to… - [Map search](https://docs.apidata.one/guides/map-search.md): A map with pins, and a list of cards beside it, both following the same filters. This guide builds it with two calls: GET /v1/listings/map for the map and GET… - [Autocomplete: a search box that completes](https://docs.apidata.one/guides/autocomplete.md): One call serves a search box: GET /v1/autocomplete answers what the visitor may mean, in groups, from the second character on. This guide shows what to send… - [Saved searches and alerts](https://docs.apidata.one/guides/saved-searches-and-alerts.md): A visitor saves a search and is told when a listing newly matches it. The API keeps the search and works out the matches; your site tells the visitor, by email… - [Webhooks, step by step](https://docs.apidata.one/guides/webhooks.md): A webhook is how the API tells your server that something happened: a saved search has new matches, a favorite changed, a listing was removed. This guide sets… - [Alert emails](https://docs.apidata.one/guides/alert-emails.md): apidata.one never emails your visitors, and never has their addresses. The API records a notice when a saved search has new matches or a favorite changes, and… - [Compliance: showing listings as Bright requires](https://docs.apidata.one/guides/compliance.md): Listings are Bright MLS data, and Bright's display rules apply to every page, printout and email that shows one. The API does most of the work: it never… - [Build an SEO-friendly site](https://docs.apidata.one/guides/seo.md): Search engines may index your listing pages: Bright's IDX rules allow it. This guide shows how to build pages a search engine can read, with addresses that… - [Going live](https://docs.apidata.one/guides/going-live.md): Everything you build runs first on the sandbox, with test keys, for free. Going live gives your account live keys, which return real Bright MLS listings. This… ## Concepts - [Authentication](https://docs.apidata.one/concepts/authentication.md): Every request to a key-protected endpoint sends Authorization: Bearer . - [Responses and errors](https://docs.apidata.one/concepts/responses-and-errors.md): data is an object for one resource and an array for a list. meta.environment is test or live, from the key. Every response also carries an X-Request-Id header… - [Rate limits](https://docs.apidata.one/concepts/rate-limits.md): Requests are metered in token buckets: a bucket holds a burst of tokens, refills at a steady rate, and each request takes one. Three buckets exist: - [Plans: Basic and Premium](https://docs.apidata.one/concepts/plans.md): Every account is on one of two plans. Both have the whole API except three Premium features. The key you send decides which plan a request gets, and a request… - [Places](https://docs.apidata.one/concepts/places.md): A place is a named area a listing can belong to. Every place has a random public ID (pl_…), a kind, a displayName that tells look-alikes apart, and a center… - [Hidden addresses](https://docs.apidata.one/concepts/hidden-addresses.md): A seller may ask that a listing's address not be shown. Bright marks the listing, and apidata.one never stores the address, coordinates, directions, tax IDs or… - [Drawn shapes](https://docs.apidata.one/concepts/shapes.md): A Premium search or map can be limited to a shape the visitor draws: location.shape in the body of POST /v1/listings/search or POST /v1/listings/map. It… - [Idempotency](https://docs.apidata.one/concepts/idempotency.md): Three requests save something for a consumer: POST /v1/favorites, POST /v1/saved-shapes and POST /v1/saved-searches. A fourth saves something for the account… - [Webhooks and notices](https://docs.apidata.one/concepts/webhooks.md): When something happens that your site should act on, the API records a notice: a saved search has new matches, a favorite changed, a listing was removed, your… ## Reference - [Reference](https://docs.apidata.one/reference.md): Every endpoint, by group. Each page says who may call the endpoint, what it takes, what it answers field by field, and which errors it can answer. The same is… - [GET /v1/listings](https://docs.apidata.one/reference/endpoints/search-listings.md): Search listings, with the filters as query keys. - [GET /v1/listings/{listingKey}](https://docs.apidata.one/reference/endpoints/get-listing.md): One listing, in full. - [GET /v1/listings/{listingKey}/schools](https://docs.apidata.one/reference/endpoints/get-listing-schools.md): A listing's school district, and the schools its agent entered. - [GET /v1/listings/{listingKey}/similar](https://docs.apidata.one/reference/endpoints/get-similar-listings.md): Listings like this one: same city and class, near its price and size. - [GET /v1/listings/keys](https://docs.apidata.one/reference/endpoints/list-listing-keys.md): Every served listing's key and last change time, for a sitemap. - [GET /v1/listings/map](https://docs.apidata.one/reference/endpoints/map-listings.md): Pins and clusters for a map, with the filters as query keys. - [POST /v1/listings/map](https://docs.apidata.one/reference/endpoints/map-listings-body.md): Pins and clusters for a map, with the filters as a JSON body. - [POST /v1/listings/search](https://docs.apidata.one/reference/endpoints/search-listings-body.md): Search listings, with the filters as a JSON body. - [GET /v1/autocomplete](https://docs.apidata.one/reference/endpoints/autocomplete.md): Suggestions for a search box: places, ZIP codes, addresses and MLS numbers. - [GET /v1/places/{placeId}](https://docs.apidata.one/reference/endpoints/get-place.md): A place's names, center and bounding box. - [GET /v1/places/{placeId}/geometry](https://docs.apidata.one/reference/endpoints/get-place-geometry.md): A place's outline, simplified for a map zoom. - [GET /v1/places/containing](https://docs.apidata.one/reference/endpoints/get-places-containing.md): The places that hold a point. - [POST /v1/client-tokens](https://docs.apidata.one/reference/endpoints/create-client-token.md): Mint a short-lived token that lets a browser act for one consumer. - [DELETE /v1/clients/{clientId}](https://docs.apidata.one/reference/endpoints/delete-client.md): Delete everything stored for one consumer. - [GET /v1/favorites](https://docs.apidata.one/reference/endpoints/list-favorites.md): A consumer's favorites, newest first. - [POST /v1/favorites](https://docs.apidata.one/reference/endpoints/create-favorite.md): Save a listing for a consumer. - [GET /v1/favorites/{id}](https://docs.apidata.one/reference/endpoints/get-favorite.md): One favorite. - [DELETE /v1/favorites/{id}](https://docs.apidata.one/reference/endpoints/delete-favorite.md): Remove a favorite. - [GET /v1/saved-searches](https://docs.apidata.one/reference/endpoints/list-saved-searches.md): A consumer's saved searches, newest first. - [POST /v1/saved-searches](https://docs.apidata.one/reference/endpoints/create-saved-search.md): Save a search for a consumer, with how often it alerts. - [GET /v1/saved-searches/{id}](https://docs.apidata.one/reference/endpoints/get-saved-search.md): One saved search. - [PATCH /v1/saved-searches/{id}](https://docs.apidata.one/reference/endpoints/update-saved-search.md): Change a saved search's name, criteria or alert frequency. - [DELETE /v1/saved-searches/{id}](https://docs.apidata.one/reference/endpoints/delete-saved-search.md): Delete a saved search. - [GET /v1/saved-shapes](https://docs.apidata.one/reference/endpoints/list-saved-shapes.md): A consumer's saved shapes, newest first, without their geometry. - [POST /v1/saved-shapes](https://docs.apidata.one/reference/endpoints/create-saved-shape.md): Save a shape a consumer drew. - [GET /v1/saved-shapes/{id}](https://docs.apidata.one/reference/endpoints/get-saved-shape.md): One saved shape, with its geometry. - [DELETE /v1/saved-shapes/{id}](https://docs.apidata.one/reference/endpoints/delete-saved-shape.md): Delete a saved shape. - [GET /v1/events](https://docs.apidata.one/reference/endpoints/list-events.md): The account's notices, oldest first: the pull alternative to webhooks. - [GET /v1/webhook-endpoints](https://docs.apidata.one/reference/endpoints/list-webhook-endpoints.md): The account's webhook endpoints, newest first. - [POST /v1/webhook-endpoints](https://docs.apidata.one/reference/endpoints/create-webhook-endpoint.md): Register an address for notices; its secret is shown once, in this answer. - [GET /v1/webhook-endpoints/{id}](https://docs.apidata.one/reference/endpoints/get-webhook-endpoint.md): One webhook endpoint. - [PATCH /v1/webhook-endpoints/{id}](https://docs.apidata.one/reference/endpoints/update-webhook-endpoint.md): Change an endpoint's notice types or description, or pause it. - [DELETE /v1/webhook-endpoints/{id}](https://docs.apidata.one/reference/endpoints/delete-webhook-endpoint.md): Delete an endpoint, with its secret and its delivery list. - [GET /v1/webhook-endpoints/{id}/deliveries](https://docs.apidata.one/reference/endpoints/list-webhook-deliveries.md): An endpoint's deliveries of the last 30 days, newest first. - [POST /v1/webhook-endpoints/{id}/test](https://docs.apidata.one/reference/endpoints/test-webhook-endpoint.md): Send a signed ping to an endpoint. - [GET /v1/account](https://docs.apidata.one/reference/endpoints/get-account.md): Your account: its plan, status, website addresses and, for a secret key, its keys. - [GET /v1/compliance](https://docs.apidata.one/reference/endpoints/get-compliance.md): Every disclosure text, for footers and email templates. - [GET /v1/lookups/{name}](https://docs.apidata.one/reference/endpoints/get-lookup.md): One of the API's lists of values, with a label for each. - [GET /v1/status](https://docs.apidata.one/reference/endpoints/get-status.md): Whether the service runs and how fresh its data is. No key needed. - [POST /v1/sandbox/triggers](https://docs.apidata.one/reference/endpoints/create-sandbox-trigger.md): Make a change happen in the sandbox now: a match, a favorite that changes, a removal. - [GET /v1/sandbox/triggers/{id}](https://docs.apidata.one/reference/endpoints/get-sandbox-trigger.md): How a sandbox trigger ended. - [Objects](https://docs.apidata.one/reference/objects.md): Every object the API sends or takes, field by field. An object holds exactly these fields: one that is not listed here is never sent. A field marked "not… - [Compliance](https://docs.apidata.one/reference/compliance.md): Every response with listing content carries a compliance block beside data: the disclosures Bright requires, filled for your account, with the time of the last… - [Favorites](https://docs.apidata.one/reference/favorites.md): A consumer's saved listings. Consumer identity comes only from the auth context: a client token with a pk_ key, or X-Client-Id with an sk_ key. A clientId in… - [Listings](https://docs.apidata.one/reference/listings.md): Search, map, detail, similar listings and a listing's schools. Every route here serves live listing content, so it answers 500 data_stale while the 12-hour… - [Sandbox triggers](https://docs.apidata.one/reference/sandbox-triggers.md): Make something happen in the sandbox on demand, so you can test your alert handling without waiting. Sandbox only: these routes exist for sk_test_ keys. A live… - [Saved searches](https://docs.apidata.one/reference/saved-searches.md): A consumer's own searches, kept so your site can tell them when a listing newly matches. A saved search is a set of filters, an optional name and an alert… - [Saved shapes](https://docs.apidata.one/reference/saved-shapes.md): A consumer's own shapes, kept so a search or a map can use one by its ID (location.shapeId). Premium only: a key on a Basic account gets 403 tier_insufficient… - [Webhook endpoints](https://docs.apidata.one/reference/webhook-endpoints.md): An endpoint is an https:// URL on your server that receives your account's notices as signed POST requests. Every tier has them. An account may have up to 10. ## Errors - [account_pending (403)](https://docs.apidata.one/errors/account_pending.md): The live account has asked to go live and is awaiting approval, so its live keys are not active yet. One call still answers: GET /v1/account with the live sk_… - [account_suspended (403)](https://docs.apidata.one/errors/account_suspended.md): The account is suspended, so data writes and listing data are refused. GET /v1/account, reading and deleting consumer data, deleting a consumer, and minting… - [client_id_must_be_opaque (400)](https://docs.apidata.one/errors/client_id_must_be_opaque.md): The client ID looks like an email address (it contains @) or a phone number (it is 10 to 15 digits once dashes and underscores are removed), has characters… - [client_token_account_mismatch (401)](https://docs.apidata.one/errors/client_token_account_mismatch.md): The token was minted by a different account than the pk_ key presenting it. - [client_token_expired (401)](https://docs.apidata.one/errors/client_token_expired.md): The client token is past its exp. Tokens live 15 minutes by default and at most 60. - [client_token_invalid (401)](https://docs.apidata.one/errors/client_token_invalid.md): The client token could not be verified: bad signature, malformed, unknown signing key, missing claims, or minted for the other environment. - [client_token_required (401)](https://docs.apidata.one/errors/client_token_required.md): A pk_ key called an endpoint that acts for one consumer (favorites, and later saved searches and shapes) without a client token. A clientId in the URL or body… - [data_stale (500)](https://docs.apidata.one/errors/data_stale.md): Live listing data is more than 12 hours old, so the API is not serving it. One of the three freshness clocks (GET /v1/status) is past 12 hours or missing: the… - [idempotency_conflict (409)](https://docs.apidata.one/errors/idempotency_conflict.md): The Idempotency-Key can't be used for this request: - [internal_error (500)](https://docs.apidata.one/errors/internal_error.md): Something went wrong on our side. The response always carries a requestId. - [invalid_api_key (401)](https://docs.apidata.one/errors/invalid_api_key.md): The key is not in a valid format, or no account has it. A key only exists in its own environment: a _test_ key is looked up in the sandbox and a _live_ key in… - [key_revoked (401)](https://docs.apidata.one/errors/key_revoked.md): This key has been revoked, or its account was closed (which revokes every key at once). - [limit_reached (409)](https://docs.apidata.one/errors/limit_reached.md): The most records of this kind are already held: 100 saved shapes or 100 saved searches for one consumer, or 10 webhook endpoints for the account. limit carries… - [listing_not_found (404)](https://docs.apidata.one/errors/listing_not_found.md): No listing with that key (or MLS number) is being served. The listing may have sold, been withdrawn or been removed from the MLS, in which case it has been… - [missing_api_key (401)](https://docs.apidata.one/errors/missing_api_key.md): No API key was sent. - [not_found (404)](https://docs.apidata.one/errors/not_found.md): No such route or method, or the object (a favorite, a saved shape, a saved search, a webhook endpoint) does not exist for this account and consumer. Objects… - [origin_not_allowed (403)](https://docs.apidata.one/errors/origin_not_allowed.md): A pk_ key was used from a browser origin that is not on the account's authorized domains. The match is exact: scheme, host and port. - [pagination_limit_reached (400)](https://docs.apidata.one/errors/pagination_limit_reached.md): A search can page through at most 10,000 results. The cursor sent would start past that point. meta.page.total reports the count up to the cap and… - [quota_exceeded (429)](https://docs.apidata.one/errors/quota_exceeded.md): The key has been served its place outlines for today: 5,000 per key and UTC day. Retry-After and Outline-Quota-Reset give the seconds until 00:00 UTC, when the… - [rate_limited (429)](https://docs.apidata.one/errors/rate_limited.md): Too many requests in a short time. See rate limits for the buckets: a secret key has its own (50 a second, bursts of 100); a publishable key has its own (20 a… - [sandbox_listing_protected (409)](https://docs.apidata.one/errors/sandbox_listing_protected.md): A sandbox trigger named a listing it may not change. reason says which kind: - [sandbox_trigger_not_possible (409)](https://docs.apidata.one/errors/sandbox_trigger_not_possible.md): A sandbox trigger asked for a change that cannot be made. reason says why: - [saved_search_not_active (409)](https://docs.apidata.one/errors/saved_search_not_active.md): A sandbox trigger asked for a match on a saved search that is paused, so no alert could follow. status carries the search's status: paused_tier… - [secret_key_in_browser (403)](https://docs.apidata.one/errors/secret_key_in_browser.md): An sk_ key was sent from a browser: the request carried an Origin header, or any Sec-Fetch-Site header, which every browser adds to every request it makes… - [secret_key_required (403)](https://docs.apidata.one/errors/secret_key_required.md): A pk_ key called an endpoint reserved for secret keys: minting client tokens, deleting a consumer, every /v1/webhook-endpoints route, and GET /v1/events. - [shape_in_use (409)](https://docs.apidata.one/errors/shape_in_use.md): The saved shape is named by one or more of the consumer's saved searches, so it was not deleted. savedSearchIds lists them. A saved search is never left… - [shape_invalid (400)](https://docs.apidata.one/errors/shape_invalid.md): A shape sent as location.shape (a search or a map) or as geometry (a saved shape) is not one closed ring that can be searched. field names where it came in and… - [shape_too_large (400)](https://docs.apidata.one/errors/shape_too_large.md): A shape has more than 200 corners (reason: "too_many_vertices", with vertices and maxVertices) or covers more than 5,000 km² (reason: "area_too_large", with… - [temporarily_unavailable (500)](https://docs.apidata.one/errors/temporarily_unavailable.md): The request could not be completed right now. The response carries a Retry-After header (seconds). For a write, nothing was saved in the first two cases below… - [tier_insufficient (403)](https://docs.apidata.one/errors/tier_insufficient.md): The request used a Premium feature with a key on a Basic account. The response names the feature in capability: - [validation_failed (400)](https://docs.apidata.one/errors/validation_failed.md): A parameter or body field is missing, malformed or out of range, or the body could not be read. The response lists each problem in fields: [{ path, problem… - [webhook_destination_refused (400)](https://docs.apidata.one/errors/webhook_destination_refused.md): The endpoint's host name resolves to an address that isn't on the public internet, so the registration ping was not sent and the endpoint was not saved. - [webhook_ping_failed (400)](https://docs.apidata.one/errors/webhook_ping_failed.md): Registering a webhook endpoint sends it a signed ping, which must be answered with a 2xx within 10 seconds. It wasn't, so the endpoint was not saved. result… - [webhook_url_invalid (400)](https://docs.apidata.one/errors/webhook_url_invalid.md): The url of a webhook endpoint can't be used. fields[0].problem says why: