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

# Get Searchscraper History

`GET /v1/history/searchscraper`

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/fastapi.md) · [All operations](https://skmtc.dev/scrapegraphai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scrapegraphai/fastapi/revisions/7583b63abb6e/schema)
