# Metalift Site Map (Link Discovery)

> Metalift Site Map (Link Discovery) is a paid API for AI agents from app.metalift.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Discovers and returns same-origin links from a single page's HTML for lightweight crawl planning, without full content extraction.

## Facts

- Endpoint: POST https://app.metalift.ai/v1/map?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/metalift-site-map-link-discovery-ff1f3079
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FgTDdrsqEIpFyb7ro7dGP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability metalift-site-map-link-discovery-ff1f3079 -d '<json body>'
```

Example prompt: Before I scrape everything, can you map out all the same-origin links on https://example.com/blog so I know which pages are worth crawling next?

## When to prefer this

Use this endpoint when you need a cheap, fast overview of internal links on a page before committing to full scraping. Prefer this over /v1/scrape when you only need URLs, not page content. Prefer the sitemap endpoint when the site has an XML sitemap, as that provides a more complete URL inventory. Use this when you want to build a crawl queue from a single seed URL with minimal cost.

## Known failure modes

- Invalid or unreachable URL returns an error with no links
- Page with no same-origin links returns an empty list
- Cross-origin links are excluded from results
- Dynamic pages that require JS rendering may yield incomplete link sets since this is a lightweight HTML-only scan
- Rate limiting or payment failure blocks the request

## Output

A list of same-origin URLs discovered from the HTML of the provided page, suitable for building a crawl queue or planning subsequent scrape calls. Does not include full page content or extracted text.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/metalift-site-map-link-discovery-ff1f3079/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from app.metalift.ai](https://www.zero.xyz/host/app.metalift.ai/llms.txt)
