Search Genetic Variants
myvariant.variants.searchSearch the MyVariant.info database of 450M+ annotated human genetic variants using a flexible query syntax. Query by: dbSNP rsID (e.g. "rs58991260"), gene symbol (e.g. "dbsnp.gene.symbol:BRCA1"), ClinVar clinical significance (e.g. "clinvar.rcv.clinical_significance:Pathogenic"), CADD pathogenicity score (e.g. "cadd.phred:>30"), chromosomal position range (e.g. "chrom:17 AND hg19.start:[41196312 TO 41277500]"), or disease/phenotype keywords (e.g. "clinvar.rcv.conditions.name:breast cancer"). Each hit includes chromosome, genomic position (hg19/hg38), rsID, reference/alternate alleles, CADD PHRED score, ClinVar clinical significance, gnomAD allele frequency, and predicted functional consequences (SnpEff). Data integrates ClinVar, gnomAD, CADD, dbSNP, COSMIC, CIViC, ExAC, and 30+ annotation sources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Variant query string. Supports: rsID (e.g. "rs58991260"), gene symbol (e.g. "dbsnp.gene.symbol:BRCA1"), CADD score filter (e.g. "cadd.phred:>20"), ClinVar significance (e.g. "clinvar.rcv.clinical_significance:Pathogenic"), chromosome position (e.g. "chrom:7 AND hg19.start:[140453000 TO 140454000]"), or disease/phenotype keywords (e.g. "clinvar.rcv.conditions.name:breast cancer"). | |
| size | No | Maximum number of variant results to return (1–50, default 10). | |
| fields | No | Comma-separated fields to return per hit. Default: dbsnp,clinvar,cadd,gnomad_exome,gnomad_genome,snpeff,vcf,chrom,hg19. Other useful fields: dbnsfp,cosmic,civic,gwassnps,hg38. Use "all" for every available annotation source. | |
| assembly | No | Genome assembly for coordinate fields in results. "hg19" (GRCh37) or "hg38" (GRCh38). Defaults to hg19. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |