API
JSON endpoints for the catalog. No authentication required. Responses are UTF-8 JSON.
Endpoints
-
GET
/api/searchSearch publications. Returns a page of results plus total counts. -
GET
/api/suggestAutocomplete suggestions (up to 8) for a prefix query on title, series, and number. -
GET
/api/pubs/{id}One publication by ID, including file download URLs. -
GET
/api/facetsFacet counts for branch, series, collection, and year. -
GET
/api/statsCatalog metadata: publication count, file count, load time.
Search parameters
All parameters are optional query string values on /api/search.
Examples
Search
curl "https://milpubs.quad4.io/api/search?q=radio+communications&branch=army&pageSize=5"
Publication
curl "https://milpubs.quad4.io/api/pubs/fm-10-286-1987-01"
Facets and stats
curl "https://milpubs.quad4.io/api/facets"
curl "https://milpubs.quad4.io/api/stats"
Specification
Machine-readable spec: openapi.yaml. MCP (Model Context Protocol) endpoint for AI agents: /mcp. Health checks: /healthz and /readyz.
Rate limit: 240 requests per minute per IP on API and page routes. Static assets and health endpoints are unthrottled.