{
  "openapi": "3.0.1",
  "info": {
    "title": "New Trucking Company Leads: FMCSA New Carriers & Insurance",
    "description": "New US trucking companies from official FMCSA data, scored 0 to 100 as leads with phone, email, fleet, cargo, MC authority status, liability insurance required vs filed, insurer and suspension notices. Filter by state, fleet, cargo; monitor mode. $0.015 per carrier. Agent-ready: x402, MCP.",
    "version": "0.1",
    "x-build-id": "O9yETtQOK5Rkdx7mT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nerolabs~new-trucking-company-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nerolabs-new-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/nerolabs~new-trucking-company-leads/runs": {
      "post": {
        "operationId": "runs-sync-nerolabs-new-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/nerolabs~new-trucking-company-leads/run-sync": {
      "post": {
        "operationId": "run-sync-nerolabs-new-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": {
          "leadType": {
            "title": "Which leads",
            "enum": [
              "new_carriers",
              "needs_insurance",
              "authority_granted",
              "insurance_lapsing"
            ],
            "type": "string",
            "description": "new_carriers: USDOT numbers registered in the window. needs_insurance: carriers whose operating authority (MC) application is pending and whose required liability (BIPD) insurance is not filed yet, the hottest list for truck insurance agents. authority_granted: authority granted in the window, for factoring, ELD, fuel card and dispatch sellers. insurance_lapsing: active carriers with an FMCSA suspension notice taking effect in the next N days, usually because their insurance was cancelled.",
            "default": "new_carriers"
          },
          "withinDays": {
            "title": "Days to look back (or ahead for suspensions)",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "How many days back to look for registrations, applications and grants. For insurance_lapsing, how many days ahead the suspension takes effect.",
            "default": 7
          },
          "states": {
            "title": "States (optional)",
            "type": "array",
            "description": "Only carriers whose physical address is in these US states, 2 letter codes: TX, CA, FL, GA. Empty means all states.",
            "items": {
              "type": "string"
            }
          },
          "minPowerUnits": {
            "title": "Minimum power units (trucks or tractors)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip carriers with fewer power units than this, e.g. 2 to skip one-truck owner operators.",
            "default": 0
          },
          "maxPowerUnits": {
            "title": "Maximum power units (optional)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip carriers bigger than this. Empty or 0 means no limit."
          },
          "cargoTypes": {
            "title": "Cargo types (optional)",
            "type": "array",
            "description": "Keep carriers that haul any of these, matched on the FMCSA cargo list: general freight, refrigerated food, building materials, machinery, motor vehicles, livestock, chemicals, intermodal, dry bulk, construction, household goods.",
            "items": {
              "type": "string"
            }
          },
          "forHireOnly": {
            "title": "For-hire carriers only",
            "type": "boolean",
            "description": "For new_carriers: keep only companies registered as authorized for hire (they haul other people's freight and need authority, insurance, factoring and loads). Off includes private fleets.",
            "default": true
          },
          "interstateOnly": {
            "title": "Interstate only",
            "type": "boolean",
            "description": "Keep only carriers that cross state lines.",
            "default": false
          },
          "hazmatOnly": {
            "title": "Hazmat only",
            "type": "boolean",
            "description": "Keep only carriers registered to haul hazardous materials.",
            "default": false
          },
          "skipReplacedInsurance": {
            "title": "Skip carriers that already replaced their insurance",
            "type": "boolean",
            "description": "For insurance_lapsing: skip carriers that have filed a newer insurance policy since the suspension notice (about 4 in 10), so you only get carriers still about to lose authority. Off returns them too, marked replacementInsuranceFiled true and scored lower.",
            "default": true
          },
          "requireContact": {
            "title": "Contact needed",
            "enum": [
              "phone_or_email",
              "phone",
              "email",
              "none"
            ],
            "type": "string",
            "description": "Skip carriers without this contact on file, so you only pay for leads you can reach.",
            "default": "phone_or_email"
          },
          "includeOfficerNames": {
            "title": "Include company officer names",
            "type": "boolean",
            "description": "Add the officer names listed on the FMCSA registration. Off by default; turn on only if your use of personal names is lawful where you work.",
            "default": false
          },
          "minLeadScore": {
            "title": "Minimum lead score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Return only carriers scoring at least this (0 to 100).",
            "default": 0
          },
          "maxLeads": {
            "title": "Maximum leads",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "The best scored carriers up to this number are returned and charged.",
            "default": 100
          },
          "excludeDotNumbers": {
            "title": "Skip these USDOT numbers (optional)",
            "type": "array",
            "description": "Carriers you already work, by USDOT number.",
            "items": {
              "type": "string"
            }
          },
          "excludeListUrl": {
            "title": "Skip list from a CSV or Google Sheet (optional)",
            "type": "string",
            "description": "Link to a CSV or a Google Sheet (shared as anyone with the link can view) with a USDOT column, e.g. your CRM export. Those carriers are skipped and not charged."
          },
          "monitorMode": {
            "title": "Monitor mode (only new since last run)",
            "type": "boolean",
            "description": "Remember carriers already returned and give only new ones next time. Schedule it daily for a fresh lead feed.",
            "default": false
          },
          "watchName": {
            "title": "Watch name (monitor mode)",
            "type": "string",
            "description": "Keeps separate memories for separate lists, e.g. 'tx-insurance' and 'ga-factoring'."
          },
          "webhookUrl": {
            "title": "Webhook URL (optional)",
            "type": "string",
            "description": "We POST the run summary here when the run ends (in monitor mode only when there are new leads). Works with Zapier, Make, n8n or Slack workflows."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}