Quick Start
Get your first paid API endpoint running with Dunmore in 5 minutes.
Get your first paid API endpoint running in 5 minutes.
Prerequisites
- A Dunmore account (join the waitlist)
- An existing API you want to monetize
- A wallet address to receive payments (any EVM wallet on Base)
Step 1: Create a Project
Once you have access, log into the Dunmore Console and create a new project. Give it a name and your wallet address.
Step 2: Register an Endpoint
Add your API endpoint with a path, upstream URL, and price per request in USDC.
curl -X POST https://api.dunmore.xyz/api/projects/proj_abc/endpoints \
-H "Authorization: Bearer gf_live_..." \
-d '{ "path": "/weather", "upstreamUrl": "https://api.example.com/weather", "priceUsd": "0.01" }'
Step 3: Share Your Gateway URL
Your API is now available at https://gateway.dunmore.xyz/{project-slug}/weather. Clients pay per request via the x402 protocol.
Step 4: Set Up Notifications
Add a webhook or Slack connector to get notified when payments come in.
Next Steps
- Concepts — Understand x402 and the event system
- Gateway Guide — Deep dive into the payment proxy
- API Reference — Full REST API docs