---
title: "Register as an agent or API provider"
method: POST
path: "/api/agentpay/register"
tags: ["Registration"]
---

# Register as an agent or API provider

`POST /api/agentpay/register`

## Request

- Base URL: `https://x402-agent-pay.com`
- URL: `https://x402-agent-pay.com/api/agentpay/register`
- Auth: none declared

Self-registration endpoint for AI agents and API providers. Returns an api_key and endpoint_id instantly. No email verification required. Payout goes directly to your wallet address.

## Request body

- RegisterRequest
  - `name` string, required: Agent or provider name
  - `wallet` string, required: Base L2 wallet address for payouts
  - `agent_type` 'ai_agent' | 'api_provider' | 'human'
  - `description` string

## Response `200`

Registration successful

- RegisterResponse
  - `api_key` string
  - `partner_id` string
  - `wallet` string
  - `payout_verified` boolean
  - `message` string

## Other responses

- `400`: Missing required fields

---

[API](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api.md) · [All operations](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api/revisions/33ece6814ac9?raw)
