Skip to main content
POST
Returns a protein’s annotations from UniProt, under CC BY 4.0 and attributed to the UniProt Consortium: function text with its citations, names, genes, organism, length, subcellular locations, catalytic activities, EC numbers, keywords and annotation score. Covers reviewed and unreviewed UniProtKB entries. The amino-acid sequence is returned only when include_sequence is true.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

string
required
The UniProt accession identifying the protein, for example P04637.
boolean
Include the amino-acid sequence. Defaults to false.

Response (200 OK)

Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always protein_function
object
The answer, described under Result below
object
Where the answer came from and when
string
The public body the data comes from. Always UniProt Consortium.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string | null
When the source says the fact was last updated, or null when the source gives no date

Result

Nested under data.result.
object | null
Protein. null when the source gives no value.
string | null
Accession. null when the source gives no value.
string | null
Entry name. null when the source gives no value.
boolean | null
Reviewed. null when the source gives no value.
string | null
Protein name. null when the source gives no value.
string[] | null
Alternative names. null when the source gives no value.
object[] | null
Genes. null when the source gives no value.
string | null
Name. null when the source gives no value.
string[] | null
Synonyms. null when the source gives no value.
object | null
Organism. null when the source gives no value.
string | null
Scientific name. null when the source gives no value.
number | null
Taxon id. null when the source gives no value.
number | null
Length. null when the source gives no value.
string[] | null
FUNCTION comment texts, retaining the source’s literature citations. null when the source gives no value.
string[] | null
Distinct PubMed identifiers from FUNCTION text evidences. null when the source gives no value.
object[] | null
Subcellular locations. null when the source gives no value.
string | null
Location. null when the source gives no value.
string | null
Isoform. null when the source gives no value.
object[] | null
Catalytic activities. null when the source gives no value.
string | null
Reaction. null when the source gives no value.
string | null
Ec. null when the source gives no value.
string[] | null
Ec numbers. null when the source gives no value.
object[] | null
Keywords. null when the source gives no value.
string | null
Id. null when the source gives no value.
string | null
Category. null when the source gives no value.
string | null
Name. null when the source gives no value.
number | null
Annotation score. null when the source gives no value.
string | null
Last annotation update date, YYYY-MM-DD. null when the source gives no value.
string | null
Amino-acid sequence, only when requested. null when the source gives no value.
object | null
Inactive reason. null when the source gives no value.
string | null
The source’s reason for inactivation, for example DELETED or DEMERGED. null when the source gives no value.
string[] | null
Replacement accessions for a demerged entry. null when the source gives no value.
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.

Notes

  • Function texts retain their literature citations, with deduplicated PubMed identifiers also returned separately.
  • UniProt releases updates every eight weeks; last_updated is the entry’s last annotation date.
  • Without include_sequence the sequence is null. Absent values and collections are null.
  • A merged accession resolves to its primary entry. A deleted or demerged accession returns no protein and the source’s structured inactive reason, including replacement accessions when supplied.
  • No match returns null for both.
  • Results return inline. The finished job stays available at /v1/requests/{request_id}