curl -X POST https://xenarch.dev/v1/publishers \
-H "Content-Type: application/json" \
-d '{"email": "publisher@example.com", "password": "secure_password"}'
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"api_key": "xk_pub_abc123..."
}
Publishers
Register Publisher
Create a new Xenarch publisher account — the entry point for charging AI bots with x402 USDC micropayments and setting pay-per-crawl pricing.
POST
/
v1
/
publishers
curl -X POST https://xenarch.dev/v1/publishers \
-H "Content-Type: application/json" \
-d '{"email": "publisher@example.com", "password": "secure_password"}'
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"api_key": "xk_pub_abc123..."
}
curl -X POST https://xenarch.dev/v1/publishers \
-H "Content-Type: application/json" \
-d '{"email": "publisher@example.com", "password": "secure_password"}'
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"api_key": "xk_pub_abc123..."
}
Notes
- Save the
api_key— it is returned once and stored as a SHA-256 hash. It cannot be retrieved later. - Rate limited: 5 requests/min per IP
- Email does not require verification to use the API (verification is optional)