api.ilepbase.com
REST API reference for the iLepBase Lepidoptera bioinformatics database.
Overview
The iLepBase REST API provides programmatic access to a comprehensive Lepidoptera (butterflies and moths) bioinformatics database. Data modules follow the current frontend order: Taxonomy, Genome, Transcriptome, Protein Structure, Barcode, Distribution, Host Plant, and Literature; downloads, tools, and analysis workflow endpoints remain documented.
Base URL: https://api.ilepbase.com/api/v1
All endpoints return JSON unless noted otherwise. This reference documents public API endpoints that require no authentication.
Synced from Postman collection iLepBase API. Auth, Admin, and internal Jobs endpoints are not included.
Key Features
- Public endpoints organized by current data modules covering taxonomy, genome, transcriptome, protein structure, barcode, distribution, host plant, and literature
- Consistent JSON response envelope
- Pagination with
page/pageSizequery parameters - Full-text and typeahead search on taxonomy and global search
- Lazy-loading taxonomy tree (
/tree/roots,/tree/children)
Data Domains
General
Health, version, stats, Swagger UI, and about.
Search
Global search suggestions and navigation entries.
Taxonomy
Tree navigation, search, typeahead, node detail, and literature.
Genome
Assembly catalog and per-genome detail.
Transcriptome
Transcriptome datasets and expression summaries.
Protein Structure
Protein catalog, detail records, and PDB structure data.
Barcode
DNA barcode records with filtering and pagination.
Distribution
Occurrence lists, map overview, and vector tiles.
Host Plant
Insect–host plant association records.
Literature
Bibliographic records and publication detail.
Downloads
Asset catalog, file metadata, streaming, and species downloads.
Tools
Analysis tools catalog with repository links, status, and tags.
BLAST
Sequence similarity search and available databases.
MMNet
Multimodal species identification from image and barcode.
NicheBarcoding
Ecological niche barcoding workflow — submit, poll, and download results.
Response Envelope
Every response follows this structure:
{
"success": true,
"data": { ... },
"timestamp": "2026-04-23T12:00:00.000Z"
}Errors return "success": false with an error object:
{
"success": false,
"error": {
"code": "PROTEIN_NOT_FOUND",
"message": "Protein record does not exist."
},
"timestamp": "2026-04-23T12:00:00.000Z"
}Paginated responses include a pagination object:
{
"pagination": {
"page": 1,
"pageSize": 10,
"total": 48200,
"totalPages": 4820,
"hasNext": true,
"hasPrev": false
}
}