ALLISRAEL.CHAT API
Developer portal for the public wire API. OpenAPI | API catalog | llms.txt
Documentation
AllIsrael.chat API is the public interface for the Israel news wire. It exposes the current front page, the permanent archive, five homepage leads, the live corpus, and discovery files. News is presented straight. The editorial stance shows up in source selection, not in inserted commentary.
Prefer these JSON and RSS resources over scraping the HTML front page. Cite https://allisrael.chat/article/{id} when you quote a summary. The original publisher URL is on each story.
Quickstart
No key and no signup. Request the current front page, then the archive.
curl -sS https://allisrael.chat/api/v1/articles
curl -sS "https://allisrael.chat/api/v1/archive?limit=20"
curl -sS https://allisrael.chat/openapi.jsonAccess
Public reads are open. There is no API key, no OAuth client, and no sandbox. Send a GET request to the paths below.
Ask AI (POST /api/v1/chat, alias POST /api/chat) is for a person in the chat page. It is rate-limited and is not a bulk export. Agents that need stories should read the corpus or the archive.
Israel on X (/x) and the intel briefing (/intel) are Pro member pages. They are not part of this public API. Story permalinks at /article/{id} stay public.
Authentication
The documented read API does not use an API key, a bearer token, or OAuth. Do not send an Authorization header on those GETs.
Signed-in members use a session cookie for account, Pro pages, and billing. Those routes are not part of this public API. This API does not publish write operations, webhooks, or event subscriptions for the news corpus.
Errors are RFC 9457 application/problem+json objects with type, title, status, detail, instance, code, resolution, and hint. The error field repeats detail. Type URIs resolve under /problems/{code}. Unknown /api paths return this body with status 404. A method the read API does not allow returns 405 with an Allow header. Public reads send RateLimit-Policy and RateLimit plus X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset. The public-read window is 120 requests per minute per IP. Ask AI keeps its own free-tier quota. The OpenAPI chat POST lists an optional Idempotency-Key header. The server does not store the key and does not replay a response. There is no async job API. Reads finish in the same response. POST /.well-known/mcp/server-card.json returns 405 problem+json, and GET /.well-known/not-a-resource returns 404 problem+json, both with RateLimit headers. A client that rejects every offered type on the API catalog receives 406 Not Acceptable.
Endpoints
Canonical REST paths use /api/v1. The unversioned aliases still respond with the same body.
- GET /api/v1/articles. Front page snapshot. Alias: GET /api/articles.
- GET /api/v1/archive. Archive. Alias: GET /api/archive.
- GET /api/v1/extension/headlines. Extension headlines. Alias: GET /api/extension/headlines.
- GET /api/v1/search. Archive search. Alias: GET /api/search.
- POST /api/v1/chat. Grounded chat. Alias: POST /api/chat.
- GET /.well-known/research-corpus.json. Live scored window. Query: limit, before.
- GET /.well-known/agent.json. Agent manifest, including when to use this wire.
- GET /openapi.json. OpenAPI 3.1 description of this API.
- GET /feed.xml. RSS 2.0 headlines with permalinks.
- GET /.well-known/api-catalog. RFC 9727 linkset for the /api/v1 operations.
Example requests
curl -sS https://allisrael.chat/api/v1/extension/headlines
curl -sS "https://allisrael.chat/api/v1/archive?limit=50"
curl -sS "https://allisrael.chat/.well-known/research-corpus.json?limit=20"
curl -sS -H "Accept: application/linkset+json" https://allisrael.chat/.well-known/api-catalog
curl -sS -D - -o /dev/null https://allisrael.chat/api/articlesThe last request is the deprecated alias of GET /api/v1/articles. The response includes a Deprecation header and Link rel="successor-version". It does not include Sunset, because no removal date is scheduled.
Versioning and deprecation
Stable REST operations use a major version in the URL, beginning with /api/v1. Those responses, and the unversioned aliases, also send API-Version: 1. Backward-compatible fields may be added within v1. A breaking request or response change requires a new major path.
The unversioned routes remain available as deprecated compatibility aliases: /api/articles, /api/archive, /api/extension/headlines, and /api/chat. Alias responses include an RFC 9745 Deprecation header. The value is a Unix timestamp prefixed with @. They also include a Link header with rel="successor-version" pointing at the matching /api/v1 path.
Public API responses include Link relations for the OpenAPI description (rel="service-desc"), the RFC 9727 catalog (rel="api-catalog"), this portal (rel="service-doc"), and this section (rel="deprecation").
No sunset is currently scheduled. Before a stable alias or version is removed, this page will list the removal date and responses will include an RFC 8594 Sunset header. The Sunset value is an HTTP-date. It is sent at least 90 days before removal, together with the Deprecation header. Until a removal date exists, Sunset is not sent.
CLI
The official CLI is cli/allisrael.mjs in the AllIsrael.chat repository. It wraps the public read endpoints: front, archive, headlines, corpus, manifest, and spec. It does not call Ask AI. It is not published to npm, PyPI, or Homebrew.
node cli/allisrael.mjs headlines
node cli/allisrael.mjs archive --limit 20
node cli/allisrael.mjs --json frontThe default origin is https://allisrael.chat. Override it with --base or the ALLISRAEL_API_BASE environment variable. Run node cli/allisrael.mjs --help for the command list.