Data API
Everything on NewsMarkets is published as JSON snapshots, refreshed every few minutes. They are free to use, need no key, and allow requests from any origin.
Endpoints
Base URL: https://newsmarkets-data.alykhanii.workers.dev
| Path | Returns |
|---|---|
/data/v1/front.json | The front page: story of the day, top stories per section, markets moving, news vs. market |
/data/v1/sections/{section}.json | Up to 40 stories in a section (politics, world, business, tech, ai, crypto, sports, science, weather, culture, music, startups, health) |
/data/v1/stories/{slug}.json | One story: summary, every source, linked markets with price history, topics, related stories, first report |
/data/v1/markets/index.json | Every open market we carry, by 24-hour volume, with the story driving it |
/data/v1/markets/{id}.json | One market with its price history and the stories it is linked to |
/data/v1/topics/index.json | Every topic page |
/data/v1/topics/{slug}.json | A topic's stories and markets |
/data/v1/trending.json | Biggest 24-hour moves and most traded markets |
/data/v1/signals.json | News vs. market: big stories with still markets, and moving markets on quiet stories |
/data/v1/predictions.json | The prediction record: overall, contested, by category, calibration, notable hits and misses |
/data/v1/weekly/index.json | Weekly report cards available |
/data/v1/weekly/{week}.json | One week's report card, e.g. 2026-W37 |
/data/v1/leaderboard.json | First-to-report standings |
/data/v1/influence.json | How often each publisher's reporting was followed by a market move |
/data/v1/archive/index.json | Days in the story archive |
/data/v1/archive/{date}.json | Stories first seen on a day, e.g. 2026-09-12 |
/api/search?q={words} | Search stories, markets and topics |
Example
curl https://newsmarkets-data.alykhanii.workers.dev/data/v1/trending.json const res = await fetch("https://newsmarkets-data.alykhanii.workers.dev/data/v1/stories/{slug}.json");
const story = await res.json();
console.log(story.headline, story.markets[0]?.yes_price); Details
- Every document carries
schema_versionandgenerated_at. Fields may be added; existing ones will not change meaning within a schema version. - Prices are probabilities from 0 to 1. Times are ISO 8601 in UTC, except price history points, which are
[unix seconds, price]. - Responses are cached for about two minutes, so polling faster than that returns the same data.
- Embeds: every market page has an "Embed this market" code for a live odds card.
Terms
- Link to NewsMarkets wherever you show the data, and to the original publisher wherever you show a headline.
- Headlines and article links belong to their publishers; market prices come from Polymarket. Neither is ours to license.
- There is no uptime guarantee. Please keep traffic reasonable; heavy use may be rate limited.
- Prices are information, not investment advice.