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:
urlrequired, http/httpsmethodGET by default, or HEAD/POSTheadersoptionalbodyif ure posting somethingproxydefaults true (resi). set false only if u really want directtimeoutMsdefault 20000 max 60000maxBytesdefault 2mb hard cap 8mbreturnBodydefault truebodyFormattextorbase64
{
"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
400bad url or i blocked it (local/private stuff)401missing/bad key502upstream died or timed out
notes
- no js rendering yet
- follows redirects (max 5)
- if proxies arent loaded u get
503instead of a silent direct fetch - set
proxy:falseonly if u actually want direct