{
  "openapi": "3.0.1",
  "info": {
    "title": "FCC License & Antenna Tower Leads Scraper",
    "description": "Scrape official FCC bulk data: wireless licensees (ULS) and antenna-structure (ASR) tower owners with phone, email, address, FRN, license/registration status, dates, structure heights & GPS. Telecom & broadcast B2B leads. Filters, lead scoring & monitoring. No browser, no API key.",
    "version": "0.1",
    "x-build-id": "pnjLTIwLL4bhnfJ8P"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~fcc-license-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-fcc-license-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/scrapesage~fcc-license-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-fcc-license-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/scrapesage~fcc-license-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-fcc-license-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": {
          "sources": {
            "title": "Data sources",
            "type": "array",
            "description": "Which official FCC bulk feeds to scrape. <b>antennaStructures</b> = ASR tower owners (phone ~100%, email ~90%). The rest are ULS wireless services (licensee phone ~100%, email ~40%): land-mobile commercial/private (two-way radio, fleets, public safety), microwave, paging, market-based (cellular/PCS/AWS/700 MHz carriers), maritime coast & ship.",
            "items": {
              "type": "string",
              "enum": [
                "antennaStructures",
                "landMobileCommercial",
                "landMobilePrivate",
                "microwave",
                "paging",
                "marketBased",
                "maritimeCoast",
                "ship"
              ],
              "enumTitles": [
                "Antenna structures (towers)",
                "Land Mobile — Commercial",
                "Land Mobile — Private (Business/Industrial)",
                "Microwave",
                "Paging",
                "Market-Based (Cellular/PCS/AWS/700 MHz)",
                "Maritime Coast & Ground",
                "Maritime Ship"
              ]
            },
            "default": [
              "antennaStructures",
              "landMobileCommercial"
            ]
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Two-letter US state codes to include (e.g. <code>TX</code>, <code>CA</code>, <code>NY</code>). Matches the owner/licensee state and, for towers, the structure state. Leave empty for all states.",
            "items": {
              "type": "string"
            }
          },
          "activeOnly": {
            "title": "Active only",
            "type": "boolean",
            "description": "Only include active records: wireless licenses with status Active, and antenna structures that are Constructed or Granted. Turn off to include cancelled/expired/terminated records too.",
            "default": true
          },
          "businessOwnersOnly": {
            "title": "Business owners only",
            "type": "boolean",
            "description": "Only include records whose owner/licensee is an organization (LLC, corporation, company, authority, etc.) — filters out individuals.",
            "default": false
          },
          "withEmailOnly": {
            "title": "With email only",
            "type": "boolean",
            "description": "Only include records that have a contact email address.",
            "default": false
          },
          "withPhoneOnly": {
            "title": "With phone only",
            "type": "boolean",
            "description": "Only include records that have a contact phone number.",
            "default": false
          },
          "nameQuery": {
            "title": "Owner / licensee name contains",
            "type": "string",
            "description": "Case-insensitive substring match on the owner/licensee name (e.g. <code>american tower</code>, <code>crown castle</code>, <code>city of</code>)."
          },
          "frnQuery": {
            "title": "FRN",
            "type": "string",
            "description": "Exact FCC Registration Number (FRN) to match (ULS wireless licenses only)."
          },
          "callSignQuery": {
            "title": "Call sign",
            "type": "string",
            "description": "Exact call sign to match (ULS wireless licenses only), e.g. <code>KAA220</code>."
          },
          "structureTypes": {
            "title": "Structure types (towers)",
            "type": "array",
            "description": "Filter antenna structures by type, e.g. <code>tower</code>, <code>monopole</code>, <code>guyed</code>, <code>lattice</code>, <code>pole</code>, <code>mast</code>, <code>building</code>. Substring match.",
            "items": {
              "type": "string"
            }
          },
          "minHeightMeters": {
            "title": "Min structure height (m AGL)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include towers at least this tall (overall height above ground level, in meters). Tall towers = higher-value telecom infrastructure leads."
          },
          "maxHeightMeters": {
            "title": "Max structure height (m AGL)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include towers at most this tall (overall height above ground level, in meters)."
          },
          "grantedAfter": {
            "title": "Granted / registered on or after",
            "type": "string",
            "description": "Only include records first granted (wireless) or registered (towers) on or after this date (YYYY-MM-DD). Great for catching newly-licensed entities."
          },
          "grantedBefore": {
            "title": "Granted / registered on or before",
            "type": "string",
            "description": "Only include records first granted/registered on or before this date (YYYY-MM-DD)."
          },
          "minLeadScore": {
            "title": "Minimum lead score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only include records with a lead score (0–100) at or above this value."
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of records to return across all selected sources.",
            "default": 1000
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "lastAction",
              "leadScore",
              "heightHigh"
            ],
            "type": "string",
            "description": "Order of returned records. Newest = most recent grant/registration date.",
            "default": "newest"
          },
          "deduplicateResults": {
            "title": "Deduplicate results",
            "type": "boolean",
            "description": "Remove duplicate records (same registration / call sign + system id).",
            "default": true
          },
          "includeRawFields": {
            "title": "Include raw source fields",
            "type": "boolean",
            "description": "Attach the raw FCC source rows (sourceFields) to each record for full transparency / advanced use.",
            "default": false
          },
          "monitorMode": {
            "title": "Monitor mode — only new records",
            "type": "boolean",
            "description": "Remember records seen on previous runs (in a key-value store) and emit only NEW ones each run. Ideal with Apify Schedules to track newly-licensed entities and newly-registered towers. Works independently of the Apify scheduler.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Name for this monitor's saved state. Use different keys for different filter setups so they track independently.",
            "default": "default"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. The FCC bulk data is public and works fine with no proxy (the default).",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}