Scrapeless API
latest
  • latest
  • v1
Dashboard
Dashboard
latest
  • latest
  • v1
  1. Scrape
  • User
    • Get User Info
      GET
  • Scraping Browser
    • CDP API
    • Browser extensions
      • Upload extension
      • Upgrade extension
      • Delete extension
      • Extension info
      • Extension list
    • Browser profiles
      • Delete profile
      • Upgrade profile
      • Create profile
      • Profile info
      • Profile list
    • Connect
      WSS
    • Running sessions
      GET
    • Live URL
      GET
  • Scraping API
    • shopee
      • Actor List
      • Shopee Product
      • Shopee Search
      • Shopee Rcmd
    • br sites
      • Solucoes cnpjreva
      • Solucoes certidaointernet
      • Servicos receita
      • Consopt
    • amazon
      • API Parameters
      • product
      • seller
      • keywords
    • google search
      • API Parameters
      • Google Search:Advanced search parameters(tbs)
      • Google Search
      • Google Images
      • Google Local
      • Google Shopping
      • Google Videos
    • google trends
      • API Parameters
      • AutoComplete
      • Interest Over Time
      • Compared Breakdown By Region
      • Interest By Subregion
      • Related Queries
      • Related Topics
      • Trending Now
    • Scraper Request
      POST
    • Scraper GetResult
      GET
  • Universal Scraping API
    • JS Render Docs
    • JS Render
      POST
    • Web Unlocker
      POST
  • Crawler
    • Scrape
      • Scrape a single URL
        POST
      • Scrape multiple URLs
        POST
      • Cancel a batch scrape job
        DELETE
      • Get the status of a scrape
        GET
      • Get the status of a batch scrape job
        GET
      • Get the errors of a batch scrape job
        GET
    • Crawl
      • Crawl multiple URLs based on options
      • Cancel a crawl job
      • Get the status of a crawl job
      • Get the errors of a crawl job
  • Public
    • actor status
    • actor status
  1. Scrape

Scrape multiple URLs

POST
/api/v2/crawler/scrape/batch
Last modified:2025-07-25 01:11:00

Request

Authorization
Add parameter in header
x-api-token
Example:
x-api-token: ********************
Body Params application/json

Example
{
    "urls": [
        "http://example.com"
    ],
    "formats": [
        "markdown"
    ],
    "onlyMainContent": true,
    "includeTags": [
        "string"
    ],
    "excludeTags": [
        "string"
    ],
    "headers": {},
    "waitFor": 0,
    "timeout": 30000,
    "browserOptions": {
        "sessionName": "string",
        "sessionTTL": "string",
        "sessionRecording": "string",
        "proxyCountry": "string",
        "proxyURL": "string",
        "fingerprint": "string"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.scrapeless.com/api/v2/crawler/scrape/batch' \
--header 'x-api-token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "urls": [
        "http://example.com"
    ],
    "formats": [
        "markdown"
    ],
    "onlyMainContent": true,
    "includeTags": [
        "string"
    ],
    "excludeTags": [
        "string"
    ],
    "headers": {},
    "waitFor": 0,
    "timeout": 30000,
    "browserOptions": {
        "sessionName": "string",
        "sessionTTL": "string",
        "sessionRecording": "string",
        "proxyCountry": "string",
        "proxyURL": "string",
        "fingerprint": "string"
    }
}'

Responses

🟢200OK
application/json
Successful response
Body

Example
{
    "success": true,
    "id": "string",
    "invalidURLs": [
        "string"
    ]
}
🟠402402
🟠429429
🔴500Server Error
Modified at 2025-07-25 01:11:00
Previous
Scrape a single URL
Next
Cancel a batch scrape job
Built with