EirlyEirly
PartnersEirly APIPractitionersCatalogueAboutPricing
Sign inGet started

Pathology API

A pathology API for Australia

Eirly Health is one REST API for ordering pathology and specialist tests in Australia and getting structured results back. Create a referral, receive a webhook, fetch normalised results.

By Benjamin Novakovic, CTO and Co-founder · LinkedIn · Published 13 October 2026

Get startedRead the docs

What the pathology API does

Eirly Health, a trading name of Bloody Good Tests Pty Ltd, is an Australian company. Its platform lets a healthtech order tests from Australian laboratories through one integration, rather than building a separate connection to each lab.

The catalogue covers 250+ pathology and specialist tests, with 5,900+ collection centres across Australia. At-home kits exist in the catalogue too. Results come back as structured JSON, not only as a PDF.

What you can call

Referrals

Create, list, fetch, update and delete referrals. Commercial tests and Medicare tests can be ordered in the same request.

Results

Fetch a result by its identifier, or list results. Each biomarker has a consistent identity across labs and carries a canonical value alongside the lab's own.

Webhooks

Create, list, update and delete webhook subscriptions over REST, and look up past webhook events.

Bundles

Order a pre-configured set of tests by bundle, optionally extended with extra tests.

Collection-centre search

Find collection centres by location, nearest first, with opening hours.

Medicare provider records

Manage the Medicare provider records, including signatures, that Medicare referrals are ordered under.

One paging contract

Every list endpoint pages the same way, with a cursor, so one helper covers the whole API.

Staging environment

A staging (sandbox) environment with its own keys lets you build and test before production.

Order, then fetch

Ordering is a single authenticated call. The request below is illustrative: field names follow the Eirly Health docs, and the values are made up.

Create a referral (illustrative)
curl -X POST "$EIRLY_API_URL/v1/referrals" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/vnd.bgt.v1.1.0+json" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "John",
    "lastName": "Vein",
    "email": "client@example.com",
    "dob": "1980-01-01",
    "gender": "male",
    "phone": "0412345678",
    "address": {
      "addressLine1": "123 Example Way",
      "postCode": "4000",
      "city": "Brisbane",
      "state": "QLD",
      "country": "Australia"
    },
    "tests": ["tft", "free-testosterone"],
    "metadata": { "internalId": "1234" }
  }'

Illustrative sample, trimmed for this page. The full contract is in the Eirly Health docs.

The response carries the referral status and, once results exist, a results identifier you use to fetch the result.

What comes back

Webhooks tell you something changed. They are notifications, and you fetch the result itself with one authenticated call. See the lab results API for what a result contains.

Referral response, trimmed (illustrative)
{
  "uuid": "254fa374-6d05-4a41-bfd8-254ba2039049",
  "object": "referral",
  "status": "ISSUED",
  "tests": ["tft", "free-testosterone"],
  "origin": "API",
  "metadata": { "internalId": "1234" },
  "resultsUuid": null
}

Illustrative sample, trimmed for this page. The full contract is in the Eirly Health docs.

Labs behind the API

Eirly Health works with Healius (Dorevitch, QML, Laverty, Abbott and Western Diagnostic), Sonic Healthcare (Douglass Hanly Moir, Sullivan Nicolaides and Clinipath), Australian Clinical Labs, 4Cyte, NutriPATH, Microba and Fatty Acid Labs.

Eirly Health ingests the labs' HL7 result messages and returns structured JSON, so your team does not parse HL7 itself.

Read the HL7 pathology guide or the LOINC guide. The API's OpenAPI specification is public at api.eirly.health/v1/openapi.json.

Build with an AI coding assistant

Eirly Health publishes a public, read-only developer MCP server, so Claude Code, Cursor and Windsurf can read the API reference, schemas, webhook events and error codes while they write your integration. It needs no sign-up. About the developer MCP server.

Frequently asked questions

Yes. Eirly Health offers a REST API for ordering pathology and specialist tests from Australian laboratories and receiving structured, normalised results, with webhooks, bundles, collection-centre search and Medicare provider records. It has a staging environment with its own keys.

Create a referral through the API. When results are ready, Eirly Health sends a webhook notification, and you fetch the result with one authenticated call. Each biomarker has the lab's own value and a canonical value in one agreed unit, and the lab's report text is included.

Healius (Dorevitch, QML, Laverty, Abbott and Western Diagnostic), Sonic Healthcare (Douglass Hanly Moir, Sullivan Nicolaides and Clinipath), Australian Clinical Labs, 4Cyte, NutriPATH, Microba and Fatty Acid Labs.

Yes. A request can include Medicare tests, ordered under a practitioner's own provider number. Provider records, including signatures, are managed in Eirly Health first. Whether Medicare covers a test is decided by the collecting lab and the client's eligibility.

Yes. A staging (sandbox) environment with its own keys is available for building and testing before you go live.

Pricing is on request. See the API pricing page or book a demo.

Keep reading

  • Pathology booking API

    Create the referral, find the nearest centre and get the result, in one API.

  • Lab results API

    Results normalised across labs, with canonical values and the lab's own report text.

  • Medicare pathology ordering

    Who can request Medicare pathology, and Medicare and commercial tests on one order.

  • Lab testing API

    What to check in a lab testing API with an Australian lens.

  • Radiology API

    Diagnostic imaging in Australia and what a radiology API has to do.

  • How to build on the API

    Staging credentials, first referral, webhooks, production, step by step.

  • Developer MCP server

    Let your coding assistant read the API reference while it writes your integration.

  • Guides

    LOINC, HL7 v2 and e-requesting in Australia, with sources.

Build on the Eirly Health API.

Start in the staging environment with its own keys, then talk to us about production access. Pricing is on request.

Book a demoAPI access, pricing on request

EirlyEirly

Pathology and diagnostic infrastructure for practitioners and health brands.

Solutions

  • Partners
  • Telehealth services
  • Health brands and white label
  • Clinics and practitioners
  • Longevity clinics
  • Clinical trials
  • Research
  • At-home collection

Platform

  • Pathology infrastructure
  • Eirly API
  • Medicare pathology
  • Catalogue
  • How-to guides
  • Who can order tests
  • Pricing
  • API pricing

Developers

  • Pathology API
  • Lab results API
  • Pathology booking API
  • Lab testing API
  • Radiology API
  • MCP server
  • Guides

Company

  • About
  • Blog
  • Compliance
  • Contact

Legal

  • Privacy
  • Terms
  • Refunds

Our network

  • Pathology labs
  • Collection centres
  • Healius Pathology
  • Australian Clinical Labs
  • 4Cyte Pathology
  • Sonic Healthcare
  • NutriPATH
  • Microba
  • Fatty Acid Labs

Built in Australia. Global by design, local where it counts.

Eirly Health is a trading name of Bloody Good Tests Pty Ltd. Eirly provides data infrastructure and educational context. It does not provide medical advice, diagnosis or treatment. Pathology is requested by a registered practitioner and analysed by accredited or otherwise appropriately qualified laboratories. Practitioners using the platform are responsible for their own clinical and regulatory obligations.

© 2026 Bloody Good Tests Pty Ltd

Clients: sign in to view your results →