{
  "openapi": "3.0.1",
  "info": {
    "title": "FMCSA Trucking Carriers Scraper: DOT Numbers, No Login",
    "description": "US motor carriers from the FMCSA census: DOT and MC numbers, fleet size, drivers, cargo, safety rating, address, phone and email. $1 per 1,000 results, platform usage included.",
    "version": "0.1",
    "x-build-id": "n8MZEJaXNaM3KLaf8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/one_dollar_store~fmcsa-trucking-carriers-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-one_dollar_store-fmcsa-trucking-carriers-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/one_dollar_store~fmcsa-trucking-carriers-scraper/runs": {
      "post": {
        "operationId": "runs-sync-one_dollar_store-fmcsa-trucking-carriers-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/one_dollar_store~fmcsa-trucking-carriers-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-one_dollar_store-fmcsa-trucking-carriers-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": "State or province",
            "type": "array",
            "description": "Only carriers whose physical address is in these states (two letter codes). Leave empty for all of the United States, Canada and Mexico.",
            "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",
                "GU",
                "VI",
                "AS",
                "MP",
                "AB",
                "BC",
                "MB",
                "NB",
                "NL",
                "NS",
                "NT",
                "NU",
                "ON",
                "PE",
                "QC",
                "SK",
                "YT"
              ]
            }
          },
          "cities": {
            "title": "Cities",
            "maxItems": 100,
            "type": "array",
            "description": "Only carriers whose physical address is in one of these cities, one per line, for example DALLAS. Not case sensitive.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z0-9 .'\\-]{2,40}$"
            }
          },
          "zipPrefixes": {
            "title": "ZIP codes or ZIP prefixes",
            "maxItems": 200,
            "type": "array",
            "description": "Only carriers whose physical ZIP code starts with one of these, 3 to 5 digits, for example 750 or 75201.",
            "items": {
              "type": "string",
              "pattern": "^[0-9]{3,5}$"
            }
          },
          "countries": {
            "title": "Country",
            "type": "array",
            "description": "Only carriers based in these countries. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "CA",
                "MX"
              ],
              "enumTitles": [
                "United States and territories",
                "Canada",
                "Mexico"
              ]
            }
          },
          "carrierStatus": {
            "title": "Carrier status",
            "type": "array",
            "description": "Active is a carrier with a current USDOT registration. Inactive carriers are old records that are no longer in business or no longer registered. Pending ones have applied and are not yet active. Leave all unticked for every status.",
            "items": {
              "type": "string",
              "enum": [
                "A",
                "I",
                "P"
              ],
              "enumTitles": [
                "Active",
                "Inactive",
                "Pending"
              ]
            },
            "default": [
              "A"
            ]
          },
          "operationTypes": {
            "title": "Operation type",
            "type": "array",
            "description": "Interstate carriers cross state lines. Intrastate carriers stay in one state, with or without hazardous materials.",
            "items": {
              "type": "string",
              "enum": [
                "A",
                "B",
                "C"
              ],
              "enumTitles": [
                "Interstate",
                "Intrastate hazmat",
                "Intrastate non-hazmat"
              ]
            }
          },
          "entityRoles": {
            "title": "Entity type",
            "type": "array",
            "description": "What the registrant is. A record can have several roles, and it is kept when any selected role matches. Broker and freight forwarder records are companies that arrange freight and may run no trucks.",
            "items": {
              "type": "string",
              "enum": [
                "C",
                "B",
                "F",
                "S",
                "R",
                "I",
                "T"
              ],
              "enumTitles": [
                "Carrier",
                "Broker",
                "Freight forwarder",
                "Shipper",
                "Registrant",
                "Intermodal equipment provider",
                "Cargo tank"
              ]
            }
          },
          "organizationTypes": {
            "title": "Business organization",
            "type": "array",
            "description": "Individual, partnership or corporation, as the carrier reported it. About one record in six has this filled in, so choosing it removes the rest.",
            "items": {
              "type": "string",
              "enum": [
                "INDIVIDUAL",
                "PARTNERSHIP",
                "CORPORATION"
              ],
              "enumTitles": [
                "Individual",
                "Partnership",
                "Corporation"
              ]
            }
          },
          "cargoCarried": {
            "title": "Cargo carried",
            "type": "array",
            "description": "Only carriers that report hauling at least one of these cargo types.",
            "items": {
              "type": "string",
              "enum": [
                "genfreight",
                "household",
                "metalsheet",
                "motoveh",
                "drivetow",
                "logpole",
                "bldgmat",
                "mobilehome",
                "machlrg",
                "produce",
                "liqgas",
                "intermodal",
                "passengers",
                "oilfield",
                "livestock",
                "grainfeed",
                "coalcoke",
                "meat",
                "garbage",
                "usmail",
                "chem",
                "drybulk",
                "coldfood",
                "beverages",
                "paperprod",
                "utility",
                "farmsupp",
                "construct",
                "waterwell",
                "cargoothr"
              ],
              "enumTitles": [
                "General freight",
                "Household goods",
                "Metal: sheets, coils, rolls",
                "Motor vehicles",
                "Driveaway / 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, trash",
                "U.S. mail",
                "Chemicals",
                "Commodities dry bulk",
                "Refrigerated food",
                "Beverages",
                "Paper products",
                "Utility",
                "Farm supplies",
                "Construction",
                "Water-well",
                "Other"
              ]
            }
          },
          "hazmatOnly": {
            "title": "Hazardous materials carriers only",
            "type": "boolean",
            "description": "Only carriers that flagged hazardous materials in their registration.",
            "default": false
          },
          "minPowerUnits": {
            "title": "Fleet size: at least this many power units",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Power units are trucks, tractors and buses the carrier operates. Use 5 for fleets of five or more."
          },
          "maxPowerUnits": {
            "title": "Fleet size: at most this many power units",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Upper end of the fleet size range. Leave empty for no upper limit."
          },
          "minDrivers": {
            "title": "Drivers: at least",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Total drivers (interstate and intrastate) the carrier reported. Carriers that left this empty are left out when you set a limit."
          },
          "maxDrivers": {
            "title": "Drivers: at most",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Upper end of the driver count. Leave empty for no upper limit."
          },
          "safetyRatings": {
            "title": "Safety rating",
            "type": "array",
            "description": "FMCSA safety rating from a compliance review. Most carriers have never been rated, choose Not rated to keep those.",
            "items": {
              "type": "string",
              "enum": [
                "S",
                "C",
                "U",
                "NONE"
              ],
              "enumTitles": [
                "Satisfactory",
                "Conditional",
                "Unsatisfactory",
                "Not rated"
              ]
            }
          },
          "requireEmail": {
            "title": "Only carriers with an email address",
            "type": "boolean",
            "description": "Keep carriers that list an email address in their registration.",
            "default": false
          },
          "requirePhone": {
            "title": "Only carriers with a phone number",
            "type": "boolean",
            "description": "Keep carriers that list a phone number.",
            "default": false
          },
          "requireMcNumber": {
            "title": "Only carriers with an MC number",
            "type": "boolean",
            "description": "Keep carriers whose first docket is an MC number (for hire operating authority).",
            "default": false
          },
          "addedFrom": {
            "title": "Added to the census from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only carriers first added on or after this date, as 2026-01-31. Use it as a new carriers feed."
          },
          "addedTo": {
            "title": "Added to the census until",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only carriers first added on or before this date, as 2026-09-30."
          },
          "updatedFrom": {
            "title": "Registration updated since",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only carriers whose latest MCS-150 registration update is on or after this date, as 2025-01-01. Old updates often mean the record is stale."
          },
          "nameContains": {
            "title": "Name contains",
            "pattern": "^[A-Za-z0-9 .,&'\\-]{2,60}$",
            "type": "string",
            "description": "Only carriers whose legal name or trade name (DBA) contains this text, for example LOGISTICS. Not case sensitive. Searching names takes a few seconds longer."
          },
          "sortBy": {
            "title": "Order",
            "enum": [
              "dotNumber",
              "newestAdded"
            ],
            "type": "string",
            "description": "USDOT number order is the same on every run. Newest first lists the most recently added carriers first.",
            "default": "dotNumber"
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 10,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many carriers. Minimum 10, maximum 100,000.",
            "default": 100
          },
          "appToken": {
            "title": "Socrata app token (optional)",
            "type": "string",
            "description": "Not needed. If you have a free Socrata app token you can paste it here; it is sent to data.transportation.gov and gives your runs their own throttling allowance."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}