Lyko Categories API returns the public navigation menu as category and brand names with their urls. Those urls and names are the ids that feed the search route. The public sitemap index url is included.
Cost: 1 credit per request. Failed requests are not billed.
Run this endpoint
Endpoint
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
success
{
"data": {
"categories": [
{
"url": "https://lyko.com/sv/hudvard",
"name": "Skin care",
"section": "primaryMenuItems"
}
],
"sitemap_index": "https://lyko.com/ext/sitemapindex.xml"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Upstream unavailable
The menu could not be read
{
"meta": {
"billable": false
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "Lyko could not be reached. Please retry shortly."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.