Event Check-in Queue Simulation
Replay first-come event check-ins across staffed desks and report individual waits and the peak wait.
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 /event-checkin-queue-simulation/v1/check with an x402 V2 client.
Worked example
Request
{
"desks": [
{
"id": "north",
"opens": 0
},
{
"id": "east",
"opens": 1
}
],
"arrivals": [
{
"id": "A",
"minute": 0,
"service_minutes": 4
},
{
"id": "B",
"minute": 0,
"service_minutes": 2
},
{
"id": "C",
"minute": 1,
"service_minutes": 1
}
]
}Result
{
"visits": [
{
"id": "A",
"desk": "north",
"start": 0,
"end": 4,
"wait": 0
},
{
"id": "B",
"desk": "east",
"start": 1,
"end": 3,
"wait": 1
},
{
"id": "C",
"desk": "east",
"start": 3,
"end": 4,
"wait": 2
}
],
"peak_wait_minutes": 2
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter