Proteins
Protein catalog, detail records, and PDB structure data.
GET /api/v1/proteins
Returns a paginated list of proteins. Supports standard query parameters for pagination, search, and sorting.
curl "https://api.ilepbase.com/api/v1/proteins?page=1&pageSize=10"Query Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page | int | No | 1 | Page number. |
pageSize | int | No | 10 | Items per page. |
q | string | No | — | Search keyword. |
sortBy | string | No | — | Sort field name. |
sortDirection | string | No | desc | asc or desc. |
GET /api/v1/proteins/{proteinId}
Returns detailed information for a single protein by its ID.
curl https://api.ilepbase.com/api/v1/proteins/1Path Parameters
| Name | Type | Description |
|---|---|---|
proteinId | int | Protein record identifier. |
Error: 404 Not Found
{
"success": false,
"error": {
"code": "PROTEIN_NOT_FOUND",
"message": "Protein record does not exist."
},
"timestamp": "2026-04-23T12:00:00.000Z"
}GET /api/v1/proteins/{proteinId}/structure
Returns the 3D structure data (PDB format) for a protein. Returns 404 if the protein or its structure does not exist.
curl https://api.ilepbase.com/api/v1/proteins/1/structurePath Parameters
| Name | Type | Description |
|---|---|---|
proteinId | int | Protein record identifier. |