Overview
This is a public Socrata Open Data API endpoint — no authentication is required to read data.
Setup guide
Optional: Get an app token for higher limits
To raise throttling limits, you can register for a free Socrata app token:
- Visit https://data.somervillema.gov/profile/app_tokens
- Sign in or create a free account
- Register a new app token
- Copy the token that is generated
If you provide an app token, it is sent as the X-App-Token header. This is optional — basic ingestion works without a token.
Add it to Ingest
In the Ingest UI under Connectors → Somerville 311 Service Requests, you can leave the credential blank (no authentication required). If you have an optional app token, paste it in the provided field.
Mind the limits
The connector is configured to make up to 2 requests per second. HTTP 429, 500, 502, 503, and 504 responses are retried automatically. The API uses SoQL query parameters ($limit, $offset, $where, $order, $select) to filter and page through the dataset.
Supported streams
1 endpoint are available out of the box. Each endpoint syncs into its own Iceberg table in Snowflake.
| Endpoint | Description | Reference |
|---|---|---|
| list_service_requests list_service_requests | – |
Authentication
- Auth type
- None
- Provider docs
- data.somervillema.gov ↗
Performance & limits
- Rate limit
- 2 requests per second (unauthenticated)