Program Participant Reach

Measure unique program reach and repeat participation while keeping single-program and multi-program counts distinct.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

POST a JSON request to /program-participant-reach/v1/check with an x402 V2 client.

Worked example

Request

{
  "events": [
    {
      "id": "E1",
      "program": "art"
    },
    {
      "id": "E2",
      "program": "art"
    },
    {
      "id": "E3",
      "program": "music"
    }
  ],
  "attendance": [
    {
      "event": "E1",
      "participant": "A"
    },
    {
      "event": "E1",
      "participant": "A"
    },
    {
      "event": "E2",
      "participant": "A"
    },
    {
      "event": "E3",
      "participant": "A"
    },
    {
      "event": "E3",
      "participant": "B"
    }
  ]
}

Result

{
  "unique_participants": 2,
  "multi_program_participants": 1,
  "unique_visits": 4,
  "duplicate_records": 1,
  "unknown_records": [],
  "programs": [
    {
      "id": "art",
      "unique_participants": 1,
      "repeat_participants": 1,
      "visits": 2
    },
    {
      "id": "music",
      "unique_participants": 2,
      "repeat_participants": 0,
      "visits": 2
    }
  ]
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter