Public API
A free, read-only JSON API for public prayer campaigns, churches, gatherings and aggregate statistics. Build a prayer widget, a church site feature or a research dashboard.
Every request needs a key. Create one below with a free account.
Per key. Responses are cached for 60 seconds.
No personal data, prayer history or participant identities. Small groups are hidden.
Your API keys
Sign in or create a free account to get an API key.
Quick start
curl -H "X-API-Key: YOUR_KEY" "https://mizpahme.org/api/v1/campaigns?country=GH&status=active&per_page=3"
Base URL: https://mizpahme.org/api/v1. Add ?lang=fr (or es, pt) for translated campaign text where a person has approved a translation. Keep your key secret: call the API from your server, not from public browser code.
Endpoints
/campaignsList campaignsPublic, approved campaigns, newest first.
| q | query | Search title and summary. |
| category | query | Category id (from /categories). |
| country | query | ISO 3166-1 alpha-2 country code. |
| status | query | active, ongoing, partially_answered, answered or closed. |
| urgency | query | normal, urgent or critical. |
| organisation | query | Organisation id. |
| language | query | Language the campaign was written in. |
| sort | query | latest (default) or prayers. |
| lang | query | Language code (en, fr, es, pt). Campaign text is translated only where a person has approved a translation; otherwise the original is returned. |
| page | query | Page number. |
| per_page | query | Items per page (max 50). |
https://mizpahme.org/api/v1/campaigns?country=GH&status=active&per_page=5 /campaigns/{id}Get a campaignFull campaign including prayer points, scriptures, sources and people praying.
| id | path | The campaign id (its slug). |
| lang | query | Language code (en, fr, es, pt). Campaign text is translated only where a person has approved a translation; otherwise the original is returned. |
https://mizpahme.org/api/v1/campaigns/pray-for-peace-in-sudan /campaigns/{id}/updatesCampaign updatesPublic updates posted by the campaign creator, newest first.
| id | path | The campaign id (its slug). |
| page | query | Page number. |
| per_page | query | Items per page (max 50). |
/categoriesList categoriesPrayer categories.
/organisationsList churches and organisationsVerified and pending (not rejected) organisations.
| q | query | Search by name. |
| country | query | ISO country code. |
| type | query | church, ministry, mission or institution. |
| verified | query | true to list verified organisations only. |
| page | query | Page number. |
| per_page | query | Items per page (max 50). |
/organisations/{id}Get an organisationOne organisation profile.
| id | path | The organisation id (its slug). |
/gatheringsUpcoming prayer gatheringsApproved, scheduled gatherings with their next occurrence in UTC (ISO 8601).
| country | query | ISO country code. |
| page | query | Page number. |
| per_page | query | Items per page (max 50). |
/countriesCountry totalsPrayer received and prayer given by country. People counts below the privacy minimum are null.
/statsPlatform totalsOverall participants, campaigns, countries, prayers recorded and answered campaigns. Real figures only.
Good to know
- Versioned: this is v1. Fields are only added, never changed or removed within v1. Breaking changes will arrive as /v2.
- Errors are JSON with a message. 401 means the key is missing or revoked. 404 means the item does not exist or is not public. 429 means slow down.
- Pages use page and per_page. Lists return data, links and meta.
- Prayer participation is sensitive. Please do not try to re-identify anyone, and do not present numbers as rankings or a competition between people.
- Please credit MizpahMe and link to the campaign page (the url field) when you show campaign content, so people can pray there.
- Machine-readable description: openapi.json