# SiteCheck Trade & Energy – EV Charging Stations (OCPI)

> SiteCheck Trade & Energy – EV Charging Stations (OCPI) is a paid API for AI agents from api.tradeenergy-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns EV charging station locations near a given latitude/longitude in OCPI 2.2 Location/EVSE/Connector format, sourced from US DOE Alternative Fuel Stations (US/Canada) and OpenStreetMap (rest of world).

## Facts

- Endpoint: GET https://api.tradeenergy-api.workers.dev/api/energy/ev-charging-station-ocpi?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-trade-energy-ev-charging-stations-ocpi-3ac53d99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U9Az2dUh_1nY175omm1iX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitecheck-trade-energy-ev-charging-stations-ocpi-3ac53d99
```

Example prompt: Find me EV charging stations within 3 kilometres of 52.5200° N, 13.4050° E and return up to 20 results, including connector types and operator info.

## When to prefer this

Choose this endpoint when you need structured EV charging location data in standard OCPI 2.2 format for a geographic point, especially when building routing, trip planning, or infrastructure analysis workflows. It is particularly useful when you need connector-level detail (standard, power type, wattage) across both North American (DOE-sourced) and international (OSM-sourced) locations in a single unified schema. Prefer this over generic mapping APIs when OCPI-compatible output is required or when the DOE Alternative Fuel Stations dataset is the authoritative source needed for US/Canada coverage.

## Known failure modes

- Missing required lat or lon parameters returns a 400-level error
- Coordinates out of valid range (-90 to 90 lat, -180 to 180 lon) may return an error or empty result
- Limit outside 1–50 or radius outside 100–10000 may be rejected or clamped
- Sparse coverage areas (remote regions) may return count:0 with empty locations array
- Data is static/directory-based — no live availability; status field may be null
- OpenStreetMap data quality varies; many international stations may have null address, name, or opening_times
- Payment failure (x402) returns 402 Payment Required before data is served

## How this service works

EV charging locations near a point, returned in the OCPI 2.2 Location → EVSE → Connector shape (connector standard, AC/DC power type, max power in W where known, operator, opening hours, status). US and Canada from the US DOE Alternative Fuel Stations directory (ports per level, connectors, network, pricing text); elsewhere from OpenStreetMap (socket types, outputs, capacity). Static directory data: no live availability.

## Output

A JSON object with a count of matching locations and an array of OCPI 2.2-style Location objects, each including station ID, name (if available), EVSE list with connector standards (e.g. CHADEMO, IEC_62196_T2_COMBO), power type (AC/DC), max electric power in watts, port counts, operator name and website, distance in metres from the query point, coordinates, and where available: address, country, pricing text, opening times, access type, and status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "string",
       "description": "Latitude -90 to 90"
      },
      "lon": {
       "type": "string",
       "description": "Longitude -180 to 180"
      },
      "limit": {
       "type": "string",
       "description": "Max locations, 1 to 50 (default 10)"
      },
      "radius": {
       "type": "string",
       "description": "Search radius in metres, 100 to 10000 (default 2000)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 5,
  "format": "OCPI 2.2-style Location/EVSE/Connector (subset)",
  "source": "https://qlever.dev/api/osm-planet",
  "checkedAt": "2026-10-23T09:38:32.474Z",
  "locations": [
   {
    "id": "osm-node-12914264723",
    "name": null,
    "evses": [],
    "ports": {
     "total": 2
    },
    "access": null,
    "status": null,
    "address": null,
    "country": null,
    "pricing": null,
    "operator": {
     "name": "Berliner Stadtwerke",
     "website": null
    },
    "distanceM": 130,
    "coordinates": {
     "latitude": 52.520933,
     "longitude": 13.403845
    },
    "last_updated": null,
    "opening_times": null
   },
   {
    "id": "osm-node-13052315758",
    "name": null,
    "evses": [
     {
      "uid": "13052315758-1",
      "connectors": [
       {
        "ports": 1,
        "standard": "CHADEMO",
        "power_type": "DC",
        "max_electric_power": 50000
       },
       {
        "ports": 1,
        "standard": "IEC_62196_T2_COMBO",
        "power_type": "DC",
        "max_electric_power": 50000
       }
      ]
     }
    ],
    "ports": {
     "total": 2
    },
    "access": null,
    "status": null,
    "address": null,
    "country": null,
    "pricing": null,
    "operator": {
     "name": "Kaufland",
     "website": null
    },
    "distanceM": 288,
    "coordinates": {
     "latitude": 52.522243,
     "longitude": 13.407127
    },
    "last_updated": null,
    "opening_times": null
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-trade-energy-ev-charging-stations-ocpi-3ac53d99/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeenergy-api.workers.dev](https://www.zero.xyz/host/api.tradeenergy-api.workers.dev/llms.txt)
