# LandSphere Data API and MCP server > Land and property data behind landsphere.io: listings for sale, the public parcel record under any US coordinate > (stored statewide parcel databases first, live county services elsewhere), parcels inside a bounding box, bulk > GeoParquet exports, assessed land values per map tile, farmland and home-value grids, and a location brief. Base URL: https://www.landsphere.io/api · OpenAPI: https://www.landsphere.io/api/v1/openapi.json · MCP: https://www.landsphere.io/mcp · Docs: https://www.landsphere.io/developers # Authentication Every request (except /v1/plans and /v1/openapi.json) needs your API key. Send it as a bearer token or in an x-api-key header. Keys start with ls_live_ and are shown exactly once, right after checkout — store them in a secrets manager, never in client-side code or public repos. Each key belongs to one developer account with one monthly Stripe subscription. If a key leaks, rotate it from the account panel below (or POST /v1/account/rotate-key); the old key stops working within about 20 seconds. ``` curl https://landsphere.io/api/v1/listings?limit=3 \ -H "Authorization: Bearer $LANDSPHERE_API_KEY" # or curl https://landsphere.io/api/v1/listings?limit=3 -H "x-api-key: $LANDSPHERE_API_KEY" ``` # Plans, units and limits Usage is metered in request units. A simple catalog read costs 1 unit; calls that fan out to several live upstream sources cost more, so that pricing tracks what each call actually does. The exact cost is documented per endpoint and returned on every response in the X-Request-Cost header. Account endpoints are free. Each plan includes a monthly unit quota (resets on the 1st of the month, UTC) and a per-minute request limit. Both are reported on every response: X-Quota-Limit, X-Quota-Used and X-Quota-Reset for the month, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (seconds) for the current minute. When you hit either, you get a 429 with a Retry-After header; nothing is charged for failed requests. The account endpoints are free and have their own limit of 30 requests per minute, so you can always check usage, rotate a key or switch plans — even while the data limit is exhausted. Plans are billed monthly through Stripe. Switch plans any time from the account panel — upgrades apply immediately and are prorated. Usage counters are near-real-time (written in small batches), so a burst can briefly exceed the quota by a few units; we never bill overage. | Plan | Price | Included per month | Rate limit | | --- | --- | --- | --- | | Starter | $49/mo | 10,000 units | 60 req/min | | Growth | $199/mo | 100,000 units | 300 req/min | | Scale | $499/mo | 1,000,000 units | 1,200 req/min | # Responses and errors Successful responses wrap the payload in data, with an optional meta object for pagination, sources and provenance. Errors return a JSON error object with a stable machine-readable code and a human-readable message, plus details where validation failed. Codes you will see: invalid_request (400), unauthorized (401), payment_required / subscription_canceled (402), not_found / no_coverage (404), validation_failed (422), rate_limited / quota_exceeded (429), upstream_unavailable (503 — a county or federal service didn't answer; retry with backoff, nothing was charged), internal_error (500). All endpoints send permissive CORS headers, but your key should still only be used server-side. ``` { "data": { ... }, "meta": { "total": 42, "limit": 25, "offset": 0, "nextOffset": 25 } } { "error": { "code": "quota_exceeded", "message": "Monthly quota of 10,000 units is used up. It resets 2026-11-01T00:00:00.000Z. Upgrade your plan at /developers#account." } } ``` # Data sources and attribution Listings come from seller and agent submissions approved by our moderators and from licensed/public feeds (source: seller or feed). The bundled demo inventory is flagged isDemo: true (and source: demo) — filter it out with source=real in production. Parcel records come from the LandSphere parcel store where a state has been built (every parcel of the state from its open statewide or county parcel data, normalised; see The parcel store) and otherwise live from the county or statewide service covering the point (666 US sources from the GeoBit Parcels catalogue); each response carries the source and its licence. Facts and location intelligence are read live from public records and open data and cached: FEMA National Flood Hazard Layer and National Risk Index, USDA NRCS soils, USGS 3DEP elevation, NOAA 1991–2020 climate normals, NCES schools, US Census ACS, USDA NASS and Eurostat land values, Zillow Research ZHVI, NASA FIRMS, NWS, USGS NLDI, OpenCellID, TomTom traffic, Mapbox and Foursquare places. Where a section has no source, you get null rather than an estimate — except the price grid's modeled cells, which are labelled as such. When you display the data, keep the attribution carried in each response's sources / source fields, and respect each parcel source's licence line. Owner names are only ever returned where the publishing county releases them. # The parcel store Behind /v1/parcels, /v1/parcels/within and /v1/parcels/export sits the LandSphere parcel store: a database of every parcel in each state (or country) we have built, assembled from the jurisdiction's own open parcel data (statewide cadastral layers, county appraisal-district services, national cadastres such as France's Etalab release), normalised into one schema and stored as GeoParquet per county plus vector tiles per state. The store finds the state by extent, so it works anywhere a state is built; a point lookup is an exact point-in-polygon test on the stored outline, nothing is estimated and nothing is dropped at the lookup zoom. US points outside the built states still answer live from their county or statewide service (666 open sources). /v1/parcels/coverage lists both, with counts, vintage and licence, and is free to call. Schema v1, one row per parcel: uid (US-XX::), state, county_fips, county_name, apn, source_parcel_id, owner_name, mail_address, site_address, city, zip, land_use_code, land_use_desc, land_use (residential · commercial · industrial · agricultural · forest · water · transport · public · recreation · vacant · mixed · other · unknown), zoning, acres, area_m2, land_value, improvement_value, assessed_value, year_built, last_sale_price, last_sale_date, legal_description, vintage, source_id, licence, centroid_lon, centroid_lat, minx, miny, maxx, maxy, geometry (WKB, WGS84). A field the source does not carry is null — the coverage detail shows, per county, how many parcels carry each field. Licences travel with the data: every response names the state's licence and the attribution to keep. Owner names are stored and returned only for states whose source publishes them openly (ownerNames: open), and never appear in the tiles. Stored states are rebuilt when the source publishes a new vintage. ``` # Is my state stored? (free) curl https://landsphere.io/api/v1/parcels/coverage | jq '.data.store.states[] | {state, parcels, vintage, ownerNames}' # Every parcel on a block, with outlines curl "https://landsphere.io/api/v1/parcels/within?bbox=-78.65,35.77,-78.63,35.79&state=NC" \ -H "Authorization: Bearer $LANDSPHERE_API_KEY" ``` # Adding listings (people and agents) Anyone with an API key can add listings with POST /v1/listings (or the submit_listing MCP tool) — their own properties, or listings they represent — anywhere in the world: US addresses take stateCode + zip, everything else takes country (ISO alpha-2) + region, and prices are in USD (keep the advertised price in localPrice). Listings added with a key wait for moderation like the /sell form; GET /v1/listings/submissions shows their status and POST /v1/listings/{id}/review withdraws one. An agent that finds listings elsewhere (a research agent, Grok Bot, a Claude or OpenAI agent) uses the same calls. Give it source{name,url,externalId} for every record: the listing page shows where it was found, and duplicates are caught — a 409 duplicate names the record already in LandSphere (same source URL, same source + externalId, same address, or same price within 60 m), and upsert: true refreshes it instead. The agent should search_listings first, send one listing per call, read the 409 as final, and only submit listings and image URLs it has the right to publish. Site operators hold an operator token (the server's ADMIN_SECRET, the same secret that opens /admin). Sent as the bearer token it is accepted on every endpoint without an account or metering, publishes listings immediately (publish: false queues them), sees the whole moderation queue in GET /v1/listings/submissions?status=pending and approves or rejects with POST /v1/listings/{id}/review. Connect an agent to the MCP server with that token and it can add listings that go straight live. ``` # Add a listing found elsewhere, live at once (operator token) curl -X POST https://landsphere.io/api/v1/listings \ -H "Authorization: Bearer $LANDSPHERE_OPERATOR_TOKEN" -H "Content-Type: application/json" \ -d '{ "contact": {...}, "title": "...", "price": 1180000, "hectares": 2.3, "propertyType": "timberland", "address": { "line1": "Nagakura 2140-3", "city": "Karuizawa", "region": "Nagano", "country": "JP" }, "description": "...", "images": ["https://..."], "source": { "name": "example.jp", "url": "https://www.example.jp/listings/karuizawa-2140-3" } }' # The moderation queue, then approve one curl "https://landsphere.io/api/v1/listings/submissions?status=pending" -H "Authorization: Bearer $LANDSPHERE_OPERATOR_TOKEN" curl -X POST https://landsphere.io/api/v1/listings/sub-k3j9x2/review -H "Authorization: Bearer $LANDSPHERE_OPERATOR_TOKEN" \ -H "Content-Type: application/json" -d '{ "action": "approve" }' ``` # MCP server (for Claude, Cursor, Grok Bot and other agents) The whole API is also an MCP server at https://landsphere.io/mcp (Model Context Protocol, Streamable HTTP transport, stateless). Every endpoint on this page is one tool with the same parameters, the same response and the same unit cost — the tool list is generated from this reference, so the two never drift. Tools: search_listings, get_listing, get_listing_facts, submit_listing, get_listing_submissions, review_listing, get_parcel, get_parcels_within, get_parcel_coverage, get_parcel_export, get_parcel_values, get_price_grid, get_home_values, get_regions, get_location, get_account and get_plans. Account-changing endpoints (rotate key, change plan, billing portal) are not exposed as tools. Authentication is the API key, sent on every request as an Authorization: Bearer header (or x-api-key) — the same key, the same quota, the same rate limit, and tool results carry the cost and quota in _meta. Site operators can send the operator token instead (see Adding listings) and the agent then publishes and moderates listings. Connecting and listing tools needs no key; get_parcel_coverage and get_plans run without one. The server also exposes three resources: the llms.txt guide, the OpenAPI description and the parcel-store coverage. Agents built on the Claude API can call the server directly with the MCP connector (mcp_servers in the Messages API), with the key in authorization_token; the Claude Agent SDK and any MCP-aware framework take the same URL. ``` # Claude Code claude mcp add --transport http landsphere https://landsphere.io/mcp \ --header "Authorization: Bearer $LANDSPHERE_API_KEY" # Grok Bot and other desktop agents: add an MCP server with # URL https://landsphere.io/mcp and header Authorization: Bearer # Cursor, Windsurf, VS Code and other clients with an mcp.json { "mcpServers": { "landsphere": { "url": "https://landsphere.io/mcp", "headers": { "Authorization": "Bearer ls_live_…" } } } } # Claude Desktop (through mcp-remote, which bridges stdio to HTTP) { "mcpServers": { "landsphere": { "command": "npx", "args": ["-y", "mcp-remote", "https://landsphere.io/mcp", "--header", "Authorization: Bearer ls_live_…"] } } } # Plain JSON-RPC curl https://landsphere.io/mcp -H "Content-Type: application/json" \ -H "Authorization: Bearer $LANDSPHERE_API_KEY" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_parcel","arguments":{"lat":35.78,"lng":-78.64}}}' ``` # Plans - Starter: $49/month, 10,000 units, 60 requests/minute - Growth: $199/month, 100,000 units, 300 requests/minute - Scale: $499/month, 1,000,000 units, 1200 requests/minute Unit costs: listings=1, listing=1, listingFacts=3, submitListing=1, listingSubmissions=0, reviewListing=0, parcel=2, parcelsWithin=3, parcelExport=5, parcelValuesTile=2, prices=1, pricesPerTile=2, homeValues=1, regions=1, location=5, locationDeep=25, account=0 # Endpoints ## Listings ### GET /v1/listings — Search listings (1 unit) Search the LandSphere catalog — ranches, farms, hunting and recreational land, timberland, waterfront, lots, homesteads and commercial land — by text, type, status, price, acreage, state, bounding box or distance from a point. Results are paginated with limit/offset. - q (query, string): Free-text match on title, city, county, state, type and features. Example: elk - types (query, string): Comma-separated property types. One of: ranch, farm, hunting, waterfront, recreational, timberland, residential-lot, homestead, commercial. Example: ranch,hunting - status (query, string): Comma-separated statuses. One of: for_sale, pending, auction, sold, new. Example: for_sale,new - state (query, string): Two-letter US state code. Example: MT - minPrice (query, number): USD. - maxPrice (query, number): USD. - minAcres (query, number): Acres. - maxAcres (query, number): Acres. - waterAccess (query, boolean): Only listings whose features mention a creek, river, lake, pond, shoreline, spring or water rights. - bbox (query, string): west,south,east,north in degrees — listings inside the box. Example: -112.5,44.5,-109.5,46.5 - near (query, string): lng,lat — listings within radius miles of the point; adds distanceMi to each result. Example: -110.56,45.66 - radius (query, number): Miles, with near. Default 50, max 1000. - source (query, string): real excludes the bundled demo inventory; demo returns only it. One of: all, real, demo. - sort (query, string): distance needs near. One of: newest, price-asc, price-desc, acres-desc, ppa-asc, distance. - limit (query, integer): Page size, 1–100. Default 25. - offset (query, integer): Rows to skip. meta.nextOffset is null on the last page. Example: GET https://www.landsphere.io/api/v1/listings?types=ranch&state=MT&minAcres=200&sort=ppa-asc&limit=2 Response: Listings, newest first unless sorted. ```json { "data": [ { "id": "ls-1021", "slug": "ls-1021-elk-creek-ranch", "url": "https://landsphere.io/listing/ls-1021-elk-creek-ranch", "title": "Elk Creek Ranch", "price": 2450000, "pricePerAcre": 3834, "status": "for_sale", "propertyType": "ranch", "acreage": 639, "beds": 4, "baths": 3, "sqft": 3200, "yearBuilt": 1998, "address": { "line1": "4120 Elk Creek Rd", "city": "Livingston", "county": "Park County", "state": "Montana", "stateCode": "MT", "zip": "59047" }, "lat": 45.5812, "lng": -110.5204, "description": "Live water, elk and a timber-frame lodge …", "features": ["Live water", "Elk hunting", "Fenced & cross-fenced"], "images": ["https://images.example.com/ls-1021/1.jpg"], "listedDaysAgo": 12, "mlsId": "MT-2048811", "source": "seller", "isDemo": false, "contact": { "name": "Dana Whitfield", "brokerage": "Big Sky Land Co.", "phone": "(406) 555-0144", "email": "dana@example.com" } } ], "meta": { "total": 7, "limit": 2, "offset": 0, "nextOffset": 2 } } ``` ### GET /v1/listings/{id} — Get a listing (1 unit) One listing by id or URL slug — the same fields as a search row. - id (path, string, required): Listing id (ls-1021) or slug (ls-1021-elk-creek-ranch). Example: ls-1021 Example: GET https://www.landsphere.io/api/v1/listings/ls-1021 Response: The listing. ```json { "data": { "id": "ls-1021", "slug": "ls-1021-elk-creek-ranch", "title": "Elk Creek Ranch", "price": 2450000, "…": "…" } } ``` Note: Real listings carry verification: { level, label, basis[], apn, checkedAt } — level is unverified, parcel_matched (a county parcel record sits under the pin), owner_matched (the owner of record matches the lister), document_verified (ownership documents reviewed) or rejected. Owner names are never included. That is the verification badge shown on the site. ### GET /v1/listings/{id}/facts — Listing facts from public records (3 units) Everything the listing page's intelligence panels show, from public sources: the county parcel record and outline (APN, acres, land use, zoning, assessed value, last sale, legal description — owner only where published), FEMA flood zone and National Risk Index hazards, USDA soil, USGS terrain and elevation, NOAA climate normals with monthly table, NCES schools, nearby town, airport and places. Each panel carries its source line; sections without a source are null. Cached up to 30 days per listing. - id (path, string, required): Listing id or slug. Example: ls-1021 Example: GET https://www.landsphere.io/api/v1/listings/ls-1021/facts Response: kind is public for real listings, sample for the demo inventory (illustrative values). ```json { "data": { "kind": "public", "fetchedAt": "2026-10-09T18:02:11.000Z", "parcel": { "apn": "0007-123-45-00", "owner": null, "ownerPublished": false, "ownerWithheld": false, "siteAddress": "4120 ELK CREEK RD", "addressMatches": true, "match": "pin", "acres": 638.7, "landUse": "Agricultural", "zoning": "AG-40", "assessedValue": 1640200, "lastSalePrice": 1900000, "lastSaleDate": "2019-06-14", "legalDescription": "S12 T03S R09E …", "source": { "name": "Montana State Library — Cadastral", "jurisdiction": "Montana", "licence": "Public domain", "url": "https://msl.mt.gov/geoinfo/" } }, "parcelGeometry": { "type": "Polygon", "coordinates": [[[-110.53, 45.57], "…"]] }, "parcelNote": null, "hazards": { "floodZone": "X", "floodRisk": "Very Low", "wildfireRisk": "Moderate", "earthquakeRisk": "Moderate", "tornadoRisk": "Very Low", "radonZone": null }, "geology": { "soil": "Bridger loam", "soilClass": "Class IV", "drainage": "Well drained", "elevationFt": 5120, "slopePct": 6, "terrain": "Rolling", "bedrock": null, "mineralRights": null }, "climate": { "annualHighF": 56, "annualLowF": 30, "rainIn": 16.4, "snowIn": 58, "growingSeasonDays": 112, "hardinessZone": "4b", "station": "LIVINGSTON 12 S", "monthly": [{ "month": "Jan", "highF": 36, "lowF": 14, "precipIn": 0.6 }, "…"] }, "schools": [{ "name": "Winans Elementary", "distanceMi": 9.2 }], "nearby": [{ "category": "Grocery", "name": "Town & Country Foods", "distanceMi": 8.7 }], "nearestTown": { "name": "Livingston", "distanceMi": 8.9 }, "nearestAirport": { "name": "Bozeman Yellowstone Intl", "distanceMi": 41.3 }, "sources": { "parcel": "Montana State Library — Cadastral", "hazards": "FEMA NFHL · FEMA National Risk Index (tract)", "climate": "NOAA 1991–2020 normals · LIVINGSTON 12 S" }, "errors": [] }, "meta": { "listingId": "ls-1021", "slug": "ls-1021-elk-creek-ranch", "kind": "public", "fetchedAt": "2026-10-09T18:02:11.000Z" } } ``` ### POST /v1/listings — Add a listing (1 unit) Add a property for sale, anywhere in the world. With an API key it is validated and queued for moderator review (202); once approved it appears on the site, in search and in GET /v1/listings. With the operator token it goes live immediately (201; publish: false queues it instead). Coordinates are geocoded from the address when lat/lng are missing. Buyer leads route to the contact you provide. Send source{name,url,externalId} for a listing found elsewhere: it is shown as the listing's origin and used to detect duplicates — a property already in LandSphere (same source URL, same source + externalId, same address, or same price within 60 m) answers 409 duplicate with the existing record, or is updated in place with upsert: true (operator, or the account that added it). Only submit listings and image URLs you have the right to publish. Body: JSON listing. Required: contact{name,email,phone}, title (≥ 8 chars), price in USD ($1k–$500M), acreage (or hectares / sqm), propertyType (ranch · farm · hunting · waterfront · recreational · timberland · residential-lot · homestead · commercial), address{line1,city} plus stateCode+zip in the US or country (ISO alpha-2) + region [+ postalCode] elsewhere, description (≥ 40 chars), images (≥ 1 https URL). Optional: lat, lng (geocoded when missing), contact.brokerage, address.county, beds, baths, sqft, yearBuilt, features[] (≤ 12), source{name,url,externalId,listedAt}, localPrice{amount,currency} for the advertised price in another currency, upsert (true updates the duplicate instead of 409), publish (operator token only; default true). ```json { "contact": { "name": "Karuizawa Forest Realty", "email": "info@example.jp", "phone": "+81 267 00 0000", "brokerage": "Karuizawa Forest Realty" }, "title": "Larch forest plot above Naka-Karuizawa — 2.3 ha with mountain views", "price": 1180000, "localPrice": { "amount": 178000000, "currency": "JPY" }, "hectares": 2.3, "propertyType": "timberland", "address": { "line1": "Nagakura 2140-3", "city": "Karuizawa", "region": "Nagano", "postalCode": "389-0111", "country": "JP" }, "lat": 36.3521, "lng": 138.5890, "description": "South-facing larch and birch forest plot on the Asama slope, 20 minutes from Karuizawa station, with road frontage and a buildable terrace.", "features": ["Road frontage", "Mountain views", "Buildable"], "images": ["https://images.example.jp/karuizawa-2140/1.jpg"], "source": { "name": "example.jp", "url": "https://www.example.jp/listings/karuizawa-2140-3", "externalId": "KZ-2140-3" } } ``` Example: POST https://www.landsphere.io/api/v1/listings Response: 202 Accepted with the pending record (API key), 201 Created when the operator token published it, 200 when upsert updated an existing record. 409 duplicate names the existing record (details: id, slug, status, matchedOn, url). Validation problems come back as 422 validation_failed with a details array. ```json { "data": { "id": "sub-k3j9x2", "slug": "sub-k3j9x2-larch-forest-plot-above-naka-karuizawa-2-3-ha", "status": "approved", "live": true, "createdAt": "2026-11-02T15:04:22.000Z", "url": "https://landsphere.io/listing/sub-k3j9x2-larch-forest-plot-above-naka-karuizawa-2-3-ha", "source": { "name": "example.jp", "url": "https://www.example.jp/listings/karuizawa-2140-3", "externalId": "KZ-2140-3" }, "note": "Live now: on the site, in search and in GET /v1/listings." } } ``` ### GET /v1/listings/submissions — Your submitted listings (free) The listings this account has added (through the API, MCP or the site) with their moderation status, newest first. With the operator token it is the whole moderation queue — every submission from every account — so status=pending lists what is waiting for review. Free. - status (query, string): Filter by moderation status. One of: all, pending, approved, rejected. Example: pending - limit (query, integer): Page size, 1–200 (default 50). - offset (query, integer): Pagination offset. Example: GET https://www.landsphere.io/api/v1/listings/submissions?status=pending Response: Submission summaries with status, live flag, channel (form · api · admin · feed), address, contact, source and the public verification, plus pagination in meta (meta.scope is account or all). ```json { "data": [{ "id": "sub-k3j9x2", "status": "pending", "live": false, "createdAt": "2026-11-02T15:04:22.000Z", "channel": "api", "title": "Larch forest plot above Naka-Karuizawa — 2.3 ha with mountain views", "price": 1180000, "acreage": 5.68, "propertyType": "timberland", "address": { "line1": "Nagakura 2140-3", "city": "Karuizawa", "county": "Karuizawa", "stateCode": "Nagano", "zip": "389-0111", "country": "JP" }, "lat": 36.3521, "lng": 138.589, "images": 1, "contact": { "name": "Karuizawa Forest Realty", "email": "info@example.jp", "phone": "+81 267 00 0000" }, "source": { "name": "example.jp", "url": "https://www.example.jp/listings/karuizawa-2140-3", "externalId": "KZ-2140-3" }, "verification": null, "url": "https://landsphere.io/listing/sub-k3j9x2-larch-forest-plot-above-naka-karuizawa-2-3-ha" }], "meta": { "total": 1, "limit": 50, "offset": 0, "nextOffset": null, "scope": "account" } } ``` ### POST /v1/listings/{id}/review — Approve, reject or withdraw a listing (free) Moderate a submission. approve puts it live and reject takes it down — both need the operator token. withdraw takes a listing off the site and is open to the account that added it. Free. - id (path, string, required): Submission id (sub-…), from POST /v1/listings or GET /v1/listings/submissions. Example: sub-k3j9x2 Body: { action: approve | reject | withdraw } ```json { "action": "approve" } ``` Example: POST https://www.landsphere.io/api/v1/listings/sub-k3j9x2/review Response: The submission's new status. ```json { "data": { "id": "sub-k3j9x2", "slug": "sub-k3j9x2-larch-forest-plot-above-naka-karuizawa-2-3-ha", "status": "approved", "live": true, "action": "approve", "url": "https://landsphere.io/listing/sub-k3j9x2-larch-forest-plot-above-naka-karuizawa-2-3-ha" } } ``` ## Parcels & land values ### GET /v1/parcels — Parcel record at a point (2 units) The public parcel record under a coordinate. States in the LandSphere parcel store (every parcel of the state, built from the state's open parcel data — see /v1/parcels/coverage) answer from the store: an exact point-in-polygon match on the stored outline, with uid, vintage and licence (meta.source: store). Everywhere else the record is read live from the open county or statewide parcel service covering the point (666 US sources; meta.source: live): the map pin is tried first, then a 30 m radius (match: nearby), and the listing's street address, when given, tells stacked parcels apart. Owner names only where the publishing county releases them. - lat (query, number, required): Latitude. Example: 45.5812 - lng (query, number, required): Longitude. Example: -110.5204 - address (query, string): Street line to match against the record's site address (live lookups). - mode (query, string): auto (default): the store when the state is in it, else live. store: the store only (404 no_coverage elsewhere). live: always the county service. One of: auto, store, live. Example: GET https://www.landsphere.io/api/v1/parcels?lat=45.5812&lng=-110.5204 Response: parcel is null with a note when no parcel is on record at the point; uid and store are set for stored states; 404 no_coverage when no stored state covers the point and it is outside the US (live lookups are US-only); 503 upstream_unavailable when the county service or the store is down (not charged). ```json { "data": { "parcel": { "apn": "0007-123-45-00", "owner": null, "ownerPublished": false, "ownerWithheld": false, "siteAddress": "4120 ELK CREEK RD", "addressMatches": null, "match": "pin", "acres": 638.7, "landUse": "Agricultural", "zoning": "AG-40", "assessedValue": 1640200, "lastSalePrice": 1900000, "lastSaleDate": "2019-06-14", "legalDescription": "S12 T03S R09E …", "source": { "name": "Montana State Library — Cadastral", "jurisdiction": "Montana", "licence": "Public domain", "url": "https://msl.mt.gov/geoinfo/" } }, "geometry": { "type": "Polygon", "coordinates": [[[-110.53, 45.57], "…"]] }, "note": null, "uid": null, "jurisdiction": { "stateCode": "MT", "countyFips": "30067" }, "store": null }, "meta": { "source": "live", "licence": "Public domain", "attribution": "Montana State Library — Cadastral" } } ``` Note: For a stored state the same call returns meta.source: "store", data.uid (e.g. "US-NC:37183:0123456"), and data.store with the build vintage; the outline is the full stored geometry. ### GET /v1/parcels/within — Parcels inside a bounding box (3 units) Every stored parcel whose outline touches a bounding box, with its outline and record: apn, owner (where the state publishes owner names), site address, land use, acres, assessed and land values, last sale. Served from the LandSphere parcel store, so it is available for stored states only (see /v1/parcels/coverage); the box may span at most 0.03° (about 2.4 km) in each direction. - bbox (query, string, required): west,south,east,north in degrees; at most 0.03° wide and tall. Example: -78.65,35.77,-78.63,35.79 - state (query, string): Limit to one stored state: a two-letter US code or a store key (US-NC, FR). Default: every built state whose extent touches the box. Example: NC - limit (query, integer): Max parcels, 1–1000. Default 500; data.truncated says whether more were cut. - geometry (query, boolean): false drops the outlines for a lighter response. Default true. Example: GET https://www.landsphere.io/api/v1/parcels/within?bbox=-78.65,35.77,-78.63,35.79&state=NC&limit=100 Response: Parcels, the state's build info and licence; 404 no_coverage when the state is not stored yet. ```json { "data": { "parcels": [{ "uid": "US-NC:37183:0792345678", "state": "US-NC", "countyFips": "37183", "apn": "0792345678", "owner": "SMITH, JANE", "siteAddress": "1200 OAK ST", "landUse": "residential", "acres": 0.21, "assessedValue": 412000, "landValue": 95000, "lastSalePrice": null, "lastSaleDate": "2021-03-19", "geometry": { "type": "Polygon", "coordinates": [[[-78.6412, 35.7801], "…"]] } }, "…"], "truncated": false, "state": { "key": "US-NC", "name": "North Carolina", "vintage": "2026", "licence": "North Carolina public records", "ownerNames": "open" } }, "meta": { "count": 84, "limit": 100, "source": "store", "licence": "North Carolina public records", "attribution": "NC OneMap" } } ``` ### GET /v1/parcels/coverage — Parcel coverage: stored states and live services (free, no key) Which states are in the stored parcel database — every parcel of the state, with the parcel count, number of counties, data vintage, licence and whether owner names are published — and, per state, how many live county services and statewide services back the point lookup elsewhere. Pass state=XX for the county-by-county detail of a stored state (counts, build time, which fields are populated). - state (query, string): Two-letter state code for county-level detail. Example: NC Example: GET https://www.landsphere.io/api/v1/parcels/coverage?state=NC Response: Store summary, live-service summary and optional detail. ```json { "data": { "store": { "schema": 1, "updatedAt": "2026-11-02T04:10:00Z", "parcels": 5938804, "states": [{ "state": "NC", "name": "North Carolina", "parcels": 5938804, "counties": 100, "status": "ready", "vintage": "2026", "licence": "North Carolina public records", "ownerNames": "open", "provider": "NC OneMap", "builtAt": "2026-11-02T04:10:00Z" }] }, "live": { "sources": 666, "states": { "TX": { "statewide": true, "countySources": 58, "ownerOpenSources": 20 }, "…": {} } }, "detail": { "counties": [{ "fips": "37001", "name": "Alamance", "parcels": 78012, "present": { "owner_name": 77990, "assessed_value": 78010, "…": 0 } }, "…"] } } } ``` ### GET /v1/parcels/export — Bulk files for a stored state (5 units) Download links for a stored state: one GeoParquet per county (every field of the LandSphere parcel schema v1, WKB geometry in WGS84, zstd) and the state's PMTiles vector tiles (layer parcels, z10–z16). URLs are stable and served from the store's CDN — read them with DuckDB, GeoPandas, QGIS or any GeoParquet reader. The response carries the licence and attribution the files come under. - state (query, string, required): A stored state: two-letter US code or store key (US-NC, FR). Example: NC - county (query, string): Build unit to get one file: the 5-digit county FIPS in the US, the source's subdivision code elsewhere (a French département). Example: 37183 Example: GET https://www.landsphere.io/api/v1/parcels/export?state=NC&county=37183 Response: File list; 404 no_coverage for states that are not stored. ```json { "data": { "state": "US-NC", "name": "North Carolina", "licence": "North Carolina public records", "licenceUrl": "https://www.nconemap.gov/pages/parcels", "attribution": "NC OneMap", "vintage": "2026", "schema": "https:///schema/v1.json", "tiles": { "url": "https:///tiles/US-NC.pmtiles", "layer": "parcels", "zoom": { "min": 10, "max": 16 }, "bytes": 1830000000 }, "files": [{ "county": "37183", "name": "Wake", "parcels": 412345, "bytes": 98000000, "url": "https:///parquet/US-NC/37183.parquet", "builtAt": "2026-11-02T03:12:00Z" }] }, "meta": { "count": 1, "parcels": 412345 } } ``` Note: DuckDB: `SELECT apn, owner_name, assessed_value FROM read_parquet('https:///parquet/US-NC/37183.parquet') LIMIT 5`. ### GET /v1/parcel-values — Assessed value per acre, by map tile (2 units) Every parcel in one z14 slippy-map tile (about 2.4 km on a side at mid-latitudes) as [lng, lat, USD per acre, USD per ft² of building or null], from the county's assessed or appraised values divided by acreage. Address the tile by x/y or by any lat/lng inside it. basis says whether values come from a land-value field or the total assessment; sources carries each service's licence. Owner names are never included. Tiles are cached for 30 days. - x (query, integer): Tile column at z=14 (with y). Example: 3412 - y (query, integer): Tile row at z=14 (with x). Example: 6217 - z (query, integer): Must be 14 when given. - lat (query, number): Alternative to x/y: the tile containing this point. Example: 40.0150 - lng (query, number): With lat. Example: -105.2705 Example: GET https://www.landsphere.io/api/v1/parcel-values?lat=40.0150&lng=-105.2705 Response: Points plus provenance. ```json { "data": { "z": 14, "x": 3401, "y": 6207, "bounds": [-105.2929, 40.0130, -105.2710, 40.0298], "points": [[-105.2831, 40.0191, 1842000, 412.5], [-105.2817, 40.0199, 1655000, null], "…"], "basis": "land", "sources": [{ "id": "us-co-boulder", "jurisdiction": "Boulder County, CO", "name": "Boulder County GIS", "licence": "Open", "url": "https://opendata-bouldercounty.hub.arcgis.com" }], "note": null, "failed": false }, "meta": { "pointFormat": ["lng", "lat", "usdPerAcre", "usdPerSqFtBuilding|null"], "count": 1874 } } ``` Note: A tile that holds no parcels with values returns an empty points array and a note explaining why (no open data here, no values in this county's layer, …). ### GET /v1/prices — Land-price grid (GeoJSON) (1 unit + 2 per parcel tile fetched at zoom ≥ 13) The zoomable land-price surface behind the World Prices map, for any bounding box and zoom, as a GeoJSON FeatureCollection of hexagons (H3) or quadtree squares. Every cell is priced from the best data covering it: at zoom 13 and up, the median county parcel value per acre inside the cell (kind: parcels; cells with no parcel of their own take the median of their surroundings); above that, the US state or EU country farmland average (kind: region); and where no source exists, a clearly labelled model (kind: modeled). Cells are sized to the zoom, like map tiles. - bbox (query, string, required): west,south,east,north. At zoom ≥ 13 it may cover at most 4 z14 tiles (≈ 2.5 km on a side). Example: -105.30,40.00,-105.26,40.03 - zoom (query, number, required): Web-map zoom (0–22) that sets the cell size: 3° squares at the world view, halving per level; hexes split by 7 about every 1.4 levels. Example: 14 - shape (query, string): Cell shape. One of: hex, square. - metric (query, string): ppa = USD per acre of land; ppsf = USD per ft² of building (parcel zoom only). One of: ppa, ppsf. Example: GET https://www.landsphere.io/api/v1/prices?bbox=-105.30,40.00,-105.26,40.03&zoom=14&shape=hex Response: Up to 5,000 features. properties.value is in the metric's unit; label says where it came from; idx is the 0–1 position on a log color ramp (-1 = no value); meta.scale gives that ramp's [low, high] at parcel zoom. ```json { "data": { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "idx": 0.63, "value": 1710000, "kind": "parcels", "op": 0.72, "n": 14, "label": "14 parcels · Boulder County GIS", "clng": -105.281, "clat": 40.017 }, "geometry": { "type": "Polygon", "coordinates": [[[-105.282, 40.016], "…"]] } } ] }, "meta": { "shape": "hex", "metric": "ppa", "metricLabel": "USD per acre", "zoom": 14, "resolution": 9, "cells": 211, "kinds": { "parcels": 198, "none": 13 }, "scale": [412000, 3860000], "parcelTiles": 2, "parcelBasis": "land", "partial": false, "sources": [{ "id": "us-co-boulder", "jurisdiction": "Boulder County, CO", "name": "Boulder County GIS", "licence": "Open", "url": "…" }] } } ``` ### GET /v1/home-values — Median home values by ZIP or hex (1 unit) Zillow Research's ZHVI (typical home value, latest month) for 26,000+ US ZIP codes, located at Census ZCTA centroids — the data behind the national price map. Ask for one ZIP, every ZIP in a box, or aggregate the box into H3 hexagons (median per hex) at resolutions 2–9, optionally as GeoJSON. - zip (query, string): One ZIP code. Example: 59047 - bbox (query, string): west,south,east,north (required without zip). Example: -112.5,44.5,-109.5,46.5 - res (query, integer): H3 resolution 2–9 to aggregate ZIPs into hexes. - format (query, string): With res: geojson returns hex polygons. One of: json, geojson. Example: GET https://www.landsphere.io/api/v1/home-values?bbox=-112.5,44.5,-109.5,46.5&res=5 Response: Rows or hexes (≤ 5,000). ```json { "data": [ { "h3": "8528b4c7fffffff", "median": 612400, "zips": 6 }, { "h3": "8528b4cffffffff", "median": 389900, "zips": 4 } ], "meta": { "count": 2, "resolution": 5, "zips": 10, "source": "Zillow Research ZHVI (latest month, all homes, smoothed, seasonally adjusted); ZIP centroids: US Census ZCTA" } } ``` ### GET /v1/regions — Farmland value by state and country (1 unit) Average farmland value per acre for every US state (USDA NASS land values, with cropland/pasture detail) and EU country (Eurostat agricultural land prices, converted at the bundled EUR/USD rate). Pass id= for one region and geometry=true to include its outline. - id (query, string): Region id: US-XX for states, ISO-2 for EU countries. Example: US-MT - geometry (query, boolean): Include the MultiPolygon outline (single region only). Example: GET https://www.landsphere.io/api/v1/regions?id=US-MT Response: Regions with their basis, year and source. ```json { "data": [ { "id": "US-MT", "name": "Montana", "ppa": 1120, "basis": "Farm real estate", "detail": [{ "use": "Cropland", "ppa": 1300 }, { "use": "Pasture", "ppa": 870 }], "year": 2026, "source": "USDA NASS Land Values", "bbox": [-116.05, 44.358, -104.039, 49.001] } ], "meta": { "count": 1, "fx": { "eurusd": 1.1269, "date": "2026-10-06" }, "unit": "USD per acre" } } ``` ## Location intelligence ### GET /v1/location — Location brief for any point (5 units (25 with deep=true)) What a buyer should know about a spot, assembled live from a dozen sources: reverse-geocoded place; land use, nearest road, water and land cover around it; elevation, slope, aspect and buildability; FEMA flood zone; Census tract profile (income, home value, population); the county's FEMA disaster history since 2000; live traffic on the nearest road; current NWS forecast; nearest USGS stream; the building footprint at the point with height and area; NASA FIRMS fire detections in the past 5 days; cell-tower coverage; sunrise/sunset; and recommended places nearby. Sections whose source is unavailable are null. Cached 24 h per ~110 m cell. deep=true adds an AI web-research summary of the area (recent development, market direction, employers, risks in the news) with cited sources. - lat (query, number, required): Latitude. Example: 45.6600 - lng (query, number, required): Longitude. Example: -110.5600 - deep (query, boolean): Add the AI research summary with sources (slower, ~10–30 s). Example: GET https://www.landsphere.io/api/v1/location?lat=45.66&lng=-110.56 Response: The brief. Coverage outside the US is partial (place, land, terrain, building, fires, cell, astronomy). ```json { "data": { "lat": 45.66, "lng": -110.56, "place": { "label": "Livingston, Montana 59047, United States", "city": "Livingston", "county": "Park County", "region": "Montana", "regionCode": "MT", "postcode": "59047", "country": "United States" }, "land": { "landuse": [{ "class": "grass", "count": 6 }, { "class": "residential", "count": 2 }], "water": true, "nearestRoad": { "class": "primary", "name": "US 89" }, "elevationFt": 4510, "landcover": ["grass", "scrub"] }, "terrain": { "elevationFt": 4508, "slopePct": 3, "slopeClass": "Gentle", "aspect": "SE", "buildability": "Optimal" }, "flood": { "zone": "X", "highRisk": false }, "census": { "tract": "30067000200", "countyName": "Park County", "medianHouseholdIncome": 61250, "medianHomeValue": 412000, "population": 4180, "fipsState": "30", "fipsCounty": "067" }, "disasters": { "totalSince2000": 9, "recent": [{ "type": "Fire", "title": "Montana Wildfires", "year": 2021 }] }, "traffic": { "currentSpeedMph": 54, "freeFlowSpeedMph": 55, "congestionPct": 2, "roadClass": "Major road", "roadClosure": false, "confidence": 0.9 }, "weather": { "period": "This Afternoon", "temperatureF": 61, "shortForecast": "Mostly Sunny" }, "hydrology": { "nearestStream": "Yellowstone River", "comid": "2155634" }, "building": null, "fires": { "detections": 0, "days": 5 }, "cell": { "towers": 23, "radios": ["LTE", "NR"], "verdict": "Excellent" }, "astronomy": { "sunrise": "07:38 AM", "sunset": "06:52 PM", "moonPhase": "Waning Gibbous" }, "activities": [{ "name": "Yellowstone Gateway Museum", "category": "History Museum", "distanceMi": 1.1 }] } } ``` ## Account ### GET /v1/account — Your plan and usage (free) The account behind the key: plan, subscription status, this month's usage against the quota, and the last three months. Free. Example: GET https://www.landsphere.io/api/v1/account Response: Account, usage and plans. ```json { "data": { "account": { "id": "api_8f1c2a9b3d4e", "name": "Dana Whitfield", "email": "dana@example.com", "company": "Big Sky Land Co.", "plan": { "id": "growth", "label": "Growth", "price": 199, "monthlyUnits": 100000, "perMinute": 300 }, "status": "active", "keyPrefix": "ls_live_3kF9Qa…", "billing": "stripe", "createdAt": "2026-10-01T09:12:00.000Z" }, "usage": { "used": 18340, "limit": 100000, "remaining": 81660, "period": "2026-10", "resetAt": "2026-11-01T00:00:00.000Z" }, "history": [{ "period": "2026-10", "units": 18340, "requests": 12211 }, { "period": "2026-09", "units": 64020, "requests": 41877 }] } } ``` ### POST /v1/account/rotate-key — Rotate your API key (free) Issues a new key and invalidates the current one (within ~20 s). The new key is returned once. Example: POST https://www.landsphere.io/api/v1/account/rotate-key Response: The new key. ```json { "data": { "key": "ls_live_…", "account": { "…": "…" }, "note": "Store this key now — it is not shown again." } } ``` ### POST /v1/account/plan — Change plan (free) Switch to another plan. The Stripe subscription price is swapped in place with proration and the new quota applies immediately. Body: { plan: starter | growth | scale } ```json { "plan": "scale" } ``` Example: POST https://www.landsphere.io/api/v1/account/plan Response: The updated account. ```json { "data": { "account": { "plan": { "id": "scale", "…": "…" } }, "changed": true } } ``` ### POST /v1/account/billing-portal — Open the billing portal (free) A short-lived Stripe customer-portal link to update the card, download invoices or cancel. Example: POST https://www.landsphere.io/api/v1/account/billing-portal Response: Portal URL. ```json { "data": { "url": "https://billing.stripe.com/p/session/…" } } ``` ## Meta ### GET /v1/plans — Plans and unit costs (free, no key, no key) Public: the plans, prices and the unit cost of every endpoint. Example: GET https://www.landsphere.io/api/v1/plans Response: Plans. ```json { "data": [{ "id": "starter", "label": "Starter", "price": 49, "monthlyUnits": 10000, "perMinute": 60, "…": "…" }], "meta": { "unitCosts": { "listings": 1, "parcel": 2, "…": "…" } } } ``` ### GET /v1/openapi.json — OpenAPI document (free, no key, no key) Public: this reference as OpenAPI 3.1, for client generators and API tooling. Example: GET https://www.landsphere.io/api/v1/openapi.json Response: OpenAPI 3.1 JSON. ```json { "openapi": "3.1.0", "info": { "title": "LandSphere Data API", "version": "1.0.0" }, "paths": { "…": "…" } } ``` # MCP tools Endpoint: POST https://www.landsphere.io/mcp (Streamable HTTP, JSON-RPC 2.0, stateless). Send the API key as Authorization: Bearer. - search_listings: Search listings. Inputs: q, types, status, state, minPrice, maxPrice, minAcres, maxAcres, waterAccess, bbox, near, radius, source, sort, limit, offset. - get_listing: Get a listing. Inputs: id (required: id). - get_listing_facts: Listing facts from public records. Inputs: id (required: id). - submit_listing: Add a listing. Inputs: body (required: body). - get_listing_submissions: Your submitted listings. Inputs: status, limit, offset. - review_listing: Approve, reject or withdraw a listing. Inputs: id, body (required: id, body). - get_parcel: Parcel record at a point. Inputs: lat, lng, address, mode (required: lat, lng). - get_parcels_within: Parcels inside a bounding box. Inputs: bbox, state, limit, geometry (required: bbox). - get_parcel_coverage: Parcel coverage: stored states and live services. Inputs: state. - get_parcel_export: Bulk files for a stored state. Inputs: state, county (required: state). - get_parcel_values: Assessed value per acre, by map tile. Inputs: x, y, z, lat, lng. - get_price_grid: Land-price grid (GeoJSON). Inputs: bbox, zoom, shape, metric (required: bbox, zoom). - get_home_values: Median home values by ZIP or hex. Inputs: zip, bbox, res, format. - get_regions: Farmland value by state and country. Inputs: id, geometry. - get_location: Location brief for any point. Inputs: lat, lng, deep (required: lat, lng). - get_account: Your plan and usage. Inputs: none. - get_plans: Plans and unit costs. Inputs: none. Resources: - landsphere://docs/llms.txt (text/plain): Plain-text overview of every endpoint and tool, plans, units, errors and attribution rules. - landsphere://docs/openapi.json (application/json): Machine-readable description of the REST API the tools wrap. - landsphere://parcels/coverage (application/json): Which states are in the stored parcel database (counts, vintage, licence) and which are served live.