# DataNexusAI PTP Most Deadly Road Locations

> DataNexusAI PTP Most Deadly Road Locations is a paid API for AI agents from api.datanexusai.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Returns the most deadly road accident locations in the PTP dataset for a given calendar year, optionally limited to a specified number of clusters.

## Facts

- Endpoint: GET https://api.datanexusai.org/api/ptp/getMostDeadlyLocations/%7Byear%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-ptp-most-deadly-road-locations-fb800ce6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CZms7odVvgc1lQJ3BR6uG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability datanexusai-ptp-most-deadly-road-locations-fb800ce6
```

Example prompt: What were the most deadly road accident locations in 2020 according to PTP data? Give me the top 5 clusters.

## When to prefer this

Use this endpoint when you need ranked, clustered fatal road accident locations for a specific calendar year from the PTP dataset. Prefer this over generic traffic APIs when you need structured hotspot rankings with fatality data rather than raw incident records or aggregate statistics.

## Known failure modes

- Year out of range or no data available for that year returns empty result or 404
- Missing year path parameter returns 422 validation error
- Payment not provided or insufficient USDC results in 402 Payment Required
- Invalid year format (non-integer) returns 400 Bad Request
- Limit parameter set to 0 or negative may return empty or error response

## How this service works

Public data API for SEBRA payments, PTP road accidents, Hearthstone cards, EU agri-food prices, and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). Docs and discovery endpoints are free.

Machine-readable discovery: `https://api.datanexusai.org/openapi.json`, `https://api.datanexusai.org/llms.txt`, `https://api.datanexusai.org/.well-known/x402`.

Human docs: `/docs` and `/api/`.

## Output

A ranked list of the most deadly road accident location clusters for the specified year, including geographic coordinates or location identifiers and associated fatality counts, optionally capped at a user-specified number of clusters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "year"
     ],
     "properties": {
      "year": {
       "type": "integer",
       "example": 2020,
       "description": "Calendar year."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "description": "Max clusters."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-ptp-most-deadly-road-locations-fb800ce6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.datanexusai.org](https://www.zero.xyz/host/api.datanexusai.org/llms.txt)
