{
  "openapi": "3.0.1",
  "info": {
    "title": "FMCSA & USDOT Trucking Carrier Leads Scraper (Email & Phone)",
    "description": "Extract verified US motor carriers, trucking fleets, and freight brokers from the official US DOT FMCSA Census with Owner/Officer names, direct email, phone, cell phone, DOT/MC numbers, fleet size, drivers, and cargo types. $0 proxy needed.",
    "version": "0.1",
    "x-build-id": "4fVf5KNawBRGhpw15"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mystique-lab~fmcsa-carrier-leads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mystique-lab-fmcsa-carrier-leads-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/mystique-lab~fmcsa-carrier-leads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-mystique-lab-fmcsa-carrier-leads-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/mystique-lab~fmcsa-carrier-leads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-mystique-lab-fmcsa-carrier-leads-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": {
          "states": {
            "title": "US States (Physical HQ)",
            "type": "array",
            "description": "Two-letter US state codes (e.g., [\"TX\", \"CA\", \"FL\", \"IL\", \"GA\", \"OH\"]). Leave empty for all states.",
            "default": [
              "TX",
              "CA",
              "FL"
            ],
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities (Optional)",
            "type": "array",
            "description": "Optional city names (e.g., [\"DALLAS\", \"HOUSTON\", \"CHICAGO\", \"MIAMI\"]).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dotNumbers": {
            "title": "Specific USDOT Numbers (Optional)",
            "type": "array",
            "description": "Look up exact USDOT numbers (e.g., [\"295863\", \"3901234\"]).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyNameQuery": {
            "title": "Company or DBA Name Keyword",
            "type": "string",
            "description": "Optional keyword to match in Legal Name or DBA Name (e.g., \"LOGISTICS\", \"TRANSPORT\", \"EXPRESS\", \"FREIGHT\")."
          },
          "cargoTypes": {
            "title": "Cargo Specializations",
            "type": "array",
            "description": "Filter carriers that haul at least one of the selected cargo types. Options: general_freight, refrigerated_food, intermodal, motor_vehicles, building_materials, machinery_large, produce, metal_sheets, drive_tow, logs_poles, mobile_homes, liquids_gases, oilfield_equipment, livestock, grain_feed, coal_coke, meat, garbage_refuse, us_mail, chemicals, dry_bulk, beverages, paper_products, utility, farm_supplies, construction, household_goods, passengers.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPowerUnits": {
            "title": "Minimum Power Units (Fleet Size)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of power units (trucks/tractors) operated by the carrier (e.g., 1 for owner-operators, 5 for small fleets, 20 for mid-size fleets).",
            "default": 1
          },
          "maxPowerUnits": {
            "title": "Maximum Power Units (Optional)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of power units (e.g., 50 to target small-to-medium fleets and exclude mega-carriers). Leave 0 for no upper limit.",
            "default": 0
          },
          "minDrivers": {
            "title": "Minimum Total Drivers",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum total drivers employed/leased by the carrier.",
            "default": 0
          },
          "addedSinceDate": {
            "title": "Registered Since Date (YYYYMMDD or YYYY-MM-DD)",
            "type": "string",
            "description": "Filter newly registered USDOT authorities added on or after this date (e.g., \"2025-01-01\" or \"2026-01-01\"). Ideal for new-venture trucking insurance, factoring, and dispatch sales."
          },
          "requireEmail": {
            "title": "Require Direct Email Address",
            "type": "boolean",
            "description": "Only return carriers with a verified email_address on file.",
            "default": true
          },
          "requirePhone": {
            "title": "Require Phone or Cell Phone",
            "type": "boolean",
            "description": "Only return carriers with a phone or cell_phone number on file.",
            "default": true
          },
          "requireOfficer": {
            "title": "Require Company Officer / Owner Name",
            "type": "boolean",
            "description": "Only return carriers with company_officer_1 or company_officer_2 (Owner/President/CEO) listed.",
            "default": true
          },
          "activeOnly": {
            "title": "Active Status Only (status_code = 'A')",
            "type": "boolean",
            "description": "Only return active USDOT carrier records.",
            "default": true
          },
          "hazmatOnly": {
            "title": "Hazmat Carriers Only (hm_ind = 'Y')",
            "type": "boolean",
            "description": "Only return carriers authorized to haul Hazardous Materials.",
            "default": false
          },
          "forHireOnly": {
            "title": "Authorized For-Hire Carriers Only",
            "type": "boolean",
            "description": "Only return carriers classified as AUTHORIZED FOR HIRE.",
            "default": false
          },
          "maxItems": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum number of verified motor carrier leads to return.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}