Loading...
Loading...
NCAP five-star crash ratings for a model year, make and model: overall, frontal, side and rollover, with recall, complaint and investigation counts. Called as GET /v1/nhtsa/safety-ratings, it takes modelYear, make, model and returns found, variants, truncated. Crash-test scores are per body style and drivetrain, not per model, so an agent comparing vehicles needs the tested variant rather than a remembered headline number. Reading this schema and dry-running the call are free and need no wallet; a real call costs $0.004, paid in USDC on Base over x402.
npx skill4agent add fittings-sh/fittings fittings-nhtsa-safety-ratingsnhtsa.safety-ratingshttps://fittings.shGET https://fittings.sh/v1/nhtsa/safety-ratings| Field | Type | Required | Notes |
|---|---|---|---|
| number | yes | Model year, e.g. 2015 |
| string | yes | Make, e.g. Honda |
| string | yes | Model, e.g. Accord |
{
"modelYear": 2015,
"make": "Honda",
"model": "Accord"
}| Price | $0.004 |
| Source | NHTSA SafetyRatings API (api.nhtsa.gov), public domain |
| Licence | public-domain |
fittingscall.mjscurl -sO https://fittings.sh/skill/call.mjscurl -s https://fittings.sh/catalog/nhtsa.safety-ratings | jq402 Payment Required# Dry run. Prints the quote and pays nothing, because no key is set.
node call.mjs nhtsa.safety-ratings modelYear=2015 make=Honda model=Accord
# For real: a wallet holding USDC on Base, and nothing else.
export FITTINGS_PRIVATE_KEY=0x...
node call.mjs nhtsa.safety-ratings modelYear=2015 make=Honda model=AccordFITTINGS_PRIVATE_KEYFITTINGS_MAX_PRICE@x402/core@x402/evmfittingshttps://fittings.sh/catalog/search?q=...