# FCC Broadband Map ISP Coverage Gaps & Fiber Leads Scraper (`groundplanes/fcc-broadband-map-isp-gap-scraper`) Actor

Scrape official FCC National Broadband Map (BDC) broadband availability, fiber coverage percentages, unserved/underserved location counts, and ISP competitors by geography (County, Census Place, Congressional District).

- **URL**: https://apify.com/groundplanes/fcc-broadband-map-isp-gap-scraper.md
- **Developed by:** [Groundplane Labs](https://apify.com/groundplanes) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 geographies

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## FCC Broadband Map ISP Coverage Gaps & Fiber Leads Scraper

Extract official Federal Communications Commission (FCC) National Broadband Map Broadband Data Collection (BDC) availability statistics, identifying underserved counties, fiber coverage gaps, and local ISP competition.

> This actor is an independent product and is not affiliated with, endorsed by, or sponsored by the Federal Communications Commission (FCC).

### What it does

- **Identifies Fiber & Broadband Coverage Gaps:** Filters US counties, Census places, congressional districts, CBSAs, and tribal lands where broadband availability at 100/20 Mbps falls below your target ceiling (e.g. `<= 65%`).
- **Quantifies Unserved and Underserved Markets:** Reports exact percentages and counts of Broadband Serviceable Locations (BSLs) lacking 25/3 Mbps (unserved) and 100/20 Mbps (underserved) connectivity.
- **Maps Competing Technologies:** Delivers percentage shares of fiber-to-the-premises and cable coverage per geography.
- **Buyer-Supplied Credential Security:** Uses your free FCC Broadband Map account credentials. Tokens are passed only to official FCC endpoints (`broadbandmap.fcc.gov`), never logged or stored.

**Data cadence (read this before trusting a row):** BDC availability data comes from provider filings made semiannually, as of June 30 and December 31, and the FCC publishes it in versioned releases. This is not real-time data. Every row carries `dataAsOfVersion` from the release manifest, and a run whose newest available vintage is older than the expected semiannual release cadence ends PARTIAL with a staleness reason naming the vintage delivered.

**Known limitation:** `activeIspProviders` currently ships as an empty array on every row. The verified FCC opendata provider resource maps holding companies to bounding boxes, not to geographies, so no honest per-geography provider join exists on the verified endpoints. Per-geography provider profiles will ship only after a credentialed run verifies the BDC summary provider data.

### Who it's for

- **Fiber Infrastructure & BEAD Grant Developers:** Prospect for underserved markets eligible for federal Broadband Equity, Access, and Deployment (BEAD) funding and private capital investment.
- **Regional ISPs & Competitive Local Exchange Carriers (CLECs):** Identify low-competition fiber deserts dominated by legacy DSL or satellite.
- **Telecom Equipment & EPC Contractors:** Target municipal and rural utility districts planning broadband network expansions.

### Authentication (Free FCC Account)

This actor requires free API access credentials from the FCC National Broadband Map portal:

1. Log into or create a free account at [broadbandmap.fcc.gov](https://broadbandmap.fcc.gov).
2. Navigate to your profile menu and select **Manage API Access**.
3. Generate your API Access Token (`hash_value`).
4. Enter your FCC login email in `fccUsernameEmail` and your hash token in `fccApiHashToken`.

*Runs launched without credentials or with expired tokens fail immediately with zero rows, protecting your run budget.*

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `fccUsernameEmail` | string (secret) | *Required* | Your registered FCC account username/email. |
| `fccApiHashToken` | string (secret) | *Required* | Your free FCC Broadband Map API hash token. |
| `states` | array | `["TX", "NC", "GA", "VA", "OH"]` | 2-letter US state postal codes, including territories GU, AS, and MP. An empty array (`[]`) is an explicit all-states choice: no state filtering is applied. |
| `geographyType` | string (select) | `"County"` | `"County"`, `"Census Place"`, `"Congressional District"`, `"CBSA (MSA)"`, or `"Tribal Areas"`. State filtering applies only to County, Census Place, and Congressional District (see State filtering below). |
| `technologyFilter` | array | `["Fiber to the Premises", "Cable", "Licensed Fixed Wireless"]` | Validated against BDC technology names; unsupported values fail the run loudly. Served percentages are the BDC published summary aggregates. |
| `maxServed100Down20UpPct` | number | `65.0` | Maximum percentage of BSLs served at 100/20 Mbps to qualify as a coverage gap lead. |
| `maxItems` | integer | `1000` | Maximum geography records to output. |

#### Example input (labeled canary: run this with your own FCC credentials)

```json
{
  "fccUsernameEmail": "analyst@telecomcapital.com",
  "fccApiHashToken": "your_fcc_hash_token_here",
  "states": ["TX", "NC", "GA", "VA", "OH"],
  "geographyType": "County",
  "maxServed100Down20UpPct": 65.0,
  "maxItems": 1000
}
```

### State filtering

State filtering works by matching the geography id's 2-digit state FIPS prefix. That is correct for County, Census Place, and Congressional District ids, which are state-prefixed. It includes the territory prefixes GU (66), AS (60), and MP (69) for county-equivalent geographies, alongside PR (72), VI (78), and DC (11).

CBSA (MSA) codes are metro-area codes and tribal-area ids are not state-prefixed, so no correct state filter exists for those geography types without a separate mapping this actor does not have. A run that combines a non-empty `states` list with `geographyType` `"CBSA (MSA)"` or `"Tribal Areas"` therefore fails loudly as an invalid input, with no rows, instead of silently returning a wrong subset or a wrong zero. To run those geography types, set `states` to an empty array (`[]`), which is the explicit all-states choice: all geographies of that type are scanned.

An empty `states` array is never treated as a missing filter by accident: it is the documented all-states choice for every geography type. Any non-empty `states` list whose codes cannot be mapped to FIPS prefixes fails loudly as an invalid input.

### Output

One row per administrative geography unit meeting your coverage gap criteria.

| Field | Type | Description |
|---|---|---|
| `dataAsOfVersion` | string | Official BDC release vintage (e.g. Dec 2025). |
| `geographyType` | string | Geographic level (County, Census Place, etc.). |
| `geographyIdFips` | string | Census GEOID or FIPS code. |
| `geographyName` | string | Name of county or place. |
| `totalBslLocations` | integer | Total Broadband Serviceable Locations. |
| `fiberServedLocationsPct` | number | Percentage of BSLs with fiber available. |
| `cableServedLocationsPct` | number | Percentage of BSLs with cable available. |
| `underservedBelow100x20Pct` | number | Percentage of BSLs underserved (<100/20 Mbps). |
| `unservedBelow25x3Pct` | number | Percentage of BSLs unserved (<25/3 Mbps). |
| `activeIspProviders` | array | Ships empty (see Known limitation above). |
| `challengeCountSubmitted` | integer | Total availability challenges filed. |

#### Sample row

```json
{
  "dataAsOfVersion": "Dec 2025",
  "geographyType": "County",
  "geographyIdFips": "48001",
  "geographyName": "Anderson County",
  "totalBslLocations": 24500,
  "fiberServedLocationsPct": 31.0,
  "cableServedLocationsPct": 28.5,
  "underservedBelow100x20Pct": 21.0,
  "unservedBelow25x3Pct": 26.6,
  "activeIspProviders": [],
  "challengeCountSubmitted": 14
}
```

### Troubleshooting

- **HTTP 401 Unauthorized:** Occurs if your FCC hash token was typed incorrectly or has expired. Regenerate your token under "Manage API Access" at broadbandmap.fcc.gov.
- **Zero Matches:** If no geographies return, your `maxServed100Down20UpPct` threshold may be set too low for the selected states, or your state filter list has comprehensive gigabit coverage.

If this keeps happening, please open an issue on this actor's Issues tab and we'll fix it fast.

### Changelog

- **0.1.2 (2026-11-01, Red Team fix round):** state filtering is now correct or loud for every geography type and territory code: CBSA (MSA) and Tribal Areas runs with a non-empty `states` list fail loudly as invalid input (their ids are not state-prefixed; run them with `states: []` for all states), GU (66), AS (60), and MP (69) FIPS prefixes were added, an empty computed prefix set fails loudly, and an empty `states` array is documented and validated as the explicit all-states choice; a run with any skipped rows at or under the 20 percent failure threshold now ends PARTIAL with the skipped count as a source-caused reason and the Issues CTA, instead of Complete; an exact-fit `maxItems` run (matched rows exactly equal to `maxItems`, nothing truncated) now ends Complete, and only a genuinely truncated run ends PARTIAL for `maxItems`; the dead `OPENDATA_PROVIDER_URL` constant left over from the removed provider join was deleted.
- **0.1.1 (2026-11-01, Red Team review):** summary fetch failures and empty summary responses now fail loudly instead of ending as a Complete with zero rows; the retry standard (6 tries, jittered 2 to 32 s backoff, 120 s cap, Retry-After honored) now actually applies to the FCC API calls; the core-column sentinel covers the served-percentage and total-location fields that feed the coverage-gap filter, and an unparsable served value counts as a skipped row instead of 0 percent; `dataAsOfVersion` is the newest release in the manifest and a stale vintage ends the run PARTIAL with a staleness reason; the skip-ratio check runs before rows are pushed; invalid `technologyFilter` values and a `maxServed100Down20UpPct` above 100 fail loudly; the never-matching provider join was removed and `activeIspProviders` is disclosed as shipping empty.
- **0.1.0 (2026-11-01):** initial build.

# Actor input Schema

## `fccApiHashToken` (type: `string`):

Your free FCC Broadband Map API hash token generated under 'Manage API Access'.

## `fccUsernameEmail` (type: `string`):

Your registered FCC username or email address for the FCC National Broadband Map API.

## `geographyType` (type: `string`):

Administrative geography breakdown for broadband statistics. State filtering by FIPS prefix applies only to County, Census Place, and Congressional District; CBSA (MSA) and Tribal Areas runs require states set to an empty array (all states) and fail loudly if a states list is given.

## `maxItems` (type: `integer`):

Maximum number of geography records to deliver.

## `maxServed100Down20UpPct` (type: `number`):

Ceiling on percentage of broadband serviceable locations served at 100/20 Mbps for a geography to qualify as a coverage gap lead.

## `states` (type: `array`):

Filter by 2-letter US state postal codes (e.g. TX, NC, GA), including GU, AS, and MP. An empty array is an explicit all-states choice: no state filtering is applied.

## `technologyFilter` (type: `array`):

Broadband technologies considered for served status.

## Actor input object example

```json
{
  "geographyType": "County",
  "maxItems": 1000,
  "maxServed100Down20UpPct": 65,
  "states": [
    "TX",
    "NC",
    "GA",
    "VA",
    "OH"
  ],
  "technologyFilter": [
    "Fiber to the Premises",
    "Cable",
    "Licensed Fixed Wireless"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("groundplanes/fcc-broadband-map-isp-gap-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("groundplanes/fcc-broadband-map-isp-gap-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call groundplanes/fcc-broadband-map-isp-gap-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,groundplanes/fcc-broadband-map-isp-gap-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/S4qLeMhuKqipDhkkS/builds/0T9eRhjVQIoImPZ7d/openapi.json
