# Saylor Innovations Medical Reference — LOINC Lab Test Code Search

> Saylor Innovations Medical Reference — LOINC Lab Test Code Search is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-03).

Searches the LOINC database by lab test name or LOINC code to return matching standardized laboratory test codes and metadata

## Facts

- Endpoint: GET https://saylorinnovations.com/api/medical/loinc?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-medical-reference-loinc-lab-test-code-search-309acd47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gycPVKgurSKSsW24eMfCL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-medical-reference-loinc-lab-test-code-search-309acd47
```

Example prompt: Can you look up the LOINC code for 'hemoglobin A1c' so I can use the standardized lab test identifier in our EHR system?

## When to prefer this

Use this endpoint when you need to search or resolve LOINC (Logical Observation Identifiers Names and Codes) standardized codes for laboratory tests, especially for EHR integration, clinical data mapping, or health interoperability workflows. Prefer this over generic medical databases when you specifically need LOINC identifiers for lab tests rather than ICD or CPT codes.

## Known failure modes

- No matching codes found for an obscure or misspelled test name — returns empty codes array
- Invalid or non-existent LOINC code submitted — may return empty results or error
- Missing required query parameter 'q' — returns validation error
- Service unavailable or payment failure — 402 or 5xx HTTP error

## How this service works

LOINC Lab Test Code Search — Health & Medical

## Output

Returns a JSON object containing the original search query and an array of matching LOINC code objects, each with standardized lab test identifiers and associated metadata such as test names and code details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "description": "lab test name or LOINC code (query)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "codes"
     ],
     "properties": {
      "codes": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "query": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-medical-reference-loinc-lab-test-code-search-309acd47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
