# Anyapi Realtor.com Search API

Search Anyapi Realtor.com via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by anyapi, pass parameters such as bedsMin, limit, location, and retrieve structured data including item collection and returned found field to search interfaces and source review, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/anyapi/realtor-com-search/
API ID: c66301dc-7994-40d0-8a04-0cbb969b2d49
Provider: anyapi
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/anyapi/v1/run/realtor.search
Page update time: 2026-12-03T02:51:23.617Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.0055 base + $0.00165 / result
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:51:23.617Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [
    {
      "default": [
        "anonymous-octopus"
      ],
      "id": "selected_source",
      "location": "body",
      "pointer": "/source",
      "required": false,
      "type": "array"
    },
    {
      "default": false,
      "id": "allow_fallbacks",
      "location": "body",
      "pointer": "/allowFallbacks",
      "required": false,
      "type": "boolean"
    },
    {
      "id": "fields",
      "location": "query",
      "name": "fields",
      "required": false,
      "type": "string"
    },
    {
      "id": "max_items",
      "location": "query",
      "name": "max_items",
      "required": false,
      "type": "integer"
    },
    {
      "id": "summary",
      "location": "query",
      "name": "summary",
      "required": false,
      "type": "boolean"
    },
    {
      "id": "jq",
      "location": "query",
      "name": "jq",
      "required": false,
      "type": "string"
    }
  ],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "46801",
    "max_cost_micro_usd": "46800",
    "quantities": [
      {
        "id": "units",
        "label": "官方计费数量",
        "max_quantity": "25",
        "measure": "value",
        "pointer": "/items",
        "price_micro_usd": "1650",
        "quantity_scale": 0,
        "source": "response",
        "unit": "result",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": [
      {
        "id": "selected_source_only",
        "label": "指定来源且关闭回退时的原厂基础费",
        "price_micro_usd": "5500",
        "when": [
          {
            "op": "eq",
            "parameter": "selected_source",
            "value": [
              "anonymous-octopus"
            ]
          },
          {
            "op": "eq",
            "parameter": "allow_fallbacks",
            "value": false
          },
          {
            "op": "exists",
            "parameter": "fields",
            "value": false
          },
          {
            "op": "exists",
            "parameter": "max_items",
            "value": false
          },
          {
            "op": "exists",
            "parameter": "summary",
            "value": false
          },
          {
            "op": "exists",
            "parameter": "jq",
            "value": false
          }
        ]
      }
    ]
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Anyapi Realtor.com Search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "fields": {
          "type": "string",
          "description": "Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost."
        },
        "max_items": {
          "type": "integer",
          "description": "Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.",
          "minimum": 0
        },
        "summary": {
          "type": "boolean",
          "description": "Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost."
        },
        "jq": {
          "type": "string",
          "description": "Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost."
        },
        "max_cost_usd": {
          "type": "string",
          "description": "Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {
        "Idempotency-Key": {
          "type": "string",
          "description": "Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.",
          "minLength": 1,
          "maxLength": 255
        }
      }
    },
    "body": {
      "type": "object",
      "properties": {
        "allowFallbacks": {
          "type": "boolean",
          "description": "Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price."
        },
        "bathsMin": {
          "type": "integer",
          "description": "Minimum number of bathrooms (e.g. 2).",
          "minimum": 0
        },
        "bedsMin": {
          "type": "integer",
          "description": "Minimum number of bedrooms (e.g. 3).",
          "minimum": 0
        },
        "ignoreSources": {
          "type": "array",
          "description": "Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.",
          "items": {
            "type": "string"
          }
        },
        "keyword": {
          "type": "string",
          "description": "Free-text keyword that must appear in the listing description (e.g. 'pool')."
        },
        "limit": {
          "type": "integer",
          "description": "Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.",
          "minimum": 1,
          "maximum": 25
        },
        "location": {
          "type": "string",
          "description": "City, ZIP code, neighborhood or state to search (e.g. Las Vegas, NV)."
        },
        "preferLatencyUnderMs": {
          "type": "integer",
          "description": "Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.",
          "minimum": 1
        },
        "priceMax": {
          "type": "integer",
          "description": "Maximum listing price in USD (e.g. 750000).",
          "minimum": 0
        },
        "priceMin": {
          "type": "integer",
          "description": "Minimum listing price in USD (e.g. 250000).",
          "minimum": 0
        },
        "propertyTypes": {
          "type": "array",
          "description": "Filter by one or more property types; omit for all types (e.g. [\"single_family\", \"townhomes\"]).",
          "items": {
            "type": "string"
          }
        },
        "searchMode": {
          "type": "string",
          "description": "Listing type to search: for_sale or sold (e.g. for_sale).",
          "enum": [
            "for_sale",
            "sold"
          ]
        },
        "searchStatuses": {
          "type": "array",
          "description": "Listing statuses to include in for_sale mode; omit for active For Sale + Ready to Build. Ignored in sold mode (e.g. [\"for_sale\", \"pending\"]).",
          "items": {
            "type": "string"
          }
        },
        "source": {
          "type": "array",
          "description": "Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "location"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "output": {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "addressLine": {
                    "type": "string"
                  },
                  "agentEmail": {
                    "type": "string"
                  },
                  "agentName": {
                    "type": "string"
                  },
                  "agentPhone": {
                    "type": "string"
                  },
                  "agentUrl": {
                    "type": "string"
                  },
                  "baths": {
                    "type": "string"
                  },
                  "beds": {
                    "type": "integer"
                  },
                  "brokerName": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "county": {
                    "type": "string"
                  },
                  "createdUtc": {
                    "type": "integer"
                  },
                  "daysOnMarket": {
                    "type": "integer"
                  },
                  "description": {
                    "type": "string"
                  },
                  "garageSpaces": {
                    "type": "integer"
                  },
                  "hoaFee": {
                    "type": "integer"
                  },
                  "image": {
                    "type": "string"
                  },
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "isNewConstruction": {
                    "type": "boolean"
                  },
                  "latitude": {
                    "type": "number"
                  },
                  "listingId": {
                    "type": "string"
                  },
                  "longitude": {
                    "type": "number"
                  },
                  "lotSqft": {
                    "type": "integer"
                  },
                  "mlsId": {
                    "type": "string"
                  },
                  "mlsName": {
                    "type": "string"
                  },
                  "postalCode": {
                    "type": "string"
                  },
                  "price": {
                    "type": "integer"
                  },
                  "pricePerSqft": {
                    "type": "integer"
                  },
                  "propertyId": {
                    "type": "string"
                  },
                  "propertyType": {
                    "type": "string"
                  },
                  "sqft": {
                    "type": "integer"
                  },
                  "state": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "stories": {
                    "type": "integer"
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "taxAmount": {
                    "type": "integer"
                  },
                  "taxAssessedValue": {
                    "type": "integer"
                  },
                  "title": {
                    "type": "string"
                  },
                  "updatedUtc": {
                    "type": "integer"
                  },
                  "url": {
                    "type": "string"
                  },
                  "yearBuilt": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "found": {
          "type": "boolean"
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example (output fragment; HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/anyapi/v1/run/realtor.search' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "bedsMin": 4,
  "limit": 3,
  "location": "Austin, TX",
  "propertyTypes": [
    "single_family"
  ],
  "searchStatuses": [
    "pending"
  ]
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "output": {
    "data": {
      "items": [
        {
          "addressLine": "1408 Hollow Creek Dr",
          "agentEmail": "whitney.larkspur@compass.com",
          "agentName": "Whitney Larkspur",
          "agentPhone": "+1 415-555-0119",
          "agentUrl": "https://www.realtor.com/realestateagents/whitney-larkspur_austin_tx",
          "baths": "3",
          "beds": 4,
          "brokerName": "Compass RE Texas",
          "city": "Austin",
          "country": "USA",
          "county": "Travis",
          "createdUtc": 1757462400,
          "daysOnMarket": 12,
          "description": "Updated single-story home on a quiet cul-de-sac with an open kitchen, covered patio, and a three-car garage.",
          "garageSpaces": 3,
          "hoaFee": 0,
          "image": "https://ap.rdcpix.com/6842910573/hollow-creek-primary.jpg",
          "images": [
            "https://ap.rdcpix.com/6842910573/hollow-creek-primary.jpg",
            "https://ap.rdcpix.com/6842910573/hollow-creek-kitchen.jpg",
            "https://ap.rdcpix.com/6842910573/hollow-creek-backyard.jpg"
          ],
          "isNewConstruction": false,
          "latitude": 30.2201,
          "listingId": "2951847360",
          "longitude": -97.7845,
          "lotSqft": 8712,
          "mlsId": "9284715",
          "mlsName": "Austin Board of REALTORS",
          "postalCode": "78745",
          "price": 649000,
          "pricePerSqft": 278,
          "propertyId": "6842910573",
          "propertyType": "single_family",
          "sqft": 2334,
          "state": "TX",
          "status": "pending",
          "stories": 1,
          "tags": [
            "central_air",
            "garage_1_or_more",
            "pool"
          ],
          "taxAmount": 11420,
          "taxAssessedValue": 587000,
          "title": "1408 Hollow Creek Dr, Austin, TX 78745",
          "updatedUtc": 1758844800,
          "url": "https://www.realtor.com/realestateandhomes-detail/1408-Hollow-Creek-Dr_Austin_TX_78745_M68429-10573",
          "yearBuilt": 2004
        },
        {
          "addressLine": "9021 Cattail Bend",
          "agentEmail": "deacon.ferris@kw.com",
          "agentName": "Deacon Ferris",
          "agentPhone": "+1 415-555-0163",
          "agentUrl": "https://www.realtor.com/realestateagents/deacon-ferris_austin_tx",
          "baths": "2.5",
          "beds": 4,
          "brokerName": "Keller Williams Realty",
          "city": "Austin",
          "country": "USA",
          "county": "Travis",
          "createdUtc": 1757980800,
          "daysOnMarket": 8,
          "description": "Two-story home with a bonus loft, fenced yard, and updated flooring throughout, minutes from Slaughter Creek trail.",
          "garageSpaces": 2,
          "hoaFee": 45,
          "image": "https://ap.rdcpix.com/5920184736/cattail-bend-primary.jpg",
          "images": [
            "https://ap.rdcpix.com/5920184736/cattail-bend-primary.jpg",
            "https://ap.rdcpix.com/5920184736/cattail-bend-loft.jpg"
          ],
          "isNewConstruction": false,
          "latitude": 30.1721,
          "listingId": "2951902114",
          "longitude": -97.8309,
          "lotSqft": 6970,
          "mlsId": "9284832",
          "mlsName": "Austin Board of REALTORS",
          "postalCode": "78748",
          "price": 574900,
          "pricePerSqft": 249,
          "propertyId": "5920184736",
          "propertyType": "single_family",
          "sqft": 2308,
          "state": "TX",
          "status": "pending",
          "stories": 2,
          "tags": [
            "central_air",
            "fenced_yard"
          ],
          "taxAmount": 9860,
          "taxAssessedValue": 512000,
          "title": "9021 Cattail Bend, Austin, TX 78748",
          "updatedUtc": 1758758400,
          "url": "https://www.realtor.com/realestateandhomes-detail/9021-Cattail-Bend_Austin_TX_78748_M59201-84736",
          "yearBuilt": 2011
        },
        {
          "addressLine": "2214 Brackenridge Ct",
          "agentEmail": "simone.kettering@realtyaustin.com",
          "agentName": "Simone Kettering",
          "agentPhone": "+1 415-555-0184",
          "agentUrl": "https://www.realtor.com/realestateagents/simone-kettering_austin_tx",
          "baths": "3.5",
          "beds": 4,
          "brokerName": "Realty Austin",
          "city": "Austin",
          "country": "USA",
          "county": "Travis",
          "createdUtc": 1758326400,
          "daysOnMarket": 5,
          "description": "Modern build near South Congress with a rooftop deck, chef's kitchen, and a dedicated home office.",
          "garageSpaces": 2,
          "hoaFee": 0,
          "image": "https://ap.rdcpix.com/7183409562/brackenridge-primary.jpg",
          "images": [
            "https://ap.rdcpix.com/7183409562/brackenridge-primary.jpg",
            "https://ap.rdcpix.com/7183409562/brackenridge-rooftop.jpg"
          ],
          "isNewConstruction": false,
          "latitude": 30.2401,
          "listingId": "2952015887",
          "longitude": -97.7684,
          "lotSqft": 5998,
          "mlsId": "9285011",
          "mlsName": "Austin Board of REALTORS",
          "postalCode": "78704",
          "price": 895000,
          "pricePerSqft": 342,
          "propertyId": "7183409562",
          "propertyType": "single_family",
          "sqft": 2618,
          "state": "TX",
          "status": "pending",
          "stories": 3,
          "tags": [
            "central_air",
            "rooftop_deck"
          ],
          "taxAmount": 16720,
          "taxAssessedValue": 842000,
          "title": "2214 Brackenridge Ct, Austin, TX 78704",
          "updatedUtc": 1758844800,
          "url": "https://www.realtor.com/realestateandhomes-detail/2214-Brackenridge-Ct_Austin_TX_78704_M71834-09562",
          "yearBuilt": 2018
        }
      ]
    },
    "found": true
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
