{
  "openapi": "3.1.0",
  "info": {
    "title": "US Vehicle Recalls & VIN Check MCP",
    "description": "Decode any VIN and see NHTSA safety recalls and owner complaints.\n\nThis specification documents the HTTP x402 pay-per-call routes only (not the MCP /mcp transport). Unpaid calls return HTTP 402. Retry with an X-PAYMENT header (x402 v1, scheme exact, USDC on Base). A payout address is included only in the live 402 challenge served by the Worker, not in this file. MCP endpoint: https://us-vehicle-recalls-mcp.donniertf.workers.dev/mcp. Manifest: https://us-vehicle-recalls-mcp.donniertf.workers.dev/.well-known/x402. Paper/free discovery routes are not billed.",
    "version": "1.0.0",
    "contact": {
      "name": "Donnie Morrison",
      "email": "dmorrisonwebdesign@gmail.com",
      "url": "https://us-vehicle-recalls-mcp.donniertf.workers.dev/"
    },
    "license": {
      "name": "See product landing page and source licences"
    },
    "x-guidance": "Use the paid HTTP routes documented in paths (POST JSON, or GET with query args). Unpaid calls return HTTP 402; retry with an X-PAYMENT header (x402, USDC on Base). The MCP transport is at /mcp. Decode any VIN and see NHTSA safety recalls and owner complaints."
  },
  "servers": [
    {
      "url": "https://us-vehicle-recalls-mcp.donniertf.workers.dev",
      "description": "US Vehicle Recalls & VIN Check MCP origin"
    }
  ],
  "tags": [
    {
      "name": "x402",
      "description": "USDC on Base pay-per-call routes"
    }
  ],
  "paths": {
    "/x402/vehicle_recalls": {
      "post": {
        "summary": "FREE. Open NHTSA safety recalls for a vehicle by VIN (decoded) or make/model/year — top 3.",
        "description": "FREE. Open NHTSA safety recalls for a vehicle by VIN (decoded) or make/model/year — top 3.",
        "operationId": "post_x402_vehicle_recalls",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "vin": {
                    "type": "string"
                  },
                  "make": {
                    "type": "string"
                  },
                  "model": {
                    "type": "string"
                  },
                  "year": {
                    "type": "number"
                  }
                }
              }
            }
          }
        }
      },
      "get": {
        "summary": "FREE. Open NHTSA safety recalls for a vehicle by VIN (decoded) or make/model/year — top 3. (query or 402 probe)",
        "description": "FREE. Open NHTSA safety recalls for a vehicle by VIN (decoded) or make/model/year — top 3. Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_vehicle_recalls",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "vin",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "make",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    },
    "/x402/vehicle_report": {
      "post": {
        "summary": "PRO. Full report: VIN decode, every recall with consequence/remedy, and owner complaint stats (top failing components, crashes, fires).",
        "description": "PRO. Full report: VIN decode, every recall with consequence/remedy, and owner complaint stats (top failing components, crashes, fires).",
        "operationId": "post_x402_vehicle_report",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "vin": {
                    "type": "string"
                  },
                  "make": {
                    "type": "string"
                  },
                  "model": {
                    "type": "string"
                  },
                  "year": {
                    "type": "number"
                  }
                }
              }
            }
          }
        }
      },
      "get": {
        "summary": "PRO. Full report: VIN decode, every recall with consequence/remedy, and owner complaint stats (top failing components, crashes, fires). (query or 402 probe)",
        "description": "PRO. Full report: VIN decode, every recall with consequence/remedy, and owner complaint stats (top failing components, crashes, fires). Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_vehicle_report",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "vin",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "make",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "model",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    },
    "/x402/batch_vins": {
      "post": {
        "summary": "PRO. Check up to 25 VINs (dealer stock, fleet, auction lots) for open recalls by model year.",
        "description": "PRO. Check up to 25 VINs (dealer stock, fleet, auction lots) for open recalls by model year.",
        "operationId": "post_x402_batch_vins",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "vins": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "vins"
                ]
              }
            }
          }
        }
      },
      "get": {
        "summary": "PRO. Check up to 25 VINs (dealer stock, fleet, auction lots) for open recalls by model year. (query or 402 probe)",
        "description": "PRO. Check up to 25 VINs (dealer stock, fleet, auction lots) for open recalls by model year. Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_batch_vins",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "vins",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ]
      }
    }
  }
}