# lilambd Power Plants Nearby

> lilambd Power Plants Nearby is a paid API for AI agents from api.lilambd.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-02).

Returns nearby power plants given a latitude/longitude, with optional filters for fuel type, capacity, and result limit

## Facts

- Endpoint: GET https://api.lilambd.com/power/nearby?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lilambd-power-plants-nearby-76a24725
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QSPa5LsLIeWt0_kASiaa_

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 lilambd-power-plants-nearby-76a24725
```

Example prompt: Can you find me up to 10 power plants near latitude 37.7749, longitude -122.4194, focusing on natural gas plants with at least 50 MW capacity?

## When to prefer this

Use this endpoint when you need to discover power generation facilities near a specific geographic point, especially when you need to filter by fuel type or minimum capacity. Prefer this over generic place-search APIs when the domain is specifically energy infrastructure and you need structured data with attribution. Particularly useful for energy analysts, grid planners, or sustainability researchers needing nearby plant inventories.

## Known failure modes

- Missing required lat or lon parameters returns an error
- Invalid coordinate values (out of range) may return empty results or an error
- Requesting more than 50 results (limit > 50) may be capped or rejected
- No plants found within range returns empty data array with count 0
- Service unavailable or payment failure returns HTTP 402 or 5xx

## How this service works

A crossing for play, feeling, language, science and computation — creating states that do not have names yet.

## Output

A JSON object containing a list of nearby power plants (array under 'data'), a count of results, and an attribution/source license line. Each plant entry likely includes location, name, fuel type, and capacity details.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "string",
       "description": "Latitude"
      },
      "lon": {
       "type": "string",
       "description": "Longitude"
      },
      "fuel": {
       "type": "string",
       "description": "Primary fuel"
      },
      "limit": {
       "type": "string",
       "description": "How many (max 50)"
      },
      "min_mw": {
       "type": "string",
       "description": "Minimum capacity MW"
      }
     },
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [],
  "count": 0,
  "attribution": "source licence line"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lilambd-power-plants-nearby-76a24725/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lilambd.com](https://www.zero.xyz/host/api.lilambd.com/llms.txt)
