Consumer opens EventSource connection → Sertone maintains persistent P2P link → Owner streams events back in real-time
Why SSE Streaming on Sertone?
Server-Sent Events (SSE) power real-time applications: stock tickers, IoT sensor feeds, live dashboards, notification streams. Unlike REST polling, SSE delivers data the instant it's available — lower latency, less bandwidth, better user experience.
Sertone makes SSE streams monetizable. API owners set per-second pricing, and the platform meters stream duration automatically. Consumers connect with a standard EventSource API — no SDK, no library, just native browser support. Billing is paid in USDC automatically.
The direct connection architecture means streaming data flows directly between consumer and owner. No central relay buffering your data, no single point of failure in the stream path.
Try It Live
SSE Stock Ticker Stream
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": "/stream", "params": {"symbol": "AAPL"}}'
// 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: '/stream',
params: { symbol: 'AAPL' }
})
});
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': '/stream',
'params': {'symbol': 'AAPL'}
}
)
print(response.json()['result'])
Self-Host in Minutes
Install the Control Center
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
Open the Web Console
Go to https://localhost:3002/panel in your browser. Create your account, accept terms, and your wallet is generated automatically.
Browse the Catalog
Click Catalog & SDKs in the sidebar. Search for APIs, try them in demo mode (free), then switch to production when ready.
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.