Skip to content
Navo24 Navo24
GETAPI keyCounts as a call

Reliability on a lane

GETapi.schedulesmcp.com/public/reliability/lanes

Carriers on a lane, ranked by observed on-time performance.

Counted: 1 call for each answer that carries data. Free: a lane with no carriers observed (an empty carriers list), and any refusal or error. See how calls are counted.

Query parameters

originstringrequired

Origin UN/LOCODE.

destinationstringrequired

Destination UN/LOCODE.

Response schema

8 fields

Derived from the example response, nested as the JSON is.

okboolean

Whether the request succeeded.

dataobject

The payload. Everything an endpoint returns sits under this key.

carriersobject[]

Carriers, ranked.

carriers[]object
carrier_codestring

Carrier SCAC.

carrier_namestring

Carrier name.

on_time_pctnumber

Share of sailings that arrived on time.

avg_delay_hoursnumber

Average delay in hours.

observationsnumber

Number of observed sailings behind the figure.

Errors

Every refusal is { "ok": false, "error": { "code", "message" } }. Branch on the code, and log the message. No refusal or error is counted as a call.

UNAUTHORIZED401

The key is missing, unknown, revoked or past its own expiry date. Not counted.

FORBIDDEN403

Your account has no Schedules API access, or the key is not enabled for it. Not counted.

ACCESS_EXPIRED403

The access of your account, or of the key, has ended. Not counted.

QUOTA_EXCEEDED429

The monthly call limit of your account or of the key, or the key's daily limit, is spent. Retry-After gives the seconds until it resets. A refused call is not counted.

RATE_LIMITED429

Too many requests in a short window. Wait Retry-After seconds. A refused call is not counted.

SERVICE_UNAVAILABLE503

Access could not be checked just now, so the request was not run. Retry after Retry-After. Not counted.

curl 'https://api.schedulesmcp.com/public/reliability/lanes?origin=CNSHA&destination=NLRTM' \
  -H "Authorization: Bearer smcp_YOUR_API_KEY"
Response
{
  "ok": true,
  "data": {
    "carriers": [
      { "carrier_code": "CMDU", "carrier_name": "CMA CGM",
        "on_time_pct": 82, "avg_delay_hours": 14,
        "observations": 41 }
    ]
  }
}