Warehouse Pick Path
Find the shortest aisle path between each consecutive stop in a fixed pick order using the supplied one-way or two-way aisle links.
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 /warehouse-pick-path/v1/check with an x402 V2 client.
Worked example
Request
{
"start": "dock",
"stops": [
"a",
"b"
],
"links": [
{
"from": "dock",
"to": "a",
"meters": 10,
"two_way": true
},
{
"from": "dock",
"to": "mid",
"meters": 2,
"two_way": true
},
{
"from": "mid",
"to": "a",
"meters": 5,
"two_way": true
},
{
"from": "a",
"to": "b",
"meters": 2,
"two_way": false
}
]
}Result
{
"total_meters": 9,
"legs": [
{
"from": "dock",
"to": "a",
"meters": 7,
"path": [
"dock",
"mid",
"a"
]
},
{
"from": "a",
"to": "b",
"meters": 2,
"path": [
"a",
"b"
]
}
]
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter