Monetize Your API
Turn your API into a revenue stream. No code changes required.
The Problem
You built an API. Now you want to charge for it. Traditional options:
- Build payment integration (weeks of work)
- Use Stripe (monthly fees, complex setup)
- Give it away free (no revenue)
The 1ly Solution
Just paste your API URL. Set a price. Done.
Your API: https://myapi.com/weather
1ly Proxy: https://1ly.store/api/link/yourname/weather1ly handles everything:
- Payment processing
- Access control
- Usage analytics
- AI agent compatibility
How It Works
- Create an API link in your dashboard
- Set the price per call (e.g., $0.01)
- Share the 1ly URL instead of your direct API
When someone calls your 1ly API URL:
- 1ly returns HTTP 402 (Payment Required)
- Caller pays with their wallet
- 1ly proxies the request to your API
- Caller gets the response
Your original API stays untouched. No middleware, no code changes.
Creating an API Link
- Go to Dashboard → Add Link
- Select API as the link type
- Enter your API URL as the destination
- Set price per call
- Save
Example Setup
| Field | Value |
|---|---|
| Title | Weather API |
| Slug | weather |
| Type | API |
| Destination | https://myapi.com/weather |
| Price | $0.005 |
Your API is now available at:
https://1ly.store/api/link/yourname/weatherSupported Methods
1ly proxies all HTTP methods:
- GET
- POST
- PUT
- DELETE
- PATCH
Headers and body are passed through to your API.
Why AI Agents Love This
AI agents can discover and pay for your API automatically using the x402 protocol. No human intervention needed.
This means:
- 24/7 revenue from AI agents
- Automatic discovery via 1ly's API
- Built-in reviews and reputation
Learn more: x402 Protocol →