Zügle · Schema

IngestRequest

Provide EITHER input, url, pastedHtml, OR manual. profile/profileId only matter for a guest caller.

CompanyReal EstateFinanceRelocationSwiss

Properties

Name Type Description
input string The hero-input contract: one free-form string, sniffed server-side into a listing URL, a pasted page (plain text / page source / the bookmarklet's JSON), or free text ("3.5 rooms near Zug under 2500,
bfsId integer The answer to an `ambiguous-place` search: the municipality the user PICKED. Only meaningful alongside `input`. When present the server skips place resolution entirely and searches this municipality —
url string A flatfox.ch or homegate.ch listing URL.
pastedHtml string The user-assisted Homegate path. Homegate's detail pages are behind a DataDome bot wall that refuses this server on every transport, but the person clicking "Evaluate" is a human whose own browser loa
sourceUrl string Optional companion to pastedHtml — the listing URL the pasted page came from.
manual object
overrides object
profile object Guest mode ONLY — required when no session is present, ignored (along with profileId) when one is.
View JSON Schema on GitHub

JSON Schema

zuegle-com-ingest-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zuegle-com/json-schema/zuegle-com-ingest-request-schema.json",
  "title": "IngestRequest",
  "description": "Provide EITHER input, url, pastedHtml, OR manual. profile/profileId only matter for a guest caller.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zuegle-com-openapi.yaml#/components/schemas/IngestRequest",
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "The hero-input contract: one free-form string, sniffed server-side into a listing URL, a pasted page (plain text / page source / the bookmarklet's JSON), or free text (\"3.5 rooms near Zug under 2500, quiet\"). When present (and `url` is not also set), this supersedes url/pastedHtml/manual — see the operation description for the resulting response shapes. Mutually informative with `sourceUrl` only in the same way pastedHtml is: a page sniffed out of `input` may be paired with `sourceUrl`."
    },
    "bfsId": {
      "type": "integer",
      "description": "The answer to an `ambiguous-place` search: the municipality the user PICKED. Only meaningful alongside `input`. When present the server skips place resolution entirely and searches this municipality — an explicit statement, never re-derived from the same ambiguous words that produced the question. An unknown id is a 400."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "A flatfox.ch or homegate.ch listing URL."
    },
    "pastedHtml": {
      "type": "string",
      "maxLength": 4194304,
      "description": "The user-assisted Homegate path. Homegate's detail pages are behind a DataDome bot wall that refuses this server on every transport, but the person clicking \"Evaluate\" is a human whose own browser loads the page fine — so they hand us the page instead. Accepts either the full page source or the compact JSON blob the bookmarklet (returned as `bookmarklet` in the 422 body) copies out of an already-open tab. Parsed by the SAME pure parsers as the scraped path. This carries listing DATA only, never a CAPTCHA token: DataDome binds a token to the solver's IP, so a relayed one would be invalid anyway. Bounded at 4 MB and never trusted."
    },
    "sourceUrl": {
      "type": "string",
      "format": "uri",
      "description": "Optional companion to pastedHtml — the listing URL the pasted page came from."
    },
    "manual": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "street": {
          "type": "string"
        },
        "zip": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "rooms": {
          "type": "number"
        },
        "surface": {
          "type": "number"
        },
        "floor": {
          "type": "string"
        },
        "rentNet": {
          "type": "number"
        },
        "rentCharges": {
          "type": "number"
        },
        "lat": {
          "type": "number"
        },
        "lng": {
          "type": "number"
        },
        "images": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "overrides": {
      "$ref": "#/$defs/Overrides"
    },
    "profile": {
      "description": "Guest mode ONLY — required when no session is present, ignored (along with profileId) when one is.",
      "allOf": [
        {
          "$ref": "#/$defs/Profile"
        }
      ]
    }
  },
  "$defs": {
    "CurrentHome": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string"
        },
        "bfsId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "zip": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "rooms": {
          "type": [
            "number",
            "null"
          ]
        },
        "surface": {
          "type": [
            "number",
            "null"
          ],
          "description": "Living space in m². Together with `rooms` this drives the value-for-money comparison (server/value.js). Null means unknown, never zero — an unknown component redistributes its weight rather than scoring 0."
        },
        "floor": {
          "type": [
            "number",
            "null"
          ],
          "description": "0 = ground floor. Reported and diffed, but deliberately NOT scored: a higher floor has no universally better direction."
        },
        "renovationYear": {
          "type": [
            "number",
            "null"
          ]
        },
        "balcony": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Tri-state — null means \"not stated\", which is distinct from false."
        },
        "rentNet": {
          "type": "number"
        },
        "rentCharges": {
          "type": "number"
        },
        "parking": {
          "type": "number"
        },
        "electricity": {
          "type": "number"
        },
        "extraBills": {
          "type": "number"
        },
        "commuteCostMonthly": {
          "type": [
            "number",
            "null"
          ],
          "description": "Falsy (0, null or undefined) means UNSET — only a truthy value is an explicit override that short-circuits the fare-zone auto-calc."
        },
        "commuteMinutes": {
          "type": [
            "number",
            "null"
          ]
        },
        "quality": {
          "type": "object",
          "properties": {
            "view": {
              "type": "number",
              "minimum": 0,
              "maximum": 10
            },
            "green": {
              "type": "number",
              "minimum": 0,
              "maximum": 10
            }
          }
        }
      }
    },
    "Overrides": {
      "type": "object",
      "properties": {
        "parking": {
          "type": "number",
          "default": 0
        },
        "electricity": {
          "type": "number",
          "default": 0
        },
        "extraBills": {
          "type": "number",
          "default": 0
        },
        "commuteCostMonthly": {
          "type": "number",
          "description": "Defaults to the fare-zone-predicted monthly cost",
          "not 0.": null
        },
        "taxAdjustmentAnnual": {
          "type": "number",
          "default": 0
        },
        "features": {
          "type": "object",
          "description": "User-entered overrides for the candidate, merged one level deep by PATCH so setting one field does not clear the others. Each falls back to the scraped listing value when absent (server/value.js valueCandidate()).",
          "properties": {
            "rooms": {
              "type": [
                "number",
                "null"
              ]
            },
            "surface": {
              "type": [
                "number",
                "null"
              ],
              "description": "Override for a listing that states no m²."
            },
            "floor": {
              "type": [
                "integer",
                "null"
              ]
            },
            "renovationYear": {
              "type": [
                "integer",
                "null"
              ]
            },
            "balcony": {
              "type": [
                "boolean",
                "null"
              ]
            }
          }
        }
      }
    },
    "Profile": {
      "type": "object",
      "required": [
        "id",
        "name",
        "incomeAnnual",
        "relationship",
        "confession",
        "children",
        "currentHome"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "incomeAnnual": {
          "type": "number"
        },
        "relationship": {
          "type": "string",
          "enum": [
            "single",
            "married",
            "concubinage",
            "registered_partnership"
          ]
        },
        "confession": {
          "type": "string",
          "enum": [
            "reformed",
            "roman_catholic",
            "christ_catholic",
            "none",
            "other"
          ]
        },
        "children": {
          "type": "integer"
        },
        "currentHome": {
          "$ref": "#/$defs/CurrentHome"
        },
        "commuteTarget": {
          "type": "string"
        },
        "commuteCostMode": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "sbb",
            "car",
            "both"
          ],
          "description": "How the commute is costed. null means not chosen; consumers fall back to sbb."
        },
        "weights": {
          "$ref": "#/$defs/Weights"
        },
        "rankingObjective": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "total-cost",
            "blended",
            "tax-only",
            "per-m2"
          ],
          "description": "Which order to rank matches in. null means not chosen; the match supplies the default."
        },
        "searchRadiusKm": {
          "type": [
            "integer",
            "null"
          ],
          "description": "How far from the anchor to look for listings. null means not chosen."
        },
        "desiredRoomsMin": {
          "type": [
            "number",
            "null"
          ],
          "description": "Fewest rooms the match should consider (1-20, half-room steps). null with desiredRoomsMax also null means not chosen, and the room band then comes from the current home (±0.5). One open end is left wide rather than guessed."
        },
        "desiredRoomsMax": {
          "type": [
            "number",
            "null"
          ],
          "description": "Most rooms the match should consider. See desiredRoomsMin."
        },
        "acceptTemporary": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether temporary lets are acceptable. THREE states, not two: true accepts, false refuses, and null means the person was never asked. null and true behave alike today but are stored apart, so changing the default later cannot silently rewrite what an existing user appears to have chosen. A refusal only ever excludes a listing whose portal DECLARED the attribute — silence about a listing never excludes it."
        },
        "acceptSwap": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether apartment swaps are acceptable. Same tri-state as acceptTemporary."
        },
        "acceptSharedRoom": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether a room in a shared flat is acceptable. Same tri-state as acceptTemporary."
        },
        "furnishingPreference": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "furnished",
            "unfurnished"
          ],
          "description": "Furnishing requirement, or null for no preference. One tri-state rather than a fourth boolean because this is the only bidirectional one — it makes \"only furnished\" and \"not furnished\" impossible to hold at once."
        }
      }
    },
    "Weights": {
      "type": "object",
      "description": "Quality-score weighting; unset keys fall back to server defaults and weights are renormalized over available components.",
      "properties": {
        "commute": {
          "type": "number"
        },
        "center": {
          "type": "number"
        },
        "lake": {
          "type": "number"
        },
        "view": {
          "type": "number"
        },
        "green": {
          "type": "number"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/zuegle-com-ingest-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.