Third-party apps

Contributions

The pages hosted by Masjidbox your users open to add a missing masjid, claim one or report an error, credited to your project.

The hosted pages your users open, credited to your project. No right on the key: an approved developer project.

Your project's contribution totals

Developer key

GET/v1/contributions/totals

What came through your project, counted per month and per type: masjids added through your links or your key, claims and time reports started through your links. Every month asked is present, zero when nothing came. The months default to the last 12, this one included, at most 24 per query.

Parameters

  • fromstring · query

    The first month, YYYY-MM. Defaults to 11 months before to.

  • tostring · query

    The last month, YYYY-MM. Defaults to this month (UTC).

Returns

The totals.

  • objectcontribution_totals

    Always contribution_totals.

  • monthsobject[]

    Each month asked, newest first.

    Show child attributes (4)
    • monthstring

      A month, YYYY-MM, in UTC.

    • suggestionsinteger

      Missing masjids added through your links or your key.

    • claimsinteger

      Claims started through your links.

    • reportsinteger

      Time errors reported through your links.

GET /v1/contributions/totals
curl "https://hub.masjidbox.com/v1/contributions/totals" \
  -H "Authorization: Bearer $MASJIDBOX_KEY"
200 · ContributionTotals
{
  "object": "contribution_totals",
  "months": [
    {
      "month": "2026-11",
      "suggestions": 3,
      "claims": 1,
      "reports": 18
    },
    {
      "month": "2026-10",
      "suggestions": 4,
      "claims": 2,
      "reports": 24
    }
  ]
}