# PlugShare API

> PlugShare returns public EV charging station locations, PlugScores, and charging details as a workflow and API.

PlugShare finds public charging stations near an address, city, or ZIP code, with driver PlugScores and charging details. Search chargers can filter by connector, radius, result count, or DC fast charging; it needs a location.

- Page: https://fous.com/tools/plugshare
- Handle: `@plugshare`
- Category: [Travel](https://fous.com/tools/category/travel)
- Source website: https://plugshare.com
- Last verified: Sep 29, 2026

## Methods

### Search chargers

Operation `search_chargers`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Find public PlugShare charging stations near an address, city or ZIP code, nearest first, with driver PlugScores and charging details. Cost and opening hours appear when listed.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `location` | string | yes | `"Seattle, WA"` | Address, city or ZIP code, for example San Jose, CA. |
| `connector` | string | no | `"CCS"` | Connector type to match, for example CCS. |
| `max_results` | integer | no | `5` | Maximum number of stations, for example 20. |
| `radius_miles` | number | no | `8` | Search radius in miles, for example 5. |
| `fast_charging_only` | boolean | no | `true` | Only show DC fast chargers, for example true. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "location"
  ],
  "properties": {
    "location": {
      "type": "string",
      "description": "Address, city or ZIP code, for example San Jose, CA.",
      "examples": [
        "Seattle, WA",
        "San Jose, CA"
      ]
    },
    "connector": {
      "enum": [
        "any",
        "CCS",
        "CHAdeMO",
        "Tesla/NACS",
        "J1772",
        "Type 2"
      ],
      "type": "string",
      "default": "any",
      "description": "Connector type to match, for example CCS.",
      "examples": [
        "CCS"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum number of stations, for example 20.",
      "x-fous-developer": true,
      "examples": [
        5
      ]
    },
    "radius_miles": {
      "type": "number",
      "default": 5,
      "maximum": 50,
      "minimum": 0.1,
      "description": "Search radius in miles, for example 5.",
      "examples": [
        8
      ]
    },
    "fast_charging_only": {
      "type": "boolean",
      "default": false,
      "description": "Only show DC fast chargers, for example true.",
      "examples": [
        true
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "location": "Seattle, WA",
      "connector": "CCS",
      "max_results": 5,
      "radius_miles": 8,
      "fast_charging_only": true
    },
    {
      "location": "San Jose, CA"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `chargers` | array |  |  |
| `chargers[].cost` | string or null | `"Please open charger details to view up to date pricing"` |  |
| `chargers[].name` | string | `"Seattle Public Library Central Library"` |  |
| `chargers[].address` | string or null | `"1010 4th Ave, Seattle, WA 98104, USA"` |  |
| `chargers[].network` | string or null | `"FLO"` |  |
| `chargers[].latitude` | number | `47.606947` |  |
| `chargers[].longitude` | number | `-122.33281` |  |
| `chargers[].plugscore` | number or null | `7.1` |  |
| `chargers[].connectors` | array |  |  |
| `chargers[].distance_km` | number | `0.4` |  |
| `chargers[].opening_hours` | string or null | `"Open 24/7"` |  |
| `chargers[].distance_miles` | number | `0.25` |  |
| `chargers[].plugshare_link` | string | `"https://www.plugshare.com/location/2021954"` |  |
| `chargers[].charging_points` | integer | `2` |  |
| `chargers[].plugshare_location_id` | integer | `2021954` |  |

**Example input**

```json
{
  "location": "Seattle, WA",
  "connector": "CCS",
  "max_results": 5,
  "radius_miles": 8,
  "fast_charging_only": true
}
```

**Example output**

```json
{
  "chargers": [
    {
      "cost": "Please open charger details to view up to date pricing",
      "name": "Seattle Public Library Central Library",
      "address": "1010 4th Ave, Seattle, WA 98104, USA",
      "network": "FLO",
      "latitude": 47.606947,
      "longitude": -122.33281,
      "plugscore": null,
      "connectors": [
        {
          "type": "CCS1",
          "power_kw": 100
        }
      ],
      "distance_km": 0.4,
      "opening_hours": "Open 24/7",
      "distance_miles": 0.25,
      "plugshare_link": "https://www.plugshare.com/location/2021954",
      "charging_points": 2,
      "plugshare_location_id": 2021954
    },
    {
      "cost": "Please open charger details to view up to date pricing",
      "name": "56 Seneca Street Parking",
      "address": "1201 Western Ave #400, Seattle, WA 98101, USA",
      "network": "ChargePoint",
      "latitude": 47.6057575,
      "longitude": -122.3392178,
      "plugscore": 7.1,
      "connectors": [
        {
          "type": "CCS1",
          "power_kw": 50
        },
        {
          "type": "CHAdeMO",
          "power_kw": 50
        }
      ],
      "distance_km": 0.72,
      "opening_hours": "Open 24/7",
      "distance_miles": 0.45,
      "plugshare_link": "https://www.plugshare.com/location/530859",
      "charging_points": 2,
      "plugshare_location_id": 530859
    }
  ]
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@plugshare",
  "visibility": "public",
  "operation": "search_chargers",
  "version": 1,
  "input": {
    "location": "Seattle, WA",
    "connector": "CCS",
    "max_results": 5,
    "radius_miles": 8,
    "fast_charging_only": true
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@plugshare\",\n  \"visibility\": \"public\",\n  \"operation\": \"search_chargers\",\n  \"version\": 1,\n  \"input\": {\n    \"location\": \"Seattle, WA\",\n    \"connector\": \"CCS\",\n    \"max_results\": 5,\n    \"radius_miles\": 8,\n    \"fast_charging_only\": true\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@plugshare",
  "visibility": "public",
  "operation": "search_chargers",
  "version": 1,
  "input": {
    "location": "Seattle, WA",
    "connector": "CCS",
    "max_results": 5,
    "radius_miles": 8,
    "fast_charging_only": true
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/plugshare`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `search_chargers`: Search chargers. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-plugshare https://api.fous.com/mcp/tools/plugshare --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Find public chargers near a planned destination
- Compare nearby stations by PlugScore
- Filter stations by connector type
- Locate DC fast chargers within a chosen radius
- Review listed costs and opening hours

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this PlugShare tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a PlugShare account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from plugshare.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### Which public chargers are near a location?

Search chargers finds nearby public charging stations, nearest first, using an address, city, or ZIP code.

### Which nearby stations have a specific connector?

Search chargers can filter stations by connector type, such as CCS.

### Which nearby stations are DC fast chargers?

Search chargers can return only DC fast chargers when fast charging only is selected.

## Related

- [All Travel tools](https://fous.com/tools/category/travel)
