---
title: "POST /"
method: POST
path: "/"
tags: ["gateway"]
---

# POST /

`POST /`

## Request

- Base URL: `https://api.mrscraper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mrscraper.com/`
- Auth: one of:
  - API key in header `x-api-token`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api/docs/post.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `async` boolean
- `beta` boolean
- `maxAge` integer

## Request body

- GatewayRequestBody
  - `action` string
  - `agent` string
  - `domain` string
  - `prompt` string
  - `stream` boolean
  - `task_details` object
  - `token_usage` integer
  - `url` string

## Response `200`

OK

- object

## Other responses

- `202`: Async scrape accepted

---

[API](https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api.md) - [All operations](https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api/revisions/8bc866001a0b?raw)
