---
title: Web Scraping API
slug: scrape-url
url: https://apyhub.com/sharpapi/service/scrape-url
provider: SharpAPI
categories: [Ingestion Kit, Retrieval Kit]
tags: [extract, text, web]
auth: api_key
version: 1.0
service_type: sync
endpoints: 1
atoms: 1000
mcp: true
alias: sharpapi-web-scraping-api
---

# Web Scraping API

Scrape any URL and get page content, metadata, and links in a structured response. Built for indexing, SEO checks, and content monitoring.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| GET | `https://api.eu.apyhub.com/sharpapi/scrape-url` | What it does Fetches and scrapes the URL provided in the url query parameter, then returns the orig… | 1000 |

## Endpoint reference

### Scrape a URL

`GET https://api.eu.apyhub.com/sharpapi/scrape-url` · 1000 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string (uri) | yes | Example: `https://apyhub.com/`. |

#### Quickstart

Scrape a page by passing its URL as a query parameter.

```bash
curl -X GET "https://api.eu.apyhub.com/sharpapi/scrape-url?url=https%3A%2F%2Fapyhub.com%2F" \
  -H "apy-token: $APY_TOKEN"
```

#### What you'll get back

Returns a JSON object with `url` and `timestamp` string fields, plus a `scraped_data` object containing the extracted page data.

```json
{
  "url": "https://apyhub.com/",
  "timestamp": "2025-01-15T08:56:04.946195Z",
  "scraped_data": {}
}
```

## About

## What it does
Web Scraper lets you send a URL and get back the page’s captured content and metadata in a structured response. It echoes the scraped `url`, adds a UTC `timestamp`, and returns `scraped_data` for the page.

Use it when you need to inspect a live page without building your own crawler. The response can include `title`, document-level `headers`, standard `meta_tags`, `open_graph` values, `twitter_card` values, `content_html`, `content_markdown`, `content_structured`, `content_lists`, `content_keywords_index`, `detected_language`, and extracted `links` split into `internal` and `external` arrays. That makes it useful for page monitoring, content indexing, SEO checks, competitive analysis, and lightweight data collection.

The input is simple: pass a single `url` query parameter. The output is built for downstream processing, so you can store the returned page text, inspect metadata, or follow discovered links in your own workflow. If you only need page title and metadata, you can ignore the heavier content fields and work with the specific parts you need.

Web Scraper is a good fit for developer tools that need reliable page retrieval and structured page analysis from one request.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/sharpapi/service/scrape-url
