{
  "openapi": "3.0.1",
  "info": {
    "title": "Italian Hotels & Agriturismi Directory – Puglia & Veneto",
    "description": "Official Open Data: 7,400+ licensed hotels, agriturismi, campsites and resorts in Puglia & Veneto with phone, email, website, stars and CIN. Export to CSV.",
    "version": "0.3",
    "x-build-id": "rVgWD2LEgDLOC0gPS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/reckoning89~italian-accommodation-directory/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-reckoning89-italian-accommodation-directory",
        "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/reckoning89~italian-accommodation-directory/runs": {
      "post": {
        "operationId": "runs-sync-reckoning89-italian-accommodation-directory",
        "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/reckoning89~italian-accommodation-directory/run-sync": {
      "post": {
        "operationId": "run-sync-reckoning89-italian-accommodation-directory",
        "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": {
          "region": {
            "title": "Regions / Regioni",
            "type": "array",
            "description": "Puglia and/or Veneto. Empty = both.",
            "items": {
              "type": "string",
              "enum": [
                "Puglia",
                "Veneto"
              ],
              "enumTitles": [
                "Puglia",
                "Veneto"
              ]
            },
            "default": [
              "Puglia",
              "Veneto"
            ]
          },
          "businessScope": {
            "title": "Business scope / Perimetro imprese",
            "enum": [
              "CORE",
              "ALL_BUSINESSES"
            ],
            "type": "string",
            "description": "Puglia CORE = Alberghi, Residenze turistico alberghiere, Alloggi agrituristici, Campeggi, Villaggi turistici, Residence, Ostelli della gioventù, Case per ferie, Servizi per la gestione di marina resort; ALL_BUSINESSES adds B&B imprenditoriale, CAV imprenditoriale, Affittacamere. Veneto CORE = Alberghi (1–5 stelle), Residenze turistico alberghiere, Alloggi agroturistici, Campeggi e aree attrezzate, Villaggi turistici, Case per ferie, Rifugi di montagna, Ostelli per la Gioventù, Altri esercizi ricettivi; ALL_BUSINESSES adds Alloggi in affitto gestiti in forma imprenditoriale and B&Bs with national CIN category B4 (flag cinBusinessInferred). Records without CIN are kept only for CORE types. Counts as of 29/10/2026. Never included: B&B familiari, CAV non imprenditoriali, Veneto B&Bs with CIN C1 or no CIN, locazioni turistiche, CIN with 9th character C.",
            "default": "CORE"
          },
          "provinces": {
            "title": "Provinces / Province",
            "type": "array",
            "description": "Name or code. Puglia: Bari (BA), Barletta-Andria-Trani (BT), Brindisi (BR), Foggia (FG), Lecce (LE), Taranto (TA). Veneto: Belluno (BL), Padova (PD), Rovigo (RO), Treviso (TV), Venezia (VE), Verona (VR), Vicenza (VI). Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "municipalities": {
            "title": "Cities / Comuni",
            "type": "array",
            "description": "Exact municipality name, e.g. Ostuni, Gallipoli, Venezia, Cortina d'Ampezzo (case-insensitive, accents ignored).",
            "items": {
              "type": "string"
            }
          },
          "types": {
            "title": "Type contains / Tipologia",
            "type": "array",
            "description": "Keywords matched against official type, subtype and category: whole words, e.g. alberghi, hotel, agriturismo, campeggi, campsite, villaggi turistici, residence, ostelli, case per ferie, alberghi diffusi, centro benessere, dimora storica, aparthotel, b&b",
            "items": {
              "type": "string"
            }
          },
          "stars": {
            "title": "Stars / Stelle",
            "type": "array",
            "description": "1, 2, 3, 4, 5 or 5L (5 stelle lusso). \"5\" also matches 5L; \"3\"/\"4\" include Veneto 'Superior'. Only hotels and some other structures have stars (Veneto 'Leoni' are not stars); others are excluded when this filter is set.",
            "items": {
              "type": "string"
            }
          },
          "onlyWithEmail": {
            "title": "Only with email / Solo con email",
            "type": "boolean",
            "description": "Skip structures without a valid email address.",
            "default": false
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit (about 7,400 businesses with the default scope and both regions, about 17,100 with ALL_BUSINESSES).",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}