- User
- Scraping Browser
- Scraping API
- shopee
- br sites
- amazon
- google search
- google trends
- google flights
- google flights chart
- google maps
- google scholar
- google jobs
- google shopping
- google hotels
- google news
- google lens
- google finance
- google product
- google play store
- google ads
- Scraper RequestPOST
- Scraper GetResultGET
- Universal Scraping API
- Crawler
- Scrape
- Crawl
- Public
Scrape a single URL
POST
/api/v1/crawler/scrape
Scraping
Last modified:2025-06-04 10:04:20
Request
Authorization
Add parameter in header
x-api-token
Example:
x-api-token: ********************
Body Params application/json
url
string <uri>
required
formats
array[string]
optional
Allowed values:
markdownhtmlrawHtmllinksscreenshotscreenshot@fullPagejson
Default:
markdown
onlyMainContent
boolean
optional
Default:
true
includeTags
array[string]
optional
excludeTags
array[string]
optional
headers
object
optional
waitFor
integer
optional
Default:
0
timeout
integer
optional
Default:
30000
browserOptions
object
BrowserOptions
session_name
string
optional
session_ttl
string
optional
session_recording
string
optional
proxy_country
string
optional
proxy_url
string
optional
fingerprint
string
optional
Example
{
"url": "http://example.com",
"formats": [
"markdown"
],
"onlyMainContent": true,
"includeTags": [
"string"
],
"excludeTags": [
"string"
],
"headers": {},
"waitFor": 0,
"timeout": 30000,
"browserOptions": {
"session_name": "string",
"session_ttl": "string",
"session_recording": "string",
"proxy_country": "string",
"proxy_url": "string",
"fingerprint": "string"
}
}
Request 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/v1/crawler/scrape' \
--header 'Content-Type: application/json' \
--header 'x-api-token;' \
--data-raw '{
"url": "http://example.com",
"formats": [
"markdown"
],
"onlyMainContent": true,
"includeTags": [
"string"
],
"excludeTags": [
"string"
],
"headers": {},
"waitFor": 0,
"timeout": 30000,
"browserOptions": {
"session_name": "string",
"session_ttl": "string",
"session_recording": "string",
"proxy_country": "string",
"proxy_url": "string",
"fingerprint": "string"
}
}'
Responses
🟢200OK
application/json
Body
success
boolean
optional
id
string
optional
Example
{
"success": true,
"id": "string"
}
🟠402402
🟠429429
🔴500Server Error