New: Boardroom MCP Engine!

Public API

Read-only JSON access to every entity, claim, and source in the corpus. License: CC-BY-4.0 — fork, mash, republish, just credit the source. Permissive CORS so the API works from any frontend.

Endpoints

GET /api/old-west/v1/stats

Top-level counts (entities, claims, sources, geocoded places, etc.).

curl https://salars.net/api/old-west/v1/stats

GET /api/old-west/v1/search?q=<term>&type=<type>&limit=<n>

Entity search by name. Optional type filter (person/place/event/thing/org).

curl 'https://salars.net/api/old-west/v1/search?q=Bullard&type=person'

GET /api/old-west/v1/entity/<id>

Full entity record: canonical name, alt names, dates, geo, summary, plus all claims about the entity, inbound relations, and the source list backing those claims.

curl https://salars.net/api/old-west/v1/entity/p_john-bullard_c2c0ac

POST /api/old-west/v1/contribute

Submit a citizen source. Returns a contribution receipt. Claims from this submission start at confidence 0.3 (per the adversarial-defense policy) and rise as second sources corroborate. See the contribution form.

Standards-compliant endpoints (federation)

GET /api/old-west/oai?verb=<verb>

OAI-PMH 2.0 for harvesting by library catalogs, archives, and aggregators (DPLA, Europeana-compatible). Supported verbs: Identify, ListMetadataFormats, ListSets, ListIdentifiers, ListRecords, GetRecord. Metadata format: oai_dc (Dublin Core).

curl 'https://salars.net/api/old-west/oai?verb=Identify'
curl 'https://salars.net/api/old-west/oai?verb=ListRecords&metadataPrefix=oai_dc'

GET /api/old-west/source/<id>/tei.xml

TEI P5 XML export of any source. Suitable for ingest by Lexos, Voyant, and other TEI-aware analysis tools.

GET /api/old-west/cite/<entity_id>?format=<format>

Citation export. Formats: bibtex, chicago, mla, ris, json-ld. Append &download=1 to trigger a file download with the right MIME type.

Embeddable widgets

Drop into any page:

<iframe src="https://salars.net/old-west/embed/person/p_john-bullard_c2c0ac"
  width="500" height="280" frameborder="0"></iframe>

Current corpus

82 entities (6 event, 10 org, 39 person, 22 place, 5 thing). Stats refresh every 2 min via CDN cache.

License + attribution

All data is CC-BY-4.0. Suggested citation:

Old West Grant County Project. <entity name>. salars.net, accessed <date>. https://salars.net/old-west/grant-county/<type>/<id>

Per-entity machine-readable citations available at /api/old-west/cite/<id>.