# Protein Domain & Family Lookup by UniProt Accession

> Protein Domain & Family 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).

Look up InterPro protein domains, families, conserved sites, binding sites, and other functional regions with GO terms and sequence locations for a given UniProt accession.

## Facts

- Endpoint: POST https://win.oneshotagent.com/v1/tools/lookup/protein-domains?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-domain-family-lookup-by-uniprot-accession-78613ed9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0gqR4NCPleAQf6w4Im0Bu

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-domain-family-lookup-by-uniprot-accession-78613ed9 -d '<json body>'
```

Example prompt: Look up all protein domains, conserved sites, and binding sites for UniProt accession P04637 — include GO terms and sequence locations for each entry.

## When to prefer this

Use this endpoint when you need structured, position-resolved InterPro functional annotations (domains, families, active sites, binding sites, PTMs, conserved sites) for a specific protein identified by its canonical UniProt accession. Prefer this over text-based literature search when you need machine-readable GO terms and precise sequence coordinates for downstream analysis, visualization, or comparison workflows.

## Known failure modes

- Invalid or unrecognized UniProt accession returns an error or empty entries list
- Isoform accessions (e.g. P04637-2) are not accepted and will fail
- Protein with no InterPro annotations returns an empty entries array
- Invalid entry type enum values in the types filter cause a validation error
- Network or payment (x402) failures return HTTP 402 or 5xx errors

## How this service works

Look up protein domains, families and conserved sites with GO terms and sequence locations.

## Output

Returns a JSON object with the UniProt accession, total protein length, a truncation flag, and a list of InterPro entries each containing: entry name, type (family/domain/conserved_site/etc.), InterPro ID, a link to the EBI InterPro page, a list of GO terms, and one or more sequence location ranges (start, end, discontinuous).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "types": {
   "type": "array",
   "items": {
    "enum": [
     "family",
     "domain",
     "homologous_superfamily",
     "repeat",
     "conserved_site",
     "active_site",
     "binding_site",
     "ptm"
    ],
    "type": "string"
   },
   "description": "Keep only these entry types; omitted means all types"
  },
  "accession": {
   "type": "string",
   "description": "The canonical UniProt accession identifying the protein, for example P04637; isoforms are not accepted"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "entries": [
   {
    "name": "p53, central conserved site",
    "type": "conserved_site",
    "go_terms": [],
    "page_url": "https://www.ebi.ac.uk/interpro/entry/InterPro/IPR057064/",
    "locations": [
     {
      "end": 249,
      "start": 237,
      "discontinuous": false
     }
    ],
    "interpro_id": "IPR057064"
   }
  ],
  "accession": "P04637",
  "truncated": false,
  "protein_length": 393
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/protein-domain-family-lookup-by-uniprot-accession-78613ed9/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)
