Current nav groups and menu entry cards (title, description, href) per group.
Get nav groups list
GET /api/open/nav/groups
Returns current nav groups and menu entry cards (title, description, site href) for each group, matching the site’s /nav-group pages.
Call this first to get groups and navs[].href, then GET /api/open/nav/menus/:pathSlug for a single menu’s full tree.
Endpoint
GET /api/open/nav/groups
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
locale | string | No | Language for card title/description (e.g. en, zh-hans) |
Response
200 OK, application/json:
| Field | Type | Description |
|---|---|---|
groups | object[] | Nav groups, each a NavGroup |
totalGroups | number | Total groups |
totalMenus | number | Total menus (navs) |
NavGroup
| Field | Type | Description |
|---|---|---|
key | string | Group key |
slug | string | Group slug for GET /api/open/nav/groups/:slug |
name | string | Group name (resolved for locale) |
description | string | undefined | Group description |
navs | object[] | Menu cards in this group |
navs[] item
| Field | Type | Description |
|---|---|---|
title | string | Menu title |
description | string | undefined | Menu description |
href | string | Site path, e.g. /nav/web3-core-tools; pathSlug is the segment after /nav/ |
Errors
| HTTP status | When |
|---|---|
429 | Open API rate limit |
500 | Server error |
Example request
curl -s "https://www.web3base.ai/api/open/nav/groups?locale=en" | jqExample response
{
"groups": [
{
"key": "web3-tools",
"slug": "web3-tools",
"name": "Web3 Tools",
"description": "On-chain tools and navigation",
"navs": [
{
"title": "Web3 Core Tools",
"description": "Wallets, multichain, Solana, etc.",
"href": "/nav/web3-core-tools"
}
]
}
],
"totalGroups": 1,
"totalMenus": 1
}