{
  "openapi": "3.0.1",
  "info": {
    "title": "Argenprop Scraper: Argentina Propiedades & Real Estate API",
    "description": "Argenprop scraper for propiedades en venta y alquiler in Argentina: departamentos, casas, PH and terrenos in CABA, GBA and every province. Price in USD or pesos, expensas, m², ambientes, dormitorios, baños, antigüedad, map points, photos and publisher. Up to 2,700 listings per run.",
    "version": "0.1",
    "x-build-id": "2wchVeZbVCrj5m7er"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automatic~argenprop-ar-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automatic-argenprop-ar-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/automatic~argenprop-ar-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automatic-argenprop-ar-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/automatic~argenprop-ar-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automatic-argenprop-ar-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",
        "properties": {
          "locations": {
            "title": "Places",
            "type": "array",
            "description": "Barrios, cities or provinces as Argenprop names them, for example <code>capital-federal</code>, <code>palermo</code>, <code>belgrano</code>, <code>cordoba</code> or <code>rosario</code>. Names with accents or spaces work too (\"Villa Crespo\"). One search per place, up to 10. A place Argenprop does not recognize is skipped (listed in the run summary) instead of running a wider search; the other places still run. Leave empty with no search URLs for a quick 20-listing sample from Capital Federal.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Argenprop search URLs",
            "type": "array",
            "description": "Paste up to 10 search pages from argenprop.com with any filters you set on the site (barrio, price, ambientes, amenities, owner or agency). Every page keeps those filters. Example: <code>https://www.argenprop.com/departamentos/venta/palermo/dolares-100000-200000</code>. Runs together with Places.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "venta",
              "alquiler",
              "alquiler-temporal"
            ],
            "type": "string",
            "description": "Used with Places. Pasted search URLs keep their own operation.",
            "default": "venta"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "departamentos",
              "casas",
              "ph",
              "terrenos"
            ],
            "type": "string",
            "description": "Used with Places. For locales, oficinas, cocheras and other types, paste the search URL from the site.",
            "default": "departamentos"
          },
          "maxResults": {
            "title": "Maximum listings",
            "minimum": 1,
            "maximum": 2700,
            "type": "integer",
            "description": "Listings per run across all searches, up to 2,700 (default 100), shared fairly: each search gets an equal part and a smaller search's unused part goes to the others. Listings are saved as they are found, so a run that hits its time limit keeps everything collected. Allow about 2 minutes per 1,000 listings in the run timeout."
          },
          "priceMin": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in the chosen currency, for example 100000."
          },
          "priceMax": {
            "title": "Maximum price",
            "minimum": 1,
            "type": "integer",
            "description": "Highest price in the chosen currency, for example 200000."
          },
          "currency": {
            "title": "Price currency",
            "enum": [
              "USD",
              "ARS"
            ],
            "type": "string",
            "description": "Currency of the price range. Without it, sales and alquiler temporal use USD and rentals use ARS. Listings priced in the other currency are left out; prices are never converted."
          },
          "bedroomsMin": {
            "title": "Minimum dormitorios",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Fewest bedrooms."
          },
          "bedroomsMax": {
            "title": "Maximum dormitorios",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Most bedrooms."
          },
          "bathroomsMin": {
            "title": "Minimum baños",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Fewest bathrooms."
          },
          "bathroomsMax": {
            "title": "Maximum baños",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Most bathrooms."
          },
          "roomsMin": {
            "title": "Minimum ambientes",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Fewest rooms (ambientes, a monoambiente is 1)."
          },
          "roomsMax": {
            "title": "Maximum ambientes",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Most rooms (ambientes, a monoambiente is 1)."
          },
          "areaMinM2": {
            "title": "Minimum area (m²)",
            "minimum": 1,
            "type": "number",
            "description": "Smallest area in square metres, using the area type below."
          },
          "areaMaxM2": {
            "title": "Maximum area (m²)",
            "minimum": 1,
            "type": "number",
            "description": "Largest area in square metres."
          },
          "areaBasis": {
            "title": "Area type",
            "enum": [
              "covered",
              "total"
            ],
            "type": "string",
            "description": "Which area the area filters use. Most departamentos show covered area; terrenos show total area.",
            "default": "covered"
          },
          "maxPages": {
            "title": "Maximum pages per search",
            "minimum": 1,
            "maximum": 140,
            "type": "integer",
            "description": "Result pages read per search (20 listings each). By default enough pages to reach Maximum listings."
          },
          "includeCoordinates": {
            "title": "Map points",
            "type": "boolean",
            "description": "Add latitude and longitude where Argenprop plots the listing on its own map (addressVisibility says whether the address shows a door number). Covers the first 500 or so listings of each search; split big searches by barrio to cover more.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}