{
  "openapi": "3.0.1",
  "info": {
    "title": "Nigeria Property Centre Scraper",
    "description": "Scrape property listings from nigeriapropertycentre.com. Use filters or paste a URL — the URL wins when set.",
    "version": "0.2",
    "x-build-id": "hEoYMkbcgAdKeQ2QA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dadhalfdev~nigeriapropertycentre-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dadhalfdev-nigeriapropertycentre-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/dadhalfdev~nigeriapropertycentre-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dadhalfdev-nigeriapropertycentre-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/dadhalfdev~nigeriapropertycentre-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dadhalfdev-nigeriapropertycentre-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": {
          "input_url": {
            "title": "Input URL",
            "type": "string",
            "description": "Paste a Nigeria Property Centre search URL. Overrides every filter when set."
          },
          "purpose": {
            "title": "Purpose",
            "enum": [
              "for-sale",
              "for-rent",
              "short-let",
              "joint-venture"
            ],
            "type": "string",
            "description": "For sale, for rent, short let, or joint venture.",
            "default": "for-sale"
          },
          "property_type": {
            "title": "Property type",
            "enum": [
              "",
              "houses",
              "flats-apartments",
              "land",
              "commercial"
            ],
            "type": "string",
            "description": "Houses, flats, land, or commercial.",
            "default": ""
          },
          "property_subtype": {
            "title": "Property subtype",
            "enum": [
              "",
              "detached-duplexes",
              "semi-detached-duplexes",
              "terraced-duplexes",
              "detached-bungalows",
              "semi-detached-bungalows",
              "terraced-bungalows",
              "block-of-flats",
              "mini-flats",
              "self-contained",
              "residential-land",
              "commercial-land",
              "industrial-land",
              "mixed-use-land",
              "farm-land",
              "offices",
              "shops",
              "warehouses",
              "hotels-guest-houses",
              "plaza-complex-mall",
              "restaurants-bars",
              "factories",
              "filling-stations",
              "tank-farms",
              "schools",
              "churches",
              "hostel"
            ],
            "type": "string",
            "description": "Same subtypes as the site, such as detached duplex or mini flat.",
            "default": ""
          },
          "location": {
            "title": "State",
            "enum": [
              "",
              "lagos",
              "abuja",
              "rivers",
              "ogun",
              "oyo",
              "delta",
              "enugu",
              "anambra",
              "kaduna",
              "kano",
              "edo",
              "imo",
              "akwa-ibom",
              "abia",
              "kwara",
              "osun",
              "ondo",
              "benue",
              "plateau",
              "cross-river",
              "kogi",
              "nasarawa",
              "niger",
              "sokoto",
              "katsina",
              "bauchi",
              "kebbi",
              "jigawa",
              "adamawa",
              "taraba",
              "gombe",
              "yobe",
              "borno",
              "zamfara",
              "bayelsa",
              "ebonyi",
              "ekiti"
            ],
            "type": "string",
            "description": "Nigerian state or Abuja.",
            "default": ""
          },
          "city": {
            "title": "City or area",
            "type": "string",
            "description": "Neighbourhood or city inside the state, such as Lekki or Ikeja."
          },
          "bedrooms": {
            "title": "Bedrooms",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5",
              "6"
            ],
            "type": "string",
            "description": "Exact bedroom count. 6 means 6 or more.",
            "default": ""
          },
          "price_min": {
            "title": "Minimum price (NGN)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in naira."
          },
          "price_max": {
            "title": "Maximum price (NGN)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price in naira."
          },
          "furnishing": {
            "title": "Furnishing",
            "enum": [
              "",
              "furnished",
              "unfurnished"
            ],
            "type": "string",
            "description": "Furnished or unfurnished.",
            "default": ""
          },
          "serviced": {
            "title": "Serviced only",
            "type": "boolean",
            "description": "Only keep serviced listings.",
            "default": false
          },
          "shared": {
            "title": "Shared only",
            "type": "boolean",
            "description": "Only keep shared rentals.",
            "default": false
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Words to search, such as pool, BQ, or gym."
          },
          "added": {
            "title": "Added",
            "enum": [
              "",
              "1",
              "7",
              "14",
              "30"
            ],
            "type": "string",
            "description": "How recently the listing was posted.",
            "default": ""
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "How to order the results.",
            "default": "1"
          },
          "max_results": {
            "title": "Maximum number of results",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many rows to return (1–2000).",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}