{
  "openapi": "3.0.1",
  "info": {
    "title": "Subito.it Scraper - Italy Classifieds & Prices, No Login",
    "description": "Scrape Subito.it classified ads by keyword, category, region and price: title, price, town, photos, condition, seller type and category attributes. Only-new mode for monitoring. No login, cookies or phone numbers.",
    "version": "0.1",
    "x-build-id": "7apthDdncBiA1sPNG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~subito-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-subito-listings-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/cliqtomedia~subito-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-subito-listings-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/cliqtomedia~subito-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-subito-listings-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": {
          "queries": {
            "title": "Search keywords",
            "maxItems": 50,
            "type": "array",
            "description": "One search per keyword, in Italian as buyers type it (e.g. \"bicicletta\", \"iphone 13\", \"divano\"). Leave empty to browse a whole category or region.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "motori",
              "auto",
              "moto-e-scooter",
              "veicoli-commerciali",
              "accessori-auto",
              "accessori-moto",
              "caravan-e-camper",
              "nautica",
              "immobili",
              "appartamenti",
              "ville-singole-e-a-schiera",
              "uffici-locali-commerciali",
              "terreni-e-rustici",
              "garage-e-box",
              "loft-mansarde",
              "case-vacanza",
              "camere-posti-letto",
              "elettronica",
              "informatica",
              "audio-video",
              "telefonia",
              "fotografia",
              "videogiochi",
              "casa-persona",
              "arredamento-casalinghi",
              "elettrodomestici",
              "giardino-fai-da-te",
              "abbigliamento-accessori",
              "bambini-giocattoli",
              "sports-hobby",
              "musica-film",
              "sport",
              "biciclette",
              "hobby-collezionismo",
              "libri-riviste",
              "strumenti-musicali",
              "animali",
              "lavoro-servizi",
              "offerte-lavoro",
              "cerco-lavoro",
              "attrezzature",
              "servizi",
              "annunci-vari"
            ],
            "type": "string",
            "description": "Limit to one Subito.it category. \"(all)\" entries cover the whole group.",
            "default": ""
          },
          "region": {
            "title": "Region",
            "enum": [
              "",
              "abruzzo",
              "valle-d-aosta",
              "puglia",
              "basilicata",
              "calabria",
              "campania",
              "emilia-romagna",
              "friuli-venezia-giulia",
              "lazio",
              "liguria",
              "lombardia",
              "marche",
              "molise",
              "piemonte",
              "sardegna",
              "sicilia",
              "trentino-alto-adige",
              "toscana",
              "umbria",
              "veneto"
            ],
            "type": "string",
            "description": "Limit to one Italian region.",
            "default": ""
          },
          "adType": {
            "title": "Ad type",
            "enum": [
              "sale",
              "rent",
              "wanted",
              "holiday",
              "gift"
            ],
            "type": "string",
            "description": "For sale (default), for rent, wanted (\"Cercasi\"), holiday rental or giveaway.",
            "default": "sale"
          },
          "priceMin": {
            "title": "Minimum price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads priced at or above this, in whole euros."
          },
          "priceMax": {
            "title": "Maximum price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads priced at or below this, in whole euros."
          },
          "maxItems": {
            "title": "Max listings per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper limit of listings saved for each keyword (newest first). Subito.it shows at most 10,000 per search.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only new listings since last run",
            "type": "boolean",
            "description": "Remembers what this search returned before and saves (and charges) only listings you have not received yet. Use it with a schedule to monitor a search.",
            "default": false
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "all",
              "private",
              "professional"
            ],
            "type": "string",
            "description": "All sellers, private people only, or businesses (shops, dealers, agencies) only.",
            "default": "all"
          },
          "titleOnly": {
            "title": "Match keywords in title only",
            "type": "boolean",
            "description": "Ignore matches in the description text.",
            "default": false
          },
          "shippingOnly": {
            "title": "Only ads with shipping",
            "type": "boolean",
            "description": "Only items the seller ships with Subito delivery.",
            "default": false
          },
          "includeDescription": {
            "title": "Include description text",
            "type": "boolean",
            "description": "Turn off for smaller rows. Phone numbers and e-mails in the text are always masked.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}