The GE Market Index and the 16 sector indices are live measures of Grand Exchange prices. This page documents the exact math, the data we use and the known gaps. Use it to decide how much to trust each number we publish.
What the index measures
The GE Market Index shows where Grand Exchange prices stand against where they started. It starts at a base of 1000. A move from 1000 to 1012 means the typical item is about 1.2% dearer than at its base price. It is a pure index number. Its level only means something next to its own history.
The 16 sector indices (e.g. Herbs & Potions, Runes & Magic) use the exact same formula. Each one only uses the items in its sector. The sector assignments live in core/market/sectorIndices.ts.
The formula
Every item has a base price: its price when the index first counted it. Every 5 minutes we take each item's instant-buy price against its base price:
rᵢ = priceᵢ(now) / priceᵢ(base), held to 0.1 … 10 index = 1000 × exp( Σ log(rᵢ) / n )
The index is the geometric mean of those ratios over the n items with a price, times 1000. Every item counts the same. A doubling of one item and a halving of another cancel out.
Implementation: core/market/sectorHistory.ts#indexLevel. The base prices are in sector_index_bases. Snapshots are stored in sector_snapshots with index_value, advances, and declines.
Why not add up the moves of each 5 minutes?
Such a chain takes each item's move since the last cycle, weights the moves by volume and adds them to the index. It drifts away from the prices:
- The weights change every cycle. An item's rise counts more in a busy hour than its fall back in a quiet one. After thousands of cycles that adds up, to millions where the prices barely moved.
- Some moves are left out. A chain skips a move that looks like a bad price, or a cycle without a price. When the way up counts and the way down does not, the index keeps the difference for good.
Measuring each item against its own base price has neither problem. The index at a moment depends only on the prices at that moment. When prices go back to where they were, so does the index.
Bad prices
One item counts at most ten times its base price, or a tenth of it. A 1 gp instant buy on an expensive item counts as a tenth. In a sector of 25 items, that moves the index about 9%, for as long as the bad price stands. Once the price is back, the index is too. No index can go below 100 or above 10,000.
Data and cadence
- Source: OSRS Wiki Real-time Prices API (
/latest,/5m, and/1hendpoints). - Cycle: 5 minutes, driven by Cloud Scheduler. Every cycle writes snapshots for all 16 sectors plus the overall market.
- Universe: ~4,500 tradeable items. Each cycle uses every item with an instant-buy price.
- Replay: the index follows from the stored prices and the base prices alone. A methodology change therefore recomputes its whole history from the hourly prices we keep. The chart gets no jump.
Known limitations
- The index value does not compare directly to any outside benchmark. There is no "total market cap" in gp. That would need real stock figures, and the OSRS Wiki API does not publish them.
- Every item counts the same, a cheap seed as much as a rare unique. This is a design choice. The index is meant to track the GE, not any single tier. Sector indices let you zoom in on the tier that matters to you.
- An item new to the GE starts at its first price, as if at 1000. Until its price moves, it holds its index a little toward 1000.
- 5-minute granularity is an aggregation choice baked into the upstream API. We cannot publish a tick-level index because no tick-level data exists.
- The index shows the typical item, not the one you trade. For that item, use the item page and the Flip Finder instead.
Questions, corrections, contributions
Spot a methodology bug or want to propose a change? Use the contact page. The indexing code is open for review. Every math claim on this page points at the live source file. You can audit it yourself.

