MizpahMe

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.

Free API key

Every request needs a key. Create one below with a free account.

60 requests a minute

Per key. Responses are cached for 60 seconds.

Privacy first

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

GET/campaignsList campaigns

Public, approved campaigns, newest first.

qquerySearch title and summary.
categoryqueryCategory id (from /categories).
countryqueryISO 3166-1 alpha-2 country code.
statusqueryactive, ongoing, partially_answered, answered or closed.
urgencyquerynormal, urgent or critical.
organisationqueryOrganisation id.
languagequeryLanguage the campaign was written in.
sortquerylatest (default) or prayers.
langqueryLanguage code (en, fr, es, pt). Campaign text is translated only where a person has approved a translation; otherwise the original is returned.
pagequeryPage number.
per_pagequeryItems per page (max 50).
https://mizpahme.org/api/v1/campaigns?country=GH&status=active&per_page=5
GET/campaigns/{id}Get a campaign

Full campaign including prayer points, scriptures, sources and people praying.

idpathThe campaign id (its slug).
langqueryLanguage 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
GET/campaigns/{id}/updatesCampaign updates

Public updates posted by the campaign creator, newest first.

idpathThe campaign id (its slug).
pagequeryPage number.
per_pagequeryItems per page (max 50).
GET/categoriesList categories

Prayer categories.

GET/organisationsList churches and organisations

Verified and pending (not rejected) organisations.

qquerySearch by name.
countryqueryISO country code.
typequerychurch, ministry, mission or institution.
verifiedquerytrue to list verified organisations only.
pagequeryPage number.
per_pagequeryItems per page (max 50).
GET/organisations/{id}Get an organisation

One organisation profile.

idpathThe organisation id (its slug).
GET/gatheringsUpcoming prayer gatherings

Approved, scheduled gatherings with their next occurrence in UTC (ISO 8601).

countryqueryISO country code.
pagequeryPage number.
per_pagequeryItems per page (max 50).
GET/countriesCountry totals

Prayer received and prayer given by country. People counts below the privacy minimum are null.

GET/statsPlatform totals

Overall participants, campaigns, countries, prayers recorded and answered campaigns. Real figures only.

Good to know