Developers & AI agents

Open Search API

Search published One News Page coverage without an account or API key. Get concise, attributable results for Stories, developing Events, Global Briefings and Topics.

Endpoint

One permanent address

GET https://www.onenewspage.com/api/search?q=climate

For agent-readable text, append &format=markdown. Use format=json or omit format for JSON.

The endpoint is intentionally unversioned. We aim to keep documented request and response semantics backward compatible; the JSON version field identifies the current contract generation.

Query parameters

Small, predictable requests

q is required (up to 160 characters and eight terms). Terms match across verified public titles and summaries. Punctuation separates words; all unique terms must match.

type=story|event|briefing|topic|all selects content type. type=all is the default and returns up to eight Stories, three Events, three Global Briefings and two Topics. A single-type query may specify limit=1 to 30 (default 15).

from=YYYY-MM-DD and to=YYYY-MM-DD filter by the reported public date: from inclusive, to exclusive, both at midnight UTC. Entries without an eligible date do not appear in a date-bounded result.

Every parameter may be supplied only once. Unexpected parameters, invalid date ranges and conflicting type=all/limit combinations return HTTP 400.

Results & provenance

Links you can cite

Each item includes its type, title, canonical absolute ONP URL, route, a publication date when available, its date basis and a public excerpt where available. Dates are not artificially upgraded using ingestion or discovery time. Empty result groups are valid.

coverage=complete means the requested types are reconciled to the admitted publication; coverage=partial means some results may be unavailable. hasMore indicates additional matches in the bounded candidate pool, not an unlimited total or a pagination guarantee.

Open access means free discovery and linking, not a licence to redistribute third-party publishers' full articles. Follow the canonical Story or Event page to inspect publisher attribution and original links before citing reporting or making factual assertions.

Automation

Respectful access for AI agents

No login, API key, client-side JavaScript or agent-specific registration is required. JSON and Markdown carry the same result set and ranking. See AI discovery guidance and the OpenAPI 3.1 contract for machine-readable integration.

Initial limits are approximately 60 requests per minute and 10 requests per 10 seconds per client IP, evaluated independently at Cloudflare locations. These are safeguards rather than a globally exact quota; limits may be adjusted with operating experience. Don't use the API as an unbounded bulk export.

HTTP 400 means malformed parameters; HTTP 405 means an unsupported method; HTTP 429 means rate limiting; HTTP 503 means the current confirmed Search publication is temporarily unavailable. Errors use JSON {"error":"..."}. Follow the Retry-After header for 429 and 503, and apply exponential backoff for repeated failures.

API responses are marked noindex; use published canonical editorial URLs for citations and the site sitemaps for bulk route discovery.