{
  "openapi": "3.0.1",
  "info": {
    "title": "Asia Trade Show Exhibitors Scraper (RX Japan, CIIE, NABH)",
    "description": "Extract high-intent B2B trade show exhibitor & institutional directories across Japan (RX Japan / Tokyo Big Sight), China (CIIE), and India (NABH Hospitals). Legal entities only (DPDP 2023 & APPI compliant), automatic CJK encoding repair, deduplication, and website contact enrichment.",
    "version": "1.0",
    "x-build-id": "AheFvzfuXbMFjm5aM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vesper_studio~b2b-trade-show-exhibitors-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vesper_studio-b2b-trade-show-exhibitors-leads",
        "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/vesper_studio~b2b-trade-show-exhibitors-leads/runs": {
      "post": {
        "operationId": "runs-sync-vesper_studio-b2b-trade-show-exhibitors-leads",
        "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/vesper_studio~b2b-trade-show-exhibitors-leads/run-sync": {
      "post": {
        "operationId": "run-sync-vesper_studio-b2b-trade-show-exhibitors-leads",
        "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": {
          "sources": {
            "title": "Target Directory Sources",
            "type": "array",
            "description": "Select which verified public B2B directories to extract: 'nabh_india' (NABH accredited hospitals/clinics in India), 'japan_rx' (RX Japan / Tokyo Big Sight trade shows), 'china_ciie' (China International Import Expo exhibitor directory).",
            "items": {
              "type": "string"
            },
            "default": [
              "nabh_india",
              "japan_rx",
              "china_ciie"
            ]
          },
          "maxResultsPerSource": {
            "title": "Max results per source",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Maximum number of exhibitor/organization records extracted per selected source (and per Japanese show).",
            "default": 50
          },
          "japanShows": {
            "title": "Japan RX / Tokyo Big Sight Preset Shows",
            "type": "array",
            "description": "Verified RX Japan exhibition presets to scrape when 'japan_rx' is enabled. Options: 'japan_build', 'japan_it', 'nepcon_japan', 'cosme_week', 'interphex'.",
            "items": {
              "type": "string"
            },
            "default": [
              "japan_build"
            ]
          },
          "japanShowUrls": {
            "title": "Custom Japan RX Show Directory URLs",
            "type": "array",
            "description": "Optional list of additional RX Japan / ReedExpo directory.html URLs (e.g. 'https://www.nepconjapan.jp/tokyo/en-gb/search/2026/directory.html').",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "nabhState": {
            "title": "India NABH State / City Filter",
            "type": "string",
            "description": "Optional Indian state or major city name to filter NABH accredited hospitals (e.g. 'Maharashtra', 'Karnataka', 'Delhi', 'Tamil Nadu'). Leave blank for all India.",
            "default": ""
          },
          "nabhQuery": {
            "title": "India NABH Search Query",
            "type": "string",
            "description": "Optional search keyword (hospital name, city, pincode, or accreditation no.) for NABH India.",
            "default": ""
          },
          "chinaKeyword": {
            "title": "China CIIE Keyword Filter",
            "type": "string",
            "description": "Optional keyword filter applied locally to CIIE exhibitor name, country, exhibition area, or description.",
            "default": ""
          },
          "fetchChinaDetails": {
            "title": "Fetch China CIIE Detail Pages",
            "type": "boolean",
            "description": "Fetch individual CIIE exhibitor detail pages to enrich Business Type and Main Exhibit Types (slower, 1 extra HTTP request per exhibitor).",
            "default": false
          },
          "enrichWebsiteContact": {
            "title": "Enrich missing email/phone from exhibitor website",
            "type": "boolean",
            "description": "When enabled, crawls the exhibitor's homepage + /contact, /about, /company (and 会社概要 / お問い合わせ) to discover generic B2B emails and corporate phones. Never bypasses CAPTCHAs. Triggers the 'contact-enriched' pay-per-event charge when a new email or phone is found.",
            "default": false
          },
          "maxEnrichPagesPerSite": {
            "title": "Max pages per website during enrichment",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "Maximum number of pages fetched per company domain when 'enrichWebsiteContact' is enabled.",
            "default": 3
          },
          "concurrency": {
            "title": "HTTP Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum concurrent TLS-impersonating HTTP requests.",
            "default": 6
          },
          "requestTimeoutSeconds": {
            "title": "HTTP Timeout (seconds)",
            "minimum": 5,
            "maximum": 45,
            "type": "integer",
            "description": "Per-request timeout in seconds.",
            "default": 15
          },
          "maxTotalChargeUsd": {
            "title": "Max Total Charge USD (safety guard)",
            "minimum": 0,
            "type": "number",
            "description": "Optional hard USD spending cap enforced alongside Apify Pay-Per-Event pricing limits."
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (optional)",
            "type": "object",
            "description": "Zero proxy by default — Chrome TLS impersonation accesses all verified public directories directly.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}