🕸️

Link Extractor

Extract internal and external hyperlinks through the unified scrape endpoint

POST /v1/scrape

Description

Extract internal and external hyperlinks through the unified scrape endpoint

Parameters

Name Type Required Description
x-api-key string optional

How to Use

1

1. Send a POST request to `/v1/scrape` with a `url`. 2. Add `extract: {"links": true}`. 3. Read totals from `links.total`, `links.internal`, and `links.external`. 4. Inspect `links.items` for the full link list.

About This Tool

Link extraction is now part of the unified scrape response. Set `extract.links: true` and the API returns a structured `links` object with totals and per-link details.

This is useful for internal-link analysis, crawl discovery, and SEO review workflows.

Why Use This Tool

Frequently Asked Questions

Are duplicate links removed?
Yes — results are normalized and summarized in the response.
Can this work with JS-rendered pages?
Yes. Combine it with `render_js: true` if the site builds links client-side.
Is this separate from broken-link checking?
Yes. This capability extracts the links. For validation, use the dedicated broken-links endpoint.

Start using Link Extractor now

Get your free API key and make your first request in under a minute.