Full tree for one nav menu: groups, categories, and app cards per category.
Get nav menu structure
GET /api/open/nav/menus/:pathSlug
Returns the full tree for one nav menu: sidebar groups, categories, and app cards per category, matching the site’s /nav/... page.
pathSlug is the menu’s URL segment in the registry (e.g. web3-core-tools), usually parsed from navs[].href of GET /api/open/nav/groups (the first segment after /nav/).
Endpoint
GET /api/open/nav/menus/:pathSlug
Path parameters
| Parameter | Type | Description |
|---|---|---|
pathSlug | string | Registered menu slug, e.g. web3-core-tools |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
locale | string | No | Language for titles, category names, card text |
Response
200 OK, application/json, NavStructure:
| Field | Type | Description |
|---|---|---|
menuSlug | string | Menu slug |
title | string | Menu title |
description | string | undefined | Menu description |
ogImage | string | undefined | Share image URL |
groups | object[] | Groups, each a NavGroupResolved |
standalone | object[] | Ungrouped categories/links; same shape as groups[].items |
blogSlugs | string[] | Optional related blog slugs |
NavGroupResolved
| Field | Type | Description |
|---|---|---|
id | string | Group id |
name | string | Group name |
slug | string | Group slug |
items | object[] | Categories/links in this group (NavCategoryWithCards) |
NavCategoryWithCards
| Field | Type | Description |
|---|---|---|
id | string | Category/link id |
name | string | Category name |
slug | string | Category slug |
type | string | category or link |
description | string | undefined | Description |
cards | object[] | App cards in this category (NavCard) |
NavCard
| Field | Type | Description |
|---|---|---|
id | string | Card id |
title | string | Title |
description | string | undefined | Description |
link | string | External or internal URL |
image | string | null | Thumbnail URL |
Errors
| HTTP status | When |
|---|---|
404 | Unknown or unregistered pathSlug |
429 | Open API rate limit |
500 | Server error |
Example request
curl -s "https://www.web3base.ai/api/open/nav/menus/web3-core-tools?locale=en" | jqExample response (excerpt)
{
"menuSlug": "web3-core-tools",
"title": "Web3 Core Tools",
"description": "Wallets, multichain, Solana, etc.",
"groups": [
{
"id": "grp-1",
"name": "Wallets",
"slug": "wallet",
"items": [
{
"id": "cat-btc",
"name": "BTC Wallets",
"slug": "btc-wallet",
"type": "category",
"cards": [
{
"id": "card-1",
"title": "Some Wallet",
"description": "Description",
"link": "https://...",
"image": null
}
]
}
]
}
],
"standalone": [],
"blogSlugs": []
}