Execute an API endpoint (GET)
curl --request GET \
--url https://api.parse.bot/scraper/{scraper_id}/{endpoint_name} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}', 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.parse.bot/scraper/{scraper_id}/{endpoint_name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-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"
"net/http"
"io"
)
func main() {
url := "https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"title": "A Light in the Attic",
"price": 51.77,
"rating": 3
}{
"error": {
"status": "stale_input",
"kind": "input_format_invalid",
"message": "trip_type must be 'one_way' or 'round_trip'"
},
"status_code": 422
}{
"error": {
"error": "Rate limit exceeded",
"message": "Too many requests in a short burst. Retry in 5s.",
"limit_type": "burst",
"retry_after": 5
},
"status_code": 429
}{
"error": {
"status": "error",
"kind": "scraper_bug",
"message": "The scraper crashed during execution. This could be due to bad input, broken scraper code, or a website update."
},
"status_code": 500
}{
"error": {
"status": "upstream_error",
"upstream_status_code": 404,
"message": "The target site returned HTTP 404. See `snippet` for the upstream response body.",
"snippet": "<html>Product not found</html>",
"url": "https://example.com/products/invalid-sku"
},
"status_code": 502
}{
"error": {
"status": "blocked",
"block_type": "datadome",
"vendor": "datadome",
"kind": "antibot_solvable",
"attempts": 3,
"retry_after": 60,
"message": "Service temporarily unavailable - site protection blocking all proxies"
},
"status_code": 503
}Execute
Execute an API endpoint (GET)
Call a generated API endpoint using query parameters. Use GET when the endpoint spec defines GET as the method. Parameters are passed as query strings and auto-coerced to the correct types.
GET
/
scraper
/
{scraper_id}
/
{endpoint_name}
Execute an API endpoint (GET)
curl --request GET \
--url https://api.parse.bot/scraper/{scraper_id}/{endpoint_name} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}', 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.parse.bot/scraper/{scraper_id}/{endpoint_name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-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"
"net/http"
"io"
)
func main() {
url := "https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parse.bot/scraper/{scraper_id}/{endpoint_name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"title": "A Light in the Attic",
"price": 51.77,
"rating": 3
}{
"error": {
"status": "stale_input",
"kind": "input_format_invalid",
"message": "trip_type must be 'one_way' or 'round_trip'"
},
"status_code": 422
}{
"error": {
"error": "Rate limit exceeded",
"message": "Too many requests in a short burst. Retry in 5s.",
"limit_type": "burst",
"retry_after": 5
},
"status_code": 429
}{
"error": {
"status": "error",
"kind": "scraper_bug",
"message": "The scraper crashed during execution. This could be due to bad input, broken scraper code, or a website update."
},
"status_code": 500
}{
"error": {
"status": "upstream_error",
"upstream_status_code": 404,
"message": "The target site returned HTTP 404. See `snippet` for the upstream response body.",
"snippet": "<html>Product not found</html>",
"url": "https://example.com/products/invalid-sku"
},
"status_code": 502
}{
"error": {
"status": "blocked",
"block_type": "datadome",
"vendor": "datadome",
"kind": "antibot_solvable",
"attempts": 3,
"retry_after": 60,
"message": "Service temporarily unavailable - site protection blocking all proxies"
},
"status_code": 503
}Authorizations
API key for programmatic access. Create one in the Parse dashboard at https://parse.bot (Settings → API Keys). Keys start with 'pmx_'.
Response
Success — the endpoint's own JSON (shape defined by its return_schema).
On success (HTTP 200) the body is the endpoint's own JSON — the shape described by its return_schema — not a fixed wrapper. This generic schema documents the fallback fields present when output can't be parsed. See the ExecutionError schema for non-2xx responses.
Was this page helpful?