Scrape any dynamic webpage into structured JSON schema using intuitive CSS selectors.
Define JSON schemas with CSS selectors, attribute extractors (@href, @src, @content), and list flags to extract clean arrays and nested objects from dynamic websites.
Because this endpoint utilizes full headless Chromium rendering, dynamic JavaScript and single-page apps (SPAs) are executed completely before conversion:
Chromium initializes, fetches the URL, executes client JavaScript, resolves DOM mutations, and generates output.
Returned instantly from Valkey/Redis cache with header X-Lender-Cache: HIT (15-minute TTL).
curl -X POST https://api.headless-lender.com/api/v1/json \
-H "Content-Type: application/json" \
-d '{
"url": "https://news.ycombinator.com",
"selectors": {
"stories": { "selector": ".titleline > a", "all": true },
"scores": { "selector": ".score", "all": true }
},
"includeMetadata": true
}'No Authorization header required. Simply send a JSON POST request. Perfect for quick prototypes, small scripts, and low-volume scraping.
Sign up in 10s with no credit card required. Unlocks 1,000 free monthly requests, 600 browser minutes (10 hours), 120 req/min burst limits, and cache-bypass controls.
| Access Mode | Monthly Quota | Cloud Browser Time | Burst Limit | Credit Card | Action |
|---|---|---|---|---|---|
| Public Anonymous | Daily IP Allowance | 5-min trial sandbox | 10 req/min | None | Instant (No Setup) |
| Free Account (Highest Quota) | 1,000 Req / Month | 600 Mins (10 Hours) | 120 req/min | Zero ($0 forever) | Claim Free Key → |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| url | string | required | — | Webpage URL to scrape. |
| selectors | Record<string, string | object> | required | — | Schema definition mapping field keys to CSS selectors. |
| includeMetadata | boolean | optional | true | Include standard meta tags (title, description, canonical). |
| includeOpenGraph | boolean | optional | true | Include og:title, og:image, og:description. |
| includeJsonLd | boolean | optional | true | Parse embedded <script type="application/ld+json">. |
{
"url": "https://news.ycombinator.com",
"data": {
"heading": "Hacker News",
"topStories": [
"Announcing Next.js 16.4 Release",
"Show HN: Fast Cloud Browser Lending BaaS",
"DeepSeek V3 Technical Architecture"
]
},
"metadata": {
"title": "Hacker News",
"description": null
},
"openGraph": {},
"durationMs": 240
}