Skip to main content
POST
Resolves a gene symbol or synonym (TP53, HER2), an entry name (P53_HUMAN) or a protein name (insulin) to protein entries from UniProtKB, under CC BY 4.0 and attributed to the UniProt Consortium: protein name, genes, organism, annotation score and how each matched. Defaults to reviewed human entries. For research and education only; not medical advice.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

string
required
A gene symbol or synonym, entry name, or protein name; letters, digits, spaces and the characters . _ / - only. 1 to 60 characters.
integer
The organism taxonomy ID; human (9606) by default. From 1 to 999999999. Defaults to 9606.
boolean
Only reviewed entries; false includes unreviewed entries. Defaults to true.
integer
The most matches to return. From 1 to 10. Defaults to 5.

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_resolve
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[]
Matching proteins, reviewed first then source order, up to limit.
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
The recommended full protein name. null when the source gives no value.
string | null
The primary gene name. null when the source gives no value.
string[]
Gene synonyms.
object
Organism.
string | null
Scientific name. null when the source gives no value.
number | null
Taxon id. null when the source gives no value.
number | null
Annotation score. null when the source gives no value.
string
Matched on.
string | null
Page url. null when the source gives no value.
boolean
Multiple kept matches and no entry-name or primary-gene match.
integer
Sum of source totals for the searches made; unreviewed entries are counted only when needed to fill limit.
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

  • Exact gene names and synonyms are searched first. If none match, protein names are searched unless the query is a single uppercase token or contains digits without spaces.
  • taxon_id defaults to human (9606); reviewed_only defaults to true. Entry names are resolved directly across organisms and review statuses.
  • Returns up to limit matches, reviewed entries first then source order, with recommended full protein name, primary gene, gene synonyms, organism, annotation score and how each matched.
  • ambiguous is true when multiple matches are kept and none matched an entry name or primary gene. total is the sum of source counts for the searches made.
  • With reviewed_only false, unreviewed entries are searched and counted only when reviewed matches do not fill limit.
  • No match returns an empty list. Absent scalar values are null.
  • Use the accession with Protein Function, Sequence, Structure or Domains for those facts.
  • UniProt releases updates every eight weeks.
  • Results return inline. The finished job stays available at /v1/requests/{request_id}