Discover/snpedia.com API
live

snpedia.com APIsnpedia.com

Access SNPedia's human genetics database via API. Retrieve SNPs, genotypes, genes, medical conditions, and medicines with 5 structured endpoints.

Endpoints
5
Updated
3mo ago
Try it
Max results per page.
Continue token for pagination, obtained from a previous response's continue field.
api.parse.bot/scraper/8273ceb4-f6c9-4d1c-8218-1204790dd5f5/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/8273ceb4-f6c9-4d1c-8218-1204790dd5f5/list_snps?limit=3' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

List all SNPs in SNPedia using pagination. Returns a list of page titles and IDs from the Is_a_snp category.

Input
ParamTypeDescription
limitintegerMax results per page.
continuestringContinue token for pagination, obtained from a previous response's continue field.
Response
{
  "type": "object",
  "fields": {
    "snps": "array of objects with pageid, ns, and title fields",
    "continue": "string pagination token or null if no more results"
  },
  "sample": {
    "data": {
      "snps": [
        {
          "ns": 0,
          "title": "I1000001",
          "pageid": 10244
        },
        {
          "ns": 0,
          "title": "I1000003",
          "pageid": 13450
        },
        {
          "ns": 0,
          "title": "I1000004",
          "pageid": 19115
        }
      ],
      "continue": "page|4931303030303135|12979"
    },
    "status": "success"
  }
}

About the snpedia.com API

The SNPedia API exposes 5 endpoints covering the full breadth of SNPedia's human genetics wiki, from paginated SNP listings to per-variant detail pages. The get_snp endpoint returns genomic coordinates, associated genes, chromosome orientation, and all known genotypes for a given rsID. Other endpoints cover genotype-level properties, category browsing across genes and medical conditions, and full-text search across all SNPedia content.

SNP and Genotype Data

The get_snp endpoint accepts an rsID (case-insensitive, e.g. rs334 or Rs334) and returns the canonical SNP title, chromosome identifiers, numeric chromosome positions, strand orientation, associated gene names, and a genotypes array. Each genotype object in that array includes the genotype string, magnitude score, repute classification, and a human-readable summary. The get_genotype endpoint goes one level deeper, accepting a full genotype page title like Rs334(A;A) and returning individual alleles (allele1, allele2), magnitude, repute, summary, and the parent rsID.

Listing and Browsing Categories

list_snps paginates the full Is_a_snp category, returning pageid, ns, and title for each SNP page. Pagination is cursor-based: each response includes a continue token that you pass back to retrieve the next page, or null when the list is exhausted. The list_category endpoint generalizes this pattern to any SNPedia category — pass Is_a_gene, Is_a_medical_condition, Is_a_medicine, or Is_a_genoset in the category parameter to enumerate those collections with the same paginated response shape.

Full-Text Search

The search endpoint accepts a query string and returns a hits array of matching pages. Each hit includes title, pageid, snippet (a text excerpt), size, wordcount, and timestamp. The total field indicates the overall result count; pagination uses a numeric offset parameter drawn from the previous response's continue field rather than an opaque token, making it straightforward to page through large result sets programmatically.

Common use cases
  • Build a variant annotation tool that maps rsIDs to chromosome positions, genes, and strand orientation using get_snp.
  • Enumerate all SNPedia gene pages via list_category with Is_a_gene to build a reference index of covered loci.
  • Retrieve magnitude and repute scores for specific genotypes via get_genotype to power a personal genomics interpretation layer.
  • Cross-reference medical conditions from Is_a_medical_condition category members against SNP summaries for a disease-variant lookup.
  • Search SNPedia content by keyword using the search endpoint to surface relevant variant pages for a given trait or condition name.
  • Page through the complete SNP catalog with list_snps and cursor-based pagination to seed a local genetics database.
  • Map medicine names from Is_a_medicine category listings to associated SNPs for pharmacogenomics research workflows.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does SNPedia have an official developer API?+
SNPedia is built on MediaWiki and exposes a standard MediaWiki API at https://bots.snpedia.com/api.php. It is undocumented for end-user developer use and returns raw wiki markup that requires significant post-processing. This Parse API delivers pre-structured JSON fields like genotypes, magnitude, repute, and chromosome without that overhead.
What does `get_snp` return beyond basic rsID metadata?+
It returns the full genotypes array for the SNP, where each object includes the genotype string, a numeric magnitude value, a repute label (e.g. Good, Bad), and a plain-text summary. It also returns chromosome, position, orientation, gene, and a direct url to the SNP page.
Does the API return genoset or haplotype data beyond individual SNPs?+
The list_category endpoint can enumerate pages in the Is_a_genoset category, returning page titles and IDs. Detailed structured data for genosets (e.g. combined SNP rules, genoset summaries) is not returned by a dedicated endpoint currently. You can fork the API on Parse and revise it to add a get_genoset endpoint covering those fields.
How does pagination work across the listing and search endpoints?+
list_snps and list_category use an opaque cursor string: pass the continue value from one response as the continue input on the next call. The search endpoint uses a numeric offset instead. All three return null in the continue field when no further results exist.
Does the API cover population frequency data or clinical significance scores for variants?+
Population allele frequencies and external clinical significance scores (such as ClinVar pathogenicity classifications) are not part of the response fields. The available clinical signal is SNPedia's own magnitude and repute fields, plus free-text summary values. You can fork the API on Parse and revise it to integrate a population frequency source as an additional endpoint.
Page content last updated . Spec covers 5 endpoints from snpedia.com.
Related APIs in HealthcareSee all →
goodtherapy.org API
Search and find therapists on GoodTherapy.org by location, name, or specialty, then view detailed profiles including credentials and practice information. Browse available therapists across different locations and filter results by specialty, insurance, language, and more to find the right mental health professional.
radiopaedia.org API
Search medical cases and images on Radiopaedia to find relevant radiology references, and stay updated with the latest articles in medical imaging. Access case details, diagnostic images, and recent content updates all in one place.
tbca.net.br API
Search Brazil's most comprehensive food database to get detailed nutritional profiles, household portion measurements, and statistical composition data for thousands of foods including regional and biodiversity-focused options. Find specific nutrients by component, browse foods by group or type, and access institutional food information all in one place.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
cabi.org API
Search and retrieve detailed information about plant diseases from the CABI Digital Library, including disease characteristics, symptoms, and management strategies. Find specific disease data by name or browse the comprehensive Compendium to identify and understand plant health issues.
azbar.org API
Search for Arizona lawyers by name, location, specialty, or company to find the right legal professional for your needs. View detailed lawyer profiles including their specializations, licensed jurisdictions, law school, admission history, and any disciplinary records.
arztsuche.116117.de API
Find therapists and doctors across Germany by postal code, radius, or medical specialty, getting detailed results with names, addresses, distances, and contact information. Quickly locate healthcare providers that match your needs using Germany's official 116117 doctor search portal.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.