Protein Structures (PDB) API
Protein and nucleic-acid structures from the RCSB Protein Data Bank: PDB id, title, experiment method, resolution, release and deposit dates, source organisms, molecules, ligands and the main paper's title and DOI.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from rcsb.org
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/pdb-structures/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"insulin"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
12 fields: 11 here, 1 technical one under Technical details.
Basics
- Title
Title of the structure as deposited.
Example STRUCTURE DETERMINATION OF AQUOMET PORCINE HEMOGLOBIN AT 2.8 ANGSTROM RESOLUTION
- Method
Experiment method, such as X-RAY DIFFRACTION.
Example X-RAY DIFFRACTION
- Resolution
Resolution in angstroms (lower is sharper).
Example 2.8
- Organisms
Scientific names of the source organisms.
Example Sus scrofa
- Macromolecules
Names of the proteins and nucleic acids in the structure.
Example HEMOGLOBIN (AQUO MET) (BETA CHAIN), HEMOGLOBIN (AQUO MET) (ALPHA CHAIN)
- Ligands
Small molecules bound in the structure, as CODE: name.
Example HEM: PROTOPORPHYRIN IX CONTAINING FE
- Citation title
Title of the main paper.
Example Structure determination of aquomet porcine hemoglobin at 2.8 A resolution.
- Citation doi
DOI of the main paper.
Example 10.1006/jmbi.1994.1751
Prices
- Deposit date
Day the structure was deposited.
Example Sep 16, 1994
Dates
- Release date
Day the structure was released.
Example Nov 30, 1994
Links
- Link
The structure's page on RCSB.
Example rcsb.org/structure/2PGH
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- Pdb ID
pdb_idThe four-character PDB id, such as 4HHB.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
pdb_id | text | Pdb ID (hidden) | 3 of 3 |
url | link | Link | 3 of 3 |
title | text | Title | 3 of 3 |
method | text | Method | 3 of 3 |
resolution | number | Resolution | 3 of 3 |
release_date | date | Release date | 3 of 3 |
deposit_date | date | Deposit date | 3 of 3 |
organisms | list | Organisms | 3 of 3 |
macromolecules | list | Macromolecules | 3 of 3 |
ligands | list | Ligands | 2 of 3 |
citation_title | text | Citation title | 3 of 3 |
citation_doi | text | Citation doi | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Title | Method | Resolution | Organisms | Macromolecules | Ligands | Citation title | Citation doi | Deposit date | Release date | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | STRUCTURE DETERMINATION OF AQUOMET PORCINE HEMOGLOBIN AT 2.8 ANGSTROM RESOLUTION | X-RAY DIFFRACTION | 2.8 | Sus scrofa | HEMOGLOBIN (AQUO MET) (BETA CHAIN), HEMOGLOBIN (AQUO MET) (ALPHA CHAIN) | HEM: PROTOPORPHYRIN IX CONTAINING FE | Structure determination of aquomet porcine hemoglobin at 2.8 A resolution. | 10.1006/jmbi.1994.1751 | Sep 16, 1994 | Nov 30, 1994 | rcsb.org/structure/2PGH |
| 2 | Crystal Structure Analysis of bovine Hemoglobin modified by SNP | X-RAY DIFFRACTION | 1.46 | Bos taurus | Hemoglobin subunit beta, Hemoglobin subunit alpha | HEM: PROTOPORPHYRIN IX CONTAINING FE, CMO: CARBON MONOXIDE | Quaternary Structure Analysis of a Hemoglobin Core in Hemoglobin-Albumin Cluster. | 10.1021/acs.jpcb.8b10077 | Oct 3, 2018 | Dec 12, 2018 | rcsb.org/structure/6IHX |
| 3 | Hemoglobin amyloid fibril - PM2 | ELECTRON MICROSCOPY | 3.4 | Bos taurus | Hemoglobin subunit beta | — | Structural Basis of Hemoglobin Amyloid Fibrils Revealed by cryo-EM and Molecular Dynamics Simulations. | 10.1021/acs.nanolett.6c02217 | Dec 2, 2025 | Jul 22, 2026 | rcsb.org/structure/20YJ |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Search is the RCSB full-text match, best match first, or newest first when no search words are given; a search can return up to 10,000 structures.
- Resolution is empty for methods that have none (NMR, some electron microscopy entries); the paper title and DOI are empty when the entry has no primary paper.
- Molecules and ligands are lists of names as deposited, capped at 25 each per structure; organisms are de-duplicated.
- PDB data is CC0 (public domain); crediting RCSB PDB is good practice. Updated weekly, with new entries released on Wednesdays.
- Each run makes two requests per 100 structures, spaced 250 ms apart.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.