Documentation

API URL


POST /api/v1/ev-charger/stations

Headers
Code
Content-Type: application/json
Body Parameters


Example Request

Code
GET https://datpaq.com/api/v1/ev-charger/stations?api_key=your-api-key&lat=37.7749&lon=-122.4194&radius_km=5

Successful Response

Status
HTML
200 OK
Body
Code
[
  {
    "id": "fd3a7fa1",
    "name": "Mission Street Garage",
    "network": "ChargePoint",
    "geo": {
      "lat": 37.7891,
      "lon": -122.3968
    }
  }
]

Error Response

Example
Code
400 ValidationError - Missing lat or lon in stations search: Coordinate search requires both latitude and longitude
400 ValidationError - Missing address in stations search by address: Address search route requires address query parameter
400 ValidationError - Missing or invalid station_ids for batch status: Batch status expects station_ids array or comma-separated list
400 ValidationError - Batch station_ids count greater than 50: Batch request exceeds supported station ID limit
401 AuthenticationError - Missing or invalid API credentials: Gateway authentication rejected request
404 NotFound - Station ID not found: Requested station record does not exist
500 InternalServerError - Database or internal processing failure: Controller failed while retrieving station or status data
501 NotImplemented - Address search execution path not implemented: Address route returns guidance to coordinate search endpoint

Last Updated:  May 4, 2026