{"uid":"cap_D02clU34f4feZ5zyFms3k","slug":"metalift-site-map-same-origin-link-discovery-3646ef7d","name":"Metalift Site Map — Same-Origin Link Discovery","description":"Metalift site map: same-origin link discovery from one page's HTML (no full extraction). Use for lightweight crawl planning before /v1/scrape. (1 credit ≈ $0.002 USDC)","url":"https://api.metalift.ai/v1/map?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Page whose same-origin anchors to list"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bFzrenm4n4qz0MNazyBVk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Discovers and lists all same-origin anchor links from a given page's HTML for lightweight crawl planning.","exampleAgentPrompt":"Before scraping the whole site, can you list all the internal links found on https://example.com/blog so I know which pages to crawl next?","exampleUseCases":[{"title":"Pre-crawl link discovery for blog","prompt":"Find all the internal links on https://techcrunch.com/startups/ so I can plan which pages to scrape next."},{"title":"Internal navigation audit","prompt":"List every same-origin link on https://mycompany.com/about so I can see how that page connects to the rest of the site."},{"title":"Content mapping before extraction","prompt":"Before I do a full scrape, can you map out all the links on https://docs.stripe.com/api to see which pages are linked from there?"}],"resultDescription":"A list of same-origin anchor URLs found in the HTML of the requested page, suitable for planning subsequent scrape or crawl operations. No full page content or markdown is returned — just discovered internal links.","failureModes":["Invalid or unreachable URL returns an error with no links","External-only pages return an empty link list if no same-origin anchors exist","JavaScript-rendered navigation links may not be captured if JS rendering is not applied","Rate limiting or WAF blocks on the target page may prevent link discovery","Malformed URL input fails schema validation"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap inventory of internal links on a page before committing to full scrapes. Prefer it over /v1/scrape when you only need navigation structure, not page content. Prefer it over /v1/sitemap when the site lacks an XML sitemap or you want page-level link discovery rather than site-wide XML parsing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:34:32.080Z","isFirstParty":false,"canonicalSlug":"metalift-site-map-same-origin-link-discovery-3646ef7d"}