A read-only JSON API over the public Patchvault catalog: lodges, councils, camps, sections, and their issues. Everything the API serves is data any visitor can already see on the website; collection contents, prices, and private notes are never exposed.
Every request needs a personal API key passed as a bearer token. API keys are a
Pro feature — create and revoke them from
your profile settings (Edit profile → API).
Keys start with pv_ and are shown once at creation.
curl -H "Authorization: Bearer pv_YOUR_KEY" \
https://patchvault.org/api/v1/lodges
Requests without a valid key receive 401 Unauthorized with a JSON error body.
A valid key whose account is no longer Pro receives 403 Forbidden.
Browser requests from any origin are allowed (CORS), but never put a key in code you
publish: anyone who has it can use your rate limit.
Every record is identified by its slug — the same identifier used in the
website's URLs. Numeric database IDs never appear in the API and will never be accepted
by it. Issues are keyed by their PatchVault catalog-entry slug (e.g.
netopalis-1-f1), matching the web issue pages. If an issue is renumbered,
its old slug keeps resolving, but the slug and url fields in
every response are always the canonical current values — update any stored slugs from
the response.
An issue also carries an issue_uuid: the patch itself, as opposed to its
catalog listing. It never changes, even when the patch is renumbered, so it is the best
key for matching Patchvault issues against records in another system.
All endpoints are GET and return application/json.
| Method | Path | Description |
|---|---|---|
GET |
/api/v1/lodges/{lodge_slug}/issues |
List a lodge's issues (paginated) |
GET |
/api/v1/lodges/{lodge_slug}/issues/{slug} |
Fetch one issue by catalog-entry slug |
GET |
/api/v1/lodges |
List lodges (paginated) |
GET |
/api/v1/lodges/{slug} |
Fetch one lodge by slug |
GET |
/api/v1/councils/{council_slug}/issues |
List a council's issues (paginated) |
GET |
/api/v1/councils/{council_slug}/issues/{slug} |
Fetch one issue by catalog-entry slug |
GET |
/api/v1/councils |
List councils (paginated) |
GET |
/api/v1/councils/{slug} |
Fetch one council by slug |
GET |
/api/v1/camps/{camp_slug}/issues |
List a camp's issues (paginated) |
GET |
/api/v1/camps/{camp_slug}/issues/{slug} |
Fetch one issue by catalog-entry slug |
GET |
/api/v1/camps |
List camps (paginated) |
GET |
/api/v1/camps/{slug} |
Fetch one camp by slug |
GET |
/api/v1/sections/{section_slug}/issues |
List a section's issues (paginated) |
GET |
/api/v1/sections/{section_slug}/issues/{slug} |
Fetch one issue by catalog-entry slug |
GET |
/api/v1/sections |
List sections (paginated) |
GET |
/api/v1/sections/{slug} |
Fetch one section by slug |
GET |
/api/v1/search |
Search lodges, councils, camps and sections by name or number |
Lists of lodges and councils come back in number order; camps and sections by name. An issuer's issues come back in catalog order, the same order as the issuer's page on the website. Only issuers the website shows publicly (live and beta) are served.
| Parameter | Where | Description |
|---|---|---|
page |
Every list endpoint except search | Page number, starting at 1. Out-of-range pages clamp to the last page. 25 records per page. |
q |
/api/v1/search |
Required. Matches any part of a name, case-insensitively; a lodge or council number matches exactly. A blank query returns no results. |
type |
/api/v1/search |
lodge, council, camp, section, or all (the default). |
limit |
/api/v1/search |
Most results per type. Default 20, at most 50. |
List responses carry an RFC 8288 Link header
(first, prev, next, last) plus
current-page, page-items, total-pages, and
total-count headers. The same numbers repeat in the body's
meta block:
{
"lodges": [ ... ],
"meta": { "page": 1, "per_page": 25, "pages": 40, "count": 991 }
}
Dates are ISO 8601 (1948-01-01); timestamps are ISO 8601 in UTC. Any field
can be null when Patchvault doesn't have the value. Every url
is this API's own URL for the record; issues_url lists the record's issues.
In lists and in /api/v1/lodges/{slug}:
| Field | Type | Meaning |
|---|---|---|
slug | string | Identifier, e.g. netopalis. |
name | string | Lodge name. |
number | string | Lodge number, as text (a few numbers are not whole numbers). |
designator | string | Letter that tells apart lodges sharing a number, as the Blue Book does (e.g. A). |
combined | string | Number, designator and name as the catalog shows them. |
council | object | The lodge's council: slug and name. |
issues_count | integer | Issues listed for the lodge. |
event_issues_count | integer | How many of those are event issues. |
updated_at | timestamp | Last change to the lodge record. |
url, issues_url | string | See above. |
The single-lodge response adds:
| Field | Type | Meaning |
|---|---|---|
status | string | Whether the lodge is active, merged, and so on, in Patchvault's words. |
chartered_on | date | Charter date. |
started_on, ended_on | date | When the lodge began and, if it has, ended. |
website | string | The lodge's own website. |
chapters | array | The lodge's chapters: slug, name, issues_count. |
| Field | Type | Meaning |
|---|---|---|
slug, name, number, designator, combined | string | As for lodges. |
city, state | string | Where the council is (or was) headquartered. |
issues_count, event_issues_count, updated_at, url, issues_url | As for lodges. | |
status | string | Single council only. Active, merged, and so on. |
existed_from, existed_to | date | Single council only. When the council existed. |
website | string | Single council only. |
| Field | Type | Meaning |
|---|---|---|
slug, name | string | Identifier and camp name. |
active | boolean | Whether the camp still operates. |
issues_count, event_issues_count, updated_at, url, issues_url | As for lodges. | |
founded_on, closed_on | date | Single camp only. |
website | string | Single camp only. |
| Field | Type | Meaning |
|---|---|---|
slug, name | string | Identifier and section name, e.g. SR-7A. |
entity_type | string | Section, Region or Area: the OA's regional units over the years. |
issues_count, event_issues_count, updated_at, url, issues_url | As for lodges. | |
start_date, end_date | date | Single section only. When the section existed under this name. |
description | string | Single section only. |
website | string | Single section only. |
In an issuer's issue list and in the single-issue response:
| Field | Type | Meaning |
|---|---|---|
slug | string | The catalog listing's identifier, e.g. netopalis-1-f1. Changes if the issue is renumbered. |
issue_uuid | string | The patch's permanent identifier. Never changes. |
combined | string | The full catalog number, e.g. 1 F1. |
issue_number | string | The number within the issuer, e.g. F1. |
variety | string | Variety suffix when the issue is a variety of another (e.g. a). |
event | boolean | True for event issues (conclaves, anniversaries and the like). |
category | string | Catalog category, e.g. Standard Issue. |
issue_type | object | The kind of item: name (e.g. Flap) and abbreviation (e.g. F). |
year | integer | Year first issued. |
date_type | string |
How exact year is:
precise date, approximate year, decade.
For a decade, read year as its decade (1953 means the 1950s).
|
shape | string | Patch shape, e.g. Flap, Round. |
bb6 | string | The issue's number in the Blue Book 6th edition, when it has one. |
updated_at | timestamp | Last change to the issue. |
url | string | This API's URL for the issue. |
thumbnail | string | Small front image URL, or null when there is no image yet. |
The single-issue response adds:
| Field | Type | Meaning |
|---|---|---|
description | string | The issue's description, in Markdown, as the website shows it. |
border_type | string | e.g. Rolled, Cut. |
colors | object | Color names: border, background, lettering, and fdl (the fleur-de-lis / BSA emblem). |
reorders | array | Known reorders, oldest first: date, quantity, notes, patchscan_url. |
variations | array | Known variations (colored backs, loom errors and so on): notes, previously_listed_as, and image / image_back URLs. |
image, image_back | object | Front and back image URLs in two sizes, medium and full, or null when there is no image. |
/api/v1/search groups matches by type. Each match has type,
id (the record's slug), name and combined. Types with
no matches come back as empty lists; types you didn't ask for are left out.
{
"query": "neto",
"type": "all",
"limit": 20,
"results": {
"lodges": [
{ "type": "lodge", "id": "netopalis", "name": "Netopalis", "combined": "1 Netopalis" }
],
"councils": [],
"camps": [],
"sections": []
}
}
curl -H "Authorization: Bearer pv_YOUR_KEY" \
https://patchvault.org/api/v1/lodges/netopalis/issues/netopalis-1-f1
{
"slug": "netopalis-1-f1",
"issue_uuid": "5f0c1e8a-6a2b-4b8e-9a51-2d7c3f9e1b04",
"combined": "1 F1",
"issue_number": "F1",
"variety": null,
"event": false,
"category": "Standard Issue",
"issue_type": { "name": "Flap", "abbreviation": "F" },
"year": 1948,
"date_type": "precise date",
"shape": "Flap",
"bb6": "1 F1",
"updated_at": "2026-05-01T12:00:00Z",
"url": "https://patchvault.org/api/v1/lodges/netopalis/issues/netopalis-1-f1",
"thumbnail": "https://...",
"description": "...",
"border_type": "Rolled",
"colors": { "border": "Black", "background": "Red", "lettering": "White", "fdl": "Blue" },
"reorders": [],
"variations": [],
"image": { "medium": "https://...", "full": "https://..." },
"image_back": null
}
Limits are per API key. The API is available to Pro accounts; exceeding the limit
returns 429 Too Many Requests with a Retry-After header
(seconds until the window resets).
| Tier | Requests | Window |
|---|---|---|
| Pro | 600 | 60 seconds |
Errors come back as JSON with a single error message.
| Status | Meaning |
|---|---|
401 | Missing, malformed, or revoked API key. |
403 | The key is valid, but its account is not Pro. |
404 | Unknown slug, or a record not publicly visible. |
429 | Rate limit exceeded — honor Retry-After. |
The API is versioned in the path (/api/v1). Within a version, fields may be
added at any time — clients should ignore unknown keys — but existing fields
and identifiers will not change meaning or disappear. Breaking changes ship as a new
path version, and a deprecated version will keep working for at least six months after
its replacement is announced on the news feed.
Use of the API is subject to the site's Terms of Service. Photos are © their respective owners; personal, non-commercial use permitted.