MileCheck
MileCheck for business › For software teams

The MileCheck API

For dispatch, fleet, EMS and routing software that needs to know which highway and mile marker a vehicle is on, and what is happening on the road ahead.

It is the same data that runs the MileCheck app: mile markers for all 50 states and 10 Canadian provinces and territories, and live state DOT feeds from every state plus British Columbia, Alberta, Manitoba and Quebec.

Get a test key How pricing works

The test key is instant, with no email. It runs 14 days at 100 calls a day. Paid plans are set up by email to sales@milecheckapp.com, or tell us what you need and we write back.

One format for every state

Each state DOT publishes its data its own way. The API returns all of it in one response shape.

Mile-marker lookup

Send GPS coordinates; get the highway, nearest mile marker, and direction where the state's data has it.

Live state DOT feeds

Closures, crashes, construction, chain controls and road weather, each naming the highway and location, with the mile marker where the state provides one.

We maintain the integrations

53 upstream feeds in 19 formats, many behind their own registration and rate limits. When one changes, we fix it.

Two products, two ways of paying

Mile markers and live road conditions are sold differently, because they behave differently.

Mile markers: a data license

Mile markers do not move. You get the whole file (GeoJSON and CSV, all 50 states and 10 Canadian provinces and territories) for a flat yearly fee, and you keep it. You get a full snapshot every month with a list of what changed, including new roads and renumbered highways. The lookup only needs a GPS position, not a good cell signal. No call counting.

The mile marker dataset, prices and a free sample →

Live conditions: the API, priced by use

Closures, crashes, construction, chain controls, wildfires, drawbridge status and border waits change by the minute, so your software asks for them when it needs them. Each request your software sends to our server is one API call. Plans are priced by how many calls a day you need: a 14-day test key at 100 calls a day, Business is quoted by the feeds you connect, up to 100,000, more by quote.

API plans ↓

The mile marker lookup (/v1/locate) is also in the API for teams that only need one point at a time. If you want mile markers on your own map, take the license. You can buy both. Not a developer? Start at MileCheck for business.

New to this? Read Is there one API for every state's 511 road alerts? · Is there an alternative to Iteris ClearData or Road511? · Is there an API that gives the highway mile marker for a GPS location? · Is there a database of every highway mile marker in the US? · How do dispatchers find the mile marker for a caller's location?

Endpoints

Each endpoint shows the request and response on the left and the same data on a real screen on the right.

Base URL: https://api.milecheckapp.com

Authentication — every request needs an API key. Pass it as a query parameter (?apikey=YOUR_KEY), an x-api-key header, or an Authorization: Bearer YOUR_KEY header. Don't have a key yet? Get a test key, no email needed.
GET/v1/usage

Your key's own numbers: calls today, the daily limit, when it resets, and calls by endpoint for the last 30 days. It does not count against your limit. Every response also carries X-Request-Id and, for limited keys, X-RateLimit-Limit, -Remaining and -Reset.

Request

curl "https://api.milecheckapp.com/v1/usage?apikey=YOUR_KEY"

Response (abridged)

{
  "key": { "prefix": "mk_live_ab12…", "plan": "business", "expires_at": null },
  "today": { "date": "2026-10-30", "calls": 412, "limit": 100000, "remaining": 99588, "resets_at": "2026-10-31T00:00:00.000Z" },
  "last_30_days": { "total": 9120, "by_endpoint": { "/v1/alerts": 8400, "/v1/locate": 720 } }
}

Reference: errors and limits, uptime and data, data and accuracy, data quality by state, versioning and the changelog. POST /v1/keys/rotate issues a new key with the same plan and end date; the old key works for 24 more hours.

GET/v1/locate

Coordinates in, nearest highway mile marker out.

lat and lon required · heading optional (degrees, 0 = north; adds NB/SB/EB/WB and which exit is ahead) · state optional (2-letter code, narrows the search)

Request

curl "https://api.milecheckapp.com/v1/locate?apikey=YOUR_KEY&lat=47.6062&lon=-122.33&heading=0"

Response (abridged)

{
  "milepost": 166,
  "unit": "mi",
  "route": "I-5",
  "also_signed_as": [],
  "route_class": "I",
  "state": "WA",
  "direction": "NB",
  "label": "I-5 NB MP 166",
  "road_name": null,
  "nearest_exit": {
    "ahead": { "exit": "167", "name": "Mercer St", "distance": 1, "unit": "mi",
               "label": "Exit 167 / Mercer St, 1 mi ahead" },
    "behind": { "exit": "166", "name": "Olive Way", "distance": 0, "unit": "mi",
                "label": "Exit 166 / Olive Way" }
  },
  "distance_mi": 0.161,
  "coordinates": { "lat": 47.613281, "lon": -122.330096 },
  "nearby": [ { "route": "SR 99", "milepost": 34, "unit": "mi", "distance_mi": 0.406 } ],
  "query": { "lat": 47.6062, "lon": -122.33 }
}

Where two routes share one road, also_signed_as lists the others ("I-90 EB / I-39 / I-94 MP 122"). Canada and Arizona's I-19 answer in kilometres ("unit": "km"). nearest_exit is in Washington and Arizona today. road_name adds the street name where the road has one ("US-60 WB MP 155 / Grand Ave").

Fleet dispatch screen: a map of I-90 in Montana with a truck at mile 47.3 eastbound and the lookup response beside it
API Mile marker lookup. A fleet dispatch tool uses the lookup and the truck's GPS to read out its highway and mile. The same markers are also licensed as a file with no call limits.
GET/v1/alerts

Live, normalized DOT road conditions and incidents for a state — closures, crashes, construction, road-weather.

state (2-letter code) or lat + lon required · bbox=minLon,minLat,maxLon,maxLat optional · limit=N optional

Request

curl "https://api.milecheckapp.com/v1/alerts?apikey=YOUR_KEY&state=WA"

Response (abridged — arrays truncated)

{
  "state": "WA",
  "generated_at": "2026-08-31T18:42:00Z",
  "counts": { "conditions": 16, "incidents": 184 },
  "conditions": [ /* road-weather-reports */ ],
  "incidents": [ /* incident-reports: closures, crashes, construction, etc. */ ],
  "source_status": { "conditions": "live", "incidents": "live" }
}
MileCheck app alerts list for Washington with two southbound crashes on I-5, each with route and mile marker
Real output. Crashes grouped by road and direction, each with its mile marker, from the Washington DOT feed. The API returns the same alerts.
GET/v1/fires

Active wildfires across the U.S. (NIFC/WFIGS) and British Columbia — name, size, containment, cause, and location.

state optional · bbox=minLon,minLat,maxLon,maxLat optional · limit=N optional · exclude_rx=1 optional (hide prescribed burns)

Request

curl "https://api.milecheckapp.com/v1/fires?apikey=YOUR_KEY&state=OR"

Response (abridged — array truncated)

{
  "generated_at": "2026-08-31T18:42:00Z",
  "source": "NIFC/WFIGS + BCWS",
  "count": 37,
  "fires": [
    {
      "id": "2026-ORXYZ-000123",
      "name": "Cedar Creek Fire",
      "acres": 4210,
      "containedPct": 35,
      "state": "US-OR",
      "county": "Lane",
      "cause": "Lightning",
      "lat": 43.87, "lon": -122.12,
      "isNew": false, "isRx": false
    }
  ]
}
GET/v1/borders

Live wait times at U.S. land border crossings. Into the U.S. from U.S. Customs and Border Protection (standard, FAST, NEXUS/SENTRI and Ready lanes), and into Canada from the Canada Border Services Agency for the busiest crossings. Each crossing has its port ID, name, state, coordinates, hours and last update time.

state optional · country=canada|mexico optional · lat + lon + radius=miles optional (default 50, nearest first) · limit=N optional

Request

curl "https://api.milecheckapp.com/v1/borders?apikey=YOUR_KEY&state=WA"

Response (abridged — one crossing shown, lanes without a report are null)

{
  "generated_at": "2026-10-30T02:45:10Z",
  "count": 5,
  "feed_time": "2026-10-30T02:38:19Z",
  "crossings": [
    {
      "port_id": "300402",
      "port_name": "Blaine",
      "crossing_name": "Peace Arch",
      "country": "canada",
      "state": "WA",
      "lat": 49.002083, "lon": -122.755889,
      "status": "Open",
      "hours": "24 hrs/day",
      "directions": [
        {
          "direction": "into_us", "source": "CBP",
          "commercial": { "standard": null, "fast": null },
          "passenger": {
            "standard": { "delay_minutes": 0, "lanes_open": 2, "status": "no delay" },
            "nexus_sentri": { "delay_minutes": 0, "lanes_open": 1, "status": "no delay" },
            "ready": null
          },
          "last_updated": "2026-10-30T02:38:18Z", "stale": false
        },
        {
          "direction": "into_canada", "source": "CBSA",
          "commercial": { "standard": { "delay_minutes": 0 } },
          "passenger": { "standard": { "delay_minutes": 10 } },
          "last_updated": "2026-10-30T02:15:00Z"
        }
      ]
    }
  ],
  "source_status": "live"
}
GET/v1/bridges

Every USCG-regulated drawbridge in a state, with its federal opening rule (33 CFR 117) and live up or down status where an agency publishes one. Seattle, Florida and Louisiana today. A bridge nobody reports comes back with live: null, never as closed.

state optional (2-letter) · limit=N optional

Request

curl "https://api.milecheckapp.com/v1/bridges?apikey=YOUR_KEY&state=WA"

Response (abridged — one bridge shown)

{
  "generated_at": "2026-09-16T00:31:50Z",
  "state": "WA",
  "counts": { "total": 19, "with_live_feed": 5, "live_up": 0 },
  "source_status": { "WA-SDOT": "ok" },
  "sign_status": "ok",
  "bridges": [
    {
      "id": "117.1051-d-2",
      "name": "Fremont Bridge",
      "waterway": "Lake Washington Ship Canal",
      "citation": "33 CFR 117.1051(d)",
      "rule": "The draws of the Ballard Bridge, mile 1.1, Fremont Bridge, mile 2.6 …",
      "lat": 47.647772, "lon": -122.349759,
      "live_feed": true,
      "live": {
        "state": "down", "source": "WA-SDOT", "fresh": true,
        "observed_at": "2026-09-16T00:31:50Z",
        "last_raised_at": "2026-09-15T22:22:19Z",
        "last_lowered_at": "2026-09-15T22:26:14Z",
        "last_up_seconds": 235
      }
    },
    {
      "id": "117.1051-d-1",
      "name": "Ballard Bridge",
      "live": { "state": "down", "source": "WA-SDOT", "fresh": true, "observed_at": "2026-09-16T00:31:50Z" },
      "signs": [
        { "from": "15th Ave NW & NW 61st St", "to": "Downtown", "seconds": 1044,
          "observed_at": "2026-09-21T21:35:00Z", "source": "WA-SDOT-signs" }
      ]
    }
  ]
}

signs is the minutes posted on SDOT's overhead travel-time signs, for routes whose geometry crosses that bridge (Ballard, University and Montlake today). A dark sign sends nothing. sign_status reports that source separately from the bridge feed.

GET/v1/bridges/history

The lift log. MileCheck stamps every raise and lower it sees, so each bridge carries lifts this week and this month, the typical and longest lift, which hours it opens most, and the recent lifts with durations. Seattle today.

state=WA

Request

curl "https://api.milecheckapp.com/v1/bridges/history?apikey=YOUR_KEY&state=WA"

Response (abridged)

{
  "state": "WA",
  "since": "2026-08-19T18:38:51Z",
  "timezone": "America/Los_Angeles",
  "bridges": [
    {
      "id": "117.1051-d-2",
      "lifts_7d": 31,
      "lifts_30d": 335,
      "median_duration_sec": 241,
      "longest_duration_sec": 601,
      "lifts_by_hour_30d": [0, 0, 0, …],
      "recent": [
        { "raised_at": "2026-09-15T22:22:19Z", "lowered_at": "2026-09-15T22:26:14Z", "duration_sec": 235 }
      ],
      "currently_up_since": null
    }
  ]
}
Route planner for the Ballard Bridge in Seattle: 259 lifts in 30 days, a typical lift of 4 minutes, a chart of lifts by hour and the five Seattle drawbridges
API Seattle bridge lift history. A route planner shows how often and how long the Ballard Bridge lifts, and which daytime hours had the fewest lifts in the last 30 days.

Usage and keys

API console showing a key, 41,206 of 100,000 calls used today, calls by day and by endpoint, and the latest requests
API Example usage dashboard. A key, today's calls against the daily limit, calls by day and endpoint, and the latest requests.

See all eight example screens on what road data you can buy.

Get a test key

No email and no sign-up. The key works for 14 days at 100 calls a day. It is shown once and is not emailed, so copy it.

One key per network per day. Need more than 100 calls a day? See the plans.

Try it

Live demo of /v1/locate. Drop in a key, adjust the coordinates, and hit Locate.

Response will appear here.

Need a key? Get a test key.

Pricing

API plans are priced by calls a day. An API call is one request your software sends to our server. Fleet and enterprise plans are quoted. Want the mile markers as a file you keep? See the mile marker dataset license below, or everything you can buy and what each costs.

Developer
$0

14-day test key, 100 calls a day.

  • 100 calls / day for 14 days
  • Live state DOT feeds and the nearest-mile-marker lookup
  • Attribution required
  • No support or SLA
Get a test key
Fleet & enterprise
Talk to us

Custom API plan. Higher daily limit and priority support. Terms quoted, invoiced yearly.

  • Volume beyond 100,000 calls / day
  • Service-level agreement
  • Priority support and a named contact
  • Annual invoicing
Talk to us

Mile marker dataset license

Want the mile markers as a map layer in your own app? License the file instead of calling the API. Mile markers do not move, so you download the dataset once, keep it, and get a full snapshot every month with a list of what changed. The lookup only needs a GPS position, not a good cell signal. A yearly license, quoted by size and support. No call limits.

Customer data portal listing mile marker files by state in GeoJSON and CSV, monthly archive files and license terms with no call limits
Data license Milepost dataset and Historical archive. Files by state in GeoJSON and CSV, monthly archive files, and terms with no call limits.
What is in it, prices and a free sample

Questions, answered

What's covered by the MileCheck API?

Mile markers for all 50 US states and 10 Canadian provinces and territories. Live state DOT feeds (closures, crashes, construction, chain controls, road weather) for all 50 states plus British Columbia, Alberta, Manitoba and Quebec, normalized from 54 separate feeds into one schema. Wildfires, drawbridge status and border wait times are on the Business plan.

What's the difference between /v1/locate and /v1/alerts?

/v1/locate turns GPS coordinates into the nearest highway mile marker (route, milepost, direction). /v1/alerts returns live, normalized road conditions and incidents — closures, crashes, construction — for a state or a location.

How do API keys work?

Every request needs an API key, passed as a query parameter, an x-api-key header, or an Authorization: Bearer header. Email sales@milecheckapp.com to request one.

Is there an SLA?

There is no published SLA. Developer and Business plans carry none. Fleet and enterprise terms, including support, are agreed in the license and invoiced yearly.

Where does the data come from?

Mile-marker positions come from state DOT reference-marker datasets. Road alerts come directly from each state and provincial DOT's live traffic feed, normalized by MileCheck into one schema.

Ready to integrate?

A test key is instant and needs no email. It runs 14 days at 100 calls a day. For the Business plan or a license, tell us what you're building.

Our mission

Become the trusted source for road information across North America, from today’s closures to next season’s roadwork.

What we do

We put every state’s Department of Transportation data in one place, on your phone, in your car and in your browser.

Our values

More in our privacy policy and our story.