REST API Marketplace Demo

Call a real REST API through the Sertone marketplace. See a live request and response with real latency and automatic payment.

Live Demo — This demo runs on a testnet using test USDC. When you install your own Sertone, it connects to the production blockchain with real USDC.

How It Works

Your Browser Consumer HTTPS Your Sertone Consumer's P2P Encrypted Owner's Sertone API Owner localhost Mock REST API SSE Ticker JSON Response + Latency Blockchain USDC Payment

Data flow: Your browser → your Sertone → encrypted direct connection → owner's Sertone → REST API → JSON response returned via same path. Payment automatic.

What is the Sertone control center? A single Docker container you run on your own machine — a laptop, a Raspberry Pi, a cloud server. It connects you to the Sertone Global Network. Through its built-in web console, you browse services, register your own, manage your wallet, and monitor your earnings. Installation takes minutes. It is completely free, forever.

docker run -d --name my-sertone -p 3000:3000 -p 3002:3002 sertone/wrapper:latest

Why REST APIs on Sertone?

Any REST API can be monetized through Sertone without code changes. Set your price, register your endpoint, and start earning per call. The marketplace handles authentication, billing, and automatic payment so you can focus on building great APIs.

Whether you run a weather service, financial data feed, or machine learning inference endpoint, Sertone turns your REST API into a revenue stream. Consumers pay per call in USDC, paid automatically — no invoicing, no payment disputes, no 30-day net terms.

Real-world example: A stock market data provider registers their ticker API. A fintech startup in another country subscribes and starts making calls. Each call costs $0.001, paid instantly. The provider earns 95% of every call, with the 5% platform fee covering infrastructure.

Try It Live

Request Configuration

Click "Run Demo" to make a live REST API call through Sertone.

Code Samples

# Call the API through YOUR local Sertone control center
$ curl -X POST https://localhost:3000/internal/call \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_CONSUMER_SECRET" \
  -d '{"api_id_public": "API_UUID_FROM_CATALOG", "method": "GET", "path": "/quote/AAPL", "params": {"symbol": "AAPL", "interval": "1m"}}'
// Call the API through YOUR local Sertone control center
// Consumer secret is in Settings > Security
const response = await fetch('https://localhost:3000/internal/call', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_CONSUMER_SECRET'
  },
  body: JSON.stringify({
    api_id_public: 'API_UUID_FROM_CATALOG',
    method: 'GET',
    path: '/quote/AAPL',
    params: { symbol: 'AAPL', interval: '1m' }
  })
});
const data = await response.json();
console.log(data.result);
# Call the API through YOUR local Sertone control center
import requests

response = requests.post(
    'https://localhost:3000/internal/call',
    headers={
        'Content-Type': 'application/json',
        'Authorization': 'Bearer YOUR_CONSUMER_SECRET'
    },
    json={
        'api_id_public': 'API_UUID_FROM_CATALOG',
        'method': 'GET',
        'path': '/quote/AAPL',
        'params': {'symbol': 'AAPL', 'interval': '1m'}
    }
)
print(response.json()['result'])

Self-Host in Minutes

1

Install Your Sertone

Run the free Sertone Docker container. No cloud account needed.

$ docker run -d --name sertone \
  -p 3000-3003:3000-3003 -p 3005-3006:3005-3006 \
  -v sertone-data:/app/data \
  sertone/wrapper:latest
2

Open the Web Console

Go to https://localhost:3002/panel in your browser. Create your account, accept terms, and your wallet is generated automatically.

3

Browse the Catalog

Click Catalog & SDKs in the sidebar. Search for APIs, try them in demo mode (free), then switch to production when ready.

4

Make Your First Call

Copy your consumer secret from Settings > Security, then use the code samples above to call any API from your own code.