Losbeto — LLM gateway + market data for AI agents (x402)
Losbeto on x402-list — monitored uptime
One USDC micropayment per call. No signup, no API keys to manage — the payment is the auth. USDC on Base, Solana, Algorand or Polygon.
Flagship: an OpenAI-compatible LLM gateway for agents. POST /v1/chat/completions and GET /llm at $0.005/call on live backends, with a free tier at /llm/free and model list at /v1/models. Behind it, 120 endpoints ($0.001–99.99): Base chain reads, FX, equities, commodities, macro calendar, crypto — plus Brazil's official statistics in depth, which nobody else on x402 covers.
Identity: registered ERC-8004 agent — agentId 87048 on Base, registration file at /.well-known/erc8004.json, domain-verified via /.well-known/agent-registration.json.
Compliance: Grade A 98/100 on x402lint (PASS 23 · FAIL 0) — and listed on x402scan, x402-list, the official MCP Registry (io.github.rmartins1451/losbeto), PyPI and npm.
Trusted in production: 92/100 with $278.98 settled volume (30d) on x402-list · $349+ verified on-chain volume indexed by Roundhouse · 100% uptime and 1,405 transactions (7d) on APIHub · 99.0% uptime (59d) on glama.ai.
Quick start
With an x402 client (EVM):
Pay from Solana, Algorand or Polygon
The 402 challenge lists every network we accept — read it once, then pay on the chain you prefer:
- Pick the
accepts[] entry matching your chain — same price on all of them.
- Build the payment exactly as the
exact scheme requires. Any x402 client with SVM support handles this for you; on Solana the payload is your partially-signed USDC transfer transaction, which the facilitator broadcasts and settles (it also pays the network fee — you only sign).
- Re-send the same request with the signed payload in the
X-PAYMENT header. The response arrives on that same request — no polling, no webhook.
Algorand and Polygon follow the identical pattern (USDC, scheme exact) — Algorand is the rail our own indexers use for full-catalog round-trips. Settlements from every chain appear publicly in GET /receipts, and GET /agents.json lists the live payment networks machine-readably.
From npm:
As an MCP server (Claude Desktop, Cursor, Claude Code):
Get a credit key with one on-chain payment: POST https://api.losbeto.xyz/buy-credits.
Base chain reads — priced for loops ($0.001–0.002)
Raw chain data with an intelligence layer on top. Zero upstream cost (public RPC with short-cache and failover), so these are built to be hammered by agent loops:
Agent-native: ERC-8004 reputation and wallet verdicts
Plans — one payment, N calls (no settlement latency)
Machine-readable at /plans, human-readable at /pricing. First purchase earns a bonus call, credited to your session token (7 days). The node never discounts list price — it adds value after payment instead.
The Brazil moat: point-in-time official statistics
The problem: the IPCA number you fetch from the Banco Central API today is not the number that was published back then. Official Brazilian series are revised. Any backtest built on the current series silently contains look-ahead bias.
The US has ALFRED for this. Brazil has nothing public.
This node has been recording Brazilian official statistics as they were published, timestamping every reading and signing each day with Ed25519 — continuously, since deploy. That archive cannot be scraped retroactively by anyone, including us.
Series tracked: selic_meta_pct, cdi_daily_pct, ipca_12m_pct, igpm_month_pct, usd_brl_ptax, eur_brl.
The Brazilian primitives (zero upstream, sub-millisecond)
Pure computation over Brazilian specifications — no external API in the request path, no rate limit, no provider outage, priced for loops:
Verifiable from outside: GET /zero-upstream.json declares which routes never touch the network.
Transparency — receipts are public
GET /receipts — every settlement, public
GET /.well-known/honest-revenue.json — signed; separates organic (wallets the operator doesn't control) from operator-test and self-sweep
GET /scorecard.json — 24h availability, p50/p95 latency, traffic mix, signed
GET /.well-known/erc8004.json — ERC-8004 registration file; live on-chain as agentId 87048
Verify anything, offline
Every observation is a Merkle leaf:
Daily roots are optionally anchored on Algorand as zero-value note transactions, so the timestamp does not depend on trusting us.
For agents and indexers
Start at GET /agents.json — outcome-based flows with exact parameters, payment networks, free tier, and pointers to the OpenAPI contract, the x402 manifest, the scorecard and the fidelity recipes. CORS open, cached 1h. ScoutScore, x402scan, x402-list and other rankers: /agents.json, /scorecard.json, /.well-known/fidelity.json, /zero-upstream.json, /bazaar-status. Free probes never charge; a paid route that hits an internal error degrades to a 402 rather than a 500.
Run it yourself
Useful env vars: AI_WARMER=1, LLM_DAILY_GLOBAL_CAP, LLM_DAILY_KEY_CAP, PIT_INTERVAL_S, ALGO_ANCHOR_MNEMONIC, X402LIST_TOKEN, EVM_RPC_URLS, ETH_RPC_URLS, PRICE_CHAIN_BLOCK … PRICE_WALLET_VERDICT (per-endpoint price overrides).
Contact
Roberto Martins — [email protected]
Missing a series or a market you need? Open an issue. New endpoints get built on request.
MIT licensed.