---
title: "Discover same-site URLs from sitemap.xml and page links"
method: POST
path: "/v1/map"
tags: ["Scrape"]
---

# Discover same-site URLs from sitemap.xml and page links

`POST /v1/map`

## Request

- Base URL: `https://search.elixpo.com`
- URL: `https://search.elixpo.com/v1/map`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`
  - API key in query parameter `key`
- TypeScript: <https://skmtc.dev/elixpo/apis/lixsearch-api/docs/v1/map/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `url` string, uri, required
  - `search` string: Keep URLs whose path or title contains these terms
  - `limit` integer
  - `includeSubdomains` boolean

## Response `200`

Discovered links

- object
  - `success` boolean
  - `links` object[]
    - `url` string
    - `title` string
    - `description` string

## Other responses

- `400`: Invalid request or URL rejected by the SSRF guard
- `401`: API key required

## Changes

- **2026-10-27** `dee7777b8958`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elixpo/apis/lixsearch-api/changes/v1/map/post.md)

---

[API](https://skmtc.dev/elixpo/apis/lixsearch-api.md) - [All operations](https://skmtc.dev/elixpo/apis/lixsearch-api/llms.txt) - [OpenAPI document](https://skmtc.dev/elixpo/apis/lixsearch-api/revisions/dee7777b8958?raw)
