{"uid":"cap_sgHt9iXgmWd3hHspqs8_W","slug":"extract-nav-as-json-dcebe5c6","name":"extract-nav-as-json","description":"Extract the page's nav as json: fetches the URL, pulls every nav element and returns them as a JSON array, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/nav/json?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GGtCjTygXt5CvtqzzAJ3J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page and extracts all navigation elements, returning them as a structured JSON array with a count.","exampleAgentPrompt":"Can you fetch the navigation elements from https://example.com and give me back all the nav items as a JSON array?","exampleUseCases":[{"title":"Audit site navigation structure","prompt":"Pull all the nav elements from https://mycompany.com as JSON so I can audit what links are in the main navigation."},{"title":"Compare competitor menu layouts","prompt":"Extract the navigation structure from https://competitor.com and return it as a JSON array — I want to see how many nav items they have and what they link to."},{"title":"Build sitemap from nav elements","prompt":"Fetch the nav items from https://blog.example.com as structured JSON so I can use them to build a quick sitemap of the site's main sections."}],"resultDescription":"A JSON array containing all nav elements found on the page, each with relevant attributes (e.g. link text, href), plus a count of total nav elements extracted.","failureModes":["URL is unreachable or returns a non-200 status — endpoint may return an error or empty result","Page has no nav elements — returns an empty array with count of 0","JavaScript-rendered navigation not captured since no browser is used — dynamically injected nav items will be missing","Malformed or invalid URL input — may return a parsing or request error","Rate limiting or payment failure — call not executed if x402 payment is not processed"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, serverless extraction of only the navigation elements from a page as structured JSON, without running a full browser. It is ideal for pipelines and agents that need nav structure quickly and cheaply ($0.01/page) without parsing raw HTML themselves. Prefer it over general scrapers when you specifically need nav elements in a clean, countable JSON array.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:41:47.523Z","isFirstParty":false,"canonicalSlug":"extract-nav-as-json-dcebe5c6"}