Retrieve complete details for a specific protein entry by its UniProt accession number. This returns the full protein record including sequence, functional annotations, cross-references, protein interactions, disease associations, and all curated metadata. Use this endpoint when you already know the accession number (e.g., P01308 for human insulin) and need comprehensive information about that specific protein. Unlike the search endpoint, this returns a single complete record rather than a list of results. The `format` parameter allows requesting JSON (structured data), XML (legacy format), or TXT (flat file format).
GET uniprotkb/{accession}
Summary: Get protein by accession
Operation ID: getProteinByAccession
Auth: none
Operation ID: getProteinByAccession
Auth: none
Usage Tips
- The `{accession}` path parameter is a UniProt accession (e.g., P01308, Q9Y261) - Use `format=json` for structured data with nested objects - Use `format=xml` for legacy XML format - Use `format=txt` for the classic UniProt flat file format - Accession numbers are stable identifiers - they don't change between releases - Secondary accessions are automatically resolved to their current primary accession
Parameters (1)
accession
(string, path, required)
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Get human insulin in JSON format | curl |
https://rest.uniprot.org/uniprotkb/P01308?format=json |
|
| Get protein entry in XML format | curl |
https://rest.uniprot.org/uniprotkb/Q9Y261?format=xml |
|
| Get protein entry in plain text format | curl |
https://rest.uniprot.org/uniprotkb/P04637?format=txt |
Probe History
Latency
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:09:53.701751 | 200 | 145ms | |
| 2026-03-23 09:50:55.978281 | 200 | 143ms | |
| 2026-03-23 09:35:50.142367 | 200 | 175ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 09:50:55.978281 | f7e62befbf7f |
5d10a6a91f66 |
| 2026-03-23 10:09:53.701751 | 5d10a6a91f66 |
da6257246e90 |