# APEX Vehicle Database Search

> APEX Vehicle Database Search is a paid API for AI agents from api.apex-db.org, paid per call via x402 or MPP, $0.1/call, status unknown (last checked 2026-09-13).

Search and filter normalized vehicle variants by brand, model, year, powertrain type, market, or free text query.

## Facts

- Endpoint: GET https://api.apex-db.org/v1/apex
- Price: $0.1/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apex-vehicle-database-search-4abc14ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mAY9UpdQB1q3Qf3Ap6I6R

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 apex-vehicle-database-search-4abc14ac
```

Example prompt: Search the APEX vehicle database for all BEV variants of Tesla Model 3 for the 2023 model year in the US market and return up to 50 results.

## When to prefer this

Use this endpoint when you need structured, normalized vehicle variant data filtered by automotive taxonomy fields such as brand, model, model year, powertrain type, or market. Prefer this over generic web search when you need clean, machine-readable vehicle records with consistent IDs for downstream processing or enrichment.

## Known failure modes

- No results returned if brand/model/year combination does not exist in database
- Invalid powertrain enum value causes request rejection
- cursor token from a different query context causes unpredictable pagination results
- model_year outside 1880-2100 range causes validation error
- Payment required (402) if x402 payment header is missing or insufficient
- limit exceeding 100 causes validation error

## How this service works

Search normalized vehicle variants by brand, model, model year, powertrain, market, or free text.

## Output

A paginated list of normalized vehicle variant records, each with a unique integer ID and provenance metadata, plus a has_more flag, an optional next_cursor for keyset pagination, and an optional total count of matching records.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 120,
       "minLength": 1
      },
      "brand": {
       "type": "string",
       "maxLength": 80,
       "minLength": 1
      },
      "count": {
       "type": "boolean",
       "description": "Include the total matching-record count."
      },
      "limit": {
       "type": "integer",
       "default": 20,
       "maximum": 100,
       "minimum": 1
      },
      "model": {
       "type": "string",
       "maxLength": 80,
       "minLength": 1
      },
      "cursor": {
       "type": "string",
       "description": "Opaque keyset cursor from a previous response."
      },
      "market": {
       "type": "string",
       "maxLength": 40,
       "minLength": 2
      },
      "model_year": {
       "type": "integer",
       "maximum": 2100,
       "minimum": 1880
      },
      "powertrain": {
       "enum": [
        "ICE",
        "HEV",
        "PHEV",
        "BEV",
        "MHEV",
        "REEV",
        "FCEV"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "has_more",
      "next_cursor"
     ],
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "id"
        ],
        "properties": {
         "id": {
          "type": "integer",
          "minimum": 1
         },
         "_provenance": {
          "type": "object",
          "additionalProperties": true
         }
        },
        "additionalProperties": true
       }
      },
      "total": {
       "type": "integer",
       "minimum": 0
      },
      "has_more": {
       "type": "boolean"
      },
      "next_cursor": {
       "type": [
        "string",
        "null"
       ]
      }
     },
     "additionalProperties": fal
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apex-vehicle-database-search-4abc14ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.apex-db.org](https://www.zero.xyz/host/api.apex-db.org/llms.txt)
