> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mireye.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Infrastructure for physical-world AI agents. One API for data, enrichment, tools, and signals — every value cited.

An AI agent knows the internet. It does not know the ground.

Ask a frontier model how much power it can get at a specific parcel, what
the county will let you build there, or whether the wetland on the north
edge kills the site, and it will estimate. Mireye answers — from the
authoritative record, with the source, the URL, the fetch timestamp, and a
confidence bucket attached to every value.

That is the whole company: **the infrastructure layer agents call when the
question is about a real place.**

## Four things behind one API

Mireye is not a map, a GIS tool, or a data reseller. Four distinct
capabilities ship behind the same auth, the same catalog, and the same
provenance model.

> [card] Data
>
> Free public facts at a location from public agencies (USGS, NOAA, EPA,
> EIA) and transparent open data (OpenStreetMap/OpenInfraMap, Overture),
> normalized to one schema.
> [`POST /v1/fetch`](https://docs.mireye.ai/api-reference/fetch)

> [card] Enrichment
>
> Resolve one parcel from an address or coordinate, then return its selected
> attributes and calculations with field-level provenance.
> [`POST /v1/enrich`](https://docs.mireye.ai/api-reference/enrich)

> [card] Tools
>
> Computation over locations, not lookups at one: drive-time matrices,
> nearest-candidate search (including places by brand or category, and
> counts of them), proximity screens, labor sheds.
> [`POST /v1/proximity`](https://docs.mireye.ai/api-reference/proximity)

> [card] Coverage on demand
>
> The catalog is not fixed. Ask for a field that doesn't exist and a
> genuine gap becomes a queued build that lands for every caller after
> you. [`POST /v1/field-requests`](https://docs.mireye.ai/api-reference/field-requests)

For natural-language questions, [`POST /v1/ask`](https://docs.mireye.ai/api-reference/ask) selects
fields from the Fetch catalog, fetches them in parallel, and writes an answer
with inline citations. The [MCP server](https://docs.mireye.ai/mcp/installation.md) exposes dedicated
tools for Search, Enrich, Fetch, questions, proximity calculations, and coverage
requests to Claude, Cursor, and custom agents.

Wallet-equipped agents can use [x402 Fetch](https://docs.mireye.ai/api-reference/x402-fetch.md) without
a Mireye API key, paying \$0.001 USDC on Base per successful call.

## The catalog is mostly infrastructure

These counts track the catalog build in this repository. The deployed API is
the authoritative list — read it from
[`GET /v1/meta/fields`](https://docs.mireye.ai/api-reference/meta-fields), which is public and
unauthenticated.

* **Fields**: 389 across 7 layers (terrain, land cover, built environment, utilities, parcels, climate, hazards). Full list in the [Field catalog](https://docs.mireye.ai/api-reference/field-catalog.md).
* **Presets**: 15 use-case bundles (`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`).

The largest layer is not maps. It is **utilities and grid** — substations,
transmission voltage class, interconnection context, water service areas,
wastewater plant capacity, fiber. That is the layer that decides whether
something can actually get built, and it is the layer nobody had normalized.

Check the split yourself — the catalog endpoint is public, no token:

```bash theme={null}
curl -s https://api.mireye.com/v1/meta/fields \
  | jq '[.fields[].layer] | group_by(.) | map({(.[0]): length}) | add'
```

## What we won't do

> [card] No black-box scores
>
> No proprietary risk score, no "AI-derived" number dressed as data.
> Every value traces to a record you can re-fetch and verify.

> [card] Absence is an answer
>
> Where the record doesn't exist, you get `absent` with the reason — not
> a plausible guess. Source failures surface in `partial_failures` with a
> `retryable` flag.

An agent that gets a confident wrong number about a place makes a worse
decision than an agent that gets told the data isn't there. We optimize for
the second.

## Coverage

`/v1/ask`, `/v1/fetch`, and their MCP tools are United States only. Primary
bounds are `lat ∈ [18, 72]`, `lng ∈ [-180, -65]`; the Western Aleutians
additionally accept `lat ∈ [51, 54]`, `lng ∈ [172, 180)`. Out-of-bounds
requests return `400 coord_out_of_bounds`. Drive-time tools in
[`/v1/proximity`](https://docs.mireye.ai/api-reference/proximity) additionally cover Canada (`@places`
is US only); other
endpoint pages document their own locator coverage.

## Start here

> [card] [Quickstart](https://docs.mireye.ai/quickstart.md)
>
> First cited answer in five minutes. curl and jq, no SDK.

> [card] [MCP install](https://docs.mireye.ai/mcp/installation.md)
>
> One command to give Claude Code or Cursor the physical world.

> [card] [Pricing in dollars](https://docs.mireye.ai/pricing.md)
>
> What each call costs, and how to quote a job before you run it.

> [card] [API reference](https://docs.mireye.ai/api-reference/ask.md)
>
> Every endpoint, with try-it panels.

## Find parcels by requirements

[`POST /v1/search`](https://docs.mireye.ai/api-reference/search) finds the first parcels meeting all supplied
stored parcel and Fetch filters. Include one `state2` filter with `eq`
and one two-letter US state code (50 states and DC); each Search covers one state. Acreage, county, situs city, and a polygon can further
narrow the search. Each response includes `next_cursor`: `null` means this is the
last page, and any other value continues the search, even after a short or empty
page. Read `remarks` on every page; it is `[]` when there is nothing to report and
otherwise names, by `code`, what could make a page incomplete. Page size defaults
to 10 and can be set from 1 to 100 on every request. Continue with the same filters
and fields; cursors expire after one hour. Each page is a separate paid Search
operation. Reuse that page's idempotency key for retries.

Search returns scalar filter values plus every field named in `fields`, excluding
duplicate top-level identity values. `fields` accepts any public Search field and any
[Enrich field](https://docs.mireye.ai/api-reference/enrich-fields.md), produced from the selected parcel's
stored `lat`/`lon` unchanged. On Free, Search costs \$0.20 per query, including every
selected field; paid-plan discounts apply. Search has a 180-second budget; allow at
least 210 seconds on the client. See
[Search](https://docs.mireye.ai/api-reference/search.md) for examples, dollar ceilings, failures and pagination.

Use [`POST /v1/enrich`](https://docs.mireye.ai/api-reference/enrich) to investigate a shortlisted
parcel separately. Pass its address or stored `analysis_point`, select a few fields
or a list of presets, then confirm `parcel_match.parcel` identifies the intended property.
Search and Enrich have their own [Search field reference](https://docs.mireye.ai/api-reference/search-fields.md)
and [Enrich field reference](https://docs.mireye.ai/api-reference/enrich-fields.md); `/v1/meta/fields`
describes the Fetch catalog.
