Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

NHTSA Crash API Crashes API

Crash queries by location, vehicle, and occupant

NHTSA Crash API Crashes API is one of 3 APIs that NHTSA Crash API publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Crashes. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 3 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://crashviewer.nhtsa.dot.gov/CrashAPI.

3 operations 3 paths 1 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Server
https://crashviewer.nhtsa.dot.gov/CrashAPI
Contact
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Crashes 3

Crash queries by location, vehicle, and occupant

GET
/crashes/GetCrashesByLocation
Get crashes by location
getCrashesByLocation 5 params → 200
GET
/crashes/GetCrashesByVehicle
Get crashes by vehicle
getCrashesByVehicle 7 params → 200
GET
/crashes/GetCrashesByOccupant
Get crashes by occupant
getCrashesByOccupant 8 params → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is CrashApiResponse (3 properties). Each schema is shown below with its type and property counts.

CrashApiResponse
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nhtsa-crash-api-crashes-api-openapi.yml Raw ↑

Other APIs NHTSA Crash API publishes across the network.

NHTSA Crash API Cases API
NHTSA Crash API FARS API