---
title: "Get Sitemap History"
method: GET
path: "/v1/history/sitemap"
tags: ["History"]
---

# Get Sitemap History

`GET /v1/history/sitemap`

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

Get sitemap request history for the current API key.

## Query parameters

- `page` integer
- `page_size` integer

## Request body

- object, nullable

## Response `200`

Successful Response

- SitemapHistoryResponse
  - `requests` SitemapRequestDB[], required: List of sitemap requests
    - `request_id` string, required
    - `website_url` string, required
    - `api_key_id` string, uuid, required
    - `user_id` string, uuid, required
    - `requested_at` string, date-time, required
    - `status` string, required
    - `urls_count` integer, required
    - `error_message` string, nullable
    - `metadata` object, nullable
  - `next_key` object, nullable: Key for next page

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