{
  "openapi": "3.0.1",
  "info": {
    "title": "Trade Show Exhibitor Scraper: First-Time & Lapsed",
    "description": "Get any trade show's exhibitor list (Map Your Show, a2z or plain HTML) with first-time exhibitors scored high/medium/low, lapsed exhibitors from last year, startup and new-product badges, booths and websites. CSV, Excel, JSON. US and international shows.",
    "version": "0.1",
    "x-build-id": "j8sp3ljzIPnYcV5ca"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sullivan-ventures~exhibitor-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sullivan-ventures-exhibitor-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/sullivan-ventures~exhibitor-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sullivan-ventures-exhibitor-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/sullivan-ventures~exhibitor-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sullivan-ventures-exhibitor-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": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Exhibitor directory URLs (this year)",
            "type": "array",
            "description": "One or more exhibitor list pages. Map Your Show (…mapyourshow.com/8_0/explore/exhibitor-gallery.cfm), a2z / Personify (…a2zinc.net/…/Public/Exhibitors.aspx), or any HTML list (set the CSS selectors below).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "previousYearUrls": {
            "title": "Last year's directory URLs (turns on first-time exhibitor mode)",
            "type": "array",
            "description": "Optional. The same show's previous edition. Every row gets is_first_time by comparing company names (and Map Your Show exhibitor IDs), combined with the organizer's own First Time Exhibitor badge when the show publishes one. Also builds the lapsed-exhibitor list.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "onlyFirstTime": {
            "title": "Output only first-time exhibitors",
            "type": "boolean",
            "description": "Output only first-time exhibitors (from the last-year comparison and/or the organizer's First Time Exhibitor badge).",
            "default": false
          },
          "includeLapsed": {
            "title": "Lapsed exhibitors list",
            "type": "boolean",
            "description": "When last year's URL is given, also list companies that were at last year's show but are not in this year's directory. Saved to the key-value store as LAPSED (JSON) and LAPSED_CSV. With maxItems set, the full Map Your Show list is still read (cheap) so the check stays correct.",
            "default": true
          },
          "lapsedInDataset": {
            "title": "Also put lapsed exhibitors in the main dataset",
            "type": "boolean",
            "description": "Adds lapsed companies as extra rows with exhibitor_status = lapsed (each counts as a result).",
            "default": false
          },
          "waybackFallback": {
            "title": "Wayback Machine fallback",
            "type": "boolean",
            "description": "If a directory is offline (common for last year's show), recover it from archive.org's Wayback Machine. Rows are marked source = wayback with the snapshot date.",
            "default": true
          },
          "maxWaybackPages": {
            "title": "Max Wayback pages to fetch",
            "minimum": 10,
            "type": "integer",
            "description": "Upper limit on archived pages fetched per directory (archived exhibitor profile pages count one each). Higher = more coverage, slower run.",
            "default": 500
          },
          "waybackMaxMinutes": {
            "title": "Wayback time limit (minutes)",
            "minimum": 1,
            "type": "integer",
            "description": "Stop fetching archived pages after this many minutes per directory and use what was recovered.",
            "default": 10
          },
          "includeDetails": {
            "title": "Include details (website, city/state/country, categories)",
            "type": "boolean",
            "description": "Map Your Show only for now: opens each exhibitor profile. Slower. Without it you get company, booth and description from the list.",
            "default": false
          },
          "maxItems": {
            "title": "Max exhibitors per show",
            "minimum": 0,
            "type": "integer",
            "description": "How many of this year's exhibitors to output (0 = all). The form starts at 100 for a quick, cheap first run; set 0 to get the whole show. The comparison and lapsed list still use the full lists.",
            "default": 0
          },
          "platform": {
            "title": "Platform",
            "enum": [
              "auto",
              "mapyourshow",
              "a2z",
              "generic"
            ],
            "type": "string",
            "description": "Leave on auto unless detection fails.",
            "default": "auto"
          },
          "showName": {
            "title": "Show name override",
            "type": "string",
            "description": "Optional. Otherwise taken from the page title."
          },
          "itemSelector": {
            "title": "Generic: CSS selector for one exhibitor row",
            "type": "string",
            "description": "Generic: CSS selector for one exhibitor row."
          },
          "nameSelector": {
            "title": "Generic: company name selector (inside row)",
            "type": "string",
            "description": "Generic: company name selector (inside row)."
          },
          "boothSelector": {
            "title": "Generic: booth selector (inside row)",
            "type": "string",
            "description": "Generic: booth selector (inside row)."
          },
          "websiteSelector": {
            "title": "Generic: website link selector (inside row)",
            "type": "string",
            "description": "Generic: website link selector (inside row)."
          },
          "categorySelector": {
            "title": "Generic: category selector (inside row)",
            "type": "string",
            "description": "Generic: category selector (inside row)."
          },
          "locationSelector": {
            "title": "Generic: location selector (inside row)",
            "type": "string",
            "description": "Generic: location selector (inside row)."
          },
          "nextPageSelector": {
            "title": "Generic: next-page link selector",
            "type": "string",
            "description": "Generic: next-page link selector."
          },
          "maxPages": {
            "title": "Generic: max pages",
            "minimum": 1,
            "type": "integer",
            "description": "Generic: max pages.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}