DATPAQ Web Screenshot API
Web page screenshot capture via headless browser
Web page screenshot capture via headless browser
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/datpaq-com:datpaq-com-web-screenshot-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Datpaq Com Web Screenshot API
version: 1.1.0
contact:
name: Datpaq Support
url: https://datpaq.com
license:
name: Proprietary
description: 'Operations tagged Web Screenshot across 2 of this provider''s published API definitions: datpaq-com.yaml, datpaq-com-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://datpaq.com/api/v1
description: Production
- url: https://staging.datpaq.com/api/v1
description: Staging
security:
- ApiKeyHeader: []
- ApiKeyQuery: []
tags:
- name: Web Screenshot
description: Web page screenshot capture via headless browser
paths:
/web-screenshot:
get:
tags:
- Web Screenshot
operationId: webScreenshot
summary: Capture a screenshot of a web page
description: Renders a web page via Puppeteer headless browser and returns a screenshot. Supports viewport simulation, format selection, quality control, and crop.
parameters:
- name: url
in: query
required: true
description: Target URL including http/https scheme
schema:
type: string
format: uri
example: https://example.com
- name: width
in: query
required: false
description: Viewport width in pixels (100–3840, default 1280)
schema:
type: integer
minimum: 100
maximum: 3840
default: 1280
- name: height
in: query
required: false
description: Viewport height in pixels (100–2160, default 800)
schema:
type: integer
minimum: 100
maximum: 2160
default: 800
- name: format
in: query
required: false
schema:
type: string
enum:
- jpeg
- png
- webp
default: jpeg
- name: quality
in: query
required: false
description: Image quality (10–100, default 100; ignored for PNG)
schema:
type: integer
minimum: 10
maximum: 100
default: 100
- name: crop
in: query
required: false
description: Crop dimensions as WIDTHxHEIGHT (e.g. 800x600)
schema:
type: string
example: 800x600
responses:
'200':
description: Screenshot image binary
content:
image/png:
schema:
type: string
format: binary
image/webp:
schema:
type: string
format: binary
image/jpeg:
schema:
type: string
format: binary
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
default:
$ref: '#/components/responses/ServiceUnavailable'
servers:
- url: https://datpaq.com/api/v1
description: Production
- url: https://staging.datpaq.com/api/v1
description: Staging
components:
schemas:
ErrorResponse:
type: object
properties:
error:
type: string
description: Human-readable error message
example: Invalid API key
correlationId:
type: string
description: Request tracking identifier for support
example: abc123-def456-789ghi
service:
type: string
description: Service name that produced the error
example: ip-geolocation
responses:
BadRequest:
description: Bad request — missing or invalid parameters
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
Unauthorized:
description: Unauthorized — missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
ServiceUnavailable:
description: Service temporarily unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
RateLimited:
description: Rate limit exceeded — retry after the indicated period
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
securitySchemes:
ApiKeyHeader:
type: apiKey
in: header
name: x-api-key
description: API key passed via x-api-key request header
ApiKeyQuery:
type: apiKey
in: query
name: api_key
description: API key passed as api_key query parameter
x-refined-from:
- datpaq-com.yaml
- datpaq-com-openapi.yaml