Developers

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.

Quickstart

curl https://gallery.je/api/articles?limit=5

Every 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).

Authentication

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.

SDK + CLI

The official JavaScript SDK is published on npm:

npm install gallery-magazine
import { 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-topics

Source: factoryjersey/Gallery, sdk/.

Endpoints

Content formats

Rate limits and etiquette

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.

Discovery

Support

Developer or integration questions: editorial@gallery.je. Bug reports on the SDK: via the GitHub repo linked above.