---
title: "Search ClinVar"
method: GET
path: "/v1/sources/clinvar/search"
tags: ["ClinVar"]
---

# Search ClinVar

`GET /v1/sources/clinvar/search`

## Request

- Base URL: `https://api.assyro.com`
- URL: `https://api.assyro.com/v1/sources/clinvar/search`
- Auth: none declared

Search ClinVar (NCBI), the public archive of human genetic variants and their clinical significance, from Assyro's weekly copy: find variants by gene symbol, condition, dbSNP rsId, part of the variant's HGVS name (e.g. "c.68_69del", "p.Gly12Asp") or free words, and narrow by classification (pathogenic, likely pathogenic, uncertain significance, likely benign, benign, conflicting...), review status stars (0-4: 3 is an expert panel, 4 a practice guideline) or date last evaluated. Each result gives the VCV accession, ClinVar's aggregate germline classification, review status, date last evaluated, genes and conditions. Without words, the best reviewed and most recently evaluated come first. Call read_clinvar_variant for locations on GRCh37/GRCh38, every condition, RCV accessions and somatic classifications.

## Query parameters

- `query` string: Words in the variant name, gene, conditions or identifiers, e.g. "CFTR cystic fibrosis".
- `gene` string: An HGNC gene symbol, e.g. "BRCA1".
- `condition` string: A condition name or part of one, e.g. "Lynch syndrome".
- `variant` string: Part of the variant's HGVS name, in order, e.g. "c.68_69del" or "p.Arg1699Trp".
- `clinicalSignificance` 'pathogenic' | 'likely pathogenic' | 'uncertain significance' | 'likely benign' | 'benign' | 'conflicting' | 'low penetrance' | 'risk factor' | 'drug response' | 'association' | 'protective' | 'affects' | 'other' | 'not provided': Keep variants whose aggregate germline classification includes this term.
- `minReviewStars` integer: Keep variants with at least this many review status stars (2: multiple submitters, no conflicts).
- `rsId` string: A dbSNP id, e.g. "rs80357914".
- `evaluatedFrom` string: Last evaluated on or after this date (YYYY-MM-DD).
- `evaluatedTo` string: Last evaluated on or before this date (YYYY-MM-DD).
- `limit` integer: Variants to return, default 8.
- `offset` integer: Skip this many results (for paging), default 0.

## Response `200`

Matching records.

- SearchResponse
  - `version` unknown, required
  - `source` SourceRef, required
    - `id` string, required
    - `label` string, required
    - `authority` string, required
  - `total` integer, nullable, required: Total matches the source reports, when it says.
  - `records` Record[], required
    - `id` string, required: The source's own identifier for the record.
    - `title` string, required
    - `url` string, required: The record's page at the source, to verify it.
    - `authority` string, required: Who published the record.
    - `snippet` string, nullable, required: The part of the record that matched; null where the licence allows only a link.
    - `publishedDate` string, nullable, required
    - `version` string, nullable, required: The edition or revision read.
    - `fields` object, nullable, required: The source's own fields; null where the licence allows only a link.
    - `asOf` string, nullable, required: The day Assyro's copy of the source was read (YYYY-MM-DD).
    - `attribution` string: The attribution the source's licence requires, on sources that require one.
  - `note` string
  - `summary` string[]

## Other responses

- `400`: The request is not valid: an unknown parameter or an argument the source refuses.
- `404`: No such source or record.
- `429`: Rate limited; retry after the Retry-After header.
- `503`: The source cannot answer from Assyro's copy right now.

---

[API](https://skmtc.dev/assyro/apis/assyro-public-data-api.md) - [All operations](https://skmtc.dev/assyro/apis/assyro-public-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/assyro/apis/assyro-public-data-api/revisions/c861290c9f47?raw)
