GroundsocialDocs

API · Web

POST /web/batch-scrape

Up to 10 web pages as Markdown in one call.

RequestPOST /v1/web/batch-scrape
Operation idweb.batch_scrape.get
Cost5 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Up to 10 web pages as Markdown in one call.

Request body

FieldTypeRequiredDescription
urlsstring[]yes
ignore_invalid_urlsbooleanno
formatsstring[]noAny of markdown, html, rawHtml, links, text, images (default ["markdown"]).
only_main_contentbooleanno

Responses

StatusMeaningSchema
200The pages read.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404That host does not resolve or the page does not exist.Error
429Too many requests. Wait for Retry-After seconds.Error
503Web is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.