list_gwas_associations

read-onlyidempotent

Search the GWAS Catalog for published trait associations (reference data).

The GWAS Catalog records published associations between genetic variants and traits, including biomarkers, quantitative measurements, and wellness traits. This is global reference knowledge — not specific to any sample. To intersect these public records with authorized genotype data, use query_variants(query_type="gwas", ...) instead, which returns associations relevant to genotyped loci.

Parameters

association_id
string | null
optional

Fetch a single association by its id instead of listing. When set, the other filters are ignored and the result is {"item": <association> | None}.

chromosome
string | null
optional

Chromosome filter (e.g. "10").

gene
string | null
optional

Mapped gene symbol filter (e.g. "TCF7L2").

limit
integer
optional, default 20

Page size (default 20, capped at 50).

offset
integer
optional, default 0

Page offset for paging through total_count.

or_beta_max
number | null
optional
or_beta_min
number | null
optional
order
string | null
optional

Sort direction, "asc" or "desc" (default "desc").

p_value_max
number | null
optional

Maximum association p-value (e.g. 5e-8 for genome-wide significance).

p_value_min
number | null
optional

Minimum association p-value.

rs_id
string | null
optional

SNP rs id filter (e.g. "rs7903146").

sample_size_min
integer | null
optional

Minimum study sample size (approximated from the study's free-text sample description) — use to favor larger, better-powered studies.

search
string | null
optional

Free-text search over trait / gene / study.

sort
string | null
optional

Column to sort by (free string; e.g. "p_value", "or_or_beta", "sample_size"). Paired with order.

trait_id
string | null
optional

GWAS Catalog / EFO trait id filter.

Response

item
object | null
optional

Only when association_id was given. Null if no such association exists.

item.id
string
required

Pass as association_id to fetch this one record.

item.chromosome
string
optional
item.ci_text
string
optional
item.context
string
optional
item.disease_trait
string
optional
item.mapped_gene
string
optional
item.mapped_trait
string
optional
item.or_or_beta
number
optional

Odds ratio or beta coefficient.

item.p_value
number
optional
item.position
integer
optional
item.pubmed_id
string
optional
item.pvalue_mlog
number
optional
item.region
string
optional
item.reported_genes
string
optional
item.risk_allele_frequency
string
optional
item.rs_id
string
optional
item.sample_size
integer
optional
item.strongest_snp_risk_allele
string
optional
item.study_accession
string
optional
item.trait_id
string
optional
item.trait_label
string
optional
items
object[]
optional

List calls only.

items[].id
string
required

Pass as association_id to fetch this one record.

items[].chromosome
string
optional
items[].ci_text
string
optional
items[].context
string
optional
items[].disease_trait
string
optional
items[].mapped_gene
string
optional
items[].mapped_trait
string
optional
items[].or_or_beta
number
optional

Odds ratio or beta coefficient.

items[].p_value
number
optional
items[].position
integer
optional
items[].pubmed_id
string
optional
items[].pvalue_mlog
number
optional
items[].region
string
optional
items[].reported_genes
string
optional
items[].risk_allele_frequency
string
optional
items[].rs_id
string
optional
items[].sample_size
integer
optional
items[].strongest_snp_risk_allele
string
optional
items[].study_accession
string
optional
items[].trait_id
string
optional
items[].trait_label
string
optional
limit
integer
optional
offset
integer
optional
total_count
integer
optional

Matches across all pages. List calls only.