api.ilepbase.com

Hostplants

Insect–host plant association records with reference citations and sortable tables.

GET /api/v1/hostplants

Paginated hostplant association records linking Lepidoptera species to their documented host plants, with reference citations.

curl "https://api.ilepbase.com/api/v1/hostplants?q=abrostola&page=1&pageSize=10"

Query Parameters

NameTypeRequiredDefaultDescription
qstringNoSearch by insect or hostplant family, genus, or species name.
pageintNo1Page number.
pageSizeintNo10Items per page.

Response

{
  "success": true,
  "data": {
    "items": [
      {
        "id": "hp-001",
        "insectFamily": "Noctuidae",
        "insectGenus": "Abrostola",
        "insectSpecies": "Abrostola tripartita",
        "hostplantFamily": "Urticaceae",
        "hostplantGenus": "Urtica",
        "hostplantSpecies": "Urtica dioica",
        "references": "Robinson et al. 2010",
        "source": "HOSTS"
      }
    ],
    "pagination": {
      "page": 1, "pageSize": 10,
      "total": 3200, "totalPages": 320,
      "hasNext": true, "hasPrev": false
    }
  },
  "timestamp": "2026-04-23T12:00:00.000Z"
}

Key Fields

FieldTypeDescription
items[].insectFamilystringInsect's taxonomic family.
items[].insectGenusstringInsect's genus.
items[].insectSpeciesstringInsect's species name.
items[].hostplantFamilystringHost plant family.
items[].hostplantGenusstringHost plant genus.
items[].hostplantSpeciesstringHost plant species name.
items[].referencesstringLiterature citation for the association.
items[].sourcestringData source, such as the HOSTS database.

On this page