{
  "openapi": "3.0.1",
  "info": {
    "title": "Hatla2ee Scraper",
    "description": "Scrape used-car listings from eg.hatla2ee.com (Egypt). Use filters (make, city) or paste a search URL — the URL wins when set. Returns EGP price, specs, location, and seller contact.",
    "version": "0.1",
    "x-build-id": "yRTRoWukQYxz4PbWy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dadhalfdev~hatla2ee-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dadhalfdev-hatla2ee-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~hatla2ee-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dadhalfdev-hatla2ee-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~hatla2ee-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dadhalfdev-hatla2ee-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 Hatla2ee search URL (e.g. /en/car/hyundai or /en/car/city/cairo)."
          },
          "make": {
            "title": "Make",
            "enum": [
              "",
              "abarth",
              "acura",
              "alpha-romeo",
              "arcfox",
              "aston-martin",
              "audi",
              "avatr",
              "baic",
              "bajaj",
              "baw",
              "benelli",
              "bentley",
              "bestune",
              "bmw",
              "borgward",
              "brilliance",
              "bugatti",
              "buick",
              "byd",
              "cadillac",
              "chana",
              "changan",
              "changhe",
              "chery",
              "chevrolet",
              "chrysler",
              "citroen",
              "cupra",
              "daewoo",
              "daihatsu",
              "datsun",
              "dayun",
              "deepal",
              "dfm",
              "dfsk",
              "dodge",
              "domy",
              "dorcen",
              "ds",
              "ducati",
              "elwahab",
              "emgrand",
              "exeed",
              "fahd",
              "faw",
              "ferrari",
              "fiat",
              "ford",
              "forthing",
              "foton",
              "fuso",
              "gac",
              "geely",
              "glide",
              "gmc",
              "golden-dragon",
              "great-wall",
              "hafei",
              "haima",
              "halawa",
              "hanteng",
              "haojiang",
              "haojue",
              "harley-davidson",
              "hashim-bus",
              "haval",
              "hawa",
              "hawtai",
              "honda",
              "honda-wuyang",
              "hongqi",
              "hummer",
              "hyundai",
              "icaur",
              "ineos",
              "infiniti",
              "isuzu",
              "jac",
              "jaecoo",
              "jaguar",
              "jeep",
              "jetour",
              "jinbei",
              "jmc",
              "jonway",
              "joylong",
              "karry",
              "kawasaki",
              "keeway",
              "kenbo",
              "keyton",
              "kgm",
              "khalaf",
              "kia",
              "kinglong",
              "kyc",
              "kymco",
              "lada",
              "lamborghini",
              "lancia",
              "land-rover",
              "landwind",
              "leapmotor",
              "lexus",
              "li-auto",
              "lifan",
              "lincoln",
              "lml",
              "lotus",
              "lynkco",
              "m-hero",
              "maextro",
              "mahindra",
              "maserati",
              "mazda",
              "mclaren",
              "mercedes",
              "mercury",
              "mini",
              "mitsubishi",
              "nissan",
              "omoda",
              "opel",
              "other",
              "pegan",
              "perodua",
              "peugeot",
              "polestar",
              "pontiac",
              "porsche",
              "proton",
              "renault",
              "rox",
              "saab",
              "saipa",
              "sandstorm",
              "scion",
              "seat",
              "senova",
              "seres",
              "shineray",
              "skoda",
              "skywell",
              "slingshot",
              "smart",
              "sokon",
              "soueast",
              "speranza",
              "ssang-yong",
              "subaru",
              "suzuki",
              "sym",
              "tank",
              "tata",
              "tesla",
              "toyota",
              "tvs",
              "valacore",
              "vgv",
              "victory",
              "volks-wagen",
              "volvo",
              "voyah",
              "wingamm",
              "wuling",
              "wuyang",
              "xiaomi",
              "xpeng",
              "yadea",
              "yamaha",
              "zeekr",
              "zna",
              "zontes",
              "zotye"
            ],
            "type": "string",
            "description": "Same make slugs as on Hatla2ee (/en/car/{make}). Ignored when input_url is set.",
            "default": ""
          },
          "city": {
            "title": "City",
            "enum": [
              "",
              "abdeen",
              "abis",
              "abu-hummus",
              "abu-kabir",
              "abu-qir",
              "abu-rawash",
              "abu-rudeis",
              "abu-zabal",
              "abu-zenimah",
              "agamy",
              "ain-shams",
              "ain-sokhna",
              "al-agouzah",
              "al-amireya",
              "al-attareen",
              "al-badrashin",
              "al-barajil",
              "al-bayadeyah",
              "al-darrasa",
              "al-hadrah",
              "al-labban",
              "al-maasarah",
              "al-matariyyah",
              "al-munib",
              "al-nubariya",
              "al-qalah",
              "al-rehab",
              "al-rewaysat",
              "al-sayeda-aesha",
              "al-tagamoa-el-awal",
              "al-waili",
              "alasafra",
              "alexandria",
              "alexandria-desert",
              "almazah",
              "almnasafor",
              "amreya",
              "ard-el-lewa",
              "ashmoun",
              "ashmun",
              "aswan",
              "asyut",
              "ausim",
              "azarita",
              "badr-city",
              "bahtim",
              "balat",
              "banha",
              "bani-ghalib",
              "basioun",
              "beheira",
              "belqas",
              "ben-suef",
              "beni-suef",
              "bilbeis",
              "bin-el-sarayat",
              "birkat-as-sab",
              "bolkly",
              "borg-el-arab",
              "boulak-al-dakror",
              "bulaq",
              "burullus",
              "cairo",
              "cleopatra",
              "dahab",
              "daher",
              "dakahlia",
              "dakhla",
              "damanhur",
              "damietta",
              "dar-al-salam",
              "degla",
              "delengat",
              "dikirnis",
              "dishna",
              "dokki",
              "downtown-cairo",
              "dyarb-negm",
              "edku",
              "el-abaseya",
              "el-alamein",
              "el-amal-city",
              "el-arish",
              "el-bagour",
              "el-basatin",
              "el-bashayer",
              "el-gamaleya",
              "el-gomrok",
              "el-gouna",
              "el-hamoul",
              "el-haram",
              "el-hawamdeyya",
              "el-katameya",
              "el-khalifa-el-maamoun",
              "el-mahalla",
              "el-mandara",
              "el-manial",
              "el-marg",
              "el-matareya",
              "el-minya",
              "el-moalemeen",
              "el-nagah",
              "el-nour",
              "el-omraniya",
              "el-qobba-bridge",
              "el-salam-cty",
              "el-sayeda-zainab",
              "el-senbellawein",
              "el-shohada",
              "el-shorouk",
              "el-tagamoa-el-khames",
              "el-wadi-el-gedid",
              "el-zaytoun",
              "elmansheya",
              "elzawya-elhamraa",
              "etay-al-barud",
              "ezbet-el-nakhl",
              "faisal",
              "faqous",
              "farafra",
              "gamasa",
              "gazirat-ad-dahab",
              "gesr-al-suez",
              "ghamrah",
              "gharbia",
              "giza",
              "hadaeq-al-qubbah",
              "hadayek-october",
              "hadayeq-el-maadi",
              "hadayeq-el-zeitoun",
              "hay-el-suez",
              "heliopolis",
              "helmeyat-az-zaytoun",
              "helwan",
              "hurghada",
              "imbaba",
              "imbabah",
              "industrial-zone",
              "ismailia",
              "ismailia-desert",
              "itay-al-barud",
              "izbat-al-haganah",
              "kafr-el-dawwar",
              "kafr-el-sheikh",
              "kafr-el-zayat",
              "kafr-saad",
              "kafr-shukr",
              "kafr-tohormos",
              "kerdasa",
              "khanka",
              "kharga",
              "kit-kat",
              "kom-hamada",
              "kom-ombo",
              "loran",
              "luxor",
              "maadi",
              "madinaty",
              "mahala",
              "mahallat-damanah",
              "mahta-al-raml",
              "makram-ebeid",
              "manil-shihah",
              "manqabad",
              "mansura",
              "marina-el-alamein",
              "mariotya",
              "marsa-alam",
              "marsa-matrouh",
              "masr-el-qadima",
              "medan-el-saaa",
              "menouf",
              "miamy",
              "minya-al-qamh",
              "minyat-sandub",
              "mit-assas",
              "mit-ghamr",
              "mohandessin",
              "moharam-bek",
              "mokattam",
              "monshaat-al-amari",
              "monufia",
              "musturad",
              "mut",
              "nasr-city",
              "nefesha",
              "new-borg-el-arab",
              "new-cairo",
              "new-capital",
              "new-nozha",
              "northern-coast",
              "nozha",
              "nuweiba",
              "other",
              "paris",
              "port-said",
              "pyramids-gardens",
              "qaha",
              "qalyub",
              "qalyubia",
              "qanater-el-khayreya",
              "qebaa",
              "qena",
              "ramses",
              "ras-gharib",
              "ras-sedr",
              "red-sea",
              "rod-el-farag",
              "rosetta",
              "roshdy",
              "sackalla-square",
              "sadat-city",
              "safaga",
              "saft-el-laban",
              "sakakeni",
              "sharabiyyah",
              "sharm-el-sheikh",
              "sharqia",
              "shata",
              "sheikh-zayed",
              "sheraton",
              "shibin-el-kom",
              "shibin-el-qanater",
              "shubra-al-khaimah",
              "shubrakhit",
              "sinai",
              "siwa",
              "smouha",
              "sohag",
              "south-sinai",
              "st-catherine",
              "suez",
              "taba",
              "tala",
              "talkha",
              "tanta",
              "tor-sinai",
              "tora-al-asmant",
              "touhk",
              "vectoria",
              "waboor-elmayah",
              "wadi-al-natrun",
              "warraq",
              "zagazig",
              "zahraa-al-maadi",
              "zamalek",
              "zefta",
              "zezenia"
            ],
            "type": "string",
            "description": "Same city slugs as on Hatla2ee (/en/car/city/{city}). Ignored when input_url is set.",
            "default": ""
          },
          "max_results": {
            "title": "Maximum number of results",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many listings 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}