---
title: "Fetch cited geospatial facts with an x402 payment"
method: POST
path: "/v1/x402/fetch"
---

# Fetch cited geospatial facts with an x402 payment

`POST /v1/x402/fetch`

## Request

- Base URL: `https://api.mireye.com`
- URL: `https://api.mireye.com/v1/x402/fetch`
- Auth: none declared
- TypeScript: <https://skmtc.dev/mireye/apis/mireye-earth/docs/v1/x402/fetch/post.ts> (a function with typed inputs; its response is checked against the schema)

Agent-native Fetch endpoint. Pay $0.001 USDC on Base per call; no Mireye API key is required. The request and response match POST /v1/fetch. An unpaid request returns 402 with Payment-Required and Bazaar discovery metadata. Retry with Payment-Signature using an x402 v2 client. Successful responses include Payment-Response; inspect partial_failures.

## Request body

- FetchRequest
  - `address` string, nullable
  - `fields` string[], nullable
  - `lat` number, nullable
  - `lng` number, nullable
  - `preset` 'terrain' | 'flood_risk' | 'wildfire_underwrite' | 'land_cover' | 'site_selection' | 'building_lookup' | 'points_of_interest' | 'utilities' | 'boundaries' | 'solar_siting' | 'wind_siting' | 'storage_siting' | 'data_center_siting' | 'grid_interconnect' | 'natural_hazard', nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `402`: x402 payment required, invalid, or settlement failed
- `422`: Validation Error
- `503`: x402 payment service unavailable

---

[API](https://skmtc.dev/mireye/apis/mireye-earth.md) - [All operations](https://skmtc.dev/mireye/apis/mireye-earth/llms.txt) - [OpenAPI document](https://skmtc.dev/mireye/apis/mireye-earth/revisions/d8410ba83654?raw)
