Scrapeless API
latest
  • latest
  • v1
Dashboard
Dashboard
latest
  • latest
  • v1
  1. Crawl
  • 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
      • Scrape multiple URLs
      • Cancel a batch scrape job
      • Get the status of a scrape
      • Get the status of a batch scrape job
      • Get the errors of a batch scrape job
    • Crawl
      • Crawl multiple URLs based on options
        POST
      • Cancel a crawl job
        DELETE
      • Get the status of a crawl job
        GET
      • Get the errors of a crawl job
        GET
  • Public
    • actor status
      GET
    • actor status
      POST
  1. Crawl

Crawl multiple URLs based on options

POST
/api/v2/crawler/crawl
Last modified:2025-07-25 01:11:05

Request

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

Example
{
    "url": "http://example.com",
    "limit": 10000,
    "excludePaths": [
        "string"
    ],
    "includePaths": [
        "string"
    ],
    "maxDepth": 10,
    "maxDiscoveryDepth": 0,
    "ignoreSitemap": false,
    "ignoreQueryParameters": false,
    "deduplicateSimilarURLs": true,
    "regexOnFullURL": true,
    "allowBackwardLinks": false,
    "allowExternalLinks": false,
    "delay": 0,
    "scrapeOptions": {
        "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/crawl' \
--header 'x-api-token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "http://example.com",
    "limit": 10000,
    "excludePaths": [
        "string"
    ],
    "includePaths": [
        "string"
    ],
    "maxDepth": 10,
    "maxDiscoveryDepth": 0,
    "ignoreSitemap": false,
    "ignoreQueryParameters": false,
    "deduplicateSimilarURLs": true,
    "regexOnFullURL": true,
    "allowBackwardLinks": false,
    "allowExternalLinks": false,
    "delay": 0,
    "scrapeOptions": {
        "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"
}
🟠402402
🟠429429
🔴500Server Error
Modified at 2025-07-25 01:11:05
Previous
Get the errors of a batch scrape job
Next
Cancel a crawl job
Built with