78trust / 100

Locus Electricity Context

by api.locus.report in Weather & location

x402 APIPassing, checked 34 min ago

Mapped HIFLD transmission-line proximity and EIA statewide residential price context for a US point before utility diligence. Returns up to 10 lines and state price context, not service, capacity, reliability, tariff, interconnection, timing, or a project cost. Charge-free for an unresolved point or when neither source answers.

POST https://api.locus.report/api/locus-electricity-context

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
56 ms typical, 2.1 s slowest 5%
Last check
34 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.locus.report/api/locus-electricity-context" \
  -H "content-type: application/json" \
  -d '{"address":"1 E Edenton St, Raleigh, NC 27601"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.locus.report%2Fapi%2Flocus-electricity-context
const res = await pay("https://api.locus.report/api/locus-electricity-context", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"1 E Edenton St, Raleigh, NC 27601"}),
});
console.log(await res.json());

Example input

{
  "address": "1 E Edenton St, Raleigh, NC 27601"
}

Example output

{
  "caveats": [
    "Proximity and state price context only; never a service, capacity, reliability, tariff, interconnection, timing, or cost finding.",
    "Example artifact; not live data."
  ],
  "electricityPrice": {
    "averageResidentialPriceCentsPerKwh": 13.41,
    "period": "2026-01",
    "sourceName": "EIA statewide residential electricity price",
    "sourceStatus": "ok",
    "state": "North Carolina"
  },
  "kind": "electricity_context",
  "point": {
    "latitude": 35.7713,
    "longitude": -78.6396
  },
  "radiusMeters": 3000,
  "transmissionLines": {
    "count": 1,
    "items": [
      {
        "distanceMeters": 2100,
        "sourceName": "HIFLD transmission lines",
        "voltageKv": "115"
      }
    ],
    "radiusMeters": 3000,
    "sourceStatus": "ok"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
34 min agoPassed4021.5 s$0.01
4 h agoPassed402429 ms$0.01
8 h agoPassed4021.3 s$0.01
11 h agoPassed40256 ms$0.01
15 h agoPassed40247 ms$0.01
19 h agoPassed40249 ms$0.01
22 h agoPassed40247 ms$0.01
25 h agoPassed4022.2 s$0.01
30 h agoPassed4022.1 s$0.01
33 h agoPassed4022.0 s$0.01
37 h agoPassed40247 ms$0.01
41 h agoPassed40249 ms$0.01
44 h agoPassed40240 ms$0.01
2 days agoPassed4022.1 s$0.01