← clify home · catalogue · Science and research data APIs for AI agents

rcsb API for agents (unofficial) — JSON over curl

RCSB Protein Data Bank (rcsb.org): search 3D macromolecular structures by keyword, attribute or 3D shape, and fetch entry chains, sequence annotations, UniProt alignments, version history, ligand definitions and coordinate/FASTA files.

Host: rcsb.org. Call these verified read commands with plain curl; no install, key, or account. Use the public JSON API with plain curl. No install, key, account, or browser is needed. Start with San Francisco and U.S. agent tasks: events, startup jobs, BART and Muni departures, Craigslist listings, local news, public datasets and prediction markets. Example: curl 'https://clify-dev.netlify.app/search?q=SF+tech+events'. Responses are one JSON object. The hosted MCP and GitHub repo are also available.

Machine-readable command schema · Source website

Commands

search-structures

Full-text keyword search of PDB entries (e.g. 'hemoglobin'), with sorting and offset pagination; returns PDB IDs, titles, methods, organisms and ligands Params: query*, start, rows, sort_by, direction, content_type Read-only

curl 'https://clify-dev.netlify.app/rcsb/search-structures?query=hemoglobin'

search-structures-filtered

Keyword search of PDB entries refined by one facet filter (source organism, experimental method, etc.), with sorting and pagination Params: query*, filter_attribute, filter_value*, start, rows, sort_by, direction Read-only

curl 'https://clify-dev.netlify.app/rcsb/search-structures-filtered?query=hemoglobin&filter_attribute=rcsb_entity_source_organism.ncbi_scientific_name&filter_value=Homo+sapiens'

search-by-attribute

Search PDB entries by a structured attribute such as author name, source organism, gene name or experimental method Params: attribute*, value*, operator, start, rows, sort_by, direction Read-only

curl 'https://clify-dev.netlify.app/rcsb/search-by-attribute?attribute=rcsb_entity_source_organism.rcsb_gene_name.value&value=HBB'

search-similar-assemblies

3D shape similarity search: find biological assemblies structurally similar to a given entry's assembly Params: entry_id*, assembly_id, operator, start Read-only

curl 'https://clify-dev.netlify.app/rcsb/search-similar-assemblies?entry_id=1SHR&assembly_id=1'

suggest-search-terms

Autocomplete: suggested search terms (molecule names, keywords, organisms...) for a partial query, grouped by attribute Params: term* Read-only

curl 'https://clify-dev.netlify.app/rcsb/suggest-search-terms?term=insul'

get-structure-chains

List the assemblies and polymer chains (entity id, name, label/auth asym ids) of a PDB entry Params: entry_id* Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-structure-chains?entry_id=1SHR'

get-entry-instances

Get all polymer chains of a PDB entry, with molecule names, organisms, sequence lengths, method, resolution and assembly composition (Data API GraphQL) Params: entry_id* Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-entry-instances?entry_id=4HHB'

get-entity-instances

Get the chain instances of one polymer entity (e.g. 4HHB_2), with molecule name, organism, length, method and resolution (Data API GraphQL) Params: entity_ids* Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-entity-instances?entity_ids=4HHB_2'

get-sequence-alignment

Align a PDB entity or chain sequence to its UniProt reference sequence, with coverage and aligned regions (Sequence Coordinates API) Params: queryId*, from, to Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-sequence-alignment?queryId=4HHB_2&from=PDB_ENTITY&to=UNIPROT'

get-sequence-annotations

Get positional sequence annotations (Pfam domains, disorder, secondary structure, binding sites, unobserved residues, UniProt features) for a PDB chain or entity Params: queryId*, reference Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-sequence-annotations?queryId=4HHB.B&reference=PDB_INSTANCE'

get-structure-summary

Get the title and IDs of a PDB entry from its structure summary page Params: entry_id* Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-structure-summary?entry_id=4HHB'

get-structure-annotations

List the domain classification rows (SCOP/SCOPe, CATH, ECOD, etc.) for a PDB entry Params: entry_id* Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-structure-annotations?entry_id=4HHB'

get-experimental-method

Get the experimental method (X-ray, EM, NMR...) and experiment page title for a PDB entry Params: entry_id* Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-experimental-method?entry_id=4HHB'

list-entry-versions

List the revision history of a PDB entry (version number, date, change type), with links to versioned files Params: entry_id* Read-only

curl 'https://clify-dev.netlify.app/rcsb/list-entry-versions?entry_id=4HHB'

get-entry-fasta

Download the FASTA sequences of all polymer entities in a PDB entry as text Params: entry_id* Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-entry-fasta?entry_id=4HHB'

get-entry-file

Fetch a PDB entry's coordinate file (mmCIF or legacy PDB) as text, either full or header-only Params: entry_id*, format, part Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-entry-file?entry_id=4HHB&format=cif&part=header'

get-ligand-definition

Get the chemical component definition (name, formula, synonyms, atoms, bonds) of a ligand as mmCIF text, e.g. HEM Params: ligand_id* Read-only

curl 'https://clify-dev.netlify.app/rcsb/get-ligand-definition?ligand_id=HEM'

Related task guides and sites

Continue with Science and research data APIs for AI agents or explore related sources:

arxiv

arxiv.org

arXiv.org, the open-access preprint archive. This CLI browses category listings (new, recent, monthly), daily catch-up, archive overviews, yearly stats, the category taxonomy and RSS feeds, and fetches paper abstract pages and BibTeX citations.

Machine-readable commands · 10 verified commands

pubmed-ncbi

pubmed.ncbi.nlm.nih.gov

PubMed (NCBI biomedical literature database): search articles by keyword, author or field-tagged query, with filters, sorting and pagination, and fetch full abstract records, MEDLINE text exports and PMID lists. All commands read the server-rendered search page.

Machine-readable commands · 4 verified commands

clinicaltrials

clinicaltrials.gov

ClinicalTrials.gov (NIH/NLM registry of over 600k clinical studies). The CLI searches studies, fetches full study records and their version history, autocompletes conditions, interventions, sponsors and facilities, and returns registry statistics and field metadata, all through the site's internal /api/int endpoints.

Machine-readable commands · 8 verified commands