Concepts
How the API works, and why.
- Authentication: Every request to a key-protected endpoint sends Authorization: Bearer <key>.
- Responses and errors: 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 and the three RateLimit-* headers (rate…
- Rate limits: 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: 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 that asks for a Premium feature on Basic…
- Places: 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 and bbox. Search within a place by its ID…
- Hidden addresses: 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 the exact tax and assessment amounts of…
- Drawn shapes: 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 combines with every other filter (AND). A key…
- Idempotency: 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: POST /v1/webhook-endpoints (below). If…
- Webhooks and notices: 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 account was suspended or reinstated…