---
title: "Export Pdf"
method: POST
path: "/reports/export-pdf"
tags: ["reports"]
---

# Export Pdf

`POST /reports/export-pdf`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/reports/export-pdf`
- Auth: API key in header `X-Agent-Key`

Export an analysis report as a styled PDF.

Generates a Deloitte-style HTML report and renders it to PDF via
headless Chromium. Shares the ``doc_exports.monthly`` billing cap.

## Query parameters

- `email` string, nullable

## Request body

- ExportDocRequest
  - `url` string, required
  - `report_data` object, required
  - `site_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
