{
  "name": "Landosaur Agent-First Land Marketplace API",
  "version": "1.2.0",
  "base_url": "https://landosaur.com",
  "description": "Zero-account two-sided open API for landowners, real estate agents, buyers, and AI agents (Claude, ChatGPT, Codex, Gemini, Antigravity, OpenClaw) to search current official and direct land listings with filters for all 50 states, create custom saved-search Atom/JSON alerts, publish Buy It Now or Auction land listings in all 50 states, run federal GIS and electric utility Parcel X-Rays, hire Landosaur Land Agent ($20 + 10%), and record live auction bids or Buy It Now reservations.",
  "endpoints": {
    "search_land": {
      "method": "GET",
      "url": "https://landosaur.com/api/search/?state=IN&mode=auction&max_price=10000&min_acres=0.2&sort=price_asc&limit=25",
      "description": "Search and filter all active official public-agency land parcels plus live Direct Owner/Agent listings in one unified JSON response.",
      "official_source": "Search results include the source feed id, agency name, primary URL and last successful check date (checked_on). The field is null on direct seller listings.",
      "availability": "direct_status reports available, unavailable or unconfigured. Combined searches still return official matches if the direct catalog is unavailable and counts_by_mode.direct is null. Searches with mode=direct return an error with HTTP 502 or 503 in that case.",
      "query_params": {
        "state": "Optional 2-letter U.S. state code (e.g. IN, KS, CA, FL, TX, WA, MN, VA)",
        "mode": "Optional deal mode: all | buy_now | auction | offer | direct",
        "min_price": "Optional minimum USD price or bid",
        "max_price": "Optional maximum USD price or bid",
        "min_acres": "Optional minimum acreage",
        "max_acres": "Optional maximum acreage",
        "q": "Optional keyword search (county, locality, street, APN)",
        "sort": "recommended (default) | price_asc | price_desc | ppa_asc | acres_desc | deadline",
        "limit": "1-100 (default 25)",
        "offset": "Pagination offset (default 0)"
      }
    },
    "publish_listing": {
      "method": "POST",
      "url": "https://landosaur.com/api/listings/",
      "content_type": "application/json",
      "auto_enrichment": "Landosaur runs Parcel X-Ray from coordinates or a location. It uses USGS terrain, FEMA flood and hazard data, USFWS wetlands, USDA soils, Census roads, USGS public lands, NASA POWER solar and climate averages, EIA electric utilities, and USDA/FHFA county benchmarks where available.",
      "required_fields": {
        "lat_lon_or_location": "Provide lat & lon (US bounds) OR location/address string",
        "acres": "Positive number of acres",
        "sale_mode": "'buy_now' or 'auction'",
        "price_or_starting_bid": "Positive USD price (for buy_now) or starting_bid (for auction)",
        "contact_name": "Owner or listing agent full name",
        "contact_email": "Valid email for buyer handoff and confirmation"
      },
      "optional_fields": {
        "title": "Custom title (auto-generated if omitted)",
        "buy_now_price": "Optional instant Buy It Now price on an auction listing",
        "reserve_price": "Optional reserve price on an auction",
        "auction_end": "ISO-8601 future timestamp (defaults to +14 days for auctions)",
        "apn": "County assessor parcel number",
        "zoning": "Zoning classification",
        "road_access": "Road access note (e.g. Paved county road, recorded easement)",
        "utilities": "Utilities note (e.g. Power at road, well/septic needed)",
        "financing_offered": "boolean \u2014 seller financing available",
        "seller_type": "'owner' or 'agent'",
        "brokerage": "Real estate brokerage name (if listed by agent)",
        "agent_license": "State license number (optional)",
        "checkout_url": "Optional HTTPS Stripe Payment Link, Escrow.com, or title-company earnest-money URL",
        "escrow_notes": "Closing instructions or title company details",
        "notes": "Plain facts about the land",
        "submitted_by_agent": "Identifier of the AI agent (e.g. 'claude', 'chatgpt', 'codex', 'antigravity')"
      }
    },
    "list_direct_parcels": {
      "method": "GET",
      "url": "https://landosaur.com/api/listings/?state=TX&sale_mode=buy_now",
      "description": "Directory results exclude ended auctions unless include_closed=1. Each listing has an available field. Set include_bids=0 to omit the live bid lookup. A null bid_count means bid totals are unavailable or were skipped."
    },
    "update_listing_status": {
      "method": "PATCH",
      "url": "https://landosaur.com/api/listings/?id=<listing_id>",
      "body": {
        "edit_token": "<token returned on POST>",
        "status": "active | under_contract | sold | withdrawn",
        "price": 24000,
        "checkout_url": "https://buy.stripe.com/..."
      }
    },
    "place_bid_or_buy_now": {
      "method": "POST",
      "url": "https://landosaur.com/api/offers/",
      "description": "Ask the buyer before sharing their contact details, funding choice, and notes with the seller. Set share_contact_with_seller to true only when the buyer agrees.",
      "body": {
        "listing_id": "<listing_id>",
        "action": "bid | buy_now | offer",
        "amount": 15000,
        "buyer_name": "Full Name",
        "buyer_email": "buyer@example.com",
        "buyer_phone": "Optional",
        "financing": "cash | land_loan | seller_financing",
        "notes": "Optional closing timeline or contingencies",
        "share_contact_with_seller": false
      }
    },
    "review_listing_requests": {
      "method": "GET",
      "url": "https://landosaur.com/api/offers/?listing=<listing_id>&view=seller",
      "authorization": "Authorization: Bearer <seller edit token for this listing>",
      "description": "Review up to 25 private buyer requests, newest first. Contact details appear only with the buyer's permission. Pass before=next_cursor for older requests."
    },
    "parcel_xray": {
      "method": "GET",
      "url": "https://landosaur.com/api/xray/?lat=34.8689&lon=-111.7614"
    },
    "hire_land_agent": {
      "method": "POST",
      "url": "https://landosaur.com/api/concierge/",
      "description": "Hire Landosaur's Land Agent ($20 initiation + transparent 10% concierge transfer fee on close) to acquire and coordinate full transfer of ANY listed Landosaur parcel OR ANY unlisted/off-market U.S. parcel.",
      "body": {
        "service_type": "listed_acquisition | unlisted_outreach | auction_proxy | landbank_application | diligence_packet | custom_sourcing",
        "parcel_id": "Optional Landosaur parcel ID (e.g. ks-snco-0973604015014000)",
        "apn": "Optional county APN for unlisted parcels",
        "location": "Address, town & state, or lat/lon for unlisted parcels",
        "official_price": 1510,
        "max_budget": 5000,
        "buyer_name": "Full Name",
        "buyer_email": "buyer@example.com",
        "notes": "Desired terms, closing speed, or sourcing criteria"
      }
    },
    "saved_search_alerts": {
      "method": "POST",
      "url": "https://landosaur.com/api/alerts/",
      "description": "Save a custom search filter (state, mode, max_price, min_acres, below_benchmark, q, buyer_email) and immediately receive personalized live Atom/RSS (?id=ALR-...&format=atom) and JSON (?id=ALR-...) alert feed URLs.",
      "body": {
        "state": "TX",
        "mode": "buy_now",
        "max_price": 15000,
        "min_acres": 1,
        "below_benchmark": true,
        "buyer_email": "optional@example.com"
      }
    },
    "land_data_atlas": {
      "method": "GET",
      "url": "https://landosaur.com/data/atlas.json",
      "description": "USDA annual land value series, USDA/FHFA county benchmarks, and a dated public-agency inventory snapshot with scheduled sale and verification expirations across all 50 states."
    },
    "deals_and_tax_sales": {
      "below_market_deals_url": "https://landosaur.com/deals/",
      "tax_sale_50_state_atlas_url": "https://landosaur.com/tax-sales/"
    },
    "feeds": {
      "buy_now_atom": "https://landosaur.com/feeds/buy-now.xml",
      "auctions_atom": "https://landosaur.com/feeds/auctions.xml",
      "new_listings_atom": "https://landosaur.com/feeds/new.xml",
      "state_atom_template": "https://landosaur.com/feeds/{state_code_lowercase}.xml"
    }
  },
  "openapi": "https://landosaur.com/openapi.json",
  "mcp": {
    "transport": "stdio",
    "command": "npx",
    "args": [
      "--yes",
      "--package=https://landosaur.com/data/landosaur-mcp.tgz",
      "landosaur-mcp"
    ],
    "package": "https://landosaur.com/data/landosaur-mcp.tgz"
  }
}
