cURL
curl -X POST https://api.scrapio.dev/v1/map \
-H "Authorization: Bearer $SCRAPIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"seeds":["https://example.com"],"include_metadata":true}'import requests
url = "https://api.scrapio.dev/v1/map"
payload = {
"seeds": ["https://example.com"],
"include_metadata": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({seeds: ['https://example.com'], include_metadata: true})
};
fetch('https://api.scrapio.dev/v1/map', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scrapio.dev/v1/map",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'seeds' => [
'https://example.com'
],
'include_metadata' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.scrapio.dev/v1/map"
payload := strings.NewReader("{\n \"seeds\": [\n \"https://example.com\"\n ],\n \"include_metadata\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.scrapio.dev/v1/map")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"seeds\": [\n \"https://example.com\"\n ],\n \"include_metadata\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapio.dev/v1/map")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"seeds\": [\n \"https://example.com\"\n ],\n \"include_metadata\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "0cf982f8-99c8-4641-9d12-b0d7191bf782",
"request_id": "0cf982f8-99c8-4641-9d12-b0d7191bf782",
"kind": "map",
"mode": "inline",
"status": "completed",
"steps": [
{
"step_id": "step_map_discover",
"type": "map_discover",
"status": "completed",
"started_at": "2026-07-17T14:27:49.333Z",
"completed_at": "2026-07-17T14:27:49.392Z"
}
],
"result": {
"seeds": [
"https://example.com"
],
"urls": [
{
"url": "https://example.com/",
"depth": 0,
"discovered_from": null,
"metadata": {
"title": "Example Domain"
}
}
],
"summary": {
"urls_discovered": 2,
"urls_returned": 1,
"urls_skipped": 1,
"frontier_exhausted": true
}
},
"diagnostics": {
"step_errors": []
}
}{
"request_id": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
},
"diagnostics": {
"outcome": "failed",
"retryable": true,
"blocked": true,
"timed_out": true
}
}{
"request_id": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
},
"diagnostics": {
"outcome": "failed",
"retryable": true,
"blocked": true,
"timed_out": true
}
}{
"request_id": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
},
"diagnostics": {
"outcome": "failed",
"retryable": true,
"blocked": true,
"timed_out": true
}
}API Reference
Map
Discover URLs reachable from one or more seed URLs, without fetching each page’s full content.
POST
/
v1
/
map
cURL
curl -X POST https://api.scrapio.dev/v1/map \
-H "Authorization: Bearer $SCRAPIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"seeds":["https://example.com"],"include_metadata":true}'import requests
url = "https://api.scrapio.dev/v1/map"
payload = {
"seeds": ["https://example.com"],
"include_metadata": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({seeds: ['https://example.com'], include_metadata: true})
};
fetch('https://api.scrapio.dev/v1/map', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scrapio.dev/v1/map",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'seeds' => [
'https://example.com'
],
'include_metadata' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.scrapio.dev/v1/map"
payload := strings.NewReader("{\n \"seeds\": [\n \"https://example.com\"\n ],\n \"include_metadata\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.scrapio.dev/v1/map")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"seeds\": [\n \"https://example.com\"\n ],\n \"include_metadata\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapio.dev/v1/map")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"seeds\": [\n \"https://example.com\"\n ],\n \"include_metadata\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "0cf982f8-99c8-4641-9d12-b0d7191bf782",
"request_id": "0cf982f8-99c8-4641-9d12-b0d7191bf782",
"kind": "map",
"mode": "inline",
"status": "completed",
"steps": [
{
"step_id": "step_map_discover",
"type": "map_discover",
"status": "completed",
"started_at": "2026-07-17T14:27:49.333Z",
"completed_at": "2026-07-17T14:27:49.392Z"
}
],
"result": {
"seeds": [
"https://example.com"
],
"urls": [
{
"url": "https://example.com/",
"depth": 0,
"discovered_from": null,
"metadata": {
"title": "Example Domain"
}
}
],
"summary": {
"urls_discovered": 2,
"urls_returned": 1,
"urls_skipped": 1,
"frontier_exhausted": true
}
},
"diagnostics": {
"step_errors": []
}
}{
"request_id": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
},
"diagnostics": {
"outcome": "failed",
"retryable": true,
"blocked": true,
"timed_out": true
}
}{
"request_id": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
},
"diagnostics": {
"outcome": "failed",
"retryable": true,
"blocked": true,
"timed_out": true
}
}{
"request_id": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
},
"diagnostics": {
"outcome": "failed",
"retryable": true,
"blocked": true,
"timed_out": true
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Starting URLs to map from
Minimum array length:
1Cap on total URLs returned
Required range:
x <= 100Max link depth from seeds
Required range:
0 <= x <= 5Restrict mapping to seed domains
Include page metadata in results
Max mapping duration, in ms
Required range:
x <= 300000Skip the cheap direct/stealth tiers and go straight to the strongest (proxy) access tier for every URL mapped. Requires a paid plan.
Response
Map completed inline.
Common envelope every workflow endpoint (crawl, map, interact, search) returns: request/step metadata plus a kind-specific result.
Available options:
crawl, map, interact, search Available options:
inline Available options:
completed, partial, failed Kind-specific payload -- see the endpoint's example.
⌘I