# BNM Data Shop – AAIB Investigation Reports

> BNM Data Shop – AAIB Investigation Reports is a paid API for AI agents from ticks.bnm.farm, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-20).

Returns a JSON list of UK Air Accidents Investigation Branch (AAIB) investigation report records, including aircraft details, registration, dates, and source PDF links.

## Facts

- Endpoint: GET https://ticks.bnm.farm/aaib-reports?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bnm-data-shop-aaib-investigation-reports-a60ac07f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1bJsbk1UAxt1af7mh3gQ4

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 bnm-data-shop-aaib-investigation-reports-a60ac07f
```

Example prompt: Pull the latest AAIB investigation report records from the BNM Data Shop and give me the titles, aircraft registrations, dates, and PDF links for each one.

## When to prefer this

Choose this endpoint when you need structured, machine-readable AAIB investigation report data without scraping GOV.UK yourself. It is ideal for agents that need aviation accident data as JSON with consistent schema, PDF links, and metadata. Prefer it over raw web scraping when you need reliable field extraction (registration, date, title) and are willing to pay a small per-call fee via x402 micropayment.

## Known failure modes

- HTTP 402 returned if payment header is missing or invalid (x402 micropayment not completed)
- Empty records array if no reports have been published for the current period
- Stale data if upstream GOV.UK source has not been refreshed
- Network timeout if ticks.bnm.farm is temporarily unavailable
- Schema validation error if unexpected query parameters are passed

## How this service works

Official public data as JSON. Unpaid paid routes return HTTP 402.

## Output

A JSON object containing: a boolean success flag, a list of report records (each with id, URL to source PDF, date, aircraft identifier, and type), a list of card summaries (with title, body teaser, date, aircraft name, registration, and source URL), a record count integer, a data source URL, an 'asOf' date, and a fetchedAt timestamp.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "schema": {
     "type": "object"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "ok",
   "product",
   "status",
   "fetchedAt",
   "asOf",
   "source",
   "recordCount",
   "records",
   "cards"
  ],
  "properties": {
   "ok": {
    "type": "boolean"
   },
   "asOf": {
    "type": "string"
   },
   "cards": {
    "type": "array",
    "items": {
     "type": "object"
    }
   },
   "source": {
    "type": "string"
   },
   "status": {
    "type": "string"
   },
   "product": {
    "type": "string"
   },
   "records": {
    "type": "array",
    "items": {
     "type": "object"
    }
   },
   "fetchedAt": {
    "type": "string"
   },
   "recordCount": {
    "type": "integer"
   }
  }
 },
 "example": {
  "ok": true,
  "asOf": "2026-08-20",
  "cards": [
   {
    "id": "aaib-investigation-to-eurofox-2k-g-cmax",
    "body": "This teaser is not an official AAIB investigation body. Eurofox 2K G-CMAX excerpt.",
    "date": "2026-08-20",
    "title": "AAIB investigation to Eurofox 2K, G-CMAX",
    "aircraft": "Eurofox 2K",
    "sourceUrl": "https://assets.publishing.service.gov.uk/media/6a730cd0de77e2943cd3bbe8/Eurofox_2K_G-CMAX_09-26.pdf",
    "registration": "G-CMAX"
   }
  ],
  "source": "https://www.gov.uk/aaib-reports",
  "status": "ok",
  "product": "aaib-investigation-report-bodies",
  "records": [
   {
    "id": "aaib-investigation-to-eurofox-2k-g-cmax",
    "url": "https://assets.publishing.service.gov.uk/media/6a730cd0de77e2943cd3bbe8/Eurofox_2K_G-CMAX_09-26.pdf",
    "date": "2026-08-20",
    "firm": "Eurofox 2K G-CMAX",
    "type": "aaib-reports"
   }
  ],
  "fetchedAt": "2026-08-31T22:00:00.000Z",
  "recordCount": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bnm-data-shop-aaib-investigation-reports-a60ac07f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ticks.bnm.farm](https://www.zero.xyz/host/ticks.bnm.farm/llms.txt)
