Self-register a facilitator (no auth needed — by design)
curl --request POST \
--url https://explorer-explorer.up.railway.app/announce \
--header 'Content-Type: application/json' \
--data '
{
"baseUrl": "https://your-facilitator.example.com"
}
'import requests
url = "https://explorer-explorer.up.railway.app/announce"
payload = { "baseUrl": "https://your-facilitator.example.com" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({baseUrl: 'https://your-facilitator.example.com'})
};
fetch('https://explorer-explorer.up.railway.app/announce', 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://explorer-explorer.up.railway.app/announce",
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([
'baseUrl' => 'https://your-facilitator.example.com'
]),
CURLOPT_HTTPHEADER => [
"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://explorer-explorer.up.railway.app/announce"
payload := strings.NewReader("{\n \"baseUrl\": \"https://your-facilitator.example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://explorer-explorer.up.railway.app/announce")
.header("Content-Type", "application/json")
.body("{\n \"baseUrl\": \"https://your-facilitator.example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://explorer-explorer.up.railway.app/announce")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"baseUrl\": \"https://your-facilitator.example.com\"\n}"
response = http.request(request)
puts response.read_body{
"facilitator": {
"id": "x402-org",
"baseUrl": "https://x402.org/facilitator",
"verified": true,
"signers": [
"<string>"
],
"uptoContracts": [
"<string>"
],
"networks": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"displayName": "x402.org",
"lastSeenAt": "2023-11-07T05:31:56Z",
"lastError": "<string>"
}
}{
"code": "explorer_announce_invalid_url",
"reason": "The announced facilitator base URL was refused: it must be an https URL on a publicly routable host.",
"retryable": false
}{
"code": "explorer_announce_unreachable",
"reason": "The announced facilitator did not serve a valid /supported response, so it was not registered.",
"retryable": true
}registry
Self-register a facilitator (no auth needed — by design)
Any x402 facilitator can announce its base URL. The explorer validates the URL (https,
publicly routable), probes GET {baseUrl}/supported ITSELF, and registers only what it
verified: the signer set and any advertised upto contract. From then on the facilitator’s
settlements are attributed to it and its /supported is re-polled automatically. An
announcement is a lead, never a fact — nothing posted here can inflate a facilitator’s
standing, which is why the endpoint needs no authentication.
Facilitators running the Rail402 codebase announce automatically when
FACILITATOR_PUBLIC_URL is set (default-on heartbeat).
POST
/
announce
Self-register a facilitator (no auth needed — by design)
curl --request POST \
--url https://explorer-explorer.up.railway.app/announce \
--header 'Content-Type: application/json' \
--data '
{
"baseUrl": "https://your-facilitator.example.com"
}
'import requests
url = "https://explorer-explorer.up.railway.app/announce"
payload = { "baseUrl": "https://your-facilitator.example.com" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({baseUrl: 'https://your-facilitator.example.com'})
};
fetch('https://explorer-explorer.up.railway.app/announce', 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://explorer-explorer.up.railway.app/announce",
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([
'baseUrl' => 'https://your-facilitator.example.com'
]),
CURLOPT_HTTPHEADER => [
"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://explorer-explorer.up.railway.app/announce"
payload := strings.NewReader("{\n \"baseUrl\": \"https://your-facilitator.example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://explorer-explorer.up.railway.app/announce")
.header("Content-Type", "application/json")
.body("{\n \"baseUrl\": \"https://your-facilitator.example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://explorer-explorer.up.railway.app/announce")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"baseUrl\": \"https://your-facilitator.example.com\"\n}"
response = http.request(request)
puts response.read_body{
"facilitator": {
"id": "x402-org",
"baseUrl": "https://x402.org/facilitator",
"verified": true,
"signers": [
"<string>"
],
"uptoContracts": [
"<string>"
],
"networks": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"displayName": "x402.org",
"lastSeenAt": "2023-11-07T05:31:56Z",
"lastError": "<string>"
}
}{
"code": "explorer_announce_invalid_url",
"reason": "The announced facilitator base URL was refused: it must be an https URL on a publicly routable host.",
"retryable": false
}{
"code": "explorer_announce_unreachable",
"reason": "The announced facilitator did not serve a valid /supported response, so it was not registered.",
"retryable": true
}⌘I