curl https://xenarch.dev/v1/gates/domain/example.com
{
"gate_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"price_usd": "<string>",
"splitter": "<string>",
"collector": "<string>",
"network": "<string>",
"verify_url": "<string>",
"expires": "2023-11-07T05:31:56Z",
"xenarch": true,
"asset": "USDC",
"protocol": "x402"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Gates
Get Domain Gate
Get active x402 gate configuration for a domain — returns pay-per-crawl pricing rules, payment gate settings, and publisher access controls.
GET
/
v1
/
gates
/
domain
/
{domain}
curl https://xenarch.dev/v1/gates/domain/example.com
{
"gate_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"price_usd": "<string>",
"splitter": "<string>",
"collector": "<string>",
"network": "<string>",
"verify_url": "<string>",
"expires": "2023-11-07T05:31:56Z",
"xenarch": true,
"asset": "USDC",
"protocol": "x402"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}curl https://xenarch.dev/v1/gates/domain/example.com
Notes
- Public endpoint for agent discovery
- Returns the gate configuration if the domain has active gating
- Alternative to checking via HTTP 402 — useful when agents want to discover pricing without making a request to the publisher’s server
Path Parameters
Response
Successful Response