Route Stop Load Replay
Replay vehicle pickups and drop-offs in stop order and report capacity breaches and unloads that exceed the onboard amount.
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 /route-stop-load-replay/v1/check with an x402 V2 client.
Worked example
Request
{
"capacity": 10,
"initial": 8,
"stops": [
{
"id": "a",
"pickup": 5,
"drop": 2
},
{
"id": "b",
"pickup": 0,
"drop": 13
}
]
}Result
{
"load": [
{
"stop": "a",
"after": 11
},
{
"stop": "b",
"after": null
}
],
"issues": [
{
"stop": "a",
"reason": "capacity_exceeded",
"units": 1
},
{
"stop": "b",
"reason": "drop_exceeds_load",
"units": 2
}
],
"final": 11
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter