Beta notice

The API and this website are in beta and subject to change. If you plan to use the API, we highly recommend subscribing to the newsletter for updates.

TempleDB API

Access comprehensive temple data programmatically. Read-only API with flexible field selection and pagination.

Endpoints

Get All Temples

List Temples
https://templedb.org/api/temples
Loading...

Default fields: id, name, status, image.

Query parameters

  • fields — comma-separated fields (e.g. id,name,status).
  • limit — results per page (default 20, max 100).
  • offset — zero-based offset.
  • page — 1-based page number (alternative to offset).
  • status — filter by temple status (e.g. Operating, Announced).
  • search — search by temple name, address, city, state, or country (case-insensitive).

Get Single Temple

Need a temple ID? View the complete list of temple IDs.

GET /api/temples/salt-lake-temple
https://templedb.org/api/temples/salt-lake-temple
Loading...

Returns full temple data. Use fields parameter to limit fields.

Live examples

Default (no fields) — returns id,name,status,image
https://templedb.org/api/temples
Loading...
Fields filter — id,name,status
https://templedb.org/api/temples?fields=id,name,status
Loading...
Pagination — page=2&limit=5
https://templedb.org/api/temples?page=2&limit=5
Loading...
Search — search=provo
https://templedb.org/api/temples?search=provo
Loading...
Search with filters — search=provo&fields=id,name,status,location.city
https://templedb.org/api/temples?search=provo&fields=id,name,status,location.city
Loading...

No filters (all fields)

GET /api/temples/salt-lake-temple
https://templedb.org/api/temples/salt-lake-temple
Loading...

With specific fields

GET /api/temples/salt-lake-temple?fields=...
https://templedb.org/api/temples/salt-lake-temple?fields=id,name,status,location.address,location.city,presidents
Loading...

Get temple districts

GET /api/temples/salt-lake-temple?fields=id,name,districts
https://templedb.org/api/temples/salt-lake-temple?fields=id,name,districts
Loading...

Get dedicatory prayer

GET /api/temples/salt-lake-temple?fields=id,name,dedicatoryPrayer
https://templedb.org/api/temples/salt-lake-temple?fields=id,name,dedicatoryPrayer
Loading...

Available fields

Use fields to request a comma-separated list. Nested properties can be requested using dot notation (for example location.city).

  • id, name, status, description
  • location: location.latitude, location.longitude, location.address, location.city, location.state, location.country, location.postalCode, location.phone, location.officialLocation
  • links: links.official, links.appointment, links.dedicatoryPrayer, links.unofficial
  • services: services.templeClothing, services.templeHousing, services.arrivalCenter, services.visitorsCenter, services.distributionCenter
  • presidents, districts, timeline, closures, dedicatoryPrayer
  • info: info.rooms, info.totalfloorarea, info.elevation, info.site, info.numberDedicated
  • media / media.*: media items (photographs/videos) and fields like media, media.thumb, media.caption, media.credit, media.youtubeID