FatBabyAPIFeatures
What this API actually supports in production today.
- POST /v1/web/scrape with url
- Optional CSS selector
- Optional include_html / max_text controls
- SSRF-safe outbound fetches
- JSON response for easy piping into apps
Common use cases
- Content monitoring and change checks
- Enrichment for internal knowledge tools
- Lightweight data collection from public docs
API endpoints
Base URL https://thefatbaby.com/api. Authenticate with Authorization: Bearer fb_live_YOUR_KEY.
| Method | Path | Summary | Credits |
|---|---|---|---|
POST | /v1/web/scrape | Scrape a public URL | 3 credits default |
Examples
Primary endpoint /v1/web/scrape · 3 credits per successful scrape (default)
cURL
curl -X POST https://thefatbaby.com/api/v1/web/scrape \
-H "Authorization: Bearer fb_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","selector":""}'JavaScript
const res = await fetch('https://thefatbaby.com/api/v1/web/scrape', {
method: 'POST',
headers: {
Authorization: 'Bearer fb_live_YOUR_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({ url: 'https://example.com' })
});
const data = await res.json();Python
import requests
r = requests.post(
'https://thefatbaby.com/api/v1/web/scrape',
headers={'Authorization': 'Bearer fb_live_YOUR_KEY'},
json={'url': 'https://example.com'},
).json()
print(r.get('title'), r.get('text', '')[:200])Request
{
"url": "https://example.com",
"selector": "",
"include_html": false,
"max_text": 20000
}Response
{
"url": "https://example.com",
"status": 200,
"title": "...",
"text": "...",
"credits_used": 3
}Pricing & credits
Default 3 credits per scrape.
Common errors
- 400 — Blocked or invalid URL
- 402 — insufficient_credits
FAQ
Does this bypass CAPTCHAs or log into sites?
No. It fetches publicly reachable HTML under SSRF rules. It is not an anti-bot browser farm.
Related metadata endpoint?
For lighter previews, see link-preview / web metadata tools in the catalog.
Try without code
Use the matching online tool, then automate the same workflow with this API.