---
title: "Link Extract (x402)"
method: GET
path: "/x402/v2/link-extract"
tags: ["x402"]
---

# Link Extract (x402)

`GET /x402/v2/link-extract`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/link-extract`
- Auth: none required

Extract all links from a page with context. Filter by internal/external. Returns URL, anchor text, rel attributes.

## Query parameters

- `url` string, required: URL to extract links from
- `filter` string: internal, external, or both (default)

## Response `200`

Success

- object
  - `links` unknown[]
    - unknown
  - `source_url` string
  - `total_links` integer

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
