---
title: "Agentic Scrapper"
method: POST
path: "/v1/agentic-scrapper"
tags: ["AgenticScrapper"]
---

# Agentic Scrapper

`POST /v1/agentic-scrapper`

## Request

- Base URL: `https://api.scrapegraphai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scrapegraphai.com/v1/agentic-scrapper`
- Auth: none declared

## Request body

- AgenticScrapperRequest
  - `url` string, required
  - `user_prompt` string, nullable
  - `output_schema` object, nullable
  - `steps` string[], nullable: List of steps to actions to perform on the website
  - `use_session` boolean: Whether to use a session to scrape the website
  - `ai_extraction` boolean: Whether to use AI extraction to extract the information
  - `stream` boolean: Whether to return streaming response
  - `webhook_url` string, nullable: Webhook URL to send the job result to
  - `country_code` string, nullable: The country code to use for the scrape (e.g. US, GB)

## Response `200`

Successful Response

- AgenticScrapperResponse
  - `request_id` string, required
  - `markdown` string, required
  - `error` string, nullable
  - `result` object, nullable

## Other responses

- `422`: Validation Error

---

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