{
  "openapi": "3.0.1",
  "info": {
    "title": "FMCSA Trucking Carrier Leads: New DOT Carriers",
    "description": "New trucking companies the day FMCSA registers them, with phone, email, officers, address, fleet size, drivers, cargo types and MC dockets. Filter by state, fleet size, cargo and for-hire, or look up any USDOT or MC number. Official FMCSA census data, no API key.",
    "version": "0.1",
    "x-build-id": "nHSq9P72Df0OQMagr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapemint~fmcsa-trucking-carrier-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapemint-fmcsa-trucking-carrier-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/scrapemint~fmcsa-trucking-carrier-leads/runs": {
      "post": {
        "operationId": "runs-sync-scrapemint-fmcsa-trucking-carrier-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/scrapemint~fmcsa-trucking-carrier-leads/run-sync": {
      "post": {
        "operationId": "run-sync-scrapemint-fmcsa-trucking-carrier-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": "Mode",
            "enum": [
              "new",
              "lookup"
            ],
            "type": "string",
            "description": "New carriers: companies that registered a USDOT number in the last N days (lead feed). Lookup: specific USDOT numbers, MC numbers or company names.",
            "default": "new"
          },
          "addedWithinDays": {
            "title": "Registered within (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "New mode: carriers whose USDOT registration was added in the last N days. The FMCSA file lags 1-2 days.",
            "default": 7
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Two-letter state codes of the physical address, e.g. TX, CA, FL. Empty = all states.",
            "items": {
              "type": "string"
            }
          },
          "dotNumbers": {
            "title": "USDOT numbers (lookup)",
            "type": "array",
            "description": "Lookup mode: USDOT numbers.",
            "items": {
              "type": "string"
            }
          },
          "mcNumbers": {
            "title": "MC / docket numbers (lookup)",
            "type": "array",
            "description": "Lookup mode: MC, MX or FF docket numbers (digits only or with prefix).",
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names (lookup)",
            "type": "array",
            "description": "Lookup mode: legal or DBA name contains this text (case insensitive). Up to 20.",
            "items": {
              "type": "string"
            }
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "any",
              "interstate",
              "intrastate"
            ],
            "type": "string",
            "description": "Interstate carriers cross state lines (need USDOT + often MC authority). Intrastate stay in one state.",
            "default": "any"
          },
          "authorizedForHireOnly": {
            "title": "For-hire carriers only",
            "type": "boolean",
            "description": "Only carriers that haul for others (authorized for hire), not private fleets.",
            "default": false
          },
          "minPowerUnits": {
            "title": "Min power units (trucks/tractors)",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no minimum.",
            "default": 0
          },
          "maxPowerUnits": {
            "title": "Max power units",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no maximum. Use 1-2 for owner-operators.",
            "default": 0
          },
          "cargoTypes": {
            "title": "Cargo types",
            "type": "array",
            "description": "Keep carriers that haul any of these. Options: general_freight, household_goods, metal_sheets_coils, motor_vehicles, driveaway_towaway, logs_poles_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, dry_bulk, refrigerated_food, beverages, paper_products, utilities, agricultural_supplies, construction, water_well, other.",
            "items": {
              "type": "string"
            }
          },
          "hazmatOnly": {
            "title": "Hazmat carriers only",
            "type": "boolean",
            "description": "Only carriers flagged as hazardous materials carriers.",
            "default": false
          },
          "activeOnly": {
            "title": "Active only",
            "type": "boolean",
            "description": "New mode: skip inactive and pending registrations.",
            "default": true
          },
          "requireEmail": {
            "title": "Require email",
            "type": "boolean",
            "description": "Only carriers with an email on file.",
            "default": false
          },
          "requirePhone": {
            "title": "Require phone",
            "type": "boolean",
            "description": "Only carriers with a phone on file.",
            "default": false
          },
          "maxRows": {
            "title": "Max carriers",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Cap on rows returned (newest first). Controls cost.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}