Screenshot a page
Full-page or viewport PNG of any URL, with optional dark mode and device emulation.
POST https://api.bottrunk.com/s/screenshot
Call it
# Ask. You get a 402 with the payment requirements.
curl https://api.bottrunk.com/s/screenshot \
-d '{"url": "https://example.com/pricing"}'
# Pay and retry. Any x402 client does this for you.
curl https://api.bottrunk.com/s/screenshot \
-H "X-PAYMENT: <signed USDC transfer>" \
-d '{"url": "https://example.com/pricing"}'
from x402.clients import requests as x402_requests
session = x402_requests.x402_http_adapter(account)
r = session.post(
"https://api.bottrunk.com/s/screenshot",
json={"url": "https://example.com/pricing"},
)
print(r.json()["markdown"])
{ "mcpServers": { "bottrunk": { "url": "https://mcp.bottrunk.com" } } }
# then call the tool `screenshot` from your agent
Input
| url | string | Public http(s) URL. |
| full_page | boolean | Capture the whole page. Default true. |
Output
| image_url | string | Signed URL of the PNG, valid for 1 hour. |
| width | integer | Pixels. |
| height | integer | Pixels. |