The CD-CODE REST API provides programmatic access to the CD-CODE database, enabling users to fetch data on condensates, proteins, condensatopathies, and condensate-modifying compounds (C-mods). The API is defined using the OpenAPI 3.0 specification, ensuring a standardized and machine-readable interface.
Explore and test the API using Swagger UI, which provides an interactive interface for all endpoints, parameters, and response schemas. Swagger UI is generated directly from the OpenAPI definition, ensuring up-to-date and accurate documentation.
GET /condensates: List condensates with filtering and sorting.GET /proteins/{uniprot_id}: Retrieve detailed information about a specific protein.GET /c-mods: List condensate-modifying compounds.GET /search: Search across all CD-CODE entries by keyword.The API returns structured JSON responses based on well-defined schemas, such as Condensate, Protein, Condensatopathy, and CondensateModulator. Each model includes relevant biological and bibliographic information.
All endpoints require a valid JWT Bearer token. Include your token in the Authorization header:
Authorization: Bearer <your_token>
For questions, contact: mail@cd-code.org
License: Attribution-ShareAlike 4.0 International
Version: 2.0.0rc1