API reference.

    How the API works, and every endpoint with examples you can copy.

    Base URL https://app.bric.co.uk/apiLive v0 listingsComing soon v1

    Quick start.#

    The Bric API returns JSON over HTTPS, and every request is made on behalf of one agency. The listings API is live today. Version 1 adds properties, tenancies, balances and contacts, read-only first.

    // Run this on your server, never in the browser
    const res = await fetch("https://app.bric.co.uk/api/v0/properties?format=full", {
      headers: { "X-API-KEY": process.env.BRIC_API_KEY },
    });
    const data = await res.json();

    Authentication.#

    Bric issues each agency an API key. Send it in the X-API-KEY header on every request.

    Keeping your key safe
    Keep the key on a serverWhy:Anyone with the key can read your data as your agency.
    Store it as a secretWhy:Use environment variables or your platform’s secrets, never page code or a repository.
    Send it as a headerWhy:Keys in a web address end up in logs and browser history.
    Ask us to replace a leaked keyWhy:We issue a new one and the old one stops working.

    Permissions.#

    From version 1, each key carries only the permissions you choose. A website key that shows listings never sees your accounts.

    Permissions
    properties:readWhat it reads:Properties, rooms and property details
    tenancies:readWhat it reads:Tenancies and rent schedules
    ledgers:readWhat it reads:Tenant, landlord and property balances and ledgers
    contacts:readWhat it reads:Names, email addresses and companies
    contacts:personalWhat it reads:Phone numbers, dates of birth and addresses
    maintenance:readWhat it reads:Maintenance tickets
    compliance:readWhat it reads:Certificates
    deposits:readWhat it reads:Deposits
    enquiries:writeWhat it reads:Creating enquiries

    Requests and errors.#

    Errors come back as JSON with a message. When a request is not valid, the response also lists the problem with each field.

    Status codes
    200 · 201Meaning:It worked.What to do:–
    401Meaning:The key is missing or not recognised.What to do:Check the header name and the key.
    403Meaning:The key lacks permission for this data.What to do:Ask us to add the permission.
    404Meaning:Nothing with that ID belongs to your agency.What to do:Check the ID came from your own data.
    422Meaning:A parameter is missing or not valid.What to do:Read the field errors in the response.
    Response · 422
    {
      "message": "The request is not valid.",
      "errors": {
        "updated_since": [
          "Use an ISO 8601 date-time, such as 2026-11-01T00:00:00Z."
        ]
      }
    }

    Paging and syncing.#

    Every version 1 list is paged. Ask for up to 100 records with limit, then pass the next_cursor from each response to get the next page. When next_cursor is null you have everything. Add updated_since to fetch only what changed since your last sync.

    Money and dates.#

    Amounts are never sent as rounded numbers. Each one is an object with the value in pence and in pounds, ready to show. Dates are YYYY-MM-DD; times are ISO 8601 in UTC.

    Money object
    {
      "minor_value": 95000,
      "major_value": "950.00",
      "formatted_value": "£950.00",
      "symbol": "£",
      "negative": false
    }

    Versions.#

    The version is part of the path: /api/v0 for listings today, /api/v1 for everything new. We add fields without notice, so ignore ones you don’t use. Anything that would break your code comes in a new version, announced on the What’s new page first.

    All 26 endpoints.#