{"openapi":"3.1.0","info":{"title":"Otodom Poland Property Listings Data (x402 & MCP)","version":"0.1.0","description":"Polish property listings from Otodom.pl with prices in PLN, area, rooms, primary/secondary market and agencies, 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/otodom-pl/v1/search":{"post":{"operationId":"otodom_pl_search","summary":"Otodom Poland Property Listings Data: Search Otodom.pl Polish property listings","description":"Query Polish apartments, houses and commercial properties by city, price, area and market filters. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["otodom-pl","Data"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"string","description":"Polish city (warszawa), voivodeship (mazowieckie), full path, or polska for the whole country. Leave empty when you fill Detail URLs, a developer or an agency.","maxLength":240},"locations":{"type":"array","items":{"type":"string"},"description":"Additional Polish places to search. Results are combined with location and duplicate entities are removed."},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Otodom listing links (/pl/oferta/…) or developer links. Each link is one input."},"channel":{"type":"string","description":"Auto picks the channel from what you fill: listing links, a developer, an agency, or a place (a place alone searches listings for sale). Choose For rent to search rentals.","default":"auto","enum":["auto","sale","rent","developer","agency"]},"developerUrl":{"type":"string","description":"Otodom developer profile URL or site-relative path. Use this instead of developerSlug and developerId when you have the full link.","pattern":"^$|^/|^https?://([A-Za-z0-9-]+\\.)*otodom\\.pl(/.*)?$"},"developerId":{"type":"string","description":"Developer identifier from the profile URL. Pair it with developerSlug when available."},"developerSlug":{"type":"string","description":"Developer profile URL slug, with or without its ID suffix. A complete developerUrl is recommended."},"agencyUrl":{"type":"string","description":"Otodom real estate agency profile URL or site-relative path. Use this instead of agencySlug and agencyId when you have the full link.","pattern":"^$|^/|^https?://([A-Za-z0-9-]+\\.)*otodom\\.pl(/.*)?$"},"agencyId":{"type":"string","description":"Agency identifier from the profile URL. Pair it with agencySlug when available."},"agencySlug":{"type":"string","description":"Agency profile URL slug, with or without its ID suffix. A complete agencyUrl is recommended."},"propertyType":{"type":"string","description":"Property category to search: apartment, house, land, commercial property, room, garage or investment.","default":"mieszkanie","enum":["mieszkanie","dom","dzialka","lokal","pokoj","garaz","inwestycja"]},"market":{"type":"string","description":"Choose all properties, primary-market properties or secondary-market properties.","default":"ALL","enum":["ALL","PRIMARY","SECONDARY"]},"sortBy":{"type":"string","description":"Sort search listings by the site default, price, area or date.","default":"","enum":["","DEFAULT","PRICE","AREA","DATE"]},"sortDirection":{"type":"string","description":"Choose ascending or descending order when sortBy is set.","default":"","enum":["","ASC","DESC"]},"minPrice":{"type":"integer","description":"Minimum listing price filter (PLN).","minimum":0},"maxPrice":{"type":"integer","description":"Maximum listing price filter (PLN).","minimum":0},"minArea":{"type":"number","description":"Minimum living area in square meters.","minimum":0},"maxArea":{"type":"number","description":"Maximum living area in square meters.","minimum":0},"rooms":{"type":"string","description":"Room count from 1 to 6, or ONE to SIX. Leave empty to include all room counts.","default":""},"privateOnly":{"type":"boolean","description":"Keep listings marked as private-owner offers rather than agency offers.","default":false},"maxPages":{"type":"integer","description":"Retained for compatibility. Current search pagination is automatic; use maxResults to limit delivered rows.","default":1,"minimum":1,"maximum":50},"enrichDetails":{"type":"boolean","description":"Add available detail information to listing rows. Enabled in the input form; set true explicitly in API input to request enrichment.","default":true},"maxResults":{"type":"integer","description":"Most rows for each location, detail URL, or developer input. 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":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"location":"warszawa","channel":"sale","propertyType":"mieszkanie","enrichDetails":false,"maxResults":10}}}},"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_otodom_pl"},"example":{"jobId":"job_otodom-p_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"listingId":"example_listingId","id":"example_001","rowType":"example_rowType","listingIdToken":"example_listingIdToken","name":"example_name","channel":"example_channel"}],"meta":{"site":"otodom-pl","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"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/otodom-pl/v1/health":{"get":{"operationId":"otodom_pl_health","summary":"Otodom Poland Property Listings Data: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["otodom-pl","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_otodom_pl":{"type":"object","properties":{"listingId":{"type":["string","null"],"title":"Listing ID"},"id":{"type":["string","null"],"title":"Entity ID"},"rowType":{"type":["string","null"],"title":"Row type"},"listingIdToken":{"type":["string","null"],"title":"ID token"},"name":{"type":["string","null"],"title":"Title"},"channel":{"type":["string","null"],"title":"Channel"},"market":{"type":["string","null"],"title":"Market"},"estate":{"type":["string","null"],"title":"Estate"},"priceDisplay":{"type":["string","null"],"title":"Price"},"rooms":{"type":["string","null"],"title":"Rooms"},"sqm":{"type":["number","null"],"title":"Size (m²)"},"city":{"type":["string","null"],"title":"City"},"type":{"type":["string","null"],"title":"Record type"},"status":{"type":["string","null"],"title":"Status"},"country":{"type":["string","null"],"title":"Country"},"authority":{"type":["string","null"],"title":"Source"},"listingUrl":{"type":["string","null"],"format":"uri","title":"URL"},"developerId":{"type":["string","null"],"title":"Developer ID"},"contentDepth":{"type":["string","null"],"title":"Depth"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address.full":{"type":["string","null"],"title":"Address"},"person.name":{"type":["string","null"],"title":"Contact person"},"org.name":{"type":["string","null"],"title":"Agency"},"leadSource":{"type":["string","null"],"title":"Lead source"},"leadReveal":{"type":["string","null"],"title":"Lead reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead absences"}},"additionalProperties":true},"Response_otodom_pl":{"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_otodom_pl"}},"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"]}}