Civimatica Developers

Getting started

Authentication, keys, and your first request.

Request access

API keys are issued on request. Email hello@civimatica.com with your use case and we will provision keys for your organisation.

Two key types:

KeyPrefixScope
Testcv_test_Development and evaluation
Livecv_live_Production access

Authentication

Send the key in the X-API-Key header on every /v1 request:

curl -H "X-API-Key: cv_test_..." \
  "https://api.civimatica.com/v1/spots?city={city}&zone={zone}"

{city} is your city identifier. {zone} is a city zone id from List city zones. Keep keys on your server. Do not ship them in a client app.

A first call

  1. List the zones for a city: GET /v1/city-zones?city={city}.
  2. Ask for the spots that are free in one of those zones: GET /v1/spots?city={city}&zone={zone}.
  3. Or ask how likely a street is to have space: GET /v1/zones?city={city}&street={street}.

Give it to an agent

If an agent is writing the integration, paste the prompt on For your agent. One copy gives it the calls, the fields, and the errors.

Versioning

The API is versioned in the path: /v1. A breaking change ships under a new version. The current version keeps working through the deprecation window.

Responses

GET /v1/spots names the city and the zone, says how many minutes of detections are included, and lists the free spots:

{
  "city": "{city}",
  "zone": "{zone}",
  "window_minutes": 10,
  "count": 1,
  "spots": [
    {
      "id": "cv-42d4703a",
      "lat": 12.345678,
      "lon": 98.765432,
      "available_at": "2026-10-05T09:30:12Z",
      "size": "medium",
      "in_shade": false,
      "shade_until": null
    }
  ]
}

The coordinates above are only a shape example. A live response uses the position of a spot in the city you asked for.

GET /v1/events is cursor-based. Call it with no parameters to read latest_seq, then poll ?after_seq=<seq> for every event after that cursor.

Errors

Errors use one object:

{
  "error": {
    "code": "zone_required",
    "message": "Query parameter zone is required. Pass a city zone id."
  }
}
StatusMeaning
400Unknown zone, a zone that is turned off, a time that is not ISO 8601, or no street within 400 m of a coordinate
401Missing or invalid key
404Unknown city
422A required value is missing, a value has the wrong type, or limit is out of range. Codes include city_required, zone_required, point_required, and invalid

An unknown zone, and a zone that is turned off, include the zone ids that are currently on. An unknown city includes the city identifiers the service knows.

On this page