Developer API

The MileCheck API

Highway mile markers and live DOT road alerts — all 50 states + British Columbia, one normalized API.

Nobody else has done the work of normalizing 50+ separate state DOT feeds — each with its own format, auth, and quirks — into a single consistent schema. We already did it for our app. You can build on it too.

Get an API key View endpoints

One schema, 50 states + BC

Every state and province speaks a different DOT dialect. MileCheck normalizes them all into one consistent response shape.

Mile-marker geocoding

Turn GPS coordinates into the nearest highway mile marker — route, milepost, and direction.

Live DOT alerts

Closures, crashes, construction, and road-weather — classified and normalized from live state feeds.

We maintain the integrations

51 upstream feeds, each with its own auth and shape. When one breaks, we fix it — not you.

Endpoints

Base URL: https://milepost-proxy.leahgerber93.workers.dev

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? Email sales@milecheckapp.com.
GET/v1/locate

Coordinates in, nearest highway mile marker out.

lat and lon required · state optional (2-letter code, narrows the search)

Request

curl "https://milepost-proxy.leahgerber93.workers.dev/v1/locate?apikey=YOUR_KEY&lat=47.869&lon=-121.760"

Response

{
  "milepost": 25,
  "route": "SR 2",
  "route_class": "S",
  "state": "WA",
  "direction": null,
  "distance_mi": 0.04,
  "coordinates": { "lat": 47.869404, "lon": -121.760126 },
  "query": { "lat": 47.869, "lon": -121.76 }
}
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://milepost-proxy.leahgerber93.workers.dev/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" }
}
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://milepost-proxy.leahgerber93.workers.dev/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
    }
  ]
}

Try it

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

Response will appear here.

Need a key? Email sales@milecheckapp.com.

Pricing

Launch pricing — subject to change.

Free
$0

For evaluation and early integration work.

  • 1,000 requests / month
  • /v1/locate, /v1/alerts + /v1/fires
  • Community support
Get started
Business
Custom

High-volume use, SLA, and invoiced billing.

  • Volume pricing
  • Service-level agreement
  • Invoicing & priority support
Contact us

Questions, answered

What's covered by the MileCheck API?

Highway mile markers and live DOT road alerts for all 50 US states plus British Columbia. Alert coverage (closures, crashes, construction, road-weather) is normalized from over 50 separate state and provincial DOT feeds into one consistent schema.

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?

The Business tier includes a service-level agreement and invoicing for high-volume or mission-critical use. Contact us to discuss terms.

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?

Tell us what you're building and we'll get you a key. Free tier available today; the API is launching, not yet self-serve.