Skip to content

GET /v1/agent/me

Bearer self-service. Poll after signup or refill until spendable credit clears. Returns wallet, balances, price ceiling, and confirmation depth for the calling key.

Bearer pzero_… required. Session cookies are rejected (401).

Request

bash
curl "https://api.pzero.studio/v1/agent/me" \
  -H "Authorization: Bearer pzero_..."

When to poll

After POST /v1/x402/signup or POST /v1/x402/refill, poll until confirmedUsdc covers your first request. Pending credit does not fund inference. topUpConfirmationBlocks is the configured block count; signup/refill responses name the same value confirmationBlocks.

Response fields

FieldMeaning
walletAddressAccount wallet (normalized)
accountIdaccounts.id UUID
keyPrefixPrefix of the calling key
confirmedUsdcSpendable balance (six-decimal string)
pendingUsdcTop-ups still confirming
maxPriceCentsPerDollarClearing ceiling (30–80; new accounts default to 49)
topUpConfirmationBlocksBlocks before pending becomes confirmed

Only confirmedUsdc funds inference. Pending credit does not.

Next

PZERO Your AI Studio. Top up. Do your thing. Repeat.