docs

docs

how to use bunnyscrape!!! ask me for a key if u want one

base

https://bunny.ltd/api/v1

auth goes in Authorization: Bearer … or X-API-Key

health

GET /scrape/health

no auth, just says if its up n how many proxies are loaded

scrape

POST /scrape

curl -X POST https://bunny.ltd/api/v1/scrape \
  -H "Authorization: Bearer fqlc_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","proxy":true,"maxBytes":500000}'

u can send:

  • url required, http/https
  • method GET by default, or HEAD/POST
  • headers optional
  • body if ure posting something
  • proxy defaults true (resi). set false only if u really want direct
  • timeoutMs default 20000 max 60000
  • maxBytes default 2mb hard cap 8mb
  • returnBody default true
  • bodyFormat text or base64
{
  "ok": true,
  "status": 200,
  "url": "https://example.com",
  "finalUrl": "https://example.com/",
  "contentType": "text/html; charset=utf-8",
  "body": "<!doctype html>...",
  "bytes": 1256,
  "ms": 412,
  "proxied": true,
  "headers": { "Content-Type": "text/html; charset=utf-8" }
}

errors

  • 400 bad url or i blocked it (local/private stuff)
  • 401 missing/bad key
  • 502 upstream died or timed out

notes

  • no js rendering yet
  • follows redirects (max 5)
  • if proxies arent loaded u get 503 instead of a silent direct fetch
  • set proxy:false only if u actually want direct