api.ilepbase.com

Search

Global search suggestions and navigation entries.

GET /api/v1/search/suggestions

Returns typeahead suggestions for global search, including matching modules, species, and navigation entry points.

curl "https://api.ilepbase.com/api/v1/search/suggestions?q=Papilio&limit=10"

Query Parameters

NameTypeRequiredDefaultDescription
qstringYesSearch keyword. Minimum length: 2 characters.
limitintNo10Maximum results (max 20).
groupstringNoSuggestion group filter, such as Taxonomy or Genome.

Response

{
  "success": true,
  "data": {
    "items": [
      {
        "id": "module-genomes",
        "label": "Genome",
        "description": "Browse assembly metrics and downloadable genome assets.",
        "href": "/genome",
        "group": "Genome",
        "external": false
      },
      {
        "id": "species-papilio-xuthus",
        "label": "Papilio xuthus",
        "description": "Representative species node under Papilionidae.",
        "href": "/taxonomy",
        "group": "Taxonomy",
        "external": false
      }
    ]
  },
  "timestamp": "2026-04-23T12:00:00.000Z"
}

For taxonomy full-text and prefix search, see Taxonomy.

On this page