Map a site
curl --request POST \
--url https://api.beecrawl.dev/map \
--header 'Content-Type: application/json' \
--header 'X-Web-Extract-Api-Key: <api-key>' \
--data '
{
"url": "<string>",
"search": "<string>",
"limit": 100,
"includeSubdomains": false,
"sitemap": "include",
"ignore_sitemap": false,
"ignoreQueryParameters": true
}
'import requests
url = "https://api.beecrawl.dev/map"
payload = {
"url": "<string>",
"search": "<string>",
"limit": 100,
"includeSubdomains": False,
"sitemap": "include",
"ignore_sitemap": False,
"ignoreQueryParameters": True
}
headers = {
"X-Web-Extract-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Web-Extract-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: '<string>',
search: '<string>',
limit: 100,
includeSubdomains: false,
sitemap: 'include',
ignore_sitemap: false,
ignoreQueryParameters: true
})
};
fetch('https://api.beecrawl.dev/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.beecrawl.dev/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([
'url' => '<string>',
'search' => '<string>',
'limit' => 100,
'includeSubdomains' => false,
'sitemap' => 'include',
'ignore_sitemap' => false,
'ignoreQueryParameters' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Web-Extract-Api-Key: <api-key>"
],
]);
$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.beecrawl.dev/map"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"search\": \"<string>\",\n \"limit\": 100,\n \"includeSubdomains\": false,\n \"sitemap\": \"include\",\n \"ignore_sitemap\": false,\n \"ignoreQueryParameters\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Web-Extract-Api-Key", "<api-key>")
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.beecrawl.dev/map")
.header("X-Web-Extract-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"search\": \"<string>\",\n \"limit\": 100,\n \"includeSubdomains\": false,\n \"sitemap\": \"include\",\n \"ignore_sitemap\": false,\n \"ignoreQueryParameters\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beecrawl.dev/map")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Web-Extract-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\",\n \"search\": \"<string>\",\n \"limit\": 100,\n \"includeSubdomains\": false,\n \"sitemap\": \"include\",\n \"ignore_sitemap\": false,\n \"ignoreQueryParameters\": true\n}"
response = http.request(request)
puts response.read_body{
"request_id": "<string>",
"url": "<string>",
"links": [
"<string>"
],
"metadata": {
"provider": "<string>",
"count": 123,
"elapsed_ms": 123
}
}{}Discovery
Map a site
POST
/
map
Map a site
curl --request POST \
--url https://api.beecrawl.dev/map \
--header 'Content-Type: application/json' \
--header 'X-Web-Extract-Api-Key: <api-key>' \
--data '
{
"url": "<string>",
"search": "<string>",
"limit": 100,
"includeSubdomains": false,
"sitemap": "include",
"ignore_sitemap": false,
"ignoreQueryParameters": true
}
'import requests
url = "https://api.beecrawl.dev/map"
payload = {
"url": "<string>",
"search": "<string>",
"limit": 100,
"includeSubdomains": False,
"sitemap": "include",
"ignore_sitemap": False,
"ignoreQueryParameters": True
}
headers = {
"X-Web-Extract-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Web-Extract-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: '<string>',
search: '<string>',
limit: 100,
includeSubdomains: false,
sitemap: 'include',
ignore_sitemap: false,
ignoreQueryParameters: true
})
};
fetch('https://api.beecrawl.dev/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.beecrawl.dev/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([
'url' => '<string>',
'search' => '<string>',
'limit' => 100,
'includeSubdomains' => false,
'sitemap' => 'include',
'ignore_sitemap' => false,
'ignoreQueryParameters' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Web-Extract-Api-Key: <api-key>"
],
]);
$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.beecrawl.dev/map"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"search\": \"<string>\",\n \"limit\": 100,\n \"includeSubdomains\": false,\n \"sitemap\": \"include\",\n \"ignore_sitemap\": false,\n \"ignoreQueryParameters\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Web-Extract-Api-Key", "<api-key>")
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.beecrawl.dev/map")
.header("X-Web-Extract-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"search\": \"<string>\",\n \"limit\": 100,\n \"includeSubdomains\": false,\n \"sitemap\": \"include\",\n \"ignore_sitemap\": false,\n \"ignoreQueryParameters\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beecrawl.dev/map")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Web-Extract-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\",\n \"search\": \"<string>\",\n \"limit\": 100,\n \"includeSubdomains\": false,\n \"sitemap\": \"include\",\n \"ignore_sitemap\": false,\n \"ignoreQueryParameters\": true\n}"
response = http.request(request)
puts response.read_body{
"request_id": "<string>",
"url": "<string>",
"links": [
"<string>"
],
"metadata": {
"provider": "<string>",
"count": 123,
"elapsed_ms": 123
}
}{}Authorizations
API key. X-Api-Key and Bearer authentication are also accepted.
Body
application/json
⌘I