---
title: GET /v1/lookup/uniprot
description: "Search UniProt by protein name — Searches UniProt by protein or gene name, optionally narrowed to one organism. Returns a list of matching entries."
full: true
---

**Auth:** required. Send an `ivy_` API key (`Authorization: Bearer ivy_…`), a signed-in session token (`Authorization: Bearer …`) or the session cookie (browser sessions). See [Authentication](/docs/api/authentication).

Searches UniProt by protein or gene name, optionally narrowed to one organism. Returns a list of matching entries.

## Request

### Query parameters

- `protein_name` (string) —
Protein or gene name to search for, for example `TP53`.

- `organism` (string) —
Scientific name of the organism to filter by, for example `Homo sapiens`.

- `limit` (integer) —
Maximum number of results.

## Responses

### `200` OK

Matching proteins

Response shape: `object[]`

### `401` Unauthorized

Authentication required

Response shape: `object`

### `422` Unprocessable Entity

A required query parameter is missing or out of range; the body says which

Response shape: `object`

### `429` Too Many Requests

Rate limit exceeded

Response shape: `object`

### `502` Bad Gateway

The compute service is unavailable. Retry with backoff.

Response shape: `object`

**curl**

```bash
curl -X GET 'https://ivybiosciences.com/api/v1/lookup/uniprot' \
  -H "Authorization: Bearer $IVY_API_KEY"
```

**JavaScript**

```js
const res = await fetch('https://ivybiosciences.com/api/v1/lookup/uniprot', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${process.env.IVY_API_KEY}`,
  },
});
const data = await res.json();
```

**Python**

```python
import os, requests

res = requests.get(
    "https://ivybiosciences.com/api/v1/lookup/uniprot",
    headers={"Authorization": f"Bearer {os.environ['IVY_API_KEY']}"},
)
data = res.json()
```
