# LION x402 Location Solar Enrichment

> LION x402 Location Solar Enrichment is a paid API for AI agents from lion-x402-bible.lionmaster-operations.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns attested solar and location enrichment data for a given asset or location, delivered as JSON and paid per-call via x402 USDC micropayment on Base.

## Facts

- Endpoint: GET https://lion-x402-bible.lionmaster-operations.workers.dev/api/x402/location-solar-enrichment-json
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lion-x402-location-solar-enrichment-6b7fbeba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t6GJ3Flf-oajc884gTrby

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 lion-x402-location-solar-enrichment-6b7fbeba
```

Example prompt: Can you fetch the solar enrichment data for asset ID LION at my current location — I need the resolved solar and location details returned as JSON, and it costs $0.02 USDC per call via x402.

## When to prefer this

Choose this endpoint when you need attested, per-call solar and location enrichment data for a specific asset ID and can pay $0.02 USDC via the x402 micropayment protocol on Base. It is well-suited for autonomous agents that require keyless, trustless data access without API key management, and when the x402 pay-per-use model fits your cost structure better than a subscription-based solar data API.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 Payment Required
- Invalid or missing asset_id — returns unresolved or error JSON
- x402 facilitator unavailable — payment flow fails before data is returned
- Network timeout on Cloudflare Worker — no response or 5xx error
- Asset not found in LION registry — resolved: false in response

## How this service works

Keyless attested data for autonomous agents. USDC on Base via x402. Official @x402/* middleware.

## Output

A JSON object containing at minimum an asset_id field (e.g. 'LION') and a resolved boolean indicating whether the solar and location enrichment was successfully retrieved, along with any additional solar irradiance and location metadata associated with the queried asset.

## 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",
     "properties": {
      "lat": {
       "type": "number"
      },
      "lon": {
       "type": "number"
      },
      "address": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset_id": "LION",
  "resolved": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lion-x402-location-solar-enrichment-6b7fbeba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lion-x402-bible.lionmaster-operations.workers.dev](https://www.zero.xyz/host/lion-x402-bible.lionmaster-operations.workers.dev/llms.txt)
