curl --request POST \
--url https://api.parse.bot/dispatch \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"url": "<string>",
"task": "<string>",
"contributes_to_marketplace": true,
"allow_auth": false,
"workspace": false
}
'import requests
url = "https://api.parse.bot/dispatch"
payload = {
"url": "<string>",
"task": "<string>",
"contributes_to_marketplace": True,
"allow_auth": False,
"workspace": False
}
headers = {
"X-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-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: '<string>',
task: '<string>',
contributes_to_marketplace: true,
allow_auth: false,
workspace: false
})
};
fetch('https://api.parse.bot/dispatch', 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/dispatch",
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>',
'task' => '<string>',
'contributes_to_marketplace' => true,
'allow_auth' => false,
'workspace' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.parse.bot/dispatch"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"task\": \"<string>\",\n \"contributes_to_marketplace\": true,\n \"allow_auth\": false,\n \"workspace\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-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.parse.bot/dispatch")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"task\": \"<string>\",\n \"contributes_to_marketplace\": true,\n \"allow_auth\": false,\n \"workspace\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parse.bot/dispatch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\",\n \"task\": \"<string>\",\n \"contributes_to_marketplace\": true,\n \"allow_auth\": false,\n \"workspace\": false\n}"
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"matched": true,
"test_inputs": "<array>",
"may_require_auth": false
}Create a new API from a URL
Submit a website URL to generate an API. If a matching API already exists, returns it instantly. Otherwise, queues a job to build one. Optionally describe the data you need in the task field.
curl --request POST \
--url https://api.parse.bot/dispatch \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"url": "<string>",
"task": "<string>",
"contributes_to_marketplace": true,
"allow_auth": false,
"workspace": false
}
'import requests
url = "https://api.parse.bot/dispatch"
payload = {
"url": "<string>",
"task": "<string>",
"contributes_to_marketplace": True,
"allow_auth": False,
"workspace": False
}
headers = {
"X-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-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: '<string>',
task: '<string>',
contributes_to_marketplace: true,
allow_auth: false,
workspace: false
})
};
fetch('https://api.parse.bot/dispatch', 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/dispatch",
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>',
'task' => '<string>',
'contributes_to_marketplace' => true,
'allow_auth' => false,
'workspace' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.parse.bot/dispatch"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"task\": \"<string>\",\n \"contributes_to_marketplace\": true,\n \"allow_auth\": false,\n \"workspace\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-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.parse.bot/dispatch")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"task\": \"<string>\",\n \"contributes_to_marketplace\": true,\n \"allow_auth\": false,\n \"workspace\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parse.bot/dispatch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\",\n \"task\": \"<string>\",\n \"contributes_to_marketplace\": true,\n \"allow_auth\": false,\n \"workspace\": false\n}"
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"matched": true,
"test_inputs": "<array>",
"may_require_auth": false
}Authorizations
API key for programmatic access. Create one in the Parse dashboard at https://parse.bot (Settings → API Keys). Keys start with 'pmx_'.
Body
Whether this API contributes to the shared marketplace canonical for its domain. TRUE (default) = your revisions feed back into the canonical, you can merge upstream improvements, and the build is free. FALSE = the API is fully desynced from the canonical and the build is charged. This is a permanent, per-API choice and cannot be toggled later. (The old force_new field has been removed — sending it now returns a 400.)
Permit this build to proceed when the site requires a login. Programmatic (API key / MCP) callers must opt in: an authenticated build pauses at status=needs_input waiting for credentials, consumes a per-domain auth session, and runs as a private build. Requires a paid plan and a one-time disclaimer acceptance in the Parse dashboard. Setting this does NOT assert the site needs auth — that verdict stays server-side.
Response
Task created or matched
Was this page helpful?