# Protein Function Lookup by UniProt Accession

> Protein Function Lookup by UniProt Accession is a paid API for AI agents from win.oneshotagent.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Retrieves a protein's function, literature citations, organism, cellular locations, and catalytic activities given a UniProt accession identifier.

## Facts

- Endpoint: POST https://win.oneshotagent.com/v1/tools/lookup/protein-function?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/protein-function-lookup-by-uniprot-accession-219cac6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XhcSMDo-36cy14OICicFL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability protein-function-lookup-by-uniprot-accession-219cac6b -d '<json body>'
```

Example prompt: Look up the function, cellular locations, and catalytic activities for the protein with UniProt accession P04637 — also include the amino-acid sequence.

## When to prefer this

Use this endpoint when you need structured, curated protein annotations (function, localization, catalytic activity, citations) for a known UniProt accession. It is ideal for bioinformatics pipelines, drug target research, or any automated workflow that requires reliable, machine-readable protein metadata without scraping UniProt directly.

## Known failure modes

- Invalid or non-existent UniProt accession returns an error or empty result
- Accession for a protein not yet annotated in UniProt may return partial data
- Network timeouts if UniProt upstream is slow
- Malformed accession string (wrong format) may return a validation error

## How this service works

Look up a protein’s function, literature citations, organism, cellular locations and catalytic activities by accession.

## Output

Returns structured data for the specified protein including its functional description, organism of origin, subcellular/cellular locations, catalytic activities, literature citation references, and optionally the full amino-acid sequence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "accession": {
   "type": "string",
   "description": "The UniProt accession identifying the protein, for example P04637"
  },
  "include_sequence": {
   "type": "boolean",
   "description": "Include the amino-acid sequence. Defaults to `false`."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "protein": null,
  "inactive_reason": {
   "reason_type": "DEMERGED",
   "replacement_accessions": [
    "P68251",
    "P68250"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/protein-function-lookup-by-uniprot-accession-219cac6b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from win.oneshotagent.com](https://www.zero.xyz/host/win.oneshotagent.com/llms.txt)
