POST
https://api.apicall.co/v1/scrapeScrape URL to Markdown
Auth Required1 credit
Extract clean Markdown content from any webpage. Uses trafilatura for fast extraction with Playwright fallback for JavaScript-heavy sites.
Request Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
url* | string | — | The URL to scrape |
render_js | boolean | false | Enable JavaScript rendering (costs 3 credits) |
only_main_content | boolean | true | Extract only the main content |
include_links | boolean | true | Include extracted links in the response |
Response Example
200 OK{
"status": "success",
"request_id": "req_abc123",
"data": {
"title": "Page Title",
"markdown": "# Clean Markdown...",
"metadata": {
"word_count": 1420
}
},
"credits_used": 1,
"execution_time_ms": 950
}Code Examples
curl -X POST https://api.apicall.co/v1/scrape \
-H "x-api-key: sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"only_main_content": true
}'