rcsbsearchapi - Query protein structures from Python

The rcsbsearchapi package provides a Python interface to the RCSB PDB Search API. Use it to fetch lists of PDB IDs corresponding to advanced query searches.


Get it from PyPI:

pip install rcsbsearchapi

Or, download from GitHub


Code is licensed under the BSD 3-clause license. See the LICENSE for details.


Please cite the rcsbsearchapi package by URL:


You should also cite the RCSB PDB service this package utilizes:

Yana Rose, Jose M. Duarte, Robert Lowe, Joan Segura, Chunxiao Bi, Charmi Bhikadiya, Li Chen, Alexander S. Rose, Sebastian Bittrich, Stephen K. Burley, John D. Westbrook. RCSB Protein Data Bank: Architectural Advances Towards Integrated Searching and Efficient Access to Macromolecular Structure Data from the PDB Archive, Journal of Molecular Biology, 2020. DOI: 10.1016/j.jmb.2020.11.003