web3baseweb3base

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

ParameterTypeRequiredDescription
localestringNoLanguage for card title/description (e.g. en, zh-hans)

Response

200 OK, application/json:

FieldTypeDescription
groupsobject[]Nav groups, each a NavGroup
totalGroupsnumberTotal groups
totalMenusnumberTotal menus (navs)
FieldTypeDescription
keystringGroup key
slugstringGroup slug for GET /api/open/nav/groups/:slug
namestringGroup name (resolved for locale)
descriptionstring | undefinedGroup description
navsobject[]Menu cards in this group
FieldTypeDescription
titlestringMenu title
descriptionstring | undefinedMenu description
hrefstringSite path, e.g. /nav/web3-core-tools; pathSlug is the segment after /nav/

Errors

HTTP statusWhen
429Open API rate limit
500Server error

Example request

curl -s "https://www.web3base.ai/api/open/nav/groups?locale=en" | jq

Example 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
}

← Back to API overview