# City of Surrey Traffic Loop Count API. API

> City of Surrey Traffic Loop Count API. API on Apizie: 2 endpoints (Provides traffic loop counts for the input time interval. The LOOP_ID and DATETIME combinations are unique…, Provides all the traffic loops maintained by the City of Surrey in GeoJSON format. LANE_DIRECTION indicates…) returned as clean JSON through one API key. 2 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/open-data:surrey-ca-trafficloops/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

This API provides locations of City of Surrey traffic loops and the corresponding traffic loop counts in 15 minute intervals. While the counts are broken up by 15 minute intervals, the data is currently loaded only…

## Endpoints

### Provides traffic loop counts for the input time interval. The LOOP_ID and DATETIME combinations are unique…
`GET https://zieapi.vercel.app/v1/open-data:surrey-ca-trafficloops/get-traffic-loop-counts-fmw`

| Parameter | Type | Required | Description |
|---|---|---|---|
| startdatetime | number | no | Beginning of the required date/time range in ISO 8601. For example March 24 2016 at 1:00 PM Pacific Standard Time would be… |
| enddatetime | number | no | End of the required date/time range. For details see the startdatetime parameter. |

### Provides all the traffic loops maintained by the City of Surrey in GeoJSON format. LANE_DIRECTION indicates…
`GET https://zieapi.vercel.app/v1/open-data:surrey-ca-trafficloops/get-traffic-loops-fmw`

| Parameter | Type | Required | Description |
|---|---|---|---|
| proj_epsg | number | no | The output projection EPSG code. Eg. WGS84 is 4326 and NAD 83 UTM Zone 10 is 26910. If this is left blank, the default is 4326. For more… |

## Example
```
curl "https://zieapi.vercel.app/v1/open-data:surrey-ca-trafficloops/get-traffic-loop-counts-fmw" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the City of Surrey Traffic Loop Count API. API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/open-data:surrey-ca-trafficloops/get-traffic-loop-counts-fmw with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the City of Surrey Traffic Loop Count API. 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 City of Surrey Traffic Loop Count API. 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:surrey-ca-trafficloops.

### What is the status of the City of Surrey Traffic Loop Count API. API?
Live: works with just an Apizie key
