NCBI ClinVar Variant Scraper avatar

NCBI ClinVar Variant Scraper

Pricing

from $7.50 / 1,000 results

Go to Apify Store
NCBI ClinVar Variant Scraper

NCBI ClinVar Variant Scraper

Scrapes NCBI ClinVar variant summaries via the Esummary endpoint. Provide a gene or variant search term and get back flat records with variant ID, clinical significance, review status, and more.

Pricing

from $7.50 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Share

ParseForge

NCBI ClinVar Variant Scraper

Scrape ClinVar variant summaries by gene, variant name, or clinical significance, up to a million records per run. Each record returns the full Esummary payload: variant ID, gene, clinical significance, review status, and more. No API key required. Export to JSON, CSV, Excel, or XML.

NCBI ClinVar's E-utilities API requires you to build URLs, handle XML parsing, and paginate through results. This Actor reads the Esummary endpoint directly, accepts a gene or variant search term, and returns each matching variant record in a flat, consistent schema. You control the number of records and the search filter, and the Actor handles the rest.

Who uses itWhat they scrape NCBI ClinVar for
Clinical geneticistsPull variant-level evidence for a gene panel before a case review.
Bioinformatics engineersFeed a variant annotation pipeline with fresh ClinVar clinical significance data.
Rare disease researchersGather all ClinVar records for a candidate gene to cross-reference with phenotype databases.
Pharma variant scientistsMonitor ClinVar submissions for a target gene to track emerging pathogenicity assertions.

What it does

This Actor collects ClinVar variant summaries from the NCBI Esummary API by gene or variant search term and returns each record as a flat row.

  • 🧬 Gene or variant search: pass a gene symbol like BRCA1, a variant like NM_007294.4:c.5266dup, or a clinical significance filter like pathogenic[clinsig].
  • 📦 Full Esummary payload: every record includes variant ID, gene, clinical significance, review status, and all other fields returned by the Esummary endpoint.
  • 🔢 Configurable volume: set a maximum from 1 to 1,000,000 records per run to match your use case.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with NCBI ClinVar data

🧬 Build a gene-level evidence dump.

A clinical geneticist runs the Actor with searchTerm=BRCA1 and maxItems=500 to collect all ClinVar records for the gene before a variant interpretation meeting.

📊 Feed a variant annotation pipeline.

A bioinformatics engineer runs the Actor nightly with a list of variant accessions to pull fresh clinical significance and review status into an internal annotation database.

🔍 Cross-reference rare disease candidates.

A rare disease researcher runs the Actor with a candidate gene symbol and compares the ClinVar clinical significance against OMIM and Orphanet phenotype data.

📈 Monitor pathogenicity assertions over time.

A pharma variant scientist runs the Actor weekly for a target gene to detect new pathogenic submissions or changes in review status.

Why choose this scraper

What you get
No API keyThe Actor calls the public NCBI E-utilities endpoint; you do not need to register an NCBI account or manage an API key.
Flat outputEvery variant record is returned as a flat row, ready for pandas, Excel, or a database load.
Flexible searchUse any ClinVar search term that works on the website, including boolean filters like pathogenic[clinsig] AND brca1[gene].

How it compares

This Actor focuses on the ClinVar Esummary endpoint for flat variant summaries. The other ClinVar scraper may target a different endpoint or schema, and the rare disease scraper covers a different NCBI database entirely.

FeatureParseForgeNCBI Clinvar Variants ScraperRare Disease Lookup - OMIM + Orphanet + MedGen API
ClinVar variant recordsYes, via Esummary endpointYesNot listed
Gene or variant search termYesNot listedNot listed
Clinical significance filterYes, via search termNot listedNot listed
No API key requiredYesNot listedNot listed
Rare disease definitions (OMIM, Orphanet)Not listedNot listedYes

Configure the run

Drive the Actor with a gene symbol, variant accession, or a clinical significance filter, and set a maximum record count to limit the run. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10,
"searchTerm": "BRCA1"
}

A larger pull:

{
"maxItems": 200,
"searchTerm": "BRCA1"
}

Pricing

Pay-per-result: $0.0085 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$0.85
1,000 results$8.50
10,000 results$85.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the NCBI ClinVar Variant Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to NCBI ClinVar through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/clinvar-esummary-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check your search term. Try the same term on the ClinVar website to confirm it returns records. If the term is valid, reduce maxItems to a small number and test again. Some very broad searches may time out; add a gene or clinical significance filter to narrow the query.

The run timed out. What should I do?

Increase the run timeout in the Actor's settings, or reduce maxItems. If you are searching a very large gene like TTN, add a clinical significance filter to reduce the result set.

Some fields are empty in the output.

ClinVar records vary in completeness. If a field like clinical significance is empty, the submitting lab may not have provided it. This is expected and reflects the source data.

I get an NCBI rate-limit error.

The public E-utilities endpoint allows about 3 requests per second without an API key. If you hit the limit, the Actor backs off automatically. For higher throughput, register an NCBI API key and pass it as an input parameter.

The search term with special characters is not working.

URL-encode characters like spaces, colons, and brackets in your search term. For example, use pathogenic%5Bclinsig%5D instead of pathogenic[clinsig].

FAQ

QuestionAnswer
Do I need an NCBI API key?No. This Actor uses the public E-utilities endpoint and does not require an NCBI account or API key. If you have a key and want higher rate limits, you can pass it as an input parameter.
What search terms can I use?Any term that works in the ClinVar search box: gene symbols (BRCA1), variant accessions (NM_007294.4:c.5266dup), or fielded queries like pathogenic[clinsig] or brca1[gene] AND pathogenic[clinsig].
How many records can I get in one run?You set the maximum with the maxItems input, from 1 up to 1,000,000 records. The Actor stops when it reaches your limit or when ClinVar has no more matching records.
What fields are in the output?The Actor returns the full Esummary payload for each variant. The exact fields depend on the ClinVar record, but typically include variant ID, gene, clinical significance, review status, and last evaluated date.
Can I filter by clinical significance?Yes. Use a search term like pathogenic[clinsig] or likely pathogenic[clinsig] to return only variants with that clinical significance.
Does this Actor handle VCF coordinates?The Esummary endpoint returns variant-level summaries, not VCF coordinates. For genomic coordinates, use the ClinVar VCF files or the full Efetch endpoint.
What export formats are supported?You can export your dataset from Apify in JSON, CSV, Excel, XML, or RSS feed formats.
How does this differ from the NCBI Clinvar Variants Scraper?This Actor targets the Esummary endpoint, which returns a flat summary for each variant. The other scraper may collect different fields or use a different endpoint. Check the sample output to see which schema fits your workflow.
Can I run this on a schedule?Yes. Use Apify's scheduler to run the Actor daily, weekly, or on any cron schedule to keep your ClinVar data fresh.

Browse the full ParseForge collection for more scrapers.

🆘 Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by National Center for Biotechnology Information, U.S. National Library of Medicine. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.