Skip to content
OSINTtools.io

CurlShot API

Send a URL, HTML or Markdown and get a screenshot (PNG, JPEG, WebP), a PDF or a short video of the rendered page back.

Base URL
https://curlshot.com/api/v1
Sign-in
API key
Free tier
Free tier
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from curlshot.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with CurlShot and copy your api key (free tier). Where to get it

  2. Make your first request

    Render a page and return it as an image (or PDF or video).. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

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

    A 400 response looks like this.

    {
      "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"
        }
      ]
    }

Authentication

Send your API key in the access_key query parameter of every request.

The key does not work until the account email is confirmed.

Get a key from CurlShot

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

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.

Free tier.

Errors

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

Screenshots

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.

Query parameters

urlstringrequiredtakes your url

Full public http:// or https:// address to capture; encode it if it contains & or ?

Example: https://example.com
formatstring

Output file type

Example: jpegDefault: pngOne of: png, jpeg, webp, pdf, mp4, webm, gif
full_pageboolean

Capture the whole page instead of the first screen

Example: trueDefault: false
viewport_devicestring

Emulate a device preset (names are on the Devices page)

Example: iphone_15_pro
viewport_widthinteger

Browser window width in px (100-3840)

Example: 1280Default: 1280
viewport_heightinteger

Browser window height in px (100-4320)

Example: 1024Default: 1024
block_cookie_bannersboolean

Hide cookie consent banners before capture

Example: trueDefault: false
wait_untilstring

Page event that counts as loaded

Example: networkidleDefault: loadOne of: load, domcontentloaded, networkidle, commit
delaynumber

Extra seconds to wait after loading (0-30)

Example: 2Default: 0
selectorstring

CSS selector; capture only the first matching element

Example: #main
response_typestring

Return the file, or JSON with a link to it

Example: by_formatDefault: by_formatOne of: by_format, json
Response fields · 5Show

error_codestring

Fixed identifier of the failure, e.g. invalid_options (error responses only)

error_messagestring

Human-readable description (error responses only)

documentation_urlstring

Link to the matching entry on the errors page

fieldstring

Option that failed validation (invalid_options only)

messagestring

What is wrong with that option

curl 'https://curlshot.com/api/v1/screenshot?url=https%3A%2F%2Fexample.com&access_key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
    }
  ]
}