{
  "openapi": "3.0.1",
  "info": {
    "title": "10times Events Scraper",
    "description": "probe",
    "version": "1.0",
    "x-build-id": "XJmod7KfVLmMKRK9d"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trev0n~10times-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trev0n-10times-events-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/trev0n~10times-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-trev0n-10times-events-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/trev0n~10times-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-trev0n-10times-events-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",
        "properties": {
          "location": {
            "title": "Country or city",
            "type": "string",
            "description": "Country or city to search, as written in 10times links: a country like 'germany', 'usa', 'unitedkingdom', 'unitedarabemirates', or a city like 'berlin-de', 'lasvegas-us', 'dubai-ae'. Leave empty for worldwide."
          },
          "eventType": {
            "title": "Event type",
            "enum": [
              "tradeshows",
              "conferences",
              "workshops"
            ],
            "type": "string",
            "description": "Which kind of events to list.",
            "default": "tradeshows"
          },
          "industry": {
            "title": "Industry",
            "enum": [
              "",
              "education-training",
              "medical-pharma",
              "technology",
              "finance",
              "business-consultancy",
              "entertainment",
              "engineering",
              "building-construction",
              "research",
              "power-energy",
              "wellness-healthcare",
              "agriculture-forestry",
              "arts-crafts",
              "food-beverage",
              "waste-management",
              "logistics-transportation",
              "electronics-electricals",
              "fashion-accessories",
              "automotive",
              "home-office",
              "apparel-fashion",
              "travel-tourism",
              "security",
              "telecommunication",
              "animals-pets",
              "baby-kids",
              "hospitality",
              "packaging"
            ],
            "type": "string",
            "description": "Limit results to one industry vertical.",
            "default": ""
          },
          "keyword": {
            "title": "Keyword filter",
            "type": "string",
            "description": "Keep only events whose name, description, categories or tags contain all of these words (e.g. 'hydrogen' or 'dental, implant'). Applied to the events found by the search above."
          },
          "dateFrom": {
            "title": "Ends on or after",
            "type": "string",
            "description": "Keep only events that are still running on or after this date (YYYY-MM-DD). Past events are always skipped."
          },
          "dateTo": {
            "title": "Starts on or before",
            "type": "string",
            "description": "Keep only events that start on or before this date (YYYY-MM-DD)."
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional. Any 10times listing page, e.g. https://10times.com/germany/tradeshows or https://10times.com/berlin-de/technology/conferences. When set, the search fields above are ignored. Single event pages are not supported.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max events",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of events to return. 0 = no limit.",
            "default": 100
          },
          "expandListings": {
            "title": "Dig deeper into big listings",
            "type": "boolean",
            "description": "10times shows about 40 events per listing to visitors. When a listing has more, also walk its industry and city sub-listings to reach the rest.",
            "default": true
          },
          "maxListingPages": {
            "title": "Max listing pages",
            "minimum": 1,
            "type": "integer",
            "description": "Safety cap on how many listing pages (including sub-listings) one run may open.",
            "default": 60
          },
          "incrementalMode": {
            "title": "Only new or changed events",
            "type": "boolean",
            "description": "Remember what earlier runs returned and output only events that are new, changed (dates, venue, edition) or back again. The first run outputs everything and saves the baseline.",
            "default": false
          },
          "stateKey": {
            "title": "Monitoring name",
            "type": "string",
            "description": "Optional name for the monitoring memory. Runs with the same name share it. Leave empty to derive it from the search settings."
          },
          "emitUnchanged": {
            "title": "Also output unchanged events",
            "type": "boolean",
            "description": "In monitoring mode, output unchanged events too (tagged UNCHANGED).",
            "default": false
          },
          "emitExpired": {
            "title": "Also output disappeared events",
            "type": "boolean",
            "description": "In monitoring mode, output a short EXPIRED record for events that no longer appear in the results.",
            "default": false
          },
          "compact": {
            "title": "Skip empty fields",
            "type": "boolean",
            "description": "Leave out fields that have no value.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "How many pages are loaded at the same time. Keep it low — 10times slows down busy visitors.",
            "default": 2
          },
          "requestIntervalMs": {
            "title": "Pause between requests (ms)",
            "minimum": 250,
            "maximum": 10000,
            "type": "integer",
            "description": "Minimum gap between two page loads. The run widens it automatically if the site asks to slow down.",
            "default": 900
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Residential proxy by default: 10times limits anonymous page views per IP and blocks most datacenter IPs. Each browser session gets a fresh residential IP.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "fallbackToResidential": {
            "title": "Switch to residential proxy when blocked",
            "type": "boolean",
            "description": "Retry through Apify residential proxy if the site refuses the connection.",
            "default": true
          },
          "dumpHtml": {
            "title": "Save sample pages (debug)",
            "type": "boolean",
            "description": "Store the first listing and event page in the run's key-value store for troubleshooting.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}