{
  "openapi": "3.0.1",
  "info": {
    "title": "US DOT FMCSA Trucking, Motor Carriers & Fleet Email Leads",
    "description": "Query 2.24M+ active US DOT FMCSA motor carriers (1.71M+ with direct emails!) by fleet size, state, cargo type, hazmat & newly registered USDOT authorities with company officer names, phones, MC numbers & MCS-150 dates.",
    "version": "1.0",
    "x-build-id": "hToIMmzPiFbHjO8pK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/regpulse-data~us-fmcsa-trucking-motor-carrier-fleet-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-regpulse-data-us-fmcsa-trucking-motor-carrier-fleet-leads",
        "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/regpulse-data~us-fmcsa-trucking-motor-carrier-fleet-leads/runs": {
      "post": {
        "operationId": "runs-sync-regpulse-data-us-fmcsa-trucking-motor-carrier-fleet-leads",
        "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/regpulse-data~us-fmcsa-trucking-motor-carrier-fleet-leads/run-sync": {
      "post": {
        "operationId": "run-sync-regpulse-data-us-fmcsa-trucking-motor-carrier-fleet-leads",
        "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": {
          "mode": {
            "title": "Operation Mode",
            "enum": [
              "fleet_search",
              "new_carriers",
              "dot_lookup",
              "watchlist_diff"
            ],
            "type": "string",
            "description": "Select 'fleet_search' to query 2.2M+ active US motor carriers by fleet size, state, cargo, email/phone, or hazmat; 'new_carriers' for newly registered USDOT authorities sorted newest add_date first (ideal for commercial trucking insurance, factoring & ELD sales); 'dot_lookup' for exact single/batch USDOT or company verification; or 'watchlist_diff' for stateful carrier monitoring.",
            "default": "fleet_search"
          },
          "query": {
            "title": "Carrier Name Search (Legal or DBA Name)",
            "type": "string",
            "description": "Case-insensitive substring search against FMCSA legal_name and dba_name (e.g., 'FEDEX', 'LOGISTICS', 'REFRIGERATED', 'TANK LINES')."
          },
          "dotNumbers": {
            "title": "USDOT Numbers (Exact Single or Batch Lookup)",
            "type": "array",
            "description": "List of exact USDOT numbers to verify or monitor (e.g., ['86876', '296231', 'USDOT-239039']). Primarily used in 'dot_lookup' and 'watchlist_diff' modes; exact DOT lookups return both active and inactive carriers so revoked authorities are never hidden.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "US States / Jurisdictions (2-Letter Codes)",
            "type": "array",
            "description": "Filter by physical headquarters state using 2-letter US state codes (e.g., ['TX', 'CA', 'FL', 'IL', 'OH']). Leave empty for all US states.",
            "items": {
              "type": "string"
            }
          },
          "minPowerUnits": {
            "title": "Minimum Power Units (Fleet Size)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Minimum total power units (tractors + straight trucks + buses) operated by the carrier (e.g., 5 for mid-size fleets, 25 for regional carriers)."
          },
          "maxPowerUnits": {
            "title": "Maximum Power Units (Fleet Size)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Optional upper bound on total power units (e.g., 50 to target owner-operators and SMB fleets, or 500 to exclude mega-fleets)."
          },
          "minDrivers": {
            "title": "Minimum Total Drivers",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Minimum total drivers reported on the carrier's MCS-150 filing (e.g., 5 or 10)."
          },
          "activeOnly": {
            "title": "Active USDOT Authorities Only",
            "type": "boolean",
            "description": "Restrict results to active FMCSA motor carriers (status_code = 'A'). Ignored when looking up explicit dotNumbers in 'dot_lookup' mode so inactive/revoked carriers remain visible for KYB verification.",
            "default": true
          },
          "interstateOnly": {
            "title": "Interstate Carriers Only",
            "type": "boolean",
            "description": "Filter exclusively to Interstate motor carriers (carrier_operation = 'A').",
            "default": false
          },
          "hazmatOnly": {
            "title": "Hazardous Materials (Hazmat) Carriers Only",
            "type": "boolean",
            "description": "Filter exclusively to carriers authorized to transport hazardous materials (hm_ind = 'Y').",
            "default": false
          },
          "cargoTypes": {
            "title": "Cargo Types Carried",
            "type": "array",
            "description": "Match carriers hauling any of the selected FMCSA cargo categories (decoded from crgo_* MCS-150 flags).",
            "items": {
              "type": "string",
              "enum": [
                "General Freight",
                "Household Goods",
                "Metal: Sheets, Coils, Rolls",
                "Motor Vehicles",
                "Drive/Tow Away",
                "Logs, Poles, Beams, Lumber",
                "Building Materials",
                "Mobile Homes",
                "Machinery, Large Objects",
                "Fresh Produce",
                "Liquids/Gases",
                "Intermodal Containers",
                "Passengers",
                "Oilfield Equipment",
                "Livestock",
                "Grain, Feed, Hay",
                "Coal/Coke",
                "Meat",
                "Garbage/Refuse",
                "US Mail",
                "Chemicals",
                "Commodities Dry Bulk",
                "Refrigerated Food",
                "Beverages",
                "Paper Products",
                "Utilities",
                "Agricultural/Farm Supplies",
                "Construction",
                "Water Well",
                "Other"
              ]
            }
          },
          "hasEmailOnly": {
            "title": "Require Direct Email Address",
            "type": "boolean",
            "description": "Return only motor carriers with a valid direct email address on file with FMCSA (1.71M+ active carriers have direct emails).",
            "default": false
          },
          "hasPhoneOnly": {
            "title": "Require Phone Number",
            "type": "boolean",
            "description": "Return only motor carriers with a direct business phone number on file.",
            "default": false
          },
          "addedSince": {
            "title": "USDOT Added Since Date (YYYY-MM-DD)",
            "type": "string",
            "description": "Filter carriers whose USDOT registration add_date is on or after this ISO date (e.g., '2026-11-01'). Ideal for 'new_carriers' outbound lead workflows."
          },
          "sortBy": {
            "title": "Sort Order",
            "enum": [
              "recently_updated",
              "newest_added",
              "largest_fleet",
              "dot_number_asc"
            ],
            "type": "string",
            "description": "Optional deterministic sort order. Defaults to 'newest_added' in new_carriers mode, 'dot_number_asc' in exact dot_lookup mode, and 'recently_updated' (freshest MCS-150 filings first) in fleet_search mode."
          },
          "maxResults": {
            "title": "Maximum Records to Return",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap the number of billed carrier leads pushed to the dataset (1 to 5,000).",
            "default": 100
          },
          "stateStoreName": {
            "title": "Watchlist Key-Value Store Name (for watchlist_diff Mode)",
            "type": "string",
            "description": "Persistent named Apify Key-Value Store used to store carrier watchlist snapshots between runs.",
            "default": "us-fmcsa-fleet-watchlist-state"
          },
          "watchlistStateKey": {
            "title": "Watchlist State Key (for watchlist_diff Mode)",
            "type": "string",
            "description": "Snapshot record key inside stateStoreName for tracking new authorities, status changes, safety rating updates, and fleet changes.",
            "default": "US_FMCSA_CARRIER_WATCHLIST_SNAPSHOT"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}