Application Programming Interface (API)

Peptoid Data Bank - Our API


Our API allows peptoid researchers to retrieve data directly from our database in their own programs and scripts. We offer both a RESTful API and a GraphQL API. For more information on the RESTful API see the routes listed below. For more information on the GraphQL API please click the button below or go to the route /graphql to launch an interactive GraphQL IDE, which contains built-in documentation. Also, code examples using Python for both APIs are provided below.

RESTful API Endpoints

'/api/peptoids'
Returns a list of JSON objects for each peptoid
'/api/residues'
Returns a list of JSON objects for each residue
'/api/authors'
Returns a list of JSON objects for each author
'/api/peptoids/{CODE}'
Returns a JSON object of a specific peptoid's properties
'/api/peptoids/{CODE}/residues'
Returns a JSON object for a specific peptoid's residues
'/api/peptoids/{CODE}/authors'
Returns a JSON object for a specific peptoid's authors

Data Analysis with the PeptoidDB API