{"openapi":"3.1.0","info":{"title":"Booli Sweden Listings Sold Prices and Agents (x402 & MCP)","version":"0.1.0","description":"Swedish property listings, final sold prices, new construction and broker agencies from Booli.se, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/booli-se/v1/search":{"post":{"operationId":"booli_se_search","summary":"Booli Sweden Listings Sold Prices and Agents: Search Booli Sweden listings and sold prices","description":"Query Swedish properties for sale, sold prices or new construction by area ID, location or filters. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["booli-se","Data"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"areaIds":{"type":"array","items":{"type":"integer"},"description":"Booli area IDs to search. The example value [2] selects Stockholms län; repeated properties across areas are removed.","minItems":1},"location":{"type":"string","description":"Swedish place name or slug, such as Lund or goteborg. For listing and agent searches, this takes precedence over areaIds."},"areaSlug":{"type":"string","description":"Place slug for area searches. With channel maklarbyra, enter an agency slug instead to collect its agents."},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Booli detail URLs or listing IDs. Match channel to the target: property, agent, agency or housing cooperative; these targets take priority over area searches."},"channel":{"type":"string","description":"Choose for-sale listings, sold prices, new construction, agents, agencies or housing cooperatives. An agency slug with maklarbyra returns that agency's agents.","default":"till-salu","enum":["till-salu","slutpriser","nyproduktion","maklare","maklarbyra","brf","sale","sold","projects","agents"]},"objectType":{"type":"string","description":"Property category to match, such as Lägenhet (apartment), Villa (house), Radhus (terraced house) or Tomt/Mark (land). Leave empty for all categories.","default":""},"tenureForm":{"type":"string","description":"Ownership form to match, such as Bostadsrätt (cooperative ownership), Äganderätt (freehold) or Hyresrätt (rental tenure). This is not a separate rental-search mode.","default":""},"minListPrice":{"type":"integer","description":"Minimum asking price in SEK for listing searches."},"maxListPrice":{"type":"integer","description":"Maximum asking price in SEK for listing searches."},"minSoldPrice":{"type":"integer","description":"Minimum sale price in SEK for sold-property searches."},"maxSoldPrice":{"type":"integer","description":"Maximum sale price in SEK for sold-property searches."},"minRooms":{"type":"number","description":"Minimum room count for property searches."},"maxRooms":{"type":"number","description":"Maximum room count for property searches."},"minLivingArea":{"type":"integer","description":"Optional minimum living area in square meters."},"maxLivingArea":{"type":"integer","description":"Optional maximum living area in square meters."},"minPlotArea":{"type":"integer","description":"Optional minimum plot area in square meters."},"maxPlotArea":{"type":"integer","description":"Optional maximum plot area in square meters."},"minConstructionYear":{"type":"integer","description":"Earliest construction year to include, from 1600 to 2100."},"maxConstructionYear":{"type":"integer","description":"Latest construction year to include, from 1600 to 2100."},"minSoldDate":{"type":"string","description":"Earliest sale date for slutpriser. Use YYYY-MM-DD or YYYYMMDD; leave empty for no lower date bound.","pattern":"^(\\d{4}-\\d{2}-\\d{2}|\\d{8})?$"},"maxSoldDate":{"type":"string","description":"Latest sale date for slutpriser. Use YYYY-MM-DD or YYYYMMDD; leave empty for no upper date bound.","pattern":"^(\\d{4}-\\d{2}-\\d{2}|\\d{8})?$"},"isNewConstruction":{"type":"boolean","description":"When true, only include new construction listings."},"sort":{"type":"string","description":"Sort field, such as listPrice, published, livingArea, rooms, soldPrice, soldDate or listSqmPrice. Leave empty for the source order.","default":""},"ascending":{"type":"boolean","description":"Use ascending order when a sort field is set.","default":false},"maxPages":{"type":"integer","description":"Maximum search pages to collect, from 1 to 50. A low page limit can return fewer rows than maxResults.","default":1,"minimum":1,"maximum":50},"pageSize":{"type":"integer","description":"Rows requested per search page, from 1 to 500. This stays fixed during pagination; maxResults limits delivered rows per input.","default":100,"minimum":1,"maximum":500},"enrichDetails":{"type":"boolean","description":"Include available property details and public agent contacts in listing rows. Enabled by default; missing contacts remain empty.","default":true},"enrichHousingCoop":{"type":"boolean","description":"Include available housing-cooperative context in listing rows. Standard listing results contain only the available ID, name and link, not a complete association profile.","default":false},"imageLimit":{"type":"integer","description":"Maximum image URLs per listing, from 0 to 20. Set 0 to omit images.","default":5,"minimum":0,"maximum":20},"maxResults":{"type":"integer","description":"Most rows for each area, location, or detail URL. Default 70; larger numbers are collected in parts of 70. All row types count together. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor (limits set by the Actor developer).","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"areaIds":[2],"channel":"till-salu","enrichDetails":false,"maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_booli_se"},"example":{"jobId":"job_booli-se_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"name":"example_name","channel":"example_channel","rowType":"example_rowType","type":"example_type","descriptiveAreaName":"example_descriptiveAreaName","priceDisplay":"example_priceDisplay"}],"meta":{"site":"booli-se","endpoint":"search","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/booli-se/v1/health":{"get":{"operationId":"booli_se_health","summary":"Booli Sweden Listings Sold Prices and Agents: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["booli-se","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_booli_se":{"type":"object","properties":{"name":{"type":["string","null"],"title":"Name"},"channel":{"type":["string","null"],"title":"Channel"},"rowType":{"type":["string","null"],"title":"Row type"},"type":{"type":["string","null"],"title":"Type"},"descriptiveAreaName":{"type":["string","null"],"title":"Area"},"priceDisplay":{"type":["string","null"],"title":"Price"},"listingUrl":{"type":["string","null"],"format":"uri","title":"URL"},"listingId":{"type":["string","null"],"title":"ID"},"agentSlug":{"type":["string","null"],"title":"Agent"},"housingCoopId":{"type":["string","null"],"title":"BRF"},"country":{"type":["string","null"],"title":"Country"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address":{"type":["string","null"],"title":"Address"},"geo":{"type":["string","null"],"title":"Geo"},"person":{"type":["string","null"],"title":"Person"},"org":{"type":["string","null"],"title":"Org"},"web":{"type":["string","null"],"title":"Web"},"leadSource":{"type":["string","null"],"title":"Lead Source"},"leadReveal":{"type":["string","null"],"title":"Lead Reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead Absences"}},"additionalProperties":true},"Response_booli_se":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_booli_se"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}