{
  "openapi": "3.0.1",
  "info": {
    "title": "FMCSA New Trucking Carriers: Bulk Feed by State & Fleet Size",
    "description": "Newly registered US trucking companies from FMCSA's official Company Census open data. Bulk filters: state, city, ZIP, date range, power units, drivers, for-hire/private/exempt authority, interstate/intrastate, hazmat, cargo type. Business data only, no phones, emails or officer names.",
    "version": "0.1",
    "x-build-id": "F26SChNgU1kA7tbmN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/atlasagent99~fmcsa-new-carriers/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-atlasagent99-fmcsa-new-carriers",
        "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/atlasagent99~fmcsa-new-carriers/runs": {
      "post": {
        "operationId": "runs-sync-atlasagent99-fmcsa-new-carriers",
        "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/atlasagent99~fmcsa-new-carriers/run-sync": {
      "post": {
        "operationId": "run-sync-atlasagent99-fmcsa-new-carriers",
        "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": {
          "addedWithinDays": {
            "title": "Added to FMCSA in last N days",
            "minimum": 1,
            "type": "integer",
            "description": "Ignored if 'Added from' is set.",
            "default": 7
          },
          "addedFrom": {
            "title": "Added from (YYYY-MM-DD)",
            "type": "string",
            "description": "Start of FMCSA add-date range (inclusive)."
          },
          "addedTo": {
            "title": "Added to (YYYY-MM-DD)",
            "type": "string",
            "description": "End of add-date range (inclusive)."
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "2-letter physical-address states, e.g. TX, CA, FL. Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Physical-address cities, e.g. HOUSTON.",
            "items": {
              "type": "string"
            }
          },
          "zipPrefixes": {
            "title": "ZIP prefixes",
            "type": "array",
            "description": "e.g. 770 or 77002.",
            "items": {
              "type": "string"
            }
          },
          "minPowerUnits": {
            "title": "Min power units",
            "minimum": 0,
            "type": "integer",
            "description": "Fleet size floor (tractors + trucks)."
          },
          "maxPowerUnits": {
            "title": "Max power units",
            "minimum": 0,
            "type": "integer",
            "description": "Fleet size ceiling."
          },
          "minDrivers": {
            "title": "Min drivers",
            "minimum": 0,
            "type": "integer",
            "description": "Total drivers floor."
          },
          "authorityTypes": {
            "title": "Operation classification (authority type)",
            "uniqueItems": true,
            "type": "array",
            "description": "Matches any selected class from the MCS-150 classification.",
            "items": {
              "type": "string",
              "enum": [
                "forHire",
                "exemptForHire",
                "privateProperty",
                "privatePassenger",
                "migrant",
                "usMail",
                "federalGovernment",
                "stateGovernment",
                "localGovernment",
                "indianTribe"
              ]
            }
          },
          "operationTypes": {
            "title": "Carrier operation",
            "uniqueItems": true,
            "type": "array",
            "description": "A = interstate, B = intrastate hazmat, C = intrastate non-hazmat.",
            "items": {
              "type": "string",
              "enum": [
                "A",
                "B",
                "C"
              ],
              "enumTitles": [
                "Interstate",
                "Intrastate hazmat",
                "Intrastate non-hazmat"
              ]
            }
          },
          "hazmat": {
            "title": "Hazmat",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Filter by hazmat indicator.",
            "default": "any"
          },
          "cargoTypes": {
            "title": "Cargo types",
            "uniqueItems": true,
            "type": "array",
            "description": "Matches any selected cargo class.",
            "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"
              ]
            }
          },
          "hasDocketNumber": {
            "title": "Has MC/FF/MX docket only",
            "type": "boolean",
            "description": "Only carriers that already list a docket number.",
            "default": false
          },
          "status": {
            "title": "USDOT status",
            "enum": [
              "A",
              "I",
              "P",
              "any"
            ],
            "type": "string",
            "description": "Census status code.",
            "default": "A"
          },
          "nameContains": {
            "title": "Name contains",
            "type": "string",
            "description": "Case-insensitive text in legal or DBA name."
          },
          "dotNumbers": {
            "title": "Look up USDOT numbers",
            "type": "array",
            "description": "Bulk lookup of up to 500 USDOT numbers. When set, other filters are ignored.",
            "items": {
              "type": "string"
            }
          },
          "businessEntitiesOnly": {
            "title": "Business-named carriers only",
            "type": "boolean",
            "description": "Skip carriers whose legal name has no business word (LLC, INC, TRUCKING, LOGISTICS...), which are often sole proprietors operating under a person's name.",
            "default": true
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "You pay per result; this caps cost.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}