API URL
POST /api/v1/ev-charger/stations
Headers
Code
Content-Type: application/jsonBody Parameters
Param
Type
Description
lat
required
number
Latitude for coordinate-based station search
lon
required
number
Longitude for coordinate-based station search
radius_km
optional
number
Search radius in kilometers
plug_type
optional
string
Plug-type filter for station search
level
optional
number
Charging-level filter for station search
network
optional
string
Case-insensitive network name filter
open_now
optional
boolean
When true applies 24/7 availability-style filter
address
required
string
Address input for address-based search route
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=5Successful Response
Status
HTML
200 OKBody
Code
[
{
"id": "fd3a7fa1",
"name": "Mission Street Garage",
"network": "ChargePoint",
"geo": {
"lat": 37.7891,
"lon": -122.3968
}
}
]Field
Type
status
string
service
string
database_status
string
station_count
number
last_sync
string
data_source
string
version
string
id
string
name
string
address
string
geo
object
network
string
plug_types
array
levels
array
hours
string
access
string
last_updated
string
message
string
alternative
string
example
string
geocoding_suggestion
string
station_id
string
results
array
total_requested
number
total_returned
number
error
string
suggestion
string
provided
number
timestamp
string
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 endpointLast Updated: May 4, 2026