---
title: "Link Scraper"
method: POST
path: "/v1/linkscraper"
tags: ["Data Scraping"]
---

# Link Scraper

`POST /v1/linkscraper`

## Request

- Base URL: `https://api.apiverve.com`
- URL: `https://api.apiverve.com/v1/linkscraper`
- Auth: API key in header `x-api-key`

Scrape all the links on a web page

## Request body

- object
  - `url` string, required: The URL of the web page to scrape links from
  - `maxlinks` number: Maximum number of links to scrape and return
  - `includequery` boolean: Include query strings in the scraped links

## Response `200`

Successful Response

- object
  - `status` string: status
  - `error` string: error
  - `data` object: data

## Other responses

- `401`: Your request was not authorized, or your API Key was invalid
- `404`: Requested resource was not found
- `500`: A server error has occurred, try again later

---

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