Skip to main content
New to Corsair? See API access, authentication, and error handling.

Account

get

account.get Get the account the API key belongs to. Risk: read
Input: empty object Output

listRequests

account.listRequests List the API calls of the last 30 days, free and paid, newest first. Risk: read
Input Output

Agent

ask

agent.ask Give Mireye Agent a search, research or analysis task in plain language. The Agent is free, but it runs paid Search, Enrich and Proximity calls on the balance with no cap unless maxCostUsd is set. A slow answer comes back with status running: poll agent.getTurn. Risk: destructive
Input Output

cancelTurn

agent.cancelTurn Cancel an Agent turn that is awaiting confirmation or running. Risk: write
Input Output

confirmTurn

agent.confirmTurn Approve an Agent turn that is awaiting_confirmation, optionally with a higher maxCostUsd. Its paid calls run and are charged. Risk: destructive
Input Output

getResultRows

agent.getResultRows Read one page of rows from an Agent result table (free). Risk: read
Input Output

getTurn

agent.getTurn Read an Agent turn until its status is no longer running (waits up to 25 seconds per call). Risk: read
Input Output

resumeTurn

agent.resumeTurn Resume an Agent turn that stopped with needs_funds after the balance was topped up. Finished work is not charged again. Risk: destructive
Input Output

Billing

get

billing.get Get the plan and billing state of the account. Risk: read
Input: empty object Output

Field Requests

create

fieldRequests.create Ask Mireye for a data point it does not have yet, in plain language (free). If the catalog already answers it, the value comes back now; otherwise Mireye builds it and notifies callback.email or callback.webhook_url. Risk: destructive
Input
Output: empty object

get

fieldRequests.get Poll a field request: status, queue position, ETA and the resume call once the field is live. Risk: read
Input Output: empty object

Fields

list

fields.list List the Fetch fields and presets, with sources and units (free, no key needed). Risk: read
Input: empty object Output

listEnrich

fields.listEnrich List every Enrich field ID and preset, with types, units, hints and price. Risk: read
Input: empty object Output

listSearch

fields.listSearch List every Search filter and output field, with its filter operators, hints and price. Risk: read
Input: empty object Output

Locations

enrich

locations.enrich Match one US address or coordinate to a parcel and return the fields you choose (owner, zoning, valuation and more). Charged per matched parcel from the Mireye balance ($0.02 on Free); max_cost_usd caps it. Check parcel_match.status first. Risk: read
Input
Output

fetch

locations.fetch Fetch free public, source-cited fields (flood, fire, terrain, power, broadband…) for a US address or coordinate. Check partial_failures and each field status. Risk: read
Input Output

fetchBatch

locations.fetchBatch Fetch the same free public fields for up to 25 locations in one request. Check each result for ok and partial_failures. Risk: read
Input
Output

geocode

locations.geocode Resolve a US street address to a coordinate, with its match accuracy (free). A coordinate is not parcel identity: use locations.enrich for that. Risk: read
Input Output

proximity

locations.proximity Distance, nearest, screen and labor-shed calculations. Straight-line work and labor estimates are free; driving work is charged from the Mireye balance ($0.004 per calculation, $0.02 per nearest result on Free); max_cost_usd caps it. Risk: read
Input
Output: JsonValue

Meta

plans

meta.plans Mireye’s public price list and allowance rules, to see what a call costs before making it. Risk: read
Input: empty object Output: empty object

Operations

get

operations.get Read a paid operation by the operation_id from a billing receipt or an error, to recover a lost response without paying twice. Risk: read
Input Output: empty object

Parcels

parcels.search Find parcels in one state that match all filters, with the output fields you choose. One charge per page from the Mireye balance ($0.20 on Free), even for an empty page; follow next_cursor for more. Risk: read
Input
Output

Permits

byParcel

permits.byParcel One row per parcel with permits in a county or a list of parcel ids, with counts, latest date and tags. Each row returned is charged as one permit row ($0.012 on Free); limit 0 counts for free. Risk: read
Input
Output

coverage

permits.coverage List which permit offices in one state are collected and how complete each is (free). Risk: read
Input Output: JsonValue

lookup

permits.lookup Look up building permits by id. Charged per permit found from the Mireye balance ($0.012 on Free). Risk: read
Input Output

search

permits.search Search US building permits by place and filters. Charged per permit returned ($0.012 on Free); limit 0 counts for free. Risk: read
Input
Output

stats

permits.stats Count permits in one area grouped by month, work tag, category or office, with valuation and time-to-issue measures. Each group returned is charged as one permit row ($0.012 on Free); limit 0 counts for free. Set max_cost_usd to cap it. Risk: read
Input
Output

vocabulary

permits.vocabulary List the values every permit filter accepts (free). Risk: read
Input: empty object Output: JsonValue

Runs

downloadArtifact

runs.downloadArtifact Download a finished run as CSV text or a GeoJSON FeatureCollection (free). Risk: read
Input Output: string \| JsonValue

get

runs.get Poll a run: status, progress and, once done, the result. Runs expire after 30 days. Risk: read
Input Output: JsonValue

submit

runs.submit Submit a fetch_batch job and get a run_id at once; poll it with runs.get. Fetch is free. Risk: write
Input
Output: JsonValue

Wallet

get

wallet.get Get the Mireye balance: plan, available and reserved dollars. Risk: read
Input: empty object Output

getControls

wallet.getControls Get the spending controls: paused, monthly limit and what this period has used. Risk: read
Input: empty object Output

listOperations

wallet.listOperations List paid operations with what each charged, newest first. Risk: read
Input Output