---
title: "Search symptoms, conditions and treatments"
method: GET
path: "/v1/search"
tags: ["REST v1", "Anpheros Search"]
---

# Search symptoms, conditions and treatments

`GET /v1/search`

## Request

- Base URL: `https://platform.anpheros.com`
- URL: `https://platform.anpheros.com/v1/search`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://platform.anpheros.com/oauth/authorize`, token URL `https://platform.anpheros.com/oauth/token`; client credentials, token URL `https://platform.anpheros.com/oauth/token`, scopes: `patient/*.rs`, `patient/Observation.rs`, `patient/Observation.rs?category=laboratory`, `patient/Condition.rs`, `patient/MedicationStatement.rs`, `patient/DocumentReference.rs`, `patient/AllergyIntolerance.rs`, `offline_access`, `openid`, `fhirUser`, `anpheros/patterns`)

Public, no API key needed (60 searches a minute and 2,000 a day per IP without a key). Full-text search with synonyms over the public catalog. Ordered by how the text matched (exact name, start of
a name, every word, part of a word), then alphabetically: no popularity, score or recommendation. General
information only: Anpheros does not diagnose and does not recommend treatment.

## Query parameters

- `q` string, required: Name in any of 20 languages, synonym, brand name, ICD-10 / ICD-11 code, RxNorm RXCUI or Anpheros id
- `type` 'symptom' | 'condition' | 'treatment', nullable: Only this type (catalog `data` only)
- `types` string: Groups to return, comma-separated: symptom, condition, treatment, page, article (Europe PMC), trial (ClinicalTrials.gov), document (EMA, FDA)
- `lang` string: Language of `display`; English when that language has no published name yet
- `limit` integer
- `offset` integer

## Headers

- `authorization` string, nullable
- `X-Api-Key` string, nullable

## Response `200`

Successful Response

- SearchPage
  - `data` SearchHit[], required
    - `concept_id` string, required
    - `type` string, required
    - `system` string, required
    - `status` string, required
    - `slug` string, nullable: Stable address part on anpheros.com/search/<type>/<slug>
    - `page_url` string, nullable
    - `display` string, required
    - `display_lang` string, required
    - `matched` string, required: The name, synonym or code that matched, lower case without diacritics
    - `codes` HealthTermCode[], required
      - `system` string, required: ICD-10, ICD-11 MMS, RxNorm or EMA product number
      - `code` string, required
      - `display` string, nullable
      - `equivalence` string, nullable: For ICD codes: equivalent | broader | wider | narrower | inexact
      - `uri` string, nullable: ICD-11: the WHO entity URI in the MMS 2025-01 linearization
      - `url` string, nullable: ICD-11: the entity in the WHO ICD-11 browser
    - `definition` string, nullable
  - `total` integer, required
  - `release` string, required
  - `attribution` string[], required
  - `disclaimer` string, required

## Other responses

- `401`: Missing, invalid, expired or revoked credential (`WWW-Authenticate: Bearer`).
- `403`: The credential's scope or the patient's consent does not allow this.
- `422`: Validation Error
- `429`: Rate limit exceeded; wait `Retry-After` seconds.

---

[API](https://skmtc.dev/anpheros/apis/anpheros-platform.md) · [All operations](https://skmtc.dev/anpheros/apis/anpheros-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/anpheros/apis/anpheros-platform/revisions/ff567b232dc3?raw)
