100 free credits. No credit card required. Get a key

Batch web scraping API

Up to 10 URLs read in parallel and returned together, in input order, with failures listed.

POST /v1/web/batch-scrapeBeta5 credits per callRefunded on failure
import os, requests

res = requests.post(
    "https://api.groundsocial.dev/v1/web/batch-scrape",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
    json={"urls":["https://example.com/","https://www.python.org/"]},
)
res.raise_for_status()
data = res.json()
Response
200 · 5 credits
{
"status": "completed",
"total": 2,
"data": [
{
"markdown": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it …",
"metadata": {
"title": "Example Domain",
"language": "en",
"sourceURL": "https://example.com/",
"url": "https://example.com/",
"statusCode": 200,
"contentType": "text/html; charset=utf-8",
"fetchedAt": "2026-11-27T00:25:45.548Z"
}
},
{
"markdown": "## Get Started\n\nWhether you're new to programming or an experienced developer, it's easy to learn and use Python.\n\n[Star…",
"metadata": {
"title": "Welcome to Python.org",
"description": "The official home of the Python Programming Language",
"language": "en",
"keywords": "Python programming language object oriented web free open source software license documentation download community",
"favicon": "https://www.python.org/static/favicon.ico",
"ogTitle": "Welcome to Python.org",
"ogDescription": "The official home of the Python Programming Language",
"ogImage": "https://www.python.org/static/opengraph-icon-200x200.png",
"ogUrl": "https://www.python.org/",
"ogType": "website",
"ogSiteName": "Python.org",
"sourceURL": "https://www.python.org/",
"url": "https://www.python.org/",
"statusCode": 200,
"contentType": "text/html; charset=utf-8",
"fetchedAt": "2026-11-27T00:25:45.690Z"
}
}
],
"failed": [],
"partial": false,
"next_cursor": null
}
Status codes
StatusMeaning
200The pages read.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404That host does not resolve or the page does not exist.
429Too many requests. Wait for Retry-After seconds.
503Web is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Bad URLs?

Refused, unless ignore_invalid_urls is true.

Web is a trademark of its owner. We are not affiliated with or endorsed by it.