{
  "openapi": "3.0.1",
  "info": {
    "title": "NHTSA Recall Database: Vehicle Recall Campaigns",
    "description": "Gets US vehicle recall campaigns in NHTSA's recall data for all makes, newest report first and 10 recall campaigns by default. Each has recall number, manufacturer, components, vehicles, units affected, defect and remedy. Filters by make, model, year, component and date. No login, no key.",
    "version": "0.1",
    "x-build-id": "j9EUgmP3TaJ1ltkdP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/plain-build~nhtsa-vehicle-recalls-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-plain-build-nhtsa-vehicle-recalls-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/plain-build~nhtsa-vehicle-recalls-scraper/runs": {
      "post": {
        "operationId": "runs-sync-plain-build-nhtsa-vehicle-recalls-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/plain-build~nhtsa-vehicle-recalls-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-plain-build-nhtsa-vehicle-recalls-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "recall_type": {
            "title": "Recall type",
            "enum": [
              "all",
              "vehicle",
              "equipment",
              "tire",
              "child_seat"
            ],
            "type": "string",
            "description": "all, vehicle, equipment, tire or child_seat, as NHTSA files the recall.",
            "default": "all"
          },
          "manufacturer": {
            "title": "Manufacturer",
            "type": "string",
            "description": "Part of the manufacturer's name as NHTSA writes it, for example Ford or Forest River; matches the filing manufacturer and the manufacturers of the recalled products, in any case. Letters, digits, spaces and & . , ' ( ) / : - only, at most 100 characters. Leave empty for every manufacturer.",
            "default": ""
          },
          "make": {
            "title": "Make",
            "type": "string",
            "description": "The vehicle or equipment make exactly as NHTSA writes it, in any case, for example FORD, TOYOTA or HARLEY-DAVIDSON. Leave empty for every make.",
            "default": ""
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Part of the model name, in any case, for example F-150 (also matches F-150 LIGHTNING). Use it with Make for one vehicle. Leave empty for every model.",
            "default": ""
          },
          "model_year": {
            "title": "Model year",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "One model year from 1900 to 2100, for example 2024. Leave empty for every year."
          },
          "component": {
            "title": "Component",
            "type": "string",
            "description": "Part of NHTSA's component name, in any case, for example AIR BAGS, BRAKES or FUEL SYSTEM. Leave empty for every component.",
            "default": ""
          },
          "report_date_from": {
            "title": "Report received on or after (YYYY-MM-DD)",
            "type": "string",
            "description": "The first day NHTSA received the manufacturer's defect or noncompliance report, as YYYY-MM-DD, for example 2026-01-01. Leave empty for no start. With Only new recalls on, an empty value reads the campaigns with a row added in the last 30 days at least, and a date may be at most 366 days back.",
            "default": ""
          },
          "report_date_to": {
            "title": "Report received on or before (YYYY-MM-DD)",
            "type": "string",
            "description": "The last day of the report, as YYYY-MM-DD, for example 2026-06-30. Leave empty for no end. Not with Only new recalls, which always reads up to the newest campaign.",
            "default": ""
          },
          "new_since_last_run": {
            "title": "Only new recalls (daily mode)",
            "type": "boolean",
            "description": "Deliver and charge only recall campaigns this Actor has not delivered to you before for the same recall type, manufacturer, make, model, model year and component (upper and lower case count as the same). Without a first report day, a run reads the campaigns with a row NHTSA added to its file in the last 30 days at least, each with all its vehicles, newest first; a campaign held back by Maximum results or your spending limit comes in a later run. Delivered campaigns are remembered in a key-value store named nhtsa-vehicle-recalls-scraper-state in your account.",
            "default": false
          },
          "max_items": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "How many recall campaigns to return at most, from 1 to 20,000. The default is 10: raise it to get more; a run stops at this number. You pay per recall campaign delivered.",
            "default": 10
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}