Procurement Quote Landed Cost
Rank eligible quotes by total landed cost using quantity price tiers, lead-time limits, and caller-supplied order and per-unit charges.
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 /procurement-quote-landed-cost/v1/check with an x402 V2 client.
Worked example
Request
{
"demand": 100,
"max_lead_days": 7,
"quotes": [
{
"supplier": "A",
"min_order": 20,
"lead_days": 6,
"freight_cents": 500,
"extra_unit_cents": 30,
"tiers": [
{
"from_units": 20,
"unit_cents": 500
},
{
"from_units": 100,
"unit_cents": 400
}
]
},
{
"supplier": "B",
"min_order": 1,
"lead_days": 4,
"freight_cents": 0,
"extra_unit_cents": 0,
"tiers": [
{
"from_units": 1,
"unit_cents": 430
}
]
},
{
"supplier": "C",
"min_order": 1,
"lead_days": 8,
"freight_cents": 0,
"extra_unit_cents": 0,
"tiers": [
{
"from_units": 1,
"unit_cents": 399
}
]
}
]
}Result
{
"ranked": [
{
"supplier": "B",
"unit_cents": 430,
"landed_cents": 43000
},
{
"supplier": "A",
"unit_cents": 400,
"landed_cents": 43500
}
],
"excluded": [
{
"supplier": "C",
"reason": "lead_time"
}
]
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter