{
  "openapi": "3.0.1",
  "info": {
    "title": "Posh Events Scraper",
    "description": "Collect public Posh.vip events by city, coordinates, event URL, or organizer. Get schedules, venues, ticket prices, and public organizer contacts when available for event and outreach research.",
    "version": "0.0",
    "x-build-id": "d9XIWmive2snTMHqU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maximedupre~posh-events/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maximedupre-posh-events",
        "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~posh-events/runs": {
      "post": {
        "operationId": "runs-sync-maximedupre-posh-events",
        "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~posh-events/run-sync": {
      "post": {
        "operationId": "run-sync-maximedupre-posh-events",
        "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": [
          "findBy"
        ],
        "properties": {
          "findBy": {
            "title": "Find events by",
            "enum": [
              "city",
              "coordinates",
              "eventUrls",
              "organizers"
            ],
            "type": "string",
            "description": "Choose how to find Posh events. Fill in the matching options below. Other source options are ignored."
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Enter the city to search, such as New York. City discovery covers the current month. Use Organizers or Event URLs for dates beyond this month."
          },
          "location": {
            "title": "Location",
            "required": [
              "latitude",
              "longitude"
            ],
            "type": "object",
            "description": "Enter the latitude and longitude of the place to search around. Coordinates discovery covers the current month. Use Organizers or Event URLs for dates beyond this month.",
            "properties": {
              "latitude": {
                "title": "Latitude",
                "type": "number",
                "description": "Latitude in decimal degrees, from -90 to 90.",
                "minimum": -90,
                "maximum": 90
              },
              "longitude": {
                "title": "Longitude",
                "type": "number",
                "description": "Longitude in decimal degrees, from -180 to 180.",
                "minimum": -180,
                "maximum": 180
              }
            }
          },
          "eventUrls": {
            "title": "Event URLs",
            "type": "array",
            "description": "Add one or more public Posh event URLs. Each URL selects a known event.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "organizers": {
            "title": "Organizers",
            "type": "array",
            "description": "Add one or more Posh organizer page URLs or organizer identifiers to find their events.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep events whose text matches at least one keyword. Applies to all ways of finding events. Leave empty to skip this filter.",
            "items": {
              "type": "string"
            }
          },
          "startDate": {
            "title": "Start date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Keep events starting on or after this date, including the date itself. Uses the event’s local date. Leave empty for no lower date filter within the selected source. City and Coordinates discovery stays within the current month."
          },
          "endDate": {
            "title": "End date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Keep events starting on or before this date, including the date itself. Uses the event’s local date. Leave empty for no upper date filter within the selected source. City and Coordinates discovery stays within the current month."
          },
          "eventPeriod": {
            "title": "Event period",
            "enum": [
              "past",
              "upcoming",
              "current"
            ],
            "type": "string",
            "description": "Keep past events, upcoming events, or events happening now. For City, choose Upcoming or Happening now; Past is not supported. Use Organizers or Event URLs for past events. Leave empty to include all periods available from the selected source."
          },
          "ticketPrice": {
            "title": "Ticket price",
            "enum": [
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Keep events with a free ticket or a paid ticket. An event with both can match either choice. Leave empty to include both."
          },
          "maxTicketPrice": {
            "title": "Maximum ticket price",
            "minimum": 0,
            "type": "number",
            "description": "Keep events with at least one qualifying ticket at or below this base price in the event’s listed currency. Fees are not included. Leave empty for no price limit."
          },
          "attendanceMode": {
            "title": "Attendance mode",
            "enum": [
              "inPerson",
              "online"
            ],
            "type": "string",
            "description": "Keep in-person or online events. Leave empty to include both."
          },
          "discoveryOrder": {
            "title": "Discovery order",
            "enum": [
              "trending",
              "newest",
              "popularity",
              "chronological"
            ],
            "type": "string",
            "description": "For City, Coordinates, and Organizers, choose the order used to find events where Posh supports it. Leave empty to use the source order."
          },
          "maxItems": {
            "title": "Maximum events",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after saving this many matching events. Leave empty to get all available matching events from the selected source until it is exhausted. City and Coordinates discovery covers the current month; Organizers and Event URLs can include dates beyond this month."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}