{
  "openapi": "3.0.1",
  "info": {
    "title": "New Trucking Companies (FMCSA) - New Carrier & Authority Leads",
    "description": "Daily list of newly registered US trucking companies and new MC authority grants/applications from official FMCSA open data. Filter by state, fleet size, cargo, hazmat, carrier type and insurance-on-file. Phone, email, address, USDOT/MC numbers.",
    "version": "1.1",
    "x-build-id": "45BdSeLzW0N7bl7dY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/leadmagnet~new-trucking-companies/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-leadmagnet-new-trucking-companies",
        "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/leadmagnet~new-trucking-companies/runs": {
      "post": {
        "operationId": "runs-sync-leadmagnet-new-trucking-companies",
        "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/leadmagnet~new-trucking-companies/run-sync": {
      "post": {
        "operationId": "run-sync-leadmagnet-new-trucking-companies",
        "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",
        "required": [
          "dateMode",
          "daysBack"
        ],
        "properties": {
          "dateMode": {
            "title": "Which new carriers?",
            "enum": [
              "usdot_registered",
              "authority_granted",
              "authority_applied"
            ],
            "type": "string",
            "description": "<b>New USDOT registrations</b>: companies that just got a USDOT number. <b>Authority granted</b>: carriers whose MC operating authority was just granted (ready to haul for hire). <b>Authority applied</b>: carriers that just applied for MC authority and are pending; they usually still need insurance and a process agent.",
            "default": "usdot_registered"
          },
          "daysBack": {
            "title": "Within the last N days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Look-back window for the event chosen above (1-365). FMCSA data refreshes daily.",
            "default": 7
          },
          "states": {
            "title": "States (physical address)",
            "type": "array",
            "description": "Leave empty for all states.",
            "items": {
              "type": "string",
              "enum": [
                "AL",
                "AK",
                "AZ",
                "AR",
                "CA",
                "CO",
                "CT",
                "DE",
                "DC",
                "FL",
                "GA",
                "HI",
                "ID",
                "IL",
                "IN",
                "IA",
                "KS",
                "KY",
                "LA",
                "ME",
                "MD",
                "MA",
                "MI",
                "MN",
                "MS",
                "MO",
                "MT",
                "NE",
                "NV",
                "NH",
                "NJ",
                "NM",
                "NY",
                "NC",
                "ND",
                "OH",
                "OK",
                "OR",
                "PA",
                "RI",
                "SC",
                "SD",
                "TN",
                "TX",
                "UT",
                "VT",
                "VA",
                "WA",
                "WV",
                "WI",
                "WY",
                "PR"
              ]
            },
            "default": []
          },
          "carrierTypes": {
            "title": "Carrier type",
            "type": "array",
            "description": "Match any. Empty = all types.",
            "items": {
              "type": "string",
              "enum": [
                "authorized_for_hire",
                "private_property",
                "exempt_for_hire",
                "private_passenger",
                "government"
              ],
              "enumTitles": [
                "Authorized for hire",
                "Private (property)",
                "Exempt for hire",
                "Private passenger",
                "Government"
              ]
            },
            "default": [
              "authorized_for_hire"
            ]
          },
          "operationTypes": {
            "title": "Operation",
            "type": "array",
            "description": "Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "interstate",
                "intrastate_hazmat",
                "intrastate_non_hazmat"
              ],
              "enumTitles": [
                "Interstate",
                "Intrastate hazmat",
                "Intrastate non-hazmat"
              ]
            },
            "default": []
          },
          "authorityTypes": {
            "title": "Authority types (authority modes only)",
            "type": "array",
            "description": "Which operating authority events to track when using an authority mode.",
            "items": {
              "type": "string",
              "enum": [
                "motor_carrier_property",
                "household_goods",
                "passengers",
                "broker",
                "freight_forwarder"
              ],
              "enumTitles": [
                "Motor carrier of property",
                "Household goods (movers)",
                "Passenger carrier",
                "Freight broker",
                "Freight forwarder"
              ]
            },
            "default": [
              "motor_carrier_property",
              "household_goods"
            ]
          },
          "minPowerUnits": {
            "title": "Min power units (trucks)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional fleet-size floor."
          },
          "maxPowerUnits": {
            "title": "Max power units (trucks)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional fleet-size ceiling."
          },
          "cargoTypes": {
            "title": "Cargo types",
            "type": "array",
            "description": "Carrier hauls any of these. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "general_freight",
                "household_goods",
                "metal",
                "motor_vehicles",
                "drive_tow",
                "logs_lumber",
                "building_materials",
                "mobile_homes",
                "machinery",
                "produce",
                "liquids_gases",
                "intermodal",
                "passengers",
                "oilfield",
                "livestock",
                "grain_feed",
                "coal_coke",
                "meat",
                "garbage",
                "us_mail",
                "chemicals",
                "dry_bulk",
                "refrigerated_food",
                "beverages",
                "paper_products",
                "utilities",
                "farm_supplies",
                "construction",
                "water_well",
                "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"
              ]
            },
            "default": []
          },
          "hazmat": {
            "title": "Hazmat",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Filter on the FMCSA hazmat indicator.",
            "default": "any"
          },
          "statusFilter": {
            "title": "USDOT status",
            "enum": [
              "active_or_pending",
              "active",
              "any"
            ],
            "type": "string",
            "description": "USDOT registration status from the Company Census File.",
            "default": "active_or_pending"
          },
          "insuranceOnFile": {
            "title": "Liability insurance on file",
            "enum": [
              "any",
              "none",
              "yes"
            ],
            "type": "string",
            "description": "Based on the BIPD amount filed with FMCSA. 'None on file' is a strong lead for insurance agents.",
            "default": "any"
          },
          "excludeSoleOperators": {
            "title": "Exclude sole operators",
            "type": "boolean",
            "description": "Skip carriers with 1 or fewer power units and 1 or fewer drivers (typically one-person owner-operators, whose contact details are more likely to be personal). Recommended for lower privacy risk.",
            "default": false
          },
          "emailMode": {
            "title": "Email output",
            "enum": [
              "all",
              "business_domain_only",
              "none"
            ],
            "type": "string",
            "description": "Emails come from the carrier's own MCS-150 filing. 'Business domains only' drops gmail/yahoo/etc. addresses.",
            "default": "all"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "You are charged per carrier returned.",
            "default": 1000
          },
          "monitorMode": {
            "title": "Monitor mode (only new since last run)",
            "type": "boolean",
            "description": "Remember USDOT numbers already delivered and return only carriers you have not received before. Pair with a daily Apify Schedule for a fresh-leads feed.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Named key-value store that remembers delivered carriers. Use a different name per feed (lowercase letters, digits, hyphens).",
            "default": "fmcsa-new-carriers-monitor"
          },
          "socrataAppToken": {
            "title": "Socrata app token (optional)",
            "type": "string",
            "description": "Optional free data.transportation.gov app token for higher API rate limits."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}