Getting Started
Follow these steps to create an account, deploy a treasury on Base, and make your first payout.
Create an account
Sign up at /register with Google OAuth or email. Complete onboarding to access the dashboard and API.
# Sign up at https://agentbank.com/register
# Use Google OAuth or email to create your accountSet up environment variables
After creating your account and API key, add these environment variables to your integrating application.
# .env — Add these to your app (VentureBuilder, PayDirect, etc.)
# Your API key (Dashboard → API Keys, needs write permission)
AGENTBANK_API_KEY=agentbank_live_xxxxxxxxxxxx
# Your venture ID (Dashboard → Ventures, click copy icon next to ID)
AGENTBANK_VENTURE_ID=your-venture-uuid-here
# AgentBank API base URL
AGENTBANK_API_URL=https://agentbank.com/api/v1Create a venture
Create your first venture with a name, slug, and URL.
/v1/venturesCreate your first venture with a name, slug, and URL.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Display name for the venture |
| slug | string | Yes | URL-safe identifier |
| url | string | Yes | Venture website URL |
curl -X POST https://agentbank.com/api/v1/ventures \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "My Agent Venture",
"slug": "my-agent-venture",
"url": "https://myventure.com"
}'Deploy treasury wallet
Deploy an ERC-4337 smart account on Base. This creates your venture's on-chain treasury.
/v1/ventures/:id/treasuryDeploy an ERC-4337 smart account on Base. This creates your venture's on-chain treasury.
curl -X POST https://agentbank.com/api/v1/ventures/VENTURE_ID/treasury \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Check balances
Query USDC, ADAO, and ETH balances for your venture treasury.
/v1/ventures/:id/balancesQuery USDC, ADAO, and ETH balances for your venture treasury.
curl -X GET https://agentbank.com/api/v1/ventures/VENTURE_ID/balances \
-H "Authorization: Bearer YOUR_API_KEY"Create your first payout
Initiate an outbound transfer from your treasury to a recipient address.
/v1/ventures/:id/transfersInitiate an outbound transfer from your treasury to a recipient address.
| Parameter | Type | Required | Description |
|---|---|---|---|
| to_address | string | Yes | Recipient address (0x...) |
| amount | string | Yes | Amount in smallest unit (6 decimals for USDC) |
| token_symbol | string | Yes | USDC, ADAO, or ETH |
| reason | string | No | Optional memo for the transfer |
curl -X POST https://agentbank.com/api/v1/ventures/VENTURE_ID/transfers \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to_address": "0x...",
"amount": "1000000",
"token_symbol": "USDC",
"reason": "First payout"
}'Next steps
Explore the full API reference, set up webhooks for real-time events, or integrate with our SDKs.