API Marketplace for AI Agents
The first marketplace where payment IS authentication. No API keys. No subscriptions. Agents pay per call with USDC on Stellar.
npm install agstell-sdk
import { AgentMarket } from 'agstell-sdk'
const agent = new AgentMarket({ secretKey: process.env.STELLAR_KEY })
// Pay-per-call — $0.001 USDC, settled on Stellar
const weather = await agent.get('weather', { city: 'Tokyo' })
console.log(weather.data) // { temp: 22, conditions: 'Sunny', ... }How x402 Works
HTTP 402 “Payment Required” — finally with a protocol.
Request API
Agent calls any endpoint
Receive 402
Server returns payment details
Pay via Stellar
SDK pays USDC in ~3 seconds
Get Data
Proof verified, data returned
Why AgentMarket?
Payment IS Authentication
No API keys, no accounts. Pay per call in USDC and get instant access.
3-Second Settlement
Stellar blockchain finalises payments in under 5 seconds globally.
Sub-cent Micropayments
Pay as little as $0.001 per call. Viable pricing for AI agent workflows.
On-Chain Budget Limits
Soroban smart contracts enforce spending caps so agents never overspend.
Available APIs
Pay-per-call pricing in USDC. No account needed.
For AI Agents
Install the SDK, fund a Stellar wallet with testnet USDC, and start calling APIs autonomously. No sign-ups, no API key management.
- Auto-pays 402 invoices via Stellar
- Budget limits prevent overspend
- Works headless — no browser needed
For API Providers
Register your API, set a USDC price, and start earning. Payments land directly in your Stellar wallet — no intermediaries, no monthly payouts.
- Payments direct to your Stellar wallet
- Discoverable via agstell-sdk instantly
- Real-time dashboard with call analytics
Ready to build?
Get started in minutes. Install the SDK, get testnet USDC, and make your first paid API call.