A comprehensive, open-source REST API providing data for all temples of The Church of Jesus Christ of Latter-day Saints.
- ✅ Complete data for all 217+ dedicated temples
- ✅ Detailed information: dates, locations, status, facts, coordinates
- ✅ High-quality temple images hosted via GitHub LFS
- ✅ Automatic weekly updates (Mondays 3:15 AM UTC-11)
- ✅ JSON API served via GitHub Pages
- ✅ MIT Licensed - free for any use
Base URL: https://smootar.github.io/temple-api
GET /api/v1/temples.json
Returns all temples with basic information.
GET /api/v1/temples/{temple-id}.json
Returns detailed information for a specific temple.
Example: /api/v1/temples/salt-lake-temple.json
GET /api/v1/temples/dedicated.json
GET /api/v1/temples/under-construction.json
GET /api/v1/temples/announced.json
GET /api/v1/temples/status/dedicated.json
GET /api/v1/temples/status/under-construction.json
GET /api/v1/temples/status/announced.json
{
"id": "salt-lake-temple",
"name": "Salt Lake Temple",
"location": "Salt Lake City, Utah, USA",
"status": "Dedicated",
"dedicated": "April 6, 1893",
"coordinates": {
"latitude": 40.7704,
"longitude": -111.8918
},
"image": "/images/salt-lake-temple.jpg",
"thumbnail": "/images/thumbs/salt-lake-temple.jpg"
}{
"id": "salt-lake-temple",
"name": "Salt Lake Temple",
"location": "Salt Lake City, Utah, USA",
"country": "United States",
"state": "Utah",
"status": "Dedicated",
"timeline": [
{
"milestone": "Announced",
"date": "January 1, 1853"
},
{
"milestone": "Groundbreaking",
"date": "February 14, 1853"
},
{
"milestone": "Dedicated",
"date": "April 6, 1893",
"by": "Wilford Woodruff"
}
],
"coordinates": {
"latitude": 40.7704,
"longitude": -111.8918
},
"address": "50 W North Temple, Salt Lake City, UT 84150",
"facts": [
"The Salt Lake Temple took 40 years to build.",
"It is the largest temple of The Church of Jesus Christ of Latter-day Saints.",
"Features six spires, the tallest reaching 210 feet."
],
"image": "/images/salt-lake-temple.jpg",
"thumbnail": "/images/thumbs/salt-lake-temple.jpg",
"images": [
"/images/salt-lake-temple-1.jpg",
"/images/salt-lake-temple-2.jpg"
]
}All data is sourced from official Church websites:
Data is automatically updated weekly to ensure accuracy.
// Fetch all temples
const response = await fetch('https://smootar.github.io/temple-api/api/v1/temples.json');
const temples = await response.json();
// Fetch specific temple
const temple = await fetch('https://smootar.github.io/temple-api/api/v1/temples/salt-lake-temple.json');
const data = await temple.json();let url = URL(string: "https://smootar.github.io/temple-api/api/v1/temples.json")!
let (data, _) = try await URLSession.shared.data(from: url)
let temples = try JSONDecoder().decode([Temple].self, from: data)curl https://smootar.github.io/temple-api/api/v1/temples.jsonThis project is currently private but will be open-sourced in the future. Contributions will include:
- Data corrections and updates
- Additional temple information
- New features and endpoints
- Documentation improvements
The API is automatically updated every Monday at 3:15 AM UTC-11 (2:15 PM UTC) via GitHub Actions.
MIT License - See LICENSE for details.
The temple images and data are sourced from official Church websites and are used in accordance with their terms of service.
This is an independent project and is not affiliated with or endorsed by The Church of Jesus Christ of Latter-day Saints. For official information, please visit churchofjesuschrist.org.
- Initial data collection (217 dedicated temples)
- Image hosting via GitHub LFS
- API deployment to GitHub Pages
- Weekly auto-update via GitHub Actions
- Documentation website
- Temples under construction
- Announced temples
- Historical temple data
- Geospatial queries
- GraphQL endpoint
For questions or issues, please open an issue in this repository.
Note: This project is currently in development. Initial data collection in progress.