{"openapi":"3.1.0","info":{"title":"Realtor.ca Canadian MLS Property Listings (x402 & MCP)","version":"0.1.0","description":"Canadian MLS homes for sale and rent from Realtor.ca with property attributes, pricing and broker details, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402 on Base. 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://ai.opendata.best"}],"paths":{"/s/realtor-ca/v1/search":{"post":{"operationId":"realtor_ca_search","summary":"Realtor.ca Canadian MLS Property Listings: Search Canadian MLS listings on Realtor.ca","description":"Retrieve residential or commercial MLS listings across Canadian cities by listing type and price filters. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["realtor-ca","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":"Enter one Canadian city and province, such as Saskatoon, SK or Toronto, ON, or a Realtor.ca city page URL. Leave empty to use the three-row Saskatoon example.","maxLength":200},"listingType":{"type":"string","description":"Scrape for-sale listings, rentals, or both.","default":"sale","enum":["sale","rent","both"]},"propertyTypeGroup":{"type":"string","description":"Choose residential, commercial, or both property groups. All groups share the location's maxResults allowance.","default":"residential","enum":["residential","commercial","all"]},"propertySearchType":{"type":"string","description":"Choose a residential subtype, such as condo or vacant land. This filter is ignored for commercial or combined property groups; use any with those groups.","default":"any","enum":["any","residential","recreational","condo","agriculture","parking","vacant_land","multi_family"]},"minPrice":{"type":"integer","description":"Optional minimum list price or rent in CAD.","minimum":0},"maxPrice":{"type":"integer","description":"Optional maximum list price or rent in CAD.","minimum":0},"enrichDetails":{"type":"boolean","description":"Include available public remarks, extra photos, and additional contact details in each listing row. This is enabled by default and may take longer.","default":true},"maxResults":{"type":"integer","description":"Most listing rows for this location input. Sale/rent and residential/commercial choices share that location's budget. Default 70; larger values are collected in parts of 70. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"location":"Saskatoon, SK","listingType":"sale","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_realtor_ca"},"example":{"jobId":"job_realtor-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"name":"example_name","listingType":"example_listingType","propertyTypeGroup":"example_propertyTypeGroup","mlsNumber":"example_mlsNumber","city":"example_city","state":"example_state"}],"meta":{"site":"realtor-ca","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","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/realtor-ca/v1/health":{"get":{"operationId":"realtor_ca_health","summary":"Realtor.ca Canadian MLS Property Listings: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["realtor-ca","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_realtor_ca":{"type":"object","properties":{"name":{"type":["string","null"],"title":"Address"},"listingType":{"type":["string","null"],"title":"Sale / rent"},"propertyTypeGroup":{"type":["string","null"],"title":"Category"},"mlsNumber":{"type":["string","null"],"title":"MLS"},"city":{"type":["string","null"],"title":"City"},"state":{"type":["string","null"],"title":"Province"},"listPrice":{"type":["number","null"],"title":"Price"},"beds":{"type":["string","null"],"title":"Beds"},"baths":{"type":["number","null"],"title":"Baths"},"sqft":{"type":["number","null"],"title":"Size"},"agentName":{"type":["string","null"],"title":"Agent"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address":{"type":["string","null"],"title":"Structured address"},"geo":{"type":["string","null"],"title":"Geo"},"person":{"type":["string","null"],"title":"Contact person"},"org":{"type":["string","null"],"title":"Brokerage"},"web":{"type":["string","null"],"title":"Web / socials"},"leadSource":{"type":["string","null"],"title":"Lead source"},"leadReveal":{"type":["string","null"],"title":"Lead reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead absences"},"listingUrl":{"type":["string","null"],"format":"uri","title":"Listing URL"}},"additionalProperties":true},"Response_realtor_ca":{"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_realtor_ca"}},"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"]}}}}