Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

Global News — API reference

What's trending on NaasNews (our news platform) by category — at most 100 stories each, every story linking to its page on naasnews.com — and the weather forecast for a place, only ever from a real provider. Free, no AI, read-only; nothing about the key's person is sent to NaasNews. Scope `station:read`.

← All groups
GET /api/v1/news

What's trending, every category

Scope: station:read · news.index

ParameterInTypeDescription
limitqueryinteger1–100, default 100
Responses 200 · 401 · 403 · 429

200 Success

articles * [NewsArticle]
fields

NewsArticle

breaking boolean
category string
image_url string | null https
published_at string | null
source string the news source
summary * string plain text, may be empty
title * string
url * string (uri) the story on naasnews.com
categories * [object]
fields
name * string
slug * string
category object | null
fields
name * string
slug * string
fetched_at string | null
ranking "trending" | "latest" | nil trending: by NaasNews readers; latest: newest first
site_url * string (uri) NaasNews' site
state * "ok" | "stale" | "unavailable" stale: NaasNews didn't answer the last refresh; unavailable: nothing to show

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/news/weather

The weather forecast for a place

Only a real forecast: `forecast` is null with `unavailable_reason` (no_live_provider, not_published, no_key, place_not_found, bad_place, no_place, unavailable) otherwise. `weather` says whether NaasNews' weather is live or simulated. Without `place`, the business's billing-address city when there is one.

Scope: station:read · news.weather

ParameterInTypeDescription
placequerystringa city, e.g. Toronto or Toronto,CA
Responses 200 · 401 · 403 · 429

200 Success

forecast NewsForecast | null
fields

NewsForecast

days [object]
fields
condition string
date string (date)
max number | null
min number | null
pop number | null 0–1
fetched_at string | null
hours [object]
fields
at string (date-time)
condition string
pop number | null 0–1
temp number | null
location object
fields
country string
name string
provider string
place string | null
unavailable_reason string | null
weather * "live" | "simulated" | "unknown"

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/news/{category}

One category's stories

Scope: station:read · news.category

ParameterInTypeDescription
category *pathstringa slug from `categories`, e.g. finance, sports, politics
limitqueryinteger1–100, default 100
Responses 200 · 401 · 403 · 404 · 429

200 Success

articles * [NewsArticle]
fields

NewsArticle

breaking boolean
category string
image_url string | null https
published_at string | null
source string the news source
summary * string plain text, may be empty
title * string
url * string (uri) the story on naasnews.com
categories * [object]
fields
name * string
slug * string
category object | null
fields
name * string
slug * string
fetched_at string | null
ranking "trending" | "latest" | nil trending: by NaasNews readers; latest: newest first
site_url * string (uri) NaasNews' site
state * "ok" | "stale" | "unavailable" stale: NaasNews didn't answer the last refresh; unavailable: nothing to show

401 Problem details (401)

403 Problem details (403)

404 No such news category

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)