# CPIC Pharmacogenetics Guidelines Lookup

> CPIC Pharmacogenetics Guidelines Lookup is a paid API for AI agents from api.healthtravel-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns CPIC pharmacogenetics guidelines for a given gene symbol, including guideline name, genes covered, version, and ClinPGx link — up to 20 results per call.

## Facts

- Endpoint: GET https://api.healthtravel-api.workers.dev/api/health/clinical-pharmacogenetics?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cpic-pharmacogenetics-guidelines-lookup-04422fc5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5vXrk4nIqMNZHVVkNRsqm

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 cpic-pharmacogenetics-guidelines-lookup-04422fc5
```

Example prompt: Can you look up all CPIC pharmacogenetics guidelines associated with the gene CYP2D6 and show me the guideline names, versions, and any ClinPGx links?

## When to prefer this

Use this endpoint when you need to discover which CPIC pharmacogenetics guidelines exist for a specific gene symbol, including their names, versions, and ClinPGx reference links. It is ideal for quickly enumerating guideline coverage for a gene in a precision medicine or pharmacogenomics research context. Not suitable when you need full recommendation text, dosing details, or patient-level genotype-phenotype interpretations.

## Known failure modes

- Invalid or unrecognized gene symbol returns empty results or error
- Gene symbol exceeds 20 characters or contains invalid characters causes validation failure
- max parameter outside 1-20 range may return default or error
- Upstream api.cpicpgx.org unavailability causes timeout or 502 error
- Gene with no associated CPIC guidelines returns empty list

## How this service works

CPIC pharmacogenetics guidelines (api.cpicpgx.org) for a gene symbol: guideline name, genes covered, guideline version, and ClinPGx link. Lists guidelines only; recommendation text is not included. Up to 20 guidelines per call.

## Output

A list of up to 20 CPIC pharmacogenetics guidelines matching the queried gene symbol. Each result includes the guideline name, genes covered by the guideline, the guideline version, and a ClinPGx link. Note: actual drug dosing recommendation text is not included.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "gene"
     ],
     "properties": {
      "max": {
       "type": "string",
       "description": "How many guidelines, 1 to 20 (default 10)"
      },
      "gene": {
       "type": "string",
       "description": "Gene symbol, letters, digits and hyphens, 2 to 20 characters"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cpic-pharmacogenetics-guidelines-lookup-04422fc5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.healthtravel-api.workers.dev](https://www.zero.xyz/host/api.healthtravel-api.workers.dev/llms.txt)
