{
  "openapi": "3.0.1",
  "info": {
    "title": "Untappd Scraper - Ratings & Check-ins",
    "description": "Collect public Untappd beers, breweries, and venues in one dataset. Get ratings, ABV, IBU, check-ins, locations, contact details, and drink menus. Filter by style, rating, ABV, and country.",
    "version": "1.0",
    "x-build-id": "ZZpaZaEtwBqOlv1KI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maximedupre~untappd-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maximedupre-untappd-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/maximedupre~untappd-scraper/runs": {
      "post": {
        "operationId": "runs-sync-maximedupre-untappd-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/maximedupre~untappd-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-maximedupre-untappd-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",
        "required": [
          "resultType"
        ],
        "properties": {
          "maxRecords": {
            "title": "Maximum records",
            "minimum": 0,
            "type": "integer",
            "description": "Optional limit for saved rows across all targets. Leave it empty or enter 0 to collect all available rows until the source is exhausted."
          },
          "resultType": {
            "title": "Result type",
            "enum": [
              "beers",
              "breweries",
              "venues"
            ],
            "type": "string",
            "description": "Beers saves one row per beer. Breweries saves one row per brewery. Venues saves one row per bar, brewery, taproom, or shop."
          },
          "targets": {
            "title": "Beers: Targets",
            "maxItems": 1000,
            "type": "array",
            "description": "Add beer links like https://untappd.com/b/the-alchemist-heady-topper/4691, brewery links like https://untappd.com/w/sierra-nevada-brewing-co/1142 (all public beers of that brewery), numeric beer IDs, or search terms. Leave empty to collect the top-rated beers chart. A search term with no public matches saves no rows.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "beerStyles": {
            "title": "Beers: Styles",
            "type": "array",
            "description": "Keep only beers of these Untappd beer styles, such as IPA - Imperial / Double. Leave empty for all styles.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "minRating": {
            "title": "Beers: Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only beers with an average rating of at least this value, from 0 to 5."
          },
          "minRatingCount": {
            "title": "Beers: Minimum number of ratings",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only beers with at least this many ratings."
          },
          "minCheckins": {
            "title": "Beers: Minimum check-ins",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only beers with at least this many check-ins of all time."
          },
          "minAbv": {
            "title": "Beers: Minimum ABV",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Keep only beers with an ABV percentage of at least this value."
          },
          "maxAbv": {
            "title": "Beers: Maximum ABV",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Keep only beers with an ABV percentage of at most this value."
          },
          "inProductionOnly": {
            "title": "Beers: Only beers still in production",
            "type": "boolean",
            "description": "Turn on to keep only beers that are still in production.",
            "default": false
          },
          "excludeHomebrew": {
            "title": "Beers: Exclude homebrew",
            "type": "boolean",
            "description": "Turn on to leave out homebrew beers.",
            "default": false
          },
          "beerSortOrder": {
            "title": "Beers: Sort order",
            "enum": [
              "popularity",
              "name",
              "nameDesc",
              "abv",
              "abvDesc"
            ],
            "type": "string",
            "description": "Choose one of the orders Untappd offers for search terms. Name orders are exact only within the first 1000 matches of one search term. The top-rated chart keeps its own order, so this option does not change it. Leave empty to use the Untappd default order."
          },
          "breweryTargets": {
            "title": "Breweries: Targets",
            "maxItems": 1000,
            "type": "array",
            "description": "Add brewery names or keywords to search, or brewery links like https://untappd.com/w/sierra-nevada-brewing-co/1142. Each brewery is saved with its name, link, type, location, beer count, website, social links, parent company, official status, and rating where Untappd shows them.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "venueTargets": {
            "title": "Venues: Targets",
            "maxItems": 1000,
            "type": "array",
            "description": "Add venue names to search, or venue links and IDs. Leave empty to collect the most popular venues worldwide in Untappd's order.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "venueCity": {
            "title": "Venues: City",
            "type": "string",
            "description": "Optional city that is added to every venue name search. It is not used for venue links, venue IDs, or the popular venues chart."
          },
          "venueVerifiedOnly": {
            "title": "Venues: Only verified venues",
            "type": "boolean",
            "description": "Turn on to keep only venues that the owner has verified.",
            "default": false
          },
          "includeVenueCheckinComments": {
            "title": "Venues: Include check-in comments",
            "type": "boolean",
            "description": "Turn on to add the drinker's comment to each recent venue check-in, where Untappd shows one. This is charged for each comment read.",
            "default": false
          },
          "maxVenueCheckinComments": {
            "title": "Venues: Comments per venue",
            "minimum": 0,
            "type": "integer",
            "description": "Used only when check-in comments are on. Reads comments for up to this many recent check-ins per venue, where available. Enter 0 to read all available comments.",
            "default": 5
          },
          "includeVenueExtraMenus": {
            "title": "Venues: Include extra menus",
            "type": "boolean",
            "description": "Turn on to add the venue's other menus, such as extra beer lists, food, wine, liquor, or cocktails. The default menu is always included. This is charged for each extra menu read.",
            "default": false
          },
          "maxVenueExtraMenus": {
            "title": "Venues: Extra menus per venue",
            "minimum": 0,
            "type": "integer",
            "description": "Used only when extra menus are on. Reads up to this many extra menus per venue, where available. Enter 0 to read all available extra menus.",
            "default": 3
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Optional country, written exactly as Untappd writes it. Names are not changed or guessed, so a name that Untappd does not use finds nothing. Beers: an English country name, such as United States or Belgium, used on the top-rated chart; for search terms it matches the brewery's country. Breweries: English names, such as England, Scotland, Wales, Northern Ireland, or United States. Untappd has no United Kingdom value. Venues: the spelling on the venue record, which can be in the local language, such as Deutschland, España, or Nederland, not Germany. Leave empty for all countries."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}