Biomarkers

Batch biomarker lookup

Fetch up to 50 biomarkers by slug in one request. Optional Idempotency-Key replays the original response for 24 hours.

post/api/v1/biomarkers/batch

Request

  • Base URL: https://www.vitalsvault.com
  • URL: https://www.vitalsvault.com/api/v1/biomarkers/batch
  • Auth: none declared

Headers

Idempotency-Keystring

Optional replay key for POST operations. The same key and body return the original response for 24 hours.

Request body

slugsstring[] required

Example request

{
  "slugs": [
    "ferritin",
    "apob"
  ]
}

Response

Batch lookup result. Missing slugs are returned as null in the same order.

successboolean required

Indicates if the request was successful

Example response

{
  "data": {
    "items": [
      {
        "slug": "vitamin-d",
        "name": "Vitamin D (25-OH)",
        "loincCode": "25873-0",
        "unit": "ng/mL"
      }
    ]
  },
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.