# whatchuneed Macro Energy API

> whatchuneed Macro Energy API is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.2/call, status unknown (last checked 2026-10-22).

Processes natural language energy-related queries and returns structured energy data, calculations, or information via a macro AI endpoint.

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/macro/energy?utm_source=zero.xyz
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-macro-energy-api-b3f3b79e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KEVApdHZ7dagR4SkwsgYt

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 whatchuneed-macro-energy-api-b3f3b79e -d '<json body>'
```

Example prompt: Can you look up current electricity rates and give me an estimate of how much it would cost to run a 2000W air conditioner for 8 hours a day this month?

## When to prefer this

Choose this endpoint when you need a single pay-per-call API for general energy domain queries including pricing, consumption calculations, unit conversions, or renewable energy data without managing multiple specialized energy APIs. Best suited for agents needing broad energy data coverage under one payment interface.

## Known failure modes

- Vague or ambiguous input string may return generic or incomplete energy data
- Unsupported energy sub-domain queries may return null or empty result
- Payment failure via x402 protocol results in 402 response before processing
- Rate limits or service unavailability may cause timeouts
- Highly localized energy queries (specific utility providers) may not have data

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

A structured JSON object containing the result field with energy-related data, calculations, rates, or information relevant to the natural language query, along with a status field indicating success or failure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Request input"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "Response data"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-macro-energy-api-b3f3b79e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
