# US Walkability, Transit & Bike Score Extractor (`dataspryva/us-walkability-transit-and-bike-score-extractor`) Actor

Looks up Walk Score, Transit Score, and Bike Score for any US city or street address, returning each 0-100 score with its rating label and nearby amenity categories.

- **URL**: https://apify.com/dataspryva/us-walkability-transit-and-bike-score-extractor.md
- **Developed by:** [Dataspryva](https://apify.com/dataspryva) (community)
- **Categories:** Real estate, Travel, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## US Walkability, Transit & Bike Score Extractor

Walk Score rates how walkable, transit-friendly, and bikeable a US location is on a 0-100 scale. This actor looks up those three scores for any US city or street address directly from walkscore.com, with no API key, login, or account needed.

### What this actor does

- Looks up scores by city/state slug (e.g. `Seattle-WA`) or by a full street address (e.g. `123 Main St, Seattle, WA`).
- Returns the Walk Score, Transit Score, and Bike Score, each on a 0-100 scale with its human-readable rating label.
- Pulls nearby amenity categories when the page shows them, giving context for why a location scored the way it did.
- Accepts a list of multiple cities or addresses and processes them in one run.
- Any score or amenity list the page doesn't have for a given location is left out of that record.

### Output per location

| Field | Description |
| --- | --- |
| `address` | The city slug or address you supplied |
| `walkScore` | Walk Score, 0-100 |
| `walkDescription` | Walk Score's label, e.g. "Walker's Paradise", "Very Walkable" |
| `transitScore` | Transit Score, 0-100 |
| `transitDescription` | Transit Score's label, e.g. "Rider's Paradise", "Excellent Transit" |
| `bikeScore` | Bike Score, 0-100 |
| `bikeDescription` | Bike Score's label, e.g. "Very Bikeable", "Bikeable" |
| `nearbyAmenities` | Categories of nearby amenities shown on the page |
| `sourceUrl` | The walkscore.com page the record was read from |
| `recordType` | Always `walk_score` |
| `scrapedAt` | Collection timestamp |

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | String (select) | `byCity` | `byCity` to look up by city/state slug, or `byAddress` to look up by street address. |
| `cities` | Array | `["Seattle-WA"]` | City/state slugs to look up, e.g. `Seattle-WA`, `New-York-NY`, `Chicago-IL`. Used by `byCity`. |
| `addresses` | Array | `[]` | Full US addresses to look up, e.g. `123 Main St, Seattle, WA`. Used by `byAddress`. |
| `maxItems` | Integer | 50 | Maximum number of records to return (1-500). |

#### Example: look up several cities

```json
{
  "mode": "byCity",
  "cities": ["Seattle-WA", "New-York-NY", "Chicago-IL"],
  "maxItems": 50
}
```

#### Example: look up specific street addresses

```json
{
  "mode": "byAddress",
  "addresses": ["123 Main St, Seattle, WA", "1 Infinite Loop, Cupertino, CA"],
  "maxItems": 20
}
```

### Use cases

- **Relocation research** — compare walkability and transit access across cities you're considering moving to.
- **Real estate listings** — attach walkability context to a property address alongside other listing data.
- **Site selection** — screen candidate addresses for a retail or office location by how walkable and bike-friendly the area is.
- **Urban planning research** — compare walk/transit/bike scores across neighborhoods or cities at scale.
- **Content and comparison sites** — build city-ranking content using live Walk Score data.

### FAQ

**Do I need an API key or account?**
No — this reads walkscore.com's public pages directly.

**What format should a city go in?**
Use the `CityName-ST` slug format walkscore.com itself uses, e.g. `Los-Angeles-CA` or `Austin-TX`.

**Does this work outside the US?**
It's built around walkscore.com's US city and address pages; coverage outside the US isn't supported.

**Why is `nearbyAmenities` sometimes missing?**
It's only included when walkscore.com's page actually lists nearby amenity categories for that location; not every page shows one.

**Can I look up a mix of addresses and cities in one run?**
Set `mode` to whichever type you mostly need and run it twice if you need both a city list and an address list, since `mode` controls which input field (`cities` or `addresses`) the actor reads.

**How accurate are the scores?**
The scores come directly from walkscore.com's own methodology, which draws on sources like OpenStreetMap; this actor doesn't recalculate or adjust them.

**Is this affiliated with Walk Score?**
No. This actor reads walkscore.com's public pages and is not affiliated with Walk Score or Redfin.

# Actor input Schema

## `mode` (type: `string`):

How to look up Walk Scores.

## `addresses` (type: `array`):

List of US addresses to look up. Format: '123 Main St, Seattle, WA'

## `cities` (type: `array`):

List of city/state slugs to look up, e.g. 'Seattle-WA', 'New-York-NY', 'Chicago-IL'.

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

Maximum number of records to emit.

## Actor input object example

```json
{
  "mode": "byCity",
  "addresses": [],
  "cities": [
    "Seattle-WA",
    "New-York-NY",
    "Chicago-IL"
  ],
  "maxItems": 50
}
```

# Actor output Schema

## `items` (type: `string`):

Dataset containing all scraped records.

# 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 = {
    "mode": "byCity",
    "addresses": [],
    "cities": [
        "Seattle-WA",
        "New-York-NY",
        "Chicago-IL"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("dataspryva/us-walkability-transit-and-bike-score-extractor").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 = {
    "mode": "byCity",
    "addresses": [],
    "cities": [
        "Seattle-WA",
        "New-York-NY",
        "Chicago-IL",
    ],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("dataspryva/us-walkability-transit-and-bike-score-extractor").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 '{
  "mode": "byCity",
  "addresses": [],
  "cities": [
    "Seattle-WA",
    "New-York-NY",
    "Chicago-IL"
  ],
  "maxItems": 50
}' |
apify call dataspryva/us-walkability-transit-and-bike-score-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dataspryva/us-walkability-transit-and-bike-score-extractor"
        }
    }
}
```

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/e6LDeTzJu7sTkzu3x/builds/0mL2bAEdh9lBMKeKn/openapi.json
