# CityBikes Bike Share Scraper (`parseforge/citybikes-scraper`) Actor

Scrape bike sharing network data from 700+ cities worldwide. Get station locations, availability counts, operator info, and real-time bike/slot availability. Filter by country, city, or specific network ID for urban mobility analysis.

- **URL**: https://apify.com/parseforge/citybikes-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

![ParseForge Banner](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)

## 🚲 CityBikes Bike-Sharing Networks Scraper

Bike-sharing data is scattered across hundreds of city networks worldwide. This tool gives you one place to pull live station info, bike counts, and network stats from over 700 bike-sharing systems across North America, Europe, Asia, South America, and Australia.

> **The CityBikes Scraper collects bike-sharing networks and stations worldwide with names, cities, countries, coordinates, real-time free bikes, empty slots, and company operators.**

### ✨ What Does It Do

- 🌍 **Global coverage** - over 700 bike-sharing networks across 60+ countries
- 📍 **Station locations** - latitude, longitude, and street address for every station
- 🚴 **Live availability** - real-time free bikes, empty slots, and total capacity
- 🏙️ **Network metadata** - network name, operator company, city, country
- 🔋 **E-bike counts** - separate tallies for electric bikes and standard bikes where available
- 🔍 **Flexible filtering** - query by country, city, or a specific network ID

### 🔧 Input

- **Network ID** - pull every station from a specific network (e.g. `citi-bike-nyc`, `velib`, `santander-cycles`)
- **Country** - filter networks by 2-letter country code (US, FR, DE, ES, UK, etc.)
- **City** - filter by city name (partial match)
- **Include Stations** - when listing networks, also grab station counts and aggregate stats
- **Max Items** - free users get 10 records, paid users up to 1,000,000

```json
{
    "networkId": "citi-bike-nyc",
    "maxItems": 500
}
````

### 📊 Output

Each record contains network and station details. Download as JSON, CSV, or Excel.

| 📌 Field | 📄 Description |
|----------|---------------|
| 🏷️ networkId | Network identifier |
| 🏙️ networkName | Network display name |
| 🏢 company | Operator company |
| 🌆 city | Host city |
| 🌍 country | 2-letter country code |
| 📍 latitude | Station latitude |
| 📍 longitude | Station longitude |
| 🚲 freeBikes | Bikes currently available |
| 🅿️ emptySlots | Open docking slots |
| ⚡ ebikes | E-bikes at station |
| 🏠 address | Street address |
| ⏱️ timestamp | Last station update time |

```json
{
    "networkId": "citi-bike-nyc",
    "networkName": "Citi Bike",
    "networkCity": "New York, NY",
    "networkCountry": "US",
    "stationId": "abc123",
    "stationName": "W 52 St & 11 Ave",
    "latitude": 40.767272,
    "longitude": -73.993929,
    "freeBikes": 12,
    "emptySlots": 27,
    "totalSlots": 39,
    "address": "W 52 St & 11 Ave",
    "ebikes": 3,
    "normalBikes": 9,
    "scrapedAt": "2026-04-10T12:00:00.000Z"
}
```

### 💎 Why Choose the CityBikes Scraper?

| Feature | Our Tool | Manual Research |
|---------|----------|----------------|
| Global network coverage | ✅ 700+ systems | ❌ City by city |
| Real-time availability | ✅ Live station data | ⚠️ Per-city dashboards |
| Unified schema | ✅ One format worldwide | ❌ Each network differs |
| Country/city filters | ✅ Built-in | ❌ Not available |
| Bulk export | ✅ JSON, CSV, Excel | ❌ Manual downloads |
| Scheduled monitoring | ✅ Hourly runs | ❌ Not possible |

### 📋 How to Use

1. **Sign Up** - [Create a free account w/ $5 credit](https://console.apify.com/sign-up?fpr=vmoqkp)
2. **Configure** - pick a network ID or filter by country and city
3. **Run It** - click Start and get live bike-sharing data in seconds

No coding, no juggling different city dashboards.

### 🎯 Business Use Cases

- 🏙️ **Urban planners** - analyze bike-sharing adoption and station utilization across cities
- 🚴 **Mobility startups** - research existing networks before launching a new service
- 📊 **Researchers** - study micro-mobility trends, station density, and fleet sizes
- 📱 **App developers** - power bike-availability features with fresh station data
- 🏛️ **City governments** - monitor bike availability to plan station rebalancing
- 📈 **Investors** - compare operator footprints and network growth rates

### ❓ FAQ

🚲 **What is CityBikes?**
CityBikes is a long-running public project that aggregates bike-sharing station data from hundreds of networks worldwide into a consistent format.

🌍 **Which networks are covered?**
Over 700 networks including Citi Bike (NYC), Vélib' (Paris), Santander Cycles (London), Bicing (Barcelona), Bixi (Montreal), Mobi (Vancouver), and many more.

⚡ **Does it include e-bike counts?**
Yes, where the network publishes them. The `ebikes` and `normalBikes` fields break down the fleet when available.

⏱️ **How fresh is the availability data?**
Station counts reflect the latest update from each operator, usually refreshed every 1-5 minutes.

🔁 **Can I run this on a schedule?**
Yes. Set up a scheduled run to snapshot bike availability every hour or every day for historical analysis.

### 🔗 Integrate CityBikes Scraper with any app

- [Make](https://docs.apify.com/platform/integrations/make) - automate station data refresh
- [Zapier](https://docs.apify.com/platform/integrations/zapier) - alert on low bike counts
- [Slack](https://docs.apify.com/platform/integrations/slack) - post daily mobility summaries
- [Google Sheets](https://docs.apify.com/platform/integrations/drive) - track station metrics
- [Webhooks](https://docs.apify.com/platform/integrations/webhooks) - trigger workflows on completion

### 💡 Recommended Actors

Looking for more data collection tools? Check out these related actors:

| Actor | Description | Link |
|-------|-------------|------|
| FAA Aircraft Registry Scraper | Lookup aircraft registration data | [Link](https://apify.com/parseforge/faa-aircraft-registry-scraper) |
| GreatSchools Scraper | School ratings and district data | [Link](https://apify.com/parseforge/greatschools-scraper) |
| REMAX Real Estate Scraper | Property listings from REMAX | [Link](https://apify.com/parseforge/remax-scraper) |
| YATCO Yacht Listing Scraper | Yacht marketplace listings | [Link](https://apify.com/parseforge/yatco-scraper) |
| Copart Public Search Scraper | Auto auction search results | [Link](https://apify.com/parseforge/copart-public-search-scraper) |

**Pro Tip:** 💡 Browse the full [ParseForge catalog](https://apify.com/parseforge) to find more data tools.

### 🆘 Need Help?

- Check the FAQ section above for common questions
- Visit the [Apify documentation](https://docs.apify.com) for platform guides
- Contact us at [Tally contact form](https://tally.so/r/BzdKgA)

### ⚠️ Disclaimer

> This Actor is an independent tool and is not affiliated with, endorsed by, or connected to CityBikes, any bike-sharing operator, or any city government. It collects only publicly available mobility data.

# Actor input Schema

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

Free users: Limited to 10 records. Paid users: Optional, max 1,000,000

## `networkId` (type: `string`):

Fetch all stations from a specific network (e.g. 'citi-bike-nyc', 'velib'). Overrides country/city filters.

## `country` (type: `string`):

Filter networks by 2-letter country code (e.g. US, FR, DE).

## `city` (type: `string`):

Filter networks by city name (partial match).

## `includeStations` (type: `boolean`):

When listing networks, also fetch station counts and details for each (slower).

## Actor input object example

```json
{
  "maxItems": 10,
  "includeStations": false
}
```

# Actor output Schema

## `overview` (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 = {
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/citybikes-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 = { "maxItems": 10 }

# Run the Actor and wait for it to finish
run = client.actor("parseforge/citybikes-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "maxItems": 10
}' |
apify call parseforge/citybikes-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=parseforge/citybikes-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "CityBikes Bike Share Scraper",
        "description": "Scrape bike sharing network data from 700+ cities worldwide. Get station locations, availability counts, operator info, and real-time bike/slot availability. Filter by country, city, or specific network ID for urban mobility analysis.",
        "version": "1.0",
        "x-build-id": "g07MYLXGP4LQheBJk"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~citybikes-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-citybikes-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/parseforge~citybikes-scraper/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-citybikes-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/parseforge~citybikes-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-citybikes-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": {
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Free users: Limited to 10 records. Paid users: Optional, max 1,000,000"
                    },
                    "networkId": {
                        "title": "Network ID",
                        "type": "string",
                        "description": "Fetch all stations from a specific network (e.g. 'citi-bike-nyc', 'velib'). Overrides country/city filters."
                    },
                    "country": {
                        "title": "Country Code",
                        "type": "string",
                        "description": "Filter networks by 2-letter country code (e.g. US, FR, DE)."
                    },
                    "city": {
                        "title": "City",
                        "type": "string",
                        "description": "Filter networks by city name (partial match)."
                    },
                    "includeStations": {
                        "title": "Include Stations",
                        "type": "boolean",
                        "description": "When listing networks, also fetch station counts and details for each (slower).",
                        "default": 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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
