Gallery exposes a public, read-only JSON API covering every published article, author, category, topic and print issue since 2004. No authentication, no rate caps beyond "be a good citizen", no sign-up. Pick any endpoint and start fetching.
curl https://gallery.je/api/articles?limit=5Every endpoint returns JSON. The full endpoint catalogue is in machine-readable form at /.well-known/api-catalog (RFC 9727 linkset) and the service description is at /api/openapi.json (OpenAPI 3.1).
None required for public reads. See /auth.md for the full WorkOS auth.md-shaped walkthrough. Protected-resource metadata is published at /.well-known/oauth-protected-resource (RFC 9728) and declares no authorization servers.
The official JavaScript SDK is published on npm:
npm install gallery-magazineimport { GalleryClient } from "gallery-magazine";
const gallery = new GalleryClient();
const { articles } = await gallery.listArticles({ limit: 10 });
for (const a of articles) console.log(a.title);The same package installs a gallery CLI:
npx gallery list-articles
npx gallery get-article into-the-blue
npx gallery list-topicsSource: factoryjersey/Gallery, sdk/.
GET /api/articles — paginated article index (query: limit, offset, status, categoryId)GET /api/articles/featured — pinned / featured articlesGET /api/articles/:slug — one article with author, category and tagsGET /api/categories — editorial sectionsGET /api/topics — topic hubs (tags with 3+ articles)GET /api/topic/:slug — one topic with its articlesGET /api/authors and /api/authors/directory — author listingsGET /api/authors/by-slug/:slug — one author profileGET /api/sitemap — JSON sitemap/article/:slug, /category/:slug, etc..md twin at /article/:slug.md; the home index is at /index.md; trust pages (/about.md, /contact.md, /masthead.md, /editorial-standards.md, /corrections.md) are served similarly. Agents sending Accept: text/markdown or identifying as Claude-User / ChatGPT-User / PerplexityBot get markdown by content negotiation./api/./rss.xml; per-category feeds at /feeds/:slug.rss./sitemap.xml (full), /news-sitemap.xml (rolling 48h Google News).No hard per-IP cap, but please: cache aggressively, respect Cache-Control headers, and start large harvests from /sitemap.xml rather than crawling breadth-first. For bulk downstream use, prefer the RSS feed with content:encoded bodies over scraping HTML.
/AGENTS.md — agent guidance/llms.txt — LLM-friendly index/.well-known/ard.json — ARD v0.91/.well-known/agent-card.json/.well-known/agent-skills/index.jsonDeveloper or integration questions: editorial@gallery.je. Bug reports on the SDK: via the GitHub repo linked above.