---
title: "Get Searchscraper History"
method: GET
path: "/v1/history/searchscraper"
tags: ["History"]
---

# Get Searchscraper History

`GET /v1/history/searchscraper`

## 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/history/searchscraper`
- Auth: none declared

Get paginated history of search scraper requests.

Args:
    request: The FastAPI request object
    page: Page number (default: 1)
    page_size: Number of items per page (default: 10)

Returns:
    SearchscraperHistoryResponse containing the list of requests and next page key

## Query parameters

- `page` integer
- `page_size` integer

## Request body

- object, nullable

## Response `200`

Successful Response

- SearchscraperHistoryResponse
  - `requests` SearchscraperRequestDB[], required
    - `request_id` string, uuid
    - `user_id` string, uuid, nullable
    - `user_prompt` string, required
    - `search_query` string, nullable
    - `extraction_query` string, nullable
    - `references_urls` string[], nullable
    - `output_schema` object, nullable
    - `result` object, nullable
    - `status` 'queued' | 'processing' | 'completed' | 'failed'
    - `metadata` object
    - `error` string, nullable
    - `requested_at` string, date-time
    - `finished_at` string, date-time, nullable
  - `next_key` object, nullable, required

## 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)
