ANEARSTANEARST

Examples

A complete capture request.

curl -X POST "$ORIGIN/api/v1/capture" \
  -H "Authorization: Bearer $ANEARST_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","device":"mobile","mode":"full","format":"webp"}'

Language tabs

Use $ANEARST_KEY from your environment. Never put a live key in frontend code.

curl -X POST '$ORIGIN/api/v1/capture' \
  -H 'Authorization: Bearer $ANEARST_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://example.com",
  "device": "mobile",
  "width": 390,
  "height": 844,
  "scale": 1,
  "mode": "full",
  "format": "webp",
  "dark_mode": false,
  "block_ads": true,
  "block_cookies": true,
  "hide_chats": true,
  "disable_animations": true,
  "js_enabled": true,
  "delay_ms": 400,
  "wait_until": "networkidle"
}'