Volunteer Time Reconcile

Calculate distinct credited volunteer minutes and isolate overlapping or unapproved minutes in submitted logs.

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 /volunteer-time-reconcile/v1/check with an x402 V2 client.

Worked example

Request

{
  "logs": [
    {
      "id": "L1",
      "volunteer": "V",
      "start": 0,
      "end": 60,
      "approved": true
    },
    {
      "id": "L2",
      "volunteer": "V",
      "start": 40,
      "end": 80,
      "approved": true
    },
    {
      "id": "L3",
      "volunteer": "V",
      "start": 90,
      "end": 100,
      "approved": false
    }
  ]
}

Result

{
  "volunteers": [
    {
      "volunteer": "V",
      "credited_minutes": 80,
      "overlap_minutes": 20,
      "unapproved_minutes": 10
    }
  ],
  "overlapping_logs": [
    {
      "id": "L2",
      "minutes": 20
    }
  ]
}

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