Reading List Seat Holds
Plan simultaneous license capacity for overlapping course reading windows and report the exact shortages.
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 /reading-list-seat-holds/v1/check with an x402 V2 client.
Worked example
Request
{
"capacity": 30,
"windows": [
{
"class_id": "art",
"first_day": 1,
"last_day": 3,
"seats": 18
},
{
"class_id": "music",
"first_day": 3,
"last_day": 5,
"seats": 20
}
]
}Result
{
"peak_seats": 38,
"shortages": [
{
"first_day": 3,
"last_day": 3,
"seats_needed": 38,
"extra_seats": 8,
"classes": [
"art",
"music"
]
}
]
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter