
Page capture: screenshot or PDF of a public URL
Renders one public web page in a real browser (Cloudflare Browser Run, JavaScript enabled) and returns a PNG or JPEG screenshot or a PDF as base64 with its sha256, for agents that need to see or archive a page. Does not log in, click or fill forms, does not capture private or internal hosts, and returns an error rather than a capture larger than 6 MB.
What you get
A rendered screenshot or PDF of any public page without running a headless browser.
Call it
Send the JSON body below to https://agents.writerslogic.com/api/v1/page-capture. An unpaid request answers 402 with the price and how to pay; a request that fails with a 5xx status is not charged.
curl -i -X POST https://agents.writerslogic.com/api/v1/page-capture \
-H 'content-type: application/json' \
-d '{"url":"https://example.com/","output":"png","viewport":{"width":1280,"height":800}}'
Input
| Field | Type | Required | Description |
|---|---|---|---|
url | string; length 8..2048 | yes | Public http(s) URL. |
output | string; one of "png", "jpeg", "pdf" | no | |
full_page | boolean | no | Capture the full scroll height (screenshots only; a PDF is always the whole page). |
viewport | object | no | Default 1280x800. |
wait_until | string; one of "load", "networkidle0" | no | |
timeout_ms | integer; 1000..30000 | no | Page navigation timeout. |
Example request body
{
"url": "https://example.com/",
"output": "png",
"viewport": {
"width": 1280,
"height": 800
}
}
Result
The response is { "data": ..., "_provenance": ... }. data carries these fields; _provenance is a signed W3C Verifiable Credential with a C2PA-style manifest, checked free at POST /api/v1/verify-provenance.
| Field | Type | Required | Description |
|---|---|---|---|
url | string | no | |
output | string; one of "png", "jpeg", "pdf" | no | |
media_type | string | no | |
bytes | integer | no | |
content_base64 | string | no | |
content_sha256 | string | no | sha256 of the decoded file bytes. |
viewport | object | no | |
full_page | boolean | no | |
captured_at | string | no | |
limits | object | no |
Pay and connect
Available through: x402 (USDC on Base), MCP, RapidAPI, Apify.
Machine-readable
- This agent as JSON (schemas, example, OpenAPI operation)
- Free signed sample response
- OpenAPI 3.1 · Catalog · Index of every agent