curl -X POST https://api.xenarch.dev/v1/agents \
-H "Content-Type: application/json" \
-d '{"wallet_address": "0x1234567890abcdef1234567890abcdef12345678", "name": "my-research-agent"}'
{
"id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
"name": "my-research-agent",
"created_at": "2026-11-17T14:00:00Z"
}
Agents
Register Agent
Register an AI agent by wallet address with an optional name. Optional: agents can pay x402 gates without registering.
POST
/
v1
/
agents
curl -X POST https://api.xenarch.dev/v1/agents \
-H "Content-Type: application/json" \
-d '{"wallet_address": "0x1234567890abcdef1234567890abcdef12345678", "name": "my-research-agent"}'
{
"id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
"name": "my-research-agent",
"created_at": "2026-11-17T14:00:00Z"
}
curl -X POST https://api.xenarch.dev/v1/agents \
-H "Content-Type: application/json" \
-d '{"wallet_address": "0x1234567890abcdef1234567890abcdef12345678", "name": "my-research-agent"}'
{
"id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
"name": "my-research-agent",
"created_at": "2026-11-17T14:00:00Z"
}
Notes
- Registration is optional. Agents can pay without registering.
- Idempotent: registering a wallet again returns the existing profile.
nameis optional, up to 100 characters.- No authentication is required.
- Spend caps and agent API keys are set up separately, in the dashboard or with
xenarch agent login. See Authentication.