Protein Search API

Proteins from the UniProt knowledgebase by gene name and species: accession, protein name, gene names, organism, sequence length and whether the entry is reviewed (Swiss-Prot).

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 8 fieldsv1.0

Data from rest.uniprot.org/uniprotkb/search

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Gene
Gene name, such as BRCA1 or TP53.
Example: BRCA1
Organism IDoptional
NCBI taxonomy id of the species (9606 is human). Empty for all species.
Example: 9606
Reviewed onlyoptional
Only reviewed, curated Swiss-Prot entries.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/uniprot-proteins/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/uniprot-proteins/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"gene":"BRCA1"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

genetextrequired
Gene name, such as BRCA1 or TP53.
example: BRCA1
organism_idtext
NCBI taxonomy id of the species (9606 is human). Empty for all species.
example: 9606
reviewed_onlyyes/no
Only reviewed, curated Swiss-Prot entries.
default: trueexample: true

What's in each record

8 fields: 7 here, 1 technical one under Technical details.

Basics

  • Accession

    UniProt accession, such as P38398.

    Example P38398

  • Protein name

    Recommended (or submitted) protein name.

    Example Breast cancer type 1 susceptibility protein

  • Gene names and synonyms

    Example BRCA1, RNF53

  • Organism

    Scientific name of the species.

    Example Homo sapiens

  • Length

    Sequence length in amino acids.

    Example 1,863

  • Reviewed

    True for curated Swiss-Prot entries, false for unreviewed TrEMBL entries.

    Example Yes

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Taxon ID taxon_idNCBI taxonomy id of the species.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
accessiontextAccession3 of 3
urllinkLink3 of 3
protein_nametextProtein name3 of 3
gene_nameslistGene names and synonyms3 of 3
organismtextOrganism3 of 3
taxon_idnumberTaxon ID (hidden)3 of 3
lengthnumberLength3 of 3
is_reviewedyes or noReviewed3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordAccessionProtein nameGene names and synonymsOrganismLengthReviewedLink
1P38398Breast cancer type 1 susceptibility proteinBRCA1, RNF53Homo sapiens1,863Yesuniprot.org/uniprotkb/P38398/entry
2O54952Breast cancer type 1 susceptibility protein homologBrca1Rattus norvegicus1,817Yesuniprot.org/uniprotkb/O54952/entry
3Q864U1Breast cancer type 1 susceptibility protein homologBRCA1Bos taurus1,849Yesuniprot.org/uniprotkb/Q864U1/entry

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Matches the gene name exactly (for example BRCA1); it is not a free-text search of protein descriptions.
  • Leave organism_id empty to search all species; a common gene name then returns many species' entries.
  • With reviewed_only off, unreviewed (TrEMBL) entries are included and can number in the thousands; protein_name and gene_names can be empty for them.
  • UniProt releases about every eight weeks; data is CC BY 4.0, credit UniProt.
  • Records are metadata only (no sequences, no annotations).

Version history

A run uses the live version unless the request names another one with version.