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.

Try it
Ready-made, maintained by usRecords, 12 fieldsv1.0

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

Queryoptional
Search words, such as insulin or SARS-CoV-2 spike. Leave empty for the newest structures.
Example: insulin
Methodoptional
Only this experiment method, such as X-RAY DIFFRACTION, ELECTRON MICROSCOPY, SOLUTION NMR.
Example: ELECTRON MICROSCOPY
Released sinceoptional
Only structures released on or after this day (YYYY-MM-DD).
Example: 2025-01-01

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
Endpoint
POSThttps://pullrow.dev/v1/apis/pdb-structures/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

querytext
Search words, such as insulin or SARS-CoV-2 spike. Leave empty for the newest structures.
example: insulin
methodtext
Only this experiment method, such as X-RAY DIFFRACTION, ELECTRON MICROSCOPY, SOLUTION NMR.
example: ELECTRON MICROSCOPY
released_sincetext
Only structures released on or after this day (YYYY-MM-DD).
example: 2025-01-01

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

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 nameTypeShown on this page asFilled
pdb_idtextPdb ID (hidden)3 of 3
urllinkLink3 of 3
titletextTitle3 of 3
methodtextMethod3 of 3
resolutionnumberResolution3 of 3
release_datedateRelease date3 of 3
deposit_datedateDeposit date3 of 3
organismslistOrganisms3 of 3
macromoleculeslistMacromolecules3 of 3
ligandslistLigands2 of 3
citation_titletextCitation title3 of 3
citation_doitextCitation doi3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTitleMethodResolutionOrganismsMacromoleculesLigandsCitation titleCitation doiDeposit dateRelease dateLink
1STRUCTURE DETERMINATION OF AQUOMET PORCINE HEMOGLOBIN AT 2.8 ANGSTROM RESOLUTIONX-RAY DIFFRACTION2.8Sus scrofaHEMOGLOBIN (AQUO MET) (BETA CHAIN), HEMOGLOBIN (AQUO MET) (ALPHA CHAIN)HEM: PROTOPORPHYRIN IX CONTAINING FEStructure determination of aquomet porcine hemoglobin at 2.8 A resolution.10.1006/jmbi.1994.1751Sep 16, 1994Nov 30, 1994rcsb.org/structure/2PGH
2Crystal Structure Analysis of bovine Hemoglobin modified by SNPX-RAY DIFFRACTION1.46Bos taurusHemoglobin subunit beta, Hemoglobin subunit alphaHEM: PROTOPORPHYRIN IX CONTAINING FE, CMO: CARBON MONOXIDEQuaternary Structure Analysis of a Hemoglobin Core in Hemoglobin-Albumin Cluster.10.1021/acs.jpcb.8b10077Oct 3, 2018Dec 12, 2018rcsb.org/structure/6IHX
3Hemoglobin amyloid fibril - PM2ELECTRON MICROSCOPY3.4Bos taurusHemoglobin subunit beta—Structural Basis of Hemoglobin Amyloid Fibrils Revealed by cryo-EM and Molecular Dynamics Simulations.10.1021/acs.nanolett.6c02217Dec 2, 2025Jul 22, 2026rcsb.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.
Known limits
  • 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.