# CurlShot API reference

> CurlShot renders a web page in a browser and returns it as an image. A request to /api/v1/screenshot with a url returns the image bytes (PNG by default; JPEG, WebP, PDF, MP4, WebM and GIF are also listed as formats). An investigator can use it to capture how a page looked at a given time. Every…

Source: https://osinttools.io/apis/curlshot/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/curlshot/

- Base URL: https://curlshot.com/api/v1
- Authentication: API key in the `access_key` query parameter. Get a key: https://curlshot.com/ The key does not work until the account email is confirmed.
- Free tier: yes
- Rate limits: Requests per minute and concurrent renders are limited per plan; the exact numbers are not stated in the docs. 429 responses carry a Retry-After header.
- Vendor docs: https://curlshot.com/docs/getting-started

## Overview

CurlShot renders a web page in a browser and returns it as an image. A request to `/api/v1/screenshot` with a `url` returns the image bytes (PNG by default; JPEG, WebP, PDF, MP4, WebM and GIF are also listed as formats). An investigator can use it to capture how a page looked at a given time.

Every request needs an access key in the `access_key` query parameter (a key is created in the dashboard after confirming the account email). Options work the same in a GET query string and in a POST JSON body; this reference describes the GET form. Unknown options are rejected with an error rather than ignored.

Failed requests return JSON with `error_code` and `error_message` instead of an image, so check the HTTP status before saving the body. Failed requests are not billed. The free plan has a monthly screenshot quota; the amount is not stated on the getting-started page. Signed links, async rendering, webhooks and bulk calls exist but are not described here.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | invalid_url, invalid_options or invalid_request: malformed URL, bad or misspelled options, or invalid POST body |
| 401 | access_key_required or access_key_invalid |
| 402 | quota_exceeded: the screenshot quota for this billing period is used up |
| 403 | host_not_allowed (private or internal target), signature problems, email_not_verified, or feature_not_available on the plan |
| 413 | content_too_large |
| 422 | selector_not_found or page_blocked (bot check or blank page) |
| 429 | rate_limited, concurrency_limit, queue_limit or failure_limit; wait for Retry-After |
| 503 | navigation_failed, timeout, renderer_busy or renderer_unavailable; these can be retried |

## Screenshots

### Render a page and return it as an image (or PDF or video).

`GET /screenshot`

- Takes: URL
- Footprint: active (contacts the target)

Returns the file bytes on success (PNG unless `format` says otherwise). On failure the body is JSON with error_code, error_message, documentation_url and, for invalid_options, an errors list. Only successful renders count against the quota. Many more options exist (clip, cookies, headers, blocking, PDF and video settings); see the options reference.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | Full public http:// or https:// address to capture; encode it if it contains & or ? Example: https://example.com |
| `format` | query | string | no | Output file type Example: jpeg One of: png, jpeg, webp, pdf, mp4, webm, gif |
| `full_page` | query | boolean | no | Capture the whole page instead of the first screen Example: true |
| `viewport_device` | query | string | no | Emulate a device preset (names are on the Devices page) Example: iphone_15_pro |
| `viewport_width` | query | integer | no | Browser window width in px (100-3840) Example: 1280 |
| `viewport_height` | query | integer | no | Browser window height in px (100-4320) Example: 1024 |
| `block_cookie_banners` | query | boolean | no | Hide cookie consent banners before capture Example: true |
| `wait_until` | query | string | no | Page event that counts as loaded Example: networkidle One of: load, domcontentloaded, networkidle, commit |
| `delay` | query | number | no | Extra seconds to wait after loading (0-30) Example: 2 |
| `selector` | query | string | no | CSS selector; capture only the first matching element Example: #main |
| `response_type` | query | string | no | Return the file, or JSON with a link to it Example: by_format One of: by_format, json |

Response fields:

- `error_code` (string): Fixed identifier of the failure, e.g. invalid_options (error responses only)
- `error_message` (string): Human-readable description (error responses only)
- `documentation_url` (string): Link to the matching entry on the errors page
- `errors[].field` (string): Option that failed validation (invalid_options only)
- `errors[].message` (string): What is wrong with that option

```bash
curl 'https://curlshot.com/api/v1/screenshot?url=https%3A%2F%2Fexample.com&access_key=YOUR_API_KEY'
```

Example response (400):

```json
{
  "error_code": "invalid_options",
  "error_message": "One or more options are invalid.",
  "documentation_url": "https://curlshot.com/docs/errors",
  "errors": [
    {
      "field": "format",
      "message": "Unsupported value"
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
