{"openapi":"3.1.0","info":{"title":"Realtor.com Real Estate Agents Directory (x402 & MCP)","version":"0.1.0","description":"US real estate agent profiles, brokerages, ratings, specialties and contact details from Realtor.com, 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/realtor-com-agents/v1/search":{"post":{"operationId":"realtor_com_agents_search","summary":"Realtor.com Real Estate Agents Directory: Search US Realtor.com real estate agents","description":"Search real estate agent profiles by city, ZIP or agent name with optional profile enrichment. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["realtor-com-agents","Business"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"location":{"type":"string","description":"Enter one US city and two-letter state, such as Austin, TX, or a ZIP code such as 78701; state-only values are not supported. Leaving all target fields empty starts the Austin example with up to 3 rows, at normal run prices.","maxLength":120,"pattern":"^(?:[A-Za-z][A-Za-z .'-]*,\\s*[A-Za-z]{2}|\\d{5}(?:-\\d{4})?)$"},"agentName":{"type":"string","description":"Optional agent name or surname to narrow the location search, such as Jane Doe. Spaces in the name are treated as hyphens for the search.","default":"","maxLength":80},"isRealtor":{"type":"boolean","description":"When enabled, restricts results to agents Realtor.com marks as members (is_realtor).","default":false},"minPrice":{"type":"integer","description":"Optional minimum listing price filter for agent search. If min is above max, the two are swapped.","minimum":0},"maxPrice":{"type":"integer","description":"Optional maximum listing price filter for agent search. If min is above max, the two are swapped.","minimum":0},"enrichProfiles":{"type":"boolean","description":"Add available profile details, including phones, office information, MLS memberships, and specializations. Details stay in the same agent row without another row charge.","default":true},"maxResults":{"type":"integer","description":"Maximum agent rows for one location: 1–500, default 70; larger requests are collected in parts of 70, and enrichment stays in the same row. Your maximum run cost can stop delivery earlier; Free plan users are limited to 200 rows per run and 10 runs of this Actor.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"location":"Austin, TX","enrichProfiles":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_realtor_com_agents"},"example":{"jobId":"job_realtor-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"name":"example_name","phone":"example_phone","phones":"example_phones","officeName":"example_officeName","brokerName":"example_brokerName","address":"example_address"}],"meta":{"site":"realtor-com-agents","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/realtor-com-agents/v1/health":{"get":{"operationId":"realtor_com_agents_health","summary":"Realtor.com Real Estate Agents Directory: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["realtor-com-agents","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_com_agents":{"type":"object","properties":{"name":{"type":["string","null"],"title":"Agent"},"phone":{"type":["string","null"],"title":"Phone"},"phones":{"type":["string","null"],"title":"Phones (lead)"},"officeName":{"type":["string","null"],"title":"Office"},"brokerName":{"type":["string","null"],"title":"Broker"},"address":{"type":["string","null"],"title":"Office address (lead)"},"geo":{"type":["string","null"],"title":"Geo coordinates (lead)"},"person":{"type":["string","null"],"title":"Agent person (lead)"},"org":{"type":["string","null"],"title":"Office / brokerage (lead)"},"web":{"type":["string","null"],"title":"Website & socials (lead)"},"emails":{"type":["string","null"],"title":"Emails (lead)"},"leadSource":{"type":["string","null"],"title":"Lead source"},"leadReveal":{"type":["string","null"],"title":"Lead reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead absences"},"averageRating":{"type":["number","null"],"title":"Rating"},"reviewsCount":{"type":["number","null"],"title":"Reviews"},"forSaleCount":{"type":["number","null"],"title":"For sale"},"recentlySoldCount":{"type":["number","null"],"title":"Sold"},"isRealtor":{"type":["boolean","null"],"title":"Member"},"licenseNumber":{"type":["string","null"],"title":"License"},"profileUrl":{"type":["string","null"],"format":"uri","title":"Profile"},"servedAreas":{"type":["string","null"],"title":"Areas"},"languages":{"type":["string","null"],"title":"Languages"},"specializations":{"type":["string","null"],"title":"Specializations"},"socialMedia":{"type":["string","null"],"title":"Socials"},"mls":{"type":["string","null"],"title":"MLS"}},"additionalProperties":true},"Response_realtor_com_agents":{"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_com_agents"}},"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"]}}