{
  "openapi": "3.0.1",
  "info": {
    "title": "FMCSA Trucking Leads - USDOT Carriers with Email, Phone, MC",
    "description": "FMCSA carrier leads and USDOT / MC lookup: trucking companies, brokers and new authorities from the official FMCSA census with email, phone, officers, fleet, drivers, cargo, authority and insurance. Filter by state, ZIP, date, size. $0.30 per 1,000, no start fee.",
    "version": "1.0",
    "x-build-id": "QDzPg7Lp6iQnPpQAO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~fmcsa-trucking-leads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-fmcsa-trucking-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/rel8ble~fmcsa-trucking-leads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-fmcsa-trucking-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/rel8ble~fmcsa-trucking-leads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-fmcsa-trucking-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": "States / provinces",
            "type": "array",
            "description": "Physical-address state of the company: 2-letter codes (TX, CA, FL ...) or full US state names, one per line. Canadian provinces (ON, QC ...) and Mexican states also work. Leave empty for all states.",
            "items": {
              "type": "string"
            }
          },
          "addedWithinDays": {
            "title": "Registered in the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Only companies that got their USDOT number in the last N days (new trucking companies = fresh leads for insurance, factoring, ELD, fuel cards, dispatch). 0 or empty = any date."
          },
          "requireEmail": {
            "title": "Only with email",
            "type": "boolean",
            "description": "Keep only companies whose FMCSA filing has an email address (filtered on the server; the rest is never charged).",
            "default": false
          },
          "requirePhone": {
            "title": "Only with phone",
            "type": "boolean",
            "description": "Keep only companies with a phone or cell phone number.",
            "default": false
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Optional physical-address cities, e.g. Dallas, Houston (exact city name, case-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "zipCodes": {
            "title": "ZIP code prefixes",
            "type": "array",
            "description": "Optional ZIP codes or prefixes (2-5 digits): 75201 = one ZIP, 752 = the whole Dallas area.",
            "items": {
              "type": "string"
            }
          },
          "nameKeywords": {
            "title": "Company name keywords",
            "type": "array",
            "description": "Optional words that must appear in the legal or DBA name, e.g. logistics, express, freight (any keyword matches).",
            "items": {
              "type": "string"
            }
          },
          "entityTypes": {
            "title": "Entity types",
            "type": "array",
            "description": "Optional: carrier, broker, freight forwarder, shipper ... Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "carrier",
                "broker",
                "freightForwarder",
                "shipper",
                "registrant",
                "cargoTankFacility",
                "intermodalEquipmentProvider"
              ],
              "enumTitles": [
                "Carrier",
                "Broker",
                "Freight forwarder",
                "Shipper",
                "Registrant",
                "Cargo tank facility",
                "Intermodal equipment provider"
              ]
            }
          },
          "operations": {
            "title": "Operation",
            "type": "array",
            "description": "Optional: interstate (crosses state lines, needs operating authority) or intrastate.",
            "items": {
              "type": "string",
              "enum": [
                "interstate",
                "intrastateHazmat",
                "intrastateNonHazmat"
              ],
              "enumTitles": [
                "Interstate",
                "Intrastate hazmat",
                "Intrastate non-hazmat"
              ]
            }
          },
          "docketFilter": {
            "title": "MC / MX / FF docket",
            "enum": [
              "any",
              "hasDocket",
              "activeDocket",
              "noDocket"
            ],
            "type": "string",
            "description": "hasDocket = for-hire companies with an MC / MX / FF number, activeDocket = docket active, noDocket = private / intrastate fleets.",
            "default": "any"
          },
          "minPowerUnits": {
            "title": "Min power units (trucks / tractors)",
            "minimum": 0,
            "type": "integer",
            "description": "Fleet size from the MCS-150 filing."
          },
          "maxPowerUnits": {
            "title": "Max power units",
            "minimum": 0,
            "type": "integer",
            "description": "e.g. 1 = owner-operators, 10 = small fleets."
          },
          "minDrivers": {
            "title": "Min drivers",
            "minimum": 0,
            "type": "integer",
            "description": "Total drivers reported."
          },
          "maxDrivers": {
            "title": "Max drivers",
            "minimum": 0,
            "type": "integer",
            "description": "Total drivers reported."
          },
          "cargoTypes": {
            "title": "Cargo carried",
            "type": "array",
            "description": "Optional cargo classes from the MCS-150 (any selected cargo matches).",
            "items": {
              "type": "string",
              "enum": [
                "generalFreight",
                "householdGoods",
                "metalSheetsCoils",
                "motorVehicles",
                "driveTowAway",
                "logsPolesLumber",
                "buildingMaterials",
                "mobileHomes",
                "machineryLargeObjects",
                "freshProduce",
                "liquidsGases",
                "intermodalContainers",
                "passengers",
                "oilfieldEquipment",
                "livestock",
                "grainFeedHay",
                "coalCoke",
                "meat",
                "garbageRefuse",
                "usMail",
                "chemicals",
                "dryBulk",
                "refrigeratedFood",
                "beverages",
                "paperProducts",
                "utilities",
                "farmSupplies",
                "construction",
                "waterWell",
                "other"
              ],
              "enumTitles": [
                "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"
              ]
            }
          },
          "hazmat": {
            "title": "Hazmat",
            "enum": [
              "any",
              "only",
              "exclude"
            ],
            "type": "string",
            "description": "Hazardous-materials carriers only, exclude them, or any.",
            "default": "any"
          },
          "safetyRatings": {
            "title": "Safety rating",
            "type": "array",
            "description": "Optional FMCSA safety rating filter.",
            "items": {
              "type": "string",
              "enum": [
                "satisfactory",
                "conditional",
                "unsatisfactory",
                "notRated"
              ],
              "enumTitles": [
                "Satisfactory",
                "Conditional",
                "Unsatisfactory",
                "Not rated"
              ]
            }
          },
          "status": {
            "title": "USDOT status",
            "enum": [
              "active",
              "inactive",
              "pending",
              "all"
            ],
            "type": "string",
            "description": "Active (default), inactive, pending or all records.",
            "default": "active"
          },
          "addedAfter": {
            "title": "Registered on or after",
            "type": "string",
            "description": "Optional date (YYYY-MM-DD) or relative (\"90 days\")."
          },
          "addedBefore": {
            "title": "Registered on or before",
            "type": "string",
            "description": "Optional date (YYYY-MM-DD) or relative (\"30 days\")."
          },
          "updatedAfter": {
            "title": "MCS-150 updated on or after",
            "type": "string",
            "description": "Optional: companies that filed an MCS-150 update on or after this date (YYYY-MM-DD or \"180 days\")."
          },
          "dotNumbers": {
            "title": "USDOT numbers (lookup)",
            "type": "array",
            "description": "Bulk lookup: USDOT numbers or SAFER snapshot URLs, one per line (up to 20,000). Numbers not in the census are listed in RUN_SUMMARY and not charged.",
            "items": {
              "type": "string"
            }
          },
          "mcNumbers": {
            "title": "MC / MX / FF numbers (lookup)",
            "type": "array",
            "description": "Bulk lookup by docket: MC-123456, MC123456, MX12345, FF1234 or a bare number (read as MC), up to 20,000.",
            "items": {
              "type": "string"
            }
          },
          "nationwide": {
            "title": "Search the whole US without filters",
            "type": "boolean",
            "description": "Needed only when no state, city, ZIP, name, date, size, cargo or lookup filter is set (otherwise an empty input runs a small Texas demo).",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "oldest",
              "recentlyUpdated",
              "largestFleet",
              "dotNumber"
            ],
            "type": "string",
            "description": "Newest / oldest registration, most recent MCS-150 update, largest fleet, or USDOT number.",
            "default": "newest"
          },
          "maxResults": {
            "title": "Max companies",
            "minimum": 0,
            "type": "integer",
            "description": "Total rows to save (0 = every match; a whole state can be 100,000+). RUN_SUMMARY shows how many match in total.",
            "default": 50
          },
          "includeAuthority": {
            "title": "Add operating authority",
            "type": "boolean",
            "description": "Adds common / contract / broker authority status, pending applications or revocations, required and on-file BIPD / cargo / bond coverage and business phone (FMCSA licensing data; 1 extra request per 100 companies, no extra charge).",
            "default": true
          },
          "includeInsurance": {
            "title": "Add insurance filings",
            "type": "boolean",
            "description": "Adds active and pending insurance filings: insurer, policy number, coverage, effective date (1 extra request per 100 companies, no extra charge). Useful for insurance agents and brokers vetting carriers.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}