Screenshot
Get a base64-encoded PNG of any page — full-page or viewport, with optional wait for dynamic content.
POST
/api/v1/screenshotRequest body
| Field | Type | Description |
|---|---|---|
| urlrequired | string | Absolute URL. |
| fullPage | boolean | Capture the entire scrollable page. Default: false |
| waitFor | number | Milliseconds to wait after load. |
Example
bash
curl https://neuroapi.me/api/v1/screenshot \ -H "Authorization: Bearer $NEUROAPI_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com", "fullPage": true }'Example response
json
{ "success": true, "data": { "screenshot": "https://storage.googleapis.com/.../screenshot.png", "metadata": { "sourceURL": "https://example.com", "statusCode": 200 } }, "creditsCharged": 1}screenshot is a temporary signed URL (typically valid for ~24 hours). Download and store the image yourself if you need to keep it long-term.
Cost: 1 credit.