# BikeWise API v2 API

> BikeWise API v2 API on Apizie: 4 endpoints (Paginated incidents matching parameters, GET /v2/incidents/{id}, Unpaginated geojson response, Unpaginated geojson response with simplestyled markers) returned as clean JSON through one API key. 4 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/open-data:bikewise/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:bikewise`
- Category: Open Data
- Status: live
- Source: https://bikewise.org
- Page: https://zieapi.vercel.app/api/open-data/bikewise
- OpenAPI: https://zieapi.vercel.app/api/open-data/bikewise/openapi.json

This is an API for accessing information about bicycling related incidents. You can find the source code on GitHub .

## Endpoints

### Paginated incidents matching parameters
`GET https://zieapi.vercel.app/v1/open-data:bikewise/get-version-incidents-format`

| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | no | Page of results to fetch. |
| per_page | integer | no | Number of results to return per page. |
| occurred_before | integer | no | End of period |
| occurred_after | integer | no | Start of period |
| incident_type | string | no | Only incidents of specific type |
| proximity | string | no | Center of location for proximity search |
| proximity_square | integer | no | Size of the proximity search |
| query | string | no | Full text search of incidents |

### GET /v2/incidents/{id}
`GET https://zieapi.vercel.app/v1/open-data:bikewise/get-version-incidents-id-format`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | integer | yes | Incident ID |

### Unpaginated geojson response
`GET https://zieapi.vercel.app/v1/open-data:bikewise/get-version-locations-format`

| Parameter | Type | Required | Description |
|---|---|---|---|
| occurred_before | integer | no | End of period |
| occurred_after | integer | no | Start of period |
| incident_type | string | no | Only incidents of specific type |
| proximity | string | no | Center of location for proximity search |
| proximity_square | integer | no | Size of the proximity search |
| query | string | no | Full text search of incidents |
| limit | integer | no | Max number of results to return. Defaults to 100 |
| all | boolean | no | Give ‘em all to me. Will ignore limit |

### Unpaginated geojson response with simplestyled markers
`GET https://zieapi.vercel.app/v1/open-data:bikewise/get-version-locations-markers-format`

| Parameter | Type | Required | Description |
|---|---|---|---|
| occurred_before | integer | no | End of period |
| occurred_after | integer | no | Start of period |
| incident_type | string | no | Only incidents of specific type |
| proximity | string | no | Center of location for proximity search |
| proximity_square | integer | no | Size of the proximity search |
| query | string | no | Full text search of incidents |
| limit | integer | no | Max number of results to return. Defaults to 100 |
| all | boolean | no | Give ‘em all to me. Will ignore limit |

## Example
```
curl "https://zieapi.vercel.app/v1/open-data:bikewise/get-version-incidents-format" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the BikeWise API v2 API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/open-data:bikewise/get-version-incidents-format with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the BikeWise API v2 API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the BikeWise API v2 API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:bikewise.

### What is the status of the BikeWise API v2 API?
Live: works with just an Apizie key
