Calculators
On-Time In-Full (OTIF) calculator API
Compute OTIF = (onTimeOrders/total)·(inFullOrders/total) with on-time and in-full sub-rates and a world-class/competitive/developing/at-risk rating — the retailer-mandated delivery KPI. Answers 'what is my OTIF score','on-time in-full performance','delivery reliability metric'.
Price$0.01per request
MethodPOST
Route/v1/calc/logi-otif
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calclogisticsotifon-time-in-fulldeliverykpiservice-levelsupply-chain
API URL
Integration docshttps://x402.hexl.dev/v1/calc/logi-otifExample request
{
"totalOrders": 500,
"onTimeOrders": 470,
"inFullOrders": 460
}Example response
{
"formula": "OTIF = (onTimeOrders/total) · (inFullOrders/total)",
"onTimeRate": 0.94,
"inFullRate": 0.92,
"otifRate": 0.8648,
"otifPercent": 86.48,
"rating": "developing",
"inputs": {
"totalOrders": 500,
"onTimeOrders": 470,
"inFullOrders": 460
}
}Input schema
{
"type": "object",
"required": [
"totalOrders",
"onTimeOrders",
"inFullOrders"
],
"properties": {
"totalOrders": {
"type": "number",
"examples": [
500
]
},
"onTimeOrders": {
"type": "number",
"examples": [
470
]
},
"inFullOrders": {
"type": "number",
"examples": [
460
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}