---
title: "Web page scraping"
method: GET
path: "/v1/scrape"
tags: ["API"]
---

# Web page scraping

`GET /v1/scrape`

## Request

- Base URL: `https://api.fastaf.co`
- URL: `https://api.fastaf.co/v1/scrape`
- Auth: HTTP bearer

## Query parameters

- `url` string, uri, required
- `dynamic` boolean
- `js_rendering` boolean
- `premium` boolean
- `custom_headers` boolean
- `wait` integer
- `country` string
- `session_number` string
- `image` boolean
- `formats` 'html' | 'links' | 'markdown' | 'summary' | 'images'
- `ai_query` string
- `ai_extract_rules` string
- `type` 'image' | 'pdf' | 'pbf'

## Response `200`

Provider response.

## Other responses

- `400`: Invalid request or parameters.
- `401`: A valid bearer API key is required.
- `402`: The account has insufficient credits.
- `403`: The account is suspended.
- `429`: A rate or concurrency limit was reached.
- `502`: The upstream request failed.
- `503`: The service is temporarily unavailable.
- `504`: The upstream request timed out.

---

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