{
  "openapi": "3.0.1",
  "info": {
    "title": "Sahibindex Property Market Benchmark",
    "description": "Unofficial, independent Actor; not affiliated with or endorsed by any named source publisher. Compare customer-owned property facts with licensed public Sahibindex market reports.",
    "version": "1.20",
    "x-build-id": "TcF4W5Yy1wzLhh23q"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zinin~sahibindex-property-market-benchmark/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zinin-sahibindex-property-market-benchmark",
        "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/zinin~sahibindex-property-market-benchmark/runs": {
      "post": {
        "operationId": "runs-sync-zinin-sahibindex-property-market-benchmark",
        "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/zinin~sahibindex-property-market-benchmark/run-sync": {
      "post": {
        "operationId": "run-sync-zinin-sahibindex-property-market-benchmark",
        "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": [
          "requestId",
          "properties",
          "maxTotalChargeUsd"
        ],
        "properties": {
          "requestId": {
            "title": "Request ID",
            "pattern": "^[A-Za-z0-9_-]{8,64}$",
            "minLength": 8,
            "maxLength": 64,
            "type": "string",
            "description": "Unique non-PII idempotency ID. Reuse is allowed only with identical decision inputs."
          },
          "reportUrl": {
            "title": "Public report PDF",
            "pattern": "^https://image5\\.sahibinden\\.com/staticContent/[0-9A-Fa-f]{8}/[0-9A-Fa-f]{4}/[0-9A-Fa-f]{4}/[0-9A-Fa-f]{4}/[0-9A-Fa-f]{12}/[0-9]{10}\\.pdf$",
            "type": "string",
            "description": "Optional exact image5.sahibinden.com staticContent PDF. The PDF must identify itself as a public sale-market Sahibindex/BETAM report.",
            "default": "https://image5.sahibinden.com/staticContent/46800756/5ff7/403d/a818/c375e3143738/1774419975.pdf"
          },
          "properties": {
            "title": "Customer property facts",
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "description": "One to 50 customer-owned fact sets. Do not submit an address, owner name, contact data or listing URL.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "propertyId": {
                  "title": "Property ID",
                  "description": "Opaque non-PII customer identifier.",
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{1,64}$",
                  "minLength": 1,
                  "maxLength": 64
                },
                "city": {
                  "title": "Benchmark geography",
                  "description": "The four geographies fully stated in every supported report.",
                  "type": "string",
                  "enum": [
                    "Türkiye",
                    "İstanbul",
                    "Ankara",
                    "İzmir"
                  ]
                },
                "priceTry": {
                  "title": "Subject asking price (TRY)",
                  "description": "Customer-supplied asking price; not fetched from a listing.",
                  "type": "number",
                  "minimum": 10000,
                  "maximum": 100000000000
                },
                "areaM2": {
                  "title": "Subject area (m²)",
                  "description": "Customer-supplied area used to compute the subject price per m².",
                  "type": "number",
                  "minimum": 10,
                  "maximum": 5000
                }
              },
              "required": [
                "propertyId",
                "city",
                "priceTry",
                "areaM2"
              ]
            },
            "default": [
              {
                "propertyId": "istanbul_demo_001",
                "city": "İstanbul",
                "priceTry": 5500000,
                "areaM2": 100
              }
            ]
          },
          "deviationThresholdPct": {
            "title": "Deviation threshold (%)",
            "minimum": 1,
            "maximum": 100,
            "type": "number",
            "description": "Absolute price-per-m² deviation that triggers below/above aggregate review.",
            "default": 10
          },
          "slowMarketDays": {
            "title": "Slow-market threshold (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "number",
            "description": "Closed-listing age at or above this value is labelled slow.",
            "default": 75
          },
          "maxReportAgeMonths": {
            "title": "Maximum report age",
            "minimum": 1,
            "maximum": 36,
            "type": "integer",
            "description": "Fail if the aggregate reference period is older than this many months.",
            "default": 12
          },
          "maxTotalChargeUsd": {
            "title": "Customer charge cap",
            "minimum": 0.005,
            "maximum": 100,
            "type": "number",
            "description": "Hard run cap checked for the entire set of new benchmarks before any claim.",
            "default": 1.505
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}