{
  "openapi": "3.0.1",
  "info": {
    "title": "Rent.com Scraper: Rentals, Agents and Managers",
    "description": "Search Rent.com rentals across the United States by place, ZIP code, map point, drawn shape, building name or page link. Each result gives rent, bedrooms, bathrooms, size, address, photos and deals. Also lists the agents and management companies behind rentals, with phone numbers.",
    "version": "1.0",
    "x-build-id": "dzHqNwKAShQQ9UPq5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/happyendpoint~rent-com-rental-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-happyendpoint-rent-com-rental-search-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/happyendpoint~rent-com-rental-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-happyendpoint-rent-com-rental-search-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/happyendpoint~rent-com-rental-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-happyendpoint-rent-com-rental-search-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "operation"
        ],
        "properties": {
          "operation": {
            "title": "Operation",
            "enum": [
              "searchLocations",
              "getLocationDetails",
              "searchListings",
              "searchListingsByCoordinates",
              "searchListingsByPolygon",
              "searchListingsNationwide",
              "searchListingsByPropertyName",
              "searchListingsByUrl",
              "listAgentContacts"
            ],
            "type": "string",
            "description": "Which data to fetch. Each option is one kind of request."
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The most results to return. The run stops once it has this many.",
            "default": 100
          },
          "locationSlug": {
            "title": "Location slug",
            "maxLength": 200,
            "type": "string",
            "description": "The place to search, written as the slug that Location suggestions returns in location_slug. A city slug has a state part and a city part. Slugs for neighborhoods, ZIP codes, counties and states work as well. Used by: Place details, Search rentals by place, Agent contacts of rentals."
          },
          "location": {
            "title": "Location",
            "maxLength": 100,
            "type": "string",
            "description": "The first letters of a place name to look up, such as a town, a district, a postal code or a campus. Only Location suggestions reads it. Used by: Location suggestions."
          },
          "propertyName": {
            "title": "Property name",
            "maxLength": 100,
            "type": "string",
            "description": "The name of an apartment community or a building, or a single word that many such names share. Slightly different spellings still match. Used by: Look up a building by name."
          },
          "url": {
            "title": "Rent.com search page link",
            "type": "string",
            "description": "The address of a results page or a place page on Rent.com, copied from your browser. Filters written into the address are applied. Used by: Search by Rent.com page link."
          },
          "latitude": {
            "title": "Latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "North-south position of the centre of the search, in decimal degrees. Give it together with Longitude. Used by: Search around a point."
          },
          "longitude": {
            "title": "Longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "East-west position of the centre of the search, in decimal degrees. United States values are negative. Give it together with Latitude. Used by: Search around a point."
          },
          "polygon": {
            "title": "Map area",
            "maxLength": 6000,
            "type": "string",
            "description": "The outline of an area to search: latitude,longitude points with a semicolon between them, at least three, or a GeoJSON shape. You need not repeat the first point. Used by: Search inside a map shape."
          },
          "radiusMiles": {
            "title": "Radius (miles)",
            "minimum": 1,
            "maximum": 50,
            "type": "number",
            "description": "How far from the centre to look, in miles. Ten miles is used when you leave it empty. Used by: Search around a point."
          },
          "locationTypes": {
            "title": "Kinds of place",
            "pattern": "^(city|neighborhood|zip|county|state|school|school_district|college|military|poi)(,(city|neighborhood|zip|county|state|school|school_district|college|military|poi))*$",
            "type": "string",
            "description": "Kinds of place that Location suggestions may return, separated by commas. Accepted words, in alphabetical order: city, college, county, military, neighborhood, poi, school, school_district, state, zip. Leave it empty for all kinds. Used by: Location suggestions."
          },
          "includeBoundary": {
            "title": "Include boundary outline",
            "type": "boolean",
            "description": "Place details includes the outline unless this is set to false. Outlines of states and large cities are very big, so set it to false when the name, centre and listing count are enough. Used by: Place details."
          },
          "minPrice": {
            "title": "Lowest rent",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Rentals asking at least this much per month, in whole dollars. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "maxPrice": {
            "title": "Highest rent",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Rentals asking no more than this much per month, in whole dollars. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "minSqft": {
            "title": "Smallest size (sq ft)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Rentals with at least this much interior space, counted in square feet. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "maxSqft": {
            "title": "Largest size (sq ft)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Rentals with no more than this much interior space, counted in square feet. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "bedrooms": {
            "title": "Bedrooms",
            "pattern": "^(studio|1|2|3|4_plus)(,(studio|1|2|3|4_plus))*$",
            "type": "string",
            "description": "Numbers of bedrooms wanted, separated by commas: studio, 1, 2, 3 or 4_plus. A listing passes if one of its layouts matches. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "bathrooms": {
            "title": "Bathrooms",
            "pattern": "^(1|2|3_plus)(,(1|2|3_plus))*$",
            "type": "string",
            "description": "Numbers of bathrooms wanted, separated by commas: 1, 2 or 3_plus. A listing passes if one of its layouts matches. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "propertyTypes": {
            "title": "Property types",
            "pattern": "^(apartments|houses|townhouses|duplexes|condos|triplexes)(,(apartments|houses|townhouses|duplexes|condos|triplexes))*$",
            "type": "string",
            "description": "Kinds of rental to include, separated by commas: apartments, houses, townhouses, duplexes, condos or triplexes. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "petPolicy": {
            "title": "Pet policy",
            "enum": [
              "cats_ok",
              "dogs_ok",
              "pet_friendly",
              "no_pets"
            ],
            "type": "string",
            "description": "The pets a rental must accept. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "query": {
            "title": "Keyword",
            "maxLength": 100,
            "type": "string",
            "description": "One word to find in the listing text, such as garage. Several words must appear in that order. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "moveInDate": {
            "title": "Available by",
            "type": "string",
            "description": "Rentals with a unit that can be occupied on or before this day. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "hasSpecials": {
            "title": "Move-in specials",
            "type": "boolean",
            "description": "Rentals advertising a rent discount or another offer for new tenants. Turn it on to keep only such rentals, or leave it empty. Switching it off after turning it on makes the run fail, so clear it instead. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "updatedWithinDays": {
            "title": "Updated within (days)",
            "minimum": 2,
            "maximum": 365,
            "type": "integer",
            "description": "Rentals edited during the last stretch of days you give, from 2 to 365. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Agent contacts of rentals."
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price_low_to_high",
              "price_high_to_low",
              "beds_low_to_high",
              "sqft_low_to_high",
              "random"
            ],
            "type": "string",
            "description": "The order of the results. Leave it empty for the site ranking; Agent contacts of rentals then lists the most expensive rentals first. Used by: Search rentals by place, Search around a point, Search inside a map shape, Search all markets, Search by Rent.com page link, Agent contacts of rentals."
          },
          "advancedFilters": {
            "title": "Advanced filters",
            "type": "object",
            "description": "More filters as one JSON object. The README lists every accepted key; any other key is refused."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}