{
  "openapi": "3.0.1",
  "info": {
    "title": "Promo & Blank Apparel Leads Scraper (PPAI, ASI & Expos)",
    "description": "Extract verified B2B leads for wholesale blank apparel suppliers, promotional product distributors, contract screen printers, and embroidery shops with direct quotation emails, phone numbers, ASI/PPAI member IDs, and trade show catalogs.",
    "version": "1.0",
    "x-build-id": "aksZXxtRT6hTxSsNU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_studio~promo-apparel-leads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_studio-promo-apparel-leads-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/automation_studio~promo-apparel-leads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_studio-promo-apparel-leads-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/automation_studio~promo-apparel-leads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_studio-promo-apparel-leads-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": [
          "category",
          "region",
          "maxResults"
        ],
        "properties": {
          "category": {
            "title": "Industry Category / Niche",
            "enum": [
              "ALL",
              "BLANK_APPAREL",
              "PROMO_DISTRIBUTORS",
              "SCREEN_PRINTERS",
              "EMBROIDERY",
              "HEADWEAR"
            ],
            "type": "string",
            "description": "Choose your target industry sector. Our backend automatically compiles all optimal search footprints and industry footprints for this niche.",
            "default": "ALL"
          },
          "keywords": {
            "title": "Search Keywords (Optional)",
            "type": "array",
            "description": "Enter simple keywords to focus your search (e.g. 'hoodies', 'cotton tees', 'drinkware'). Our engine automatically compiles advanced industry footprints on the backend.",
            "default": [
              "blank apparel",
              "promotional products",
              "screen printing"
            ],
            "items": {
              "type": "string"
            }
          },
          "region": {
            "title": "Target Region",
            "enum": [
              "WORLDWIDE",
              "US",
              "CA",
              "EUROPE",
              "AUSTRALIA",
              "AFRICA"
            ],
            "type": "string",
            "description": "Select your geographic market. Localizes search footprints, trade show sources, and phone number formatting.",
            "default": "WORLDWIDE"
          },
          "tradeShowSources": {
            "title": "Trade Show & Expo Catalogs",
            "type": "array",
            "description": "Select which premier industry expos and trade shows to harvest exhibitor catalogs from.",
            "items": {
              "type": "string",
              "enum": [
                "IMPRESSIONS_EXPO",
                "PPAI_EXPO",
                "DAX_SHOW",
                "PSI_EUROPE",
                "APPA_AUSTRALIA"
              ],
              "enumTitles": [
                "Impressions Expo (USA - Premier Blank & Decorated Apparel)",
                "PPAI Expo (USA - Promotional Products Association Intl)",
                "DAX Show (USA - Decorated Apparel Expo)",
                "PSI Expo (Europe - Leading Promotional Network)",
                "APPA Expo (Australasia - Promotional Products Association)"
              ]
            },
            "default": [
              "IMPRESSIONS_EXPO",
              "PPAI_EXPO",
              "DAX_SHOW",
              "PSI_EUROPE",
              "APPA_AUSTRALIA"
            ]
          },
          "maxResults": {
            "title": "Maximum Verified Leads",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Total number of verified promotional and blank apparel leads to collect. Keep at default (10) for a rapid trial test in under 15 seconds. Can be scaled up to 100,000 for large-scale enterprise B2B prospecting.",
            "default": 10
          },
          "deepEmailExtraction": {
            "title": "Deep Email & Contact Enrichment",
            "type": "boolean",
            "description": "When enabled, crawls target websites across /contact, /about, and /quote pages to discover direct quotation inboxes, phone numbers, and member IDs.",
            "default": true
          },
          "requireContact": {
            "title": "Require Direct Contact (Email or Phone)",
            "type": "boolean",
            "description": "Ensures every delivered record has at least one verified direct email address or callable telephone number.",
            "default": true
          },
          "requireEmail": {
            "title": "Require Verified Email",
            "type": "boolean",
            "description": "When enabled, only records with a verified direct quotation or sales email address will be returned.",
            "default": false
          },
          "fastMode": {
            "title": "⚡ Turbo Mode (Fast Trial Run)",
            "type": "boolean",
            "description": "When enabled, prioritizes immediate root-domain and directory indexed contacts for maximum speed, completing in seconds.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy settings. Recommended for high-volume international harvesting.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}