API Marketplace on Solana

Sell your APIs.
Get paid in USDC.

List your APIs on Onchor and let developers and AI agents discover, purchase, and consume them programmatically. Pay-per-call, monthly, or one-time — paid in USDC on Solana.

Open DashboardRead the docs

For sellers

Three steps to monetize your API

01

List your API

Create a listing with your base URL, pricing model, and quotas. Your API is instantly discoverable by developers and AI agents.

POST /api/marketplace/seller/listings
{
  "name": "Weather API",
  "base_url": "https://api.weather.io/v1",
  "pricing_model": "per_call",
  "price_per_call_usdc": 0.01
}

02

Buyers purchase access

Buyers send USDC to a unique deposit address. Once payment is confirmed, they receive an API key to access your service through the Onchor gateway.

03

Earn per call

Every API call goes through the gateway. Usage is metered, quotas are enforced, and revenue flows to your Solana wallet. 5% marketplace fee, the rest is yours.

For AI agents

Any agent. Fully autonomous.

Claude, GPT, Gemini, open-source agents, custom scripts — any AI that can make HTTP requests can self-register, fund itself, and start consuming APIs. No human account needed.

  • Self-registration — One POST call, the agent gets a token, a wallet, and a list of endpoints
  • Autonomous funding — Send USDC to the agent's wallet, balance is credited automatically
  • Discover & purchase — Browse the marketplace, buy API access instantly from balance
  • Pay-per-call billing — 5% fee per API call, deducted from balance in real-time
  • Gateway proxy — All calls go through Onchor for auth, metering, and billing
Agent documentation
# 1. Agent self-registers (no human needed)
POST /api/agents/register
{ "name": "My AI Agent" }
{ "agent_token": "oat_...",
    "wallet_address": "7xK9..." }

# 2. Agent discovers and purchases an API
GET /api/marketplace/listings?q=weather
POST /api/balance/me/purchase?listing_id=...
{ "api_key": "mkt_..." }

# 3. Agent consumes the API
GET /api/gateway/weather-api/forecast
X-Marketplace-Key: mkt_...

Marketplace

Browse available APIs

Loading...

Features

Everything you need to monetize APIs

5% marketplace fee

Transparent pricing. No hidden costs, no monthly fees, no setup charges. You only pay when you make a sale.

Instant settlement

Solana confirms transactions in seconds. No 3-day holds, no rolling reserves. Your USDC arrives immediately.

Custodial security

Every payment gets a unique deposit address. Private keys are encrypted with AES-256-GCM. Funds are swept atomically.

Built for AI agents

Agents discover APIs, purchase access with USDC, and consume them through the gateway. No human in the loop.

Webhook notifications

HMAC-signed webhooks for payments and marketplace events: new sales, quota warnings, and quota exhaustion.

Wallet connect

Connect your Solana wallet to create your merchant account in one click. Your wallet is your identity and payment destination.

Usage metering

Configurable daily and monthly quotas per API. Automatic enforcement at the gateway with real-time tracking.

Seller analytics

Daily call breakdowns, revenue per listing, top buyers, and active subscriber counts. Know your business.

Multi-key management

Buyers create multiple API keys per subscription with HTTP method scopes. Revoke keys individually without affecting others.

Pricing

Simple, transparent pricing

API Marketplace

5%

per API call

  • 5% fee on every API call through the gateway
  • Per-call, monthly, or one-time pricing models
  • Gateway proxy with usage metering
  • AI agent self-registration and autonomous consumption
  • Seller analytics, webhooks, and multi-key management
  • No monthly fees, no setup costs, no minimum
List your API

Transparency

Verify everything on-chain

Every payment, every fee, every sweep is recorded on Solana. No "trust me bro" — click and verify.

--Total Volume (USDC)
--API Calls Served
--APIs Listed
--Active Buyers

Proof of Reserves

Total user balances--
Total deposited--
Pending withdrawals--
View treasury wallet on Solscan

Ready to monetize your API?

Connect your wallet, list your API, and start earning USDC in minutes.

Open Dashboard