UniProt Protein Sequence & Annotation Scraper avatar

UniProt Protein Sequence & Annotation Scraper

Pricing

from $28.12 / 1,000 results

Go to Apify Store
UniProt Protein Sequence & Annotation Scraper

UniProt Protein Sequence & Annotation Scraper

Scrapes UniProt protein entries by search query or accession and returns each one as a flat row with gene names, organism, sequence metadata, functional keywords, and optional full sequence string.

Pricing

from $28.12 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

9 days ago

Last modified

Share

ParseForge

UniProt Protein Sequence & Annotation Scraper

Scrape protein sequences, annotations, and functional data from UniProt by search query or accession, up to a million entries per run. Every record returns gene names, organism, sequence length, molecular weight, subcellular location, and functional keywords. Export to JSON, CSV, Excel, or XML.

UniProt's website is built for manual browsing, not bulk retrieval. Downloading protein data for a whole family or organism means writing custom scripts, handling pagination, and parsing multiple data formats. This Actor reads the UniProt REST API directly, accepts the full UniProt query syntax, and returns every matching protein entry in one consistent flat schema. No API key registration required.

Who uses itWhat they scrape UniProt for
BioinformaticiansFetching all reviewed human proteins for a proteome-wide analysis pipeline.
Drug discovery researchersExtracting target protein metadata, including function and subcellular location, for a candidate list.
Computational biologistsBuilding a local dataset of protein sequences and annotations for a specific taxonomic group.
Academic labsCollecting protein entries by keyword, such as a disease association, for a literature review.

What it does

This Actor collects UniProt protein entries by search query or single accession and returns each one as a flat row with annotations, sequence metadata, and optional full sequence string.

  • ๐Ÿ”ฌ Full UniProt query syntax: filter by reviewed status, organism, gene name, keyword, subcellular location, evidence level, sequence length range, and more.
  • ๐Ÿงฌ Optional sequence string: toggle the full amino-acid sequence on or off. Sequence length and molecular weight are always included.
  • ๐Ÿ“„ Single accession mode: supply one UniProt accession to fetch a specific entry, bypassing the search query.
  • ๐Ÿ“Š Flat row output: each protein returns as one row with gene names, organism, functional keywords, and computed properties.

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

What you can do with UniProt data

๐Ÿงช Build a human proteome dataset.

A bioinformatician runs the query 'reviewed:true AND organism_id:9606' to collect all Swiss-Prot human proteins with their gene names, sequences, and functional annotations for downstream analysis.

๐Ÿ’Š Screen drug targets by subcellular location.

A drug discovery researcher filters for 'cc_subcellular_location:nucleus' to identify nuclear proteins as potential targets and exports the list with molecular weights and functional keywords.

๐Ÿญ Collect mouse proteins in a size range.

A computational biologist uses 'taxonomy_id:10090 AND length:[100 TO 500]' to gather all mouse proteins between 100 and 500 amino acids for a structural study.

๐Ÿ”Ž Retrieve a single entry by accession.

A researcher supplies the accession 'P00533' to fetch the full annotated record for EGFR, including its sequence, gene name, and functional description.

Why choose this scraper

What you get
No API keyReads the public UniProt REST API with no registration or key management.
Full query powerSupports the complete UniProt query field syntax for precise filtering.
Sequence controlFetch only the metadata you need, or include the full sequence string when required.
ScalableRetrieve up to a million protein entries in a single run for paid users.

How it compares

Two other UniProt scrapers exist on Apify. This Actor differentiates by supporting the full UniProt query syntax, optional sequence string toggling, and a higher maximum item count for paid users.

FeatureParseForgeUniProt Protein Scraper - Sequences, Genes & FunctionUniProt Proteins Scraper - Protein Metadata
Full UniProt query syntaxYesNot listedNot listed
Single accession fetchYesYesNot listed
Full amino-acid sequence stringOptional toggleYesNot listed
Subcellular location filterYesNot listedNot listed
Max items per run (paid)1,000,000Not listedNot listed
No API key requiredYesYesNot listed

Configure the run

Drive the Actor from a UniProt query string or a single accession, and set a maximum item count to control the size of your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"query": "reviewed:true AND organism_id:9606",
"maxItems": 10,
"fetchSequence": false,
"pageSize": 500
}

A larger pull:

{
"query": "reviewed:true AND organism_id:9606",
"maxItems": 200,
"fetchSequence": false,
"pageSize": 500
}

Pricing

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

Results collectedApproximate cost
100 results$3.75
1,000 results$37.50
10,000 results$375.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 UniProt Protein Sequence & Annotation 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 UniProt 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/uniprot-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 query syntax. UniProt queries use a specific field format like 'gene:BRCA1' or 'organism_id:9606'. A typo or invalid field name will return zero matches. Test your query on the UniProt website first to confirm it returns results.

Why is my run limited to 10 items?

Free Apify accounts are capped at 10 items as a preview. Upgrade to a paid plan to increase the limit up to 1,000,000 proteins per run.

Why is the sequence field empty?

The full amino-acid sequence is only included when you set 'Include Sequence String' to true. By default, this option is off to keep response sizes smaller. Sequence length and molecular weight are always returned.

Why does my query with special characters fail?

Some characters in UniProt queries, like square brackets for ranges, need to be URL-encoded when passed via HTTP. The Actor handles this encoding for you, but if you are using the API directly, ensure your query string is properly escaped.

Why is the run slow for large queries?

The Actor paginates through results at up to 500 entries per request, which is UniProt's maximum page size. Large queries with hundreds of thousands of results will take time proportional to the total count. Reduce your result set with more specific query filters to speed it up.

FAQ

QuestionAnswer
Do I need a UniProt API key?No. This Actor reads the public UniProt REST API endpoints that do not require authentication or an API key.
What query syntax can I use?The Actor accepts the full UniProt query field syntax. You can filter by reviewed status, organism ID, gene name, keyword, subcellular location, evidence level, sequence length, and many other fields. See the UniProt query fields documentation for the complete list.
Can I fetch the full amino-acid sequence?Yes. Set the 'Include Sequence String' option to true, and the full sequence will be embedded in every record. When off, you still get the sequence length and molecular weight.
How many proteins can I scrape in one run?Free users are limited to 10 items as a preview. Paid Apify users can set a maximum up to 1,000,000 proteins per run.
Can I fetch a single protein by its accession number?Yes. Supply an accession like 'P00533' in the accession field, and the Actor will return that one entry, ignoring any search query.
What output formats are supported?You can export your dataset to JSON, CSV, Excel, or XML from the Apify platform.
Does this scrape the UniProt website?No. It calls the official UniProt REST API programmatically, which is the recommended way to retrieve data in bulk.
What organism IDs should I use?Use NCBI taxonomy IDs. For example, 9606 for human, 10090 for mouse, 10116 for rat, and 559292 for yeast. You can find these on the NCBI Taxonomy website.
Can I filter for only Swiss-Prot reviewed entries?Yes. Include 'reviewed:true' in your query to restrict results to the manually annotated Swiss-Prot section of UniProtKB.
Is the sequence length always returned?Yes. Sequence length and molecular weight are always included in every record, regardless of whether you enable the full sequence string.

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 UniProt Consortium. 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.