{
  "openapi": "3.0.1",
  "info": {
    "title": "Trucking Company Leads: New FMCSA Carriers, Email & Phone",
    "description": "Use this to get fresh trucking company leads from official FMCSA data: new USDOT carriers, brokers and freight forwarders with phone, email, officers, fleet size, drivers, cargo and authority. Filter by state, date, fleet and cargo. Excel and CSV.",
    "version": "0.1",
    "x-build-id": "hAWhlThDMRtOMt4hl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pandadad0214~trucking-company-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pandadad0214-trucking-company-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/pandadad0214~trucking-company-leads/runs": {
      "post": {
        "operationId": "runs-sync-pandadad0214-trucking-company-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/pandadad0214~trucking-company-leads/run-sync": {
      "post": {
        "operationId": "run-sync-pandadad0214-trucking-company-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": "What to find",
            "enum": [
              "new",
              "search",
              "lookup"
            ],
            "type": "string",
            "description": "New carriers = fresh USDOT registrations (the classic trucking-leads list for insurance, factoring, ELD, dispatch and fuel cards). Search = any carrier matching your filters. Lookup = details for a list of USDOT numbers.",
            "default": "new"
          },
          "daysBack": {
            "title": "Registered in the last (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "New-carriers mode: how far back to look. 7 = this week's new entrants.",
            "default": 30
          },
          "states": {
            "title": "States / provinces",
            "type": "array",
            "description": "2-letter codes of the physical address (TX, CA, FL, ON…). Empty = all states.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Optional. Exact city names, e.g. Houston, Laredo.",
            "items": {
              "type": "string"
            }
          },
          "zipPrefixes": {
            "title": "ZIP code prefixes",
            "type": "array",
            "description": "Optional. ZIP codes or prefixes, e.g. 850 for Phoenix, 770 for Houston.",
            "items": {
              "type": "string"
            }
          },
          "minPowerUnits": {
            "title": "Min power units (trucks/tractors)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. 1 = owner-operators and up; 5 = small fleets and up."
          },
          "maxPowerUnits": {
            "title": "Max power units",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. 1 = owner-operators only."
          },
          "minDrivers": {
            "title": "Min drivers",
            "minimum": 0,
            "type": "integer",
            "description": "Optional."
          },
          "maxDrivers": {
            "title": "Max drivers",
            "minimum": 0,
            "type": "integer",
            "description": "Optional."
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "any",
              "A",
              "B",
              "C"
            ],
            "type": "string",
            "description": "Interstate carriers cross state lines and usually need MC authority.",
            "default": "any"
          },
          "carrierClass": {
            "title": "Carrier class",
            "enum": [
              "any",
              "forHire",
              "private",
              "exempt",
              "passenger"
            ],
            "type": "string",
            "description": "For-hire carriers haul other people's freight (best for brokers, factoring and dispatch).",
            "default": "any"
          },
          "entityType": {
            "title": "Entity type",
            "enum": [
              "any",
              "C",
              "B",
              "F",
              "S",
              "I"
            ],
            "type": "string",
            "description": "Find brokers instead of carriers, for example.",
            "default": "any"
          },
          "cargo": {
            "title": "Cargo hauled (any of)",
            "type": "array",
            "description": "Optional. Keep carriers that haul at least one of these, e.g. refrigerated food, building materials, livestock.",
            "items": {
              "type": "string",
              "enum": [
                "general freight",
                "household goods",
                "metal sheets, coils, rolls",
                "motor vehicles",
                "drive away / towaway",
                "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"
              ]
            }
          },
          "hazmatOnly": {
            "title": "Hazmat carriers only",
            "type": "boolean",
            "description": "Only carriers flagged as hazardous materials carriers.",
            "default": false
          },
          "requireEmail": {
            "title": "Only carriers with an email",
            "type": "boolean",
            "description": "Skip records with no published email.",
            "default": false
          },
          "requirePhone": {
            "title": "Only carriers with a phone",
            "type": "boolean",
            "description": "Skip records with no published phone.",
            "default": false
          },
          "nameContains": {
            "title": "Name contains",
            "type": "string",
            "description": "Optional. Word in the legal or DBA name, e.g. logistics, express, transport."
          },
          "updatedWithinDays": {
            "title": "Filed an update (MCS-150) in the last (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Optional. Carriers that updated their FMCSA registration recently (active, reachable companies)."
          },
          "dotNumbers": {
            "title": "USDOT numbers (lookup mode)",
            "type": "array",
            "description": "Lookup mode: one USDOT number per line (up to 1,000).",
            "items": {
              "type": "string"
            }
          },
          "activeOnly": {
            "title": "Active USDOT status only",
            "type": "boolean",
            "description": "On by default. Off includes inactive and pending registrations (search mode).",
            "default": true
          },
          "maxResults": {
            "title": "Maximum carriers",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "You pay per carrier returned, so this also caps the cost. Newest registrations first.",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}