Log inGet a key

Developer tools

Screenshots API

Render any public URL to a PNG — 13 device presets from iPhone to full-HD desktop, with full-page and delay options.

/screenshotfree allowance included
api.apimitra.in /screenshot
am@mitra ~ %$curl "https://api.apimitra.in/screenshot?url=https://apimitra.in&device=macbook"
{
"status": "ok",

"api": "screenshot",

"format": "image/png",

"full_page": false

}

13

device presets

PNG

returned directly

full-page

capture option

SSRF-safe

private hosts blocked

About the API

What this endpoint does.

Product shots, link previews, SEO monitoring and “show me what my site looks like on an iPhone 14” all need a real rendered screenshot. This endpoint runs a headless browser on your behalf and returns the PNG.

Pick one of 13 device presets — iPhone, Pixel, Galaxy, iPad, desktop, MacBook or full-HD — or set custom width and height. A full-page flag captures the entire page, not just the fold, and you can set the wait before capture for slow-rendering apps.

Who builds on this

Built for the teams shipping real products.

  1. 01

    Marketing & growth

    Generate fresh product and social screenshots on demand instead of re-opening a design tool.

  2. 02

    Dev-tools & monitoring

    Capture pages on a schedule to check visual regressions or scraped-content changes.

  3. 03

    Preview products

    Show live link previews inside chats, notes and documentation tools.

Under the hood

What you send. What comes back.

Request

Inputs you send

  • urlrequired

    public http(s) URL to render.

  • deviceoptional

    iphone14, pixel8, ipad, macbook, fullhd… Omitted → desktop.

  • fulloptional

    true captures the whole page height.

  • waitoptional

    ms to wait before capture. Omitted → 2500.

  • width · heightoptional

    custom viewport — overrides the preset.

Response

JSON you get back

  • image

    the endpoint returns the PNG file directly (not JSON).

Try it

One call, real data.

Try it in the playground
/screenshot?url=https://apimitra.in&device=macbook
am@mitra ~ %$curl "https://api.apimitra.in/screenshot?url=https://apimitra.in&device=macbook"
{
"status": "ok",

"api": "screenshot",

"format": "image/png",

"full_page": false

}

In practice the PNG bytes are returned; json metadata shown here for shape.

Free tier

Ship on this API free, then pay only when your calls outgrow it.

  • A free monthly request allowance on your first key — enough to build and test.
  • The same key works across every endpoint, so you can switch APIs as you grow.
  • When the free requests end, upgrade to paid — your code and endpoints don’t change.

Every endpoint includes a free monthly request allowance — the size differs from API to API. When your free requests run out, you move to a paid plan with the same key. No card needed to start.

Start with Screenshots, free.

Create an account and we’ll issue your free API key in minutes — this endpoint included.

© 2026 API Mitra. All rights reserved.

service statusMade in India