{"uid":"cap_lMnnfeTWcGYzZDZWt1oJi","slug":"halowerk-laufwerk-toll-readiness-check-for-route-optimization-601e76e7","name":"HALOWERK laufwerk — Toll Readiness Check for Route Optimization","description":"HALOWERK laufwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.","url":"https://lauf.halowerk.com/v1/tours/toll-readiness?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","required":["id","point","demand","service_s","window"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"point":{"type":"integer","maximum":20,"minimum":1},"demand":{"type":"number","maximum":100000,"minimum":0},"window":{"type":"array","items":{"type":"number","maximum":604800,"minimum":0},"maxItems":2,"minItems":2},"service_s":{"type":"number","maximum":604800,"minimum":0}},"additionalProperties":false},"maxItems":20,"minItems":1},"currency":{"enum":["EUR","USD","GBP"]},"vehicles":{"type":"array","items":{"type":"object","required":["id","capacity","shift"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"shift":{"type":"array","items":{"type":"number","maximum":604800,"minimum":0},"maxItems":2,"minItems":2},"capacity":{"type":"number","maximum":100000,"exclusiveMinimum":0}},"additionalProperties":false},"maxItems":4,"minItems":1},"durations_s":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"number","maximum":604800,"minimum":0},{"type":"null"}]},"maxItems":21,"minItems":2},"maxItems":21,"minItems":2},"tolls_cents":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"number","maximum":10000000,"minimum":0},{"type":"null"}]},"maxItems":21,"minItems":2},"maxItems":21,"minItems":2},"matrix_source":{"type":"string","maxLength":200,"minLength":1},"max_toll_cents":{"type":"number","maximum":10000000,"minimum":0}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oX-wgPuP_QYa6o0Ip2kS6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a set of delivery jobs and vehicles can be routed within a given toll cost budget, given a travel-time matrix and toll cost matrix.","exampleAgentPrompt":"I have 3 vehicles each with a capacity of 500, working a shift from hour 0 to hour 28800, and 5 delivery jobs at various points with time windows — can you check whether those routes stay under a max toll budget of 1500 cents in EUR using the travel time and toll cost matrices I'll provide?","exampleUseCases":[{"title":"Fleet toll budget compliance check","prompt":"I'm planning deliveries for tomorrow with 2 vans (capacity 200 each, shifts from 0 to 36000 seconds) and 8 jobs across different stops. I have a toll matrix and duration matrix ready. Can you check if the whole plan stays under a 2000-cent toll cap in EUR?"},{"title":"Logistics cost feasibility for new delivery zone","prompt":"We're considering expanding into a new city zone where tolls are high. I have the duration and toll matrices for 10 potential delivery jobs with time windows and 3 vehicles. Can you run a toll readiness check with a max toll of 5000 cents in USD to see if it's feasible?"},{"title":"Last-mile route toll validation before dispatch","prompt":"Before we dispatch our drivers, I need to confirm that our 4 vehicles with capacity 300 each and 15 scheduled jobs with time windows fit under a 3000-cent toll limit in GBP — I have the toll and duration matrices. Can you run the toll readiness check?"}],"resultDescription":"A JSON response indicating whether the set of jobs and vehicles can be routed within the specified maximum toll budget, likely including toll cost estimates per vehicle or overall feasibility status based on the provided duration and toll matrices.","failureModes":["Invalid matrix dimensions (durations_s or tolls_cents matrix doesn't match number of jobs + vehicles)","Jobs or vehicles exceed allowed maximums (more than 20 jobs or 4 vehicles)","Missing required fields (id, point, demand, window, service_s for jobs; id, capacity, shift for vehicles)","Time window values out of range (0–604800 seconds)","max_toll_cents exceeds maximum allowed value of 10,000,000","Currency not one of EUR, USD, GBP","No feasible routing solution exists given toll constraints"],"whenToPreferThis":"Use this endpoint when you need to pre-validate whether a set of delivery jobs and vehicles can be dispatched within a toll cost constraint before committing to a routing plan. It is especially useful in logistics pipelines where toll costs are a hard budget constraint, and you want to filter out infeasible route plans early. Prefer this over a full route optimizer when toll budget compliance is the primary check needed rather than finding an optimal route.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T06:49:07.422Z","isFirstParty":false,"canonicalSlug":"halowerk-laufwerk-toll-readiness-check-for-route-optimization-601e76e7"}