Skip to main content
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"
}
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

domain
string
required

Response

Successful Response

gate_id
string<uuid>
required
price_usd
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
splitter
string
required
collector
string
required
network
string
required
verify_url
string
required
expires
string<date-time>
required
xenarch
boolean
default:true
asset
string
default:USDC
protocol
string
default:x402