Barcodes
DNA barcode records with sequence length distribution statistics and download links.
GET /api/v1/barcodes
Paginated list of DNA barcode records with sequence statistics (length distribution quartiles) and download links.
curl "https://api.ilepbase.com/api/v1/barcodes?q=coi&page=1&pageSize=10"Query Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
q | string | No | — | Search by organism, family, subfamily, or genus. |
page | int | No | 1 | Page number. |
pageSize | int | No | 10 | Items per page. |
Response
{
"success": true,
"data": {
"items": [
{
"id": "barcode-001",
"organism": "Papilio xuthus",
"family": "Papilionidae",
"subfamily": "Papilioninae",
"genus": "Papilio",
"number": "658",
"length": "658",
"lengthMin": "658",
"lengthQ1": "658",
"lengthMedian": "658",
"lengthQ3": "658",
"lengthMax": "658",
"download": "/downloads/barcode-reference.fa"
}
],
"pagination": {
"page": 1, "pageSize": 10,
"total": 48200, "totalPages": 4820,
"hasNext": true, "hasPrev": false
}
},
"timestamp": "2026-04-23T12:00:00.000Z"
}Key Fields
| Field | Type | Description |
|---|---|---|
items[].organism | string | Organism scientific name. |
items[].family | string | Taxonomic family. |
items[].number | string | Number of barcode sequences. |
items[].length | string | Typical sequence length in bp. |
items[].lengthMedian | string | Median sequence length. |
items[].lengthQ1 / lengthQ3 | string | Interquartile range of sequence lengths. |
items[].download | string | URL to download the barcode sequences in FASTA format. |