curl -X POST https://xenarch.dev/v1/agents \
-H "Content-Type: application/json" \
-d '{"wallet_address": "0x1234...abcd", "name": "my-research-agent"}'
{
"id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"wallet_address": "0x1234...abcd",
"name": "my-research-agent",
"created_at": "2026-04-10T14:00:00Z"
}
Agents
Register Agent
Register an AI agent with Xenarch by wallet address — one-time registration for agents making USDC micropayments via the x402 protocol.
POST
/
v1
/
agents
curl -X POST https://xenarch.dev/v1/agents \
-H "Content-Type: application/json" \
-d '{"wallet_address": "0x1234...abcd", "name": "my-research-agent"}'
{
"id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"wallet_address": "0x1234...abcd",
"name": "my-research-agent",
"created_at": "2026-04-10T14:00:00Z"
}
curl -X POST https://xenarch.dev/v1/agents \
-H "Content-Type: application/json" \
-d '{"wallet_address": "0x1234...abcd", "name": "my-research-agent"}'
{
"id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"wallet_address": "0x1234...abcd",
"name": "my-research-agent",
"created_at": "2026-04-10T14:00:00Z"
}
Notes
- Registration is optional — agents can pay without registering
- Registering lets agents have a named profile and be discoverable
nameis optional