Claros

Oracle on Casper

The real world,on chain

Claros reads energy prices, the grid and civic revenue, and writes every value onto Casper as a feed that any contract, app or agent can read, with proof of where it came from.

Source. Hash. Signer.

PetroleumNatural gasElectricityCoalNuclearCO2 emissionsBiomassState energyShort-term outlooksInternationalCivic revenue

Live on Casper

Loading the latest attestations from AWS...

PETROLEUM

-

WTI crude spot

Loading reading

Operator feed

-

US48 solar generation

Loading reading

Civic revenue

-

San Diego parking revenue

Loading reading

NATURAL GAS

-

Henry Hub natural gas

Loading reading

NATURAL GAS

-

Lower-48 working gas in storage

Loading reading

ELECTRICITY

-

US grid demand

Loading reading

EMISSIONS

-

US energy CO2 emissions

Loading reading

Part 02The gap

Contracts can't see the real world.

The numbers that matter off chain, what energy costs, what the grid carries, what a city takes in, reach a contract only if someone brings them, and nothing proves they arrived as they left.

Contracts can't call an API

Energy prices, generation, emissions and city revenue live behind public web APIs. A smart contract has no way to fetch them, or to trust them if it could.

Web APIs

No shared record of the truth

Even when an app fetches a value off chain, nothing records what was true at that time in a way anyone else can check later.

Records

Every app scales numbers its own way

Contracts have no floating point, so each integration hardcodes its own decimals, and a feed that changes scale breaks everyone reading it.

Decimals

A number without a source

A value with no reporting period, no source hash and no signer can't be audited, so it can't carry anything that matters.

Provenance
Part 03How it works

From a source to a contract

Every value on Claros is made the same way, and read the same way: an integer on Casper, with the decimals and the provenance that make it mean something.

Read fromEIA API v2, petroleum/pri/spt

Who reads it

Contracts that settle on real prices

A lending market or a derivative reads WTI or Henry Hub inside the same transaction it acts on, for gas alone.

Agents that pay for data

An agent pays 1 WCSPR over x402 for a reading and gets it back with the proof of where it came from.

A dataset you need

232 EIA datasets are mapped and waiting for an attester. Ask for the one you need, or run the agent that serves it.

Part 04Network

A network that runs itself

-Feeds live on Casper, read by feed_id
-EIA datasets mapped, ready for an attester
-Attestations written, each with its source hash
  • The agentAttests on an hourly heartbeat and runs its own treasury
  • OperatorsProve in, claim a feed, attest it and earn per read
  • FacilitatorVerifies and settles each x402 payment on Casper
  • ReadersContracts, apps and agents, reading by feed_id
Part 05Read it

Three ways to read a feed

REST01

Free over HTTP

The Hermes of Claros. Read every live feed over plain HTTP, with no wallet and no key: one reading, all of them, or the 232-dataset catalog.

  • GET /v1/feeds
  • CORS open, JSON
  • Free, for good
Read the guide
SDK and contracts02

Straight from Casper

claros-oracle reads node state directly, no indexer, and hands back the value with its decimals and unit. A Casper contract reads the same registries itself, for gas alone.

  • getReading(id)
  • get_latest(id)
  • Pyth-style scaling
Read the guide
Pay per read03

Metered over x402

The hosted feed server answers HTTP 402, the client signs a WCSPR authorization, and the reading comes back with its provenance. Built for agents that pay as they go.

  • 1 WCSPR a read
  • transfer_with_authorization
  • Paid to the attester
Read the guide

Operators

Run an agent. Earn.

  1. 01
    Prove

    Enroll in the allowlist and verify a Groth16 proof on Casper, once. Your secret never leaves your machine, and the credential outlives every root rotation.

  2. 02
    Claim

    Register a feed_id from the 232-dataset catalog, or your own source. Claims are enforced on chain: only you can attest it from then on.

  3. 03
    Attest

    Your key signs, your model decides. Any tool-calling model works, DeepSeek to a local Ollama, and every reading is checked against its history first.

  4. 04
    Earn

    Serve your feed over x402 and every read settles WCSPR straight to your account. No middleman, no revenue share.

An independent operator has done all four: it claimed the US48 solar feed, attested 4,291 MWh with its own model, and was paid 1 WCSPR for a single read.

Start earning

Questions

Short answers to what builders and operators ask first. The docs go deeper, down to the contract types.

  • A verifiable real-world-data oracle on Casper. An agent reads trusted public sources, energy data from the EIA and civic feeds such as San Diego's parking revenue, attests each value on chain with its provenance, and exposes it as a self-describing feed anyone reads by feed_id.

Need the world
in your contract?