# DataNexusAI PTP Most Deadly Locations

> DataNexusAI PTP Most Deadly 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 (clusters) from PTP data, optionally filtered by year or date window

## Facts

- Endpoint: GET https://api.datanexusai.org/api/ptp/getMostDeadlyLocations?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-locations-ef42b20c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_71_YReeks5DZyACbF3ABD

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-locations-ef42b20c
```

Example prompt: Show me the top 10 most deadly road accident locations from the PTP dataset for the year 2020.

## When to prefer this

Use this endpoint when you need to identify the most fatality-heavy road accident clusters from the PTP dataset, particularly when filtering by calendar year or a custom date window. Prefer this over general accident listing endpoints when the goal is ranking or hotspot identification rather than raw event retrieval.

## Known failure modes

- Invalid or out-of-range year returns empty results or 400 error
- Malformed date strings for 'from'/'to' parameters cause 400 validation error
- Exceeding the default limit without specifying a valid integer may return default 20 results
- Payment not included or insufficient USDC triggers 402 Payment Required response
- No data available for the requested time window returns empty list

## 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 location clusters from the PTP (road accidents) dataset, including geographic or location identifiers and associated fatality metrics, limited to the requested number of results and filtered by the specified year or date window.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "description": "Window end."
      },
      "from": {
       "type": "string",
       "description": "Window start."
      },
      "year": {
       "type": "integer",
       "example": 2020,
       "description": "Calendar year."
      },
      "limit": {
       "type": "integer",
       "example": 20,
       "description": "Max clusters (default 20)."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-ptp-most-deadly-locations-ef42b20c/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)
