{
  "openapi": "3.0.1",
  "info": {
    "title": "Event Organizer Contacts: Luma & Eventbrite Host Emails",
    "description": "Event organizer and host contact finder for Luma and Eventbrite. Give events, organizer pages or a city; get one row per organizer with website, X, Instagram, LinkedIn and the public email on their own site. $0.01 per organizer with an email, $0.002 socials only, nothing found free.",
    "version": "0.1",
    "x-build-id": "o1wSfC2GY0YVSfNGA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datagleaner~event-organizer-contacts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datagleaner-event-organizer-contacts",
        "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/datagleaner~event-organizer-contacts/runs": {
      "post": {
        "operationId": "runs-sync-datagleaner-event-organizer-contacts",
        "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/datagleaner~event-organizer-contacts/run-sync": {
      "post": {
        "operationId": "run-sync-datagleaner-event-organizer-contacts",
        "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": {
          "lumaPlaces": {
            "title": "Luma cities or calendars",
            "type": "array",
            "description": "Luma city pages such as `sf`, `nyc`, `london`, `berlin` or `tokyo` (or full links like https://luma.com/sf), and Luma calendar pages (community pages such as https://luma.com/oss4ai). Every organizer of the upcoming events listed there is returned: the calendar itself and each host.",
            "items": {
              "type": "string"
            }
          },
          "eventbriteCities": {
            "title": "Eventbrite cities",
            "type": "array",
            "description": "Eventbrite locations: a slug such as `ny--new-york` or `united-kingdom--london`, a name such as `Austin, TX` or `london`, `online`, or a full Eventbrite search link (https://www.eventbrite.com/d/...). The organizers of the events found there are returned.",
            "items": {
              "type": "string"
            }
          },
          "eventbriteKeyword": {
            "title": "Eventbrite keyword",
            "type": "string",
            "description": "Optional. Narrows the Eventbrite city search to a topic, for example `tech`, `startup` or `wine tasting`. Given without a city, it searches online events."
          },
          "eventUrls": {
            "title": "Event URLs",
            "type": "array",
            "description": "Luma event links (https://luma.com/abc123 or lu.ma/abc123) or Eventbrite event links (https://www.eventbrite.com/e/...). Returns each event's organizers and hosts.",
            "items": {
              "type": "string"
            }
          },
          "organizerUrls": {
            "title": "Organizer URLs",
            "type": "array",
            "description": "Organizer pages to look up directly: Eventbrite organizer profiles (https://www.eventbrite.com/o/name-123456), Luma calendars (https://luma.com/oss4ai) or Luma user profiles (https://luma.com/user/name).",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Dataset ID (from another Actor)",
            "type": "string",
            "description": "Optional. Read Eventbrite organizers from this dataset, for example the results of an Eventbrite scraper, and add them to the inputs above. Each item's organizer link or id (`primary_organizer.url`, `organizerUrl`, `organizer_id`, `primary_organizer_id`) is used, else its event link (`url`, `eventUrl`); items with neither are skipped. In an integration use `{{resource.defaultDatasetId}}`."
          },
          "datasetField": {
            "title": "Link field in the dataset",
            "type": "string",
            "description": "Optional. Name of the field that holds the Eventbrite organizer or event link when it is not one of the usual ones. Tried first."
          },
          "maxDatasetItems": {
            "title": "Max organizers and events from the dataset",
            "minimum": 1,
            "type": "integer",
            "description": "Stop reading the dataset after this many unique organizers and events. The Max organizers limit below still applies to the output.",
            "default": 1000
          },
          "maxOrganizers": {
            "title": "Max organizers",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop collecting after this many unique organizers across all inputs. Each organizer is one row, however many of its events were seen.",
            "default": 100
          },
          "followWebsites": {
            "title": "Look for an email on the organizer's website",
            "type": "boolean",
            "description": "Visit up to 2 pages of each organizer's own website (the home page, then its contact page if needed) and collect the public email, phone and missing socials. Off: only the platform profile is used, which is faster but rarely has an email.",
            "default": true
          },
          "onlyWithEmail": {
            "title": "Only organizers with an email",
            "type": "boolean",
            "description": "Output only organizers where a public email was found. Organizers left out are not charged.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Organizers in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many organizers are looked up at the same time.",
            "default": 5
          },
          "delaySecs": {
            "title": "Pacing (seconds)",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "A random pause of up to this many seconds before each Luma or Eventbrite request and each website visit. Raise it on very large runs.",
            "default": 1
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Defaults to no proxy. Use one only if Luma or Eventbrite start answering with errors on large runs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}