{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Events Scraper",
    "description": "Find public LinkedIn events by search phrase, event-search URL, or event URL. Get titles, links, dates, descriptions, organizers, locations, attendance counts, speakers, and hashtags.",
    "version": "1.0",
    "x-build-id": "S7zXc9KI5CbiSKHU9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maximedupre~linkedin-events/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maximedupre-linkedin-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~linkedin-events/runs": {
      "post": {
        "operationId": "runs-sync-maximedupre-linkedin-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~linkedin-events/run-sync": {
      "post": {
        "operationId": "run-sync-maximedupre-linkedin-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": [
          "target"
        ],
        "properties": {
          "maxItems": {
            "title": "Maximum events",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many saved events across the whole run. Leave empty or use 0 to get all available events."
          },
          "target": {
            "title": "Find events by",
            "enum": [
              "discover",
              "resolve_urls",
              "search_urls",
              "combined"
            ],
            "type": "string",
            "description": "Choose keyword search, known event URLs, an event-search URL, or keyword search with known event URLs."
          },
          "searchUrls": {
            "title": "LinkedIn event-search URLs",
            "type": "array",
            "description": "Add full LinkedIn event-search URLs. Each URL uses only its search words and its page number. LinkedIn event search has no date, format, place, or language filters. This field applies only to Event-search URLs.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "Search phrases",
            "type": "array",
            "description": "Add one or more search phrases. Each entry is one phrase, even if it has spaces or punctuation. The filters below apply to every phrase. Applies to Discover public events and Keywords and event URLs.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "topics": {
            "title": "Topics",
            "type": "array",
            "description": "Add topic words to narrow public event discovery. Leave this empty to use only the search phrases and other filters. Applies to Discover public events and Keywords and event URLs.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "organizers": {
            "title": "Organizers",
            "type": "array",
            "description": "Add organizer names to narrow public event discovery. Leave this empty if you do not need an organizer filter. Applies to Discover public events and Keywords and event URLs.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Add industry words to narrow public event discovery. Leave this empty if you do not need an industry filter. Applies to Discover public events and Keywords and event URLs.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Add city names to narrow public event discovery. Leave this empty if you do not need a city filter. Applies to Discover public events and Keywords and event URLs.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "years": {
            "title": "Years",
            "type": "array",
            "description": "Add four-digit years to narrow public event discovery. Leave this empty to include events from any year. Applies to Discover public events and Keywords and event URLs.",
            "items": {
              "type": "string",
              "pattern": "^[0-9]{4}$"
            }
          },
          "locations": {
            "title": "Other locations",
            "type": "array",
            "description": "Add a country, region, venue, or other location text. Use Cities for city names. Leave this empty if you do not need another location filter. Applies to Discover public events and Keywords and event URLs.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "eventTiming": {
            "title": "Timing",
            "enum": [
              "any",
              "upcoming",
              "past",
              "this_week",
              "this_month",
              "next_three_months"
            ],
            "type": "string",
            "description": "Choose when events take place. Any time also includes events with no known schedule. Week and month ranges use UTC calendar dates and start today. Applies to Discover public events and Keywords and event URLs."
          },
          "eventFormat": {
            "title": "Format",
            "enum": [
              "any",
              "virtual",
              "in_person",
              "hybrid"
            ],
            "type": "string",
            "description": "Keep only events that state this format. The format comes from extra event details, so a format other than Any format works only when Include extra event details is on. Many events do not state a format, and those events are left out. Any format keeps all events. Applies to Discover public events and Keywords and event URLs."
          },
          "eventUrls": {
            "title": "Public event URLs",
            "type": "array",
            "description": "Add full public LinkedIn event URLs. Applies to Resolve event URLs and Keywords and event URLs. Each link is checked for event details.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "includeExtraDetails": {
            "title": "Include extra event details",
            "type": "boolean",
            "description": "Add the summary, categories, ticket price and currency, registration link, and online, in-person, or hybrid format to each event, where available. This is charged once per event that gets these details. Applies to every Find events by choice.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}