Monetize Your API
Turn your API into a revenue stream. No code changes required.
How It Works
Just paste your API URL. Set a price. Done.
Your API: https://myapi.com/weather
1ly Proxy: https://1ly.store/api/link/yourname/weatherWhen someone calls your 1ly URL:
- 1ly returns HTTP 402 (Payment Required)
- Caller pays with their wallet (USDC or $1LY)
- 1ly proxies the request to your API
- Caller gets the response
Your API is automatically listed on the 1ly marketplace, discoverable by both humans and AI agents. Buyers can pay in USDC (Base/Solana) or $1LY (Solana), and you get instant settlement with built-in analytics and buyer protection through health monitoring.
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.
AI Agent Access
AI agents can discover and pay for your API automatically using the x402 protocol. This means 24/7 revenue from autonomous agents with no human intervention. Agents find your API on the marketplace, pay per call, and access it programmatically.
Learn more: x402 Protocol →