web3baseweb3base

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

ParameterTypeDescription
pathSlugstringRegistered menu slug, e.g. web3-core-tools

Query parameters

ParameterTypeRequiredDescription
localestringNoLanguage for titles, category names, card text

Response

200 OK, application/json, NavStructure:

FieldTypeDescription
menuSlugstringMenu slug
titlestringMenu title
descriptionstring | undefinedMenu description
ogImagestring | undefinedShare image URL
groupsobject[]Groups, each a NavGroupResolved
standaloneobject[]Ungrouped categories/links; same shape as groups[].items
blogSlugsstring[]Optional related blog slugs
FieldTypeDescription
idstringGroup id
namestringGroup name
slugstringGroup slug
itemsobject[]Categories/links in this group (NavCategoryWithCards)
FieldTypeDescription
idstringCategory/link id
namestringCategory name
slugstringCategory slug
typestringcategory or link
descriptionstring | undefinedDescription
cardsobject[]App cards in this category (NavCard)
FieldTypeDescription
idstringCard id
titlestringTitle
descriptionstring | undefinedDescription
linkstringExternal or internal URL
imagestring | nullThumbnail URL

Errors

HTTP statusWhen
404Unknown or unregistered pathSlug
429Open API rate limit
500Server error

Example request

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

Example 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": []
}

← Back to API overview