> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# RCSB Protein Data Bank

> 3D macromolecular structures from the PDB: search entries by text or attributes, then fetch entry, entity, chain, assembly and ligand metadata.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/rcsb-pdb.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=c57dfbeb06af119c55e0a733273b8345)

[Web Catalog · Science](https://docs.webrouter.net/data-apis.md?category=science)

No key needed

Endpoints

8

Auth

None

[Vendor docs](https://data.rcsb.org/) · Serves `rcsb.org`

## Notes

* Keyless. No request-rate limit is published, but batch large requests and cache: data changes in a weekly update.
* Batch and GraphQL lookups take at most 1,000 ids per request.
* Search returns ids only (default the first 10 hits; up to 10,000 per page via request\_options.paginate); fetch details from the data endpoints or GraphQL.
* Assemblies are named entry-assembly (4HHB-1), polymer entities entry\_entity (4HHB\_1).

## Endpoints

POST

Search structures

Ids of entries, entities, assemblies or chemical components matching a full-text, attribute, sequence or structure query.

[Open](#rcsb-pdb-search)

GET

Get a structure entry

Title, method, resolution, dates, citation and entity ids of one PDB entry.

[Open](#rcsb-pdb-entry-get)

GET

Get a polymer entity

One protein or nucleic-acid entity of an entry: sequence, source organism, UniProt and other references.

[Open](#rcsb-pdb-polymer-entity-get)

GET

Get a structural assembly

One biological assembly of an entry: oligomeric state, symmetry and composition.

[Open](#rcsb-pdb-assembly-get)

GET

Get a chemical component

A ligand, small molecule or monomer by its CCD id: formula, weight, descriptors.

[Open](#rcsb-pdb-chemcomp-get)

GET

Get UniProt annotations of an entity

UniProt features and annotations mapped onto one polymer entity.

[Open](#rcsb-pdb-uniprot-get)

GET

Get the status of entries

Release status (current, unreleased, removed) and status code of a list of PDB ids.

[Open](#rcsb-pdb-holdings-status)

POST

Run a GraphQL query

Any combination of entry, entity, assembly and ligand fields for one or many ids in one call.

[Open](#rcsb-pdb-graphql)

### Search structures

POST

`/rcsbsearch/v2/query`

`rcsb-pdb.search`

Ids of entries, entities, assemblies or chemical components matching a full-text, attribute, sequence or structure query.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `return_type`

        required
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        &#x20;One of&#x20;

        `entry`

        ,&#x20;

        `assembly`

        ,&#x20;

        `polymer_entity`

        ,&#x20;

        `non_polymer_entity`

        ,&#x20;

        `polymer_instance`

        ,&#x20;

        `mol_definition`

        &#x20;Example&#x20;

        `entry`
      </td>
    </tr>

    <tr><td>`query`</td><td>object</td><td>body</td><td>Query node: a terminal node \{type: terminal, service, parameters} with service text, text\_chem, full\_text, sequence, seqmotif, structure, strucmotif or chemical; a group node combines nodes with logical\_operator AND or OR. Example `{"type": "terminal", "service": "full_text", "parameters": {"value": "hemoglobin"}}`</td></tr>

    <tr>
      <td>
        `request_options`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Paging (paginate \{start, rows}), sort, return\_all\_hits and other result options.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://search.rcsb.org/index.html)

```python Python theme={null}
router.call_data_api("rcsb-pdb.search", {'return_type': 'entry', 'query': {'type': 'terminal', 'service': 'full_text', 'parameters': {'value': 'hemoglobin'}}})
```

```text MCP theme={null}
call_data_api(endpoint="rcsb-pdb.search", params={"return_type": "entry", "query": {"type": "terminal", "service": "full_text", "parameters": {"value": "hemoglobin"}}})
```

> [!NOTE]
>
> * A read over POST.

### Get a structure entry

GET

`/rest/v1/core/entry/{entry_id}`

`rcsb-pdb.entry.get`

Title, method, resolution, dates, citation and entity ids of one PDB entry.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`entry_id` required</td><td>string</td><td>path</td><td>PDB id. Example `4HHB`</td></tr>
  </tbody>
</table>

[Vendor docs](https://data.rcsb.org/redoc/index.html) · Same job: [AlphaFold Protein Structure Database](https://docs.webrouter.net/data-apis/alphafold.md#alphafold-prediction-get)

```python Python theme={null}
router.call_data_api("rcsb-pdb.entry.get", {'entry_id': '4HHB'})
```

```text MCP theme={null}
call_data_api(endpoint="rcsb-pdb.entry.get", params={"entry_id": "4HHB"})
```

### Get a polymer entity

GET

`/rest/v1/core/polymer_entity/{entry_id}/{entity_id}`

`rcsb-pdb.polymer_entity.get`

One protein or nucleic-acid entity of an entry: sequence, source organism, UniProt and other references.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `entry_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        &#x20;Example&#x20;

        `4HHB`
      </td>
    </tr>

    <tr>
      <td>
        `entity_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        &#x20;Example&#x20;

        `1`
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data.rcsb.org/redoc/index.html) · Same job: [AlphaFold Protein Structure Database](https://docs.webrouter.net/data-apis/alphafold.md#alphafold-prediction-get)

```python Python theme={null}
router.call_data_api("rcsb-pdb.polymer_entity.get", {'entry_id': '4HHB', 'entity_id': '1'})
```

```text MCP theme={null}
call_data_api(endpoint="rcsb-pdb.polymer_entity.get", params={"entry_id": "4HHB", "entity_id": "1"})
```

### Get a structural assembly

GET

`/rest/v1/core/assembly/{entry_id}/{assembly_id}`

`rcsb-pdb.assembly.get`

One biological assembly of an entry: oligomeric state, symmetry and composition.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `entry_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        &#x20;Example&#x20;

        `4HHB`
      </td>
    </tr>

    <tr>
      <td>
        `assembly_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        &#x20;Example&#x20;

        `1`
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data.rcsb.org/redoc/index.html) · Same job: [AlphaFold Protein Structure Database](https://docs.webrouter.net/data-apis/alphafold.md#alphafold-prediction-get)

```python Python theme={null}
router.call_data_api("rcsb-pdb.assembly.get", {'entry_id': '4HHB', 'assembly_id': '1'})
```

```text MCP theme={null}
call_data_api(endpoint="rcsb-pdb.assembly.get", params={"entry_id": "4HHB", "assembly_id": "1"})
```

### Get a chemical component

GET

`/rest/v1/core/chemcomp/{comp_id}`

`rcsb-pdb.chemcomp.get`

A ligand, small molecule or monomer by its CCD id: formula, weight, descriptors.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`comp_id` required</td><td>string</td><td>path</td><td>Chemical Component Dictionary id. Example `HEM`</td></tr>
  </tbody>
</table>

[Vendor docs](https://data.rcsb.org/redoc/index.html) · Same job: [AlphaFold Protein Structure Database](https://docs.webrouter.net/data-apis/alphafold.md#alphafold-prediction-get)

```python Python theme={null}
router.call_data_api("rcsb-pdb.chemcomp.get", {'comp_id': 'HEM'})
```

```text MCP theme={null}
call_data_api(endpoint="rcsb-pdb.chemcomp.get", params={"comp_id": "HEM"})
```

### Get UniProt annotations of an entity

GET

`/rest/v1/core/uniprot/{entry_id}/{entity_id}`

`rcsb-pdb.uniprot.get`

UniProt features and annotations mapped onto one polymer entity.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `entry_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        &#x20;Example&#x20;

        `4HHB`
      </td>
    </tr>

    <tr>
      <td>
        `entity_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        &#x20;Example&#x20;

        `1`
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data.rcsb.org/redoc/index.html) · Same job: [AlphaFold Protein Structure Database](https://docs.webrouter.net/data-apis/alphafold.md#alphafold-prediction-get)

```python Python theme={null}
router.call_data_api("rcsb-pdb.uniprot.get", {'entry_id': '4HHB', 'entity_id': '1'})
```

```text MCP theme={null}
call_data_api(endpoint="rcsb-pdb.uniprot.get", params={"entry_id": "4HHB", "entity_id": "1"})
```

### Get the status of entries

GET

`/rest/v1/holdings/status`

`rcsb-pdb.holdings.status`

Release status (current, unreleased, removed) and status code of a list of PDB ids.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`ids` required</td><td>string</td><td>query</td><td>Comma-separated PDB ids. Example `4HHB,1STP`</td></tr>
  </tbody>
</table>

[Vendor docs](https://data.rcsb.org/redoc/index.html) · Same job: [AlphaFold Protein Structure Database](https://docs.webrouter.net/data-apis/alphafold.md#alphafold-prediction-get)

```python Python theme={null}
router.call_data_api("rcsb-pdb.holdings.status", {'ids': '4HHB,1STP'})
```

```text MCP theme={null}
call_data_api(endpoint="rcsb-pdb.holdings.status", params={"ids": "4HHB,1STP"})
```

### Run a GraphQL query

POST

`/graphql`

`rcsb-pdb.graphql`

Any combination of entry, entity, assembly and ligand fields for one or many ids in one call.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query` required</td><td>string</td><td>body</td><td>GraphQL query. Example `{ entry(entry_id: "4HHB") { struct { title } } }`</td></tr>

    <tr>
      <td>
        `variables`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Values for the query's variables.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data.rcsb.org/) · Same job: [AlphaFold Protein Structure Database](https://docs.webrouter.net/data-apis/alphafold.md#alphafold-prediction-get)

```python Python theme={null}
router.call_data_api("rcsb-pdb.graphql", {'query': '{ entry(entry_id: "4HHB") { struct { title } } }'})
```

```text MCP theme={null}
call_data_api(endpoint="rcsb-pdb.graphql", params={"query": "{ entry(entry_id: \"4HHB\") { struct { title } } }"})
```

> [!NOTE]
>
> * A read over POST.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.