{"openapi":"3.1.0","info":{"title":"SUUMO Japan Property Listings Data (x402 & MCP)","version":"0.1.0","description":"Japanese apartments, new builds, detached houses and rentals across Japan from SUUMO.jp, 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/suumo-com/v1/search":{"post":{"operationId":"suumo_com_search","summary":"SUUMO Japan Property Listings Data: Search SUUMO Japan property listings","description":"Query Japanese residential listings by location path, prefecture/city code, channel and building type. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["suumo-com","Data"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"startUrls":{"type":"array","items":{"type":"string"},"description":"SUUMO search or property detail URLs, each with its own maxItems allowance. Use full HTTPS links on suumo.jp or www.suumo.jp; search URLs select the area and property category."},"location":{"type":"string","description":"Use a SUUMO city or ward path, such as tokyo/sc_shinjuku or osaka/sc_osakashikita, rather than a bare prefecture. This selects one area when startUrls is empty; some familiar place names are also accepted."},"propertyType":{"type":"string","description":"Property category for an area or code-based search. A web search URL selects its own category.","default":"chuko_mansion","enum":["chuko_mansion","shinchiku_mansion","ikkodate","chukoikkodate","tochi","chintai"]},"channel":{"type":"string","description":"Prefer propertyType for category selection. RENT selects rentals when propertyType is omitted or left at chuko_mansion; an explicit non-default category wins.","default":"BUY","enum":["BUY","RENT"]},"maxPages":{"type":"integer","description":"Page setting from 1 to 100. Collection may continue beyond this value to reach maxItems, so use maxItems and the run spending cap to limit collection.","default":1,"minimum":1,"maximum":100},"scrapeDetails":{"type":"boolean","description":"Include available detail-page fields in each row. App rental detail pages are skipped; existing App listing and contact fields remain included.","default":true},"prefectureCode":{"type":"string","description":"Two-digit code from 01 to 47, required for App and map searches; use 13 for Tokyo or 27 for Osaka. Leave empty for web searches.","pattern":"^(0[1-9]|[1-3][0-9]|4[0-7])$"},"cityCode":{"type":"string","description":"Five-digit city or ward code, such as 13104 for Shinjuku, starting with prefectureCode. Optional for App and sale map searches; required for map rentals.","pattern":"^[0-9]{5}$"},"bbox":{"type":"object","description":"Required for map searches: enter corners {lat1,lng1,lat2,lng2} or a centre and radius {lat,lng,radiusKm}. Coordinates are degrees and the radius is kilometres."},"pageSize":{"type":"integer","description":"Requested App listings per page, from 1 to 50. maxItems limits the delivered rows for the selected area.","default":50,"minimum":1,"maximum":50},"maxResults":{"type":"integer","description":"Maximum rows for each URL or selected area, from 1 to 2,000, with a default of 70; larger requests are collected in smaller parts. The whole run also respects your spending cap and, on the Free plan, the limits of 200 rows per run and 10 runs total.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"location":"tokyo/sc_shinjuku","propertyType":"chuko_mansion","channel":"BUY","scrapeDetails":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_suumo_com"},"example":{"jobId":"job_suumo-co_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"id":"example_001","propertyType":"example_propertyType","title":"example_title","buildingName":"example_buildingName","price":"example_price","floorPlan":"example_floorPlan"}],"meta":{"site":"suumo-com","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/suumo-com/v1/health":{"get":{"operationId":"suumo_com_health","summary":"SUUMO Japan Property Listings Data: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["suumo-com","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_suumo_com":{"type":"object","properties":{"id":{"type":["string","null"],"title":"ID"},"propertyType":{"type":["string","null"],"title":"Type"},"title":{"type":["string","null"],"title":"Title"},"buildingName":{"type":["string","null"],"title":"Building"},"price":{"type":["string","null"],"title":"Price"},"floorPlan":{"type":["string","null"],"title":"Layout"},"exclusiveAreaSqm":{"type":["number","null"],"title":"Exclusive m²"},"landAreaSqm":{"type":["number","null"],"title":"Land m²"},"address":{"type":["string","null"],"title":"Address"},"channel":{"type":["string","null"],"title":"Channel"},"url":{"type":["string","null"],"format":"uri","title":"URL"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"geo":{"type":["string","null"],"title":"Geo"},"person":{"type":["string","null"],"title":"Agent"},"org":{"type":["string","null"],"title":"Agency"},"web":{"type":["string","null"],"title":"Web"},"listingAddress":{"type":["string","null"],"title":"Listing Address"},"leadSource":{"type":["string","null"],"title":"Lead Source"},"leadReveal":{"type":["string","null"],"title":"Lead Reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead Absences"}},"additionalProperties":true},"Response_suumo_com":{"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_suumo_com"}},"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"]}}