{
  "openapi": "3.0.1",
  "info": {
    "title": "Global B2B People & Executive Contact Scraper",
    "description": "Scrape verified individual B2B contacts, executive decision makers (Founders, CEOs, Partners, Accountants, Lawyers, Doctors) across 50+ countries. Direct verified emails, phones & LinkedIn.",
    "version": "0.1",
    "x-build-id": "5L1IEjGbzJ0JMZisK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datablow~global-b2b-lead-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datablow-global-b2b-lead-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/datablow~global-b2b-lead-scraper/runs": {
      "post": {
        "operationId": "runs-sync-datablow-global-b2b-lead-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/datablow~global-b2b-lead-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-datablow-global-b2b-lead-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": [
          "searchQueries",
          "country"
        ],
        "properties": {
          "searchQueries": {
            "title": "🔍 Search Keywords / Professions / Roles",
            "type": "array",
            "description": "Enter any profession, niche, or title to scrape individual contacts (e.g. 'Chartered Accountants', 'Doctors', 'Lawyers', 'Founders', 'Tax Consultants', 'Dentists').",
            "default": [
              "Chartered Accountants",
              "Doctors"
            ],
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "🌍 Target Country",
            "enum": [
              "ALL",
              "IN",
              "SG",
              "CN",
              "ZA",
              "AE",
              "US",
              "GB",
              "AU",
              "CA",
              "DE",
              "JP",
              "FR",
              "CH",
              "NL",
              "ES",
              "IT",
              "NZ",
              "IE",
              "BR",
              "MX",
              "OTHER"
            ],
            "type": "string",
            "description": "Select a country to target. Uses statutory professional registers & premier national directories for that country.",
            "default": "IN"
          },
          "locations": {
            "title": "📍 Specific Cities / Regions (Optional)",
            "type": "array",
            "description": "Specific cities, states, or postal codes (e.g. 'Mumbai', 'Singapore', 'Shanghai', 'Johannesburg', 'Dubai', 'London', 'Sydney'). Leave EMPTY to automatically scrape top national economic hubs!",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "targetRoles": {
            "title": "👔 Decision Maker Roles to Discover",
            "type": "array",
            "description": "Executive positions to search for on company websites (e.g. /about, /team, /leadership pages).",
            "default": [
              "Founder",
              "Co-Founder",
              "CEO",
              "Managing Director",
              "Partner",
              "Senior Partner",
              "Owner",
              "Director",
              "President",
              "Principal"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Maximum Individual Contacts to Scrape",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Total maximum number of unique individual people and decision-maker contacts to collect.",
            "default": 100
          },
          "enrichEmails": {
            "title": "📧 Extract Direct Emails",
            "type": "boolean",
            "description": "Deep-crawl the company website and contact pages to discover verified email addresses.",
            "default": true
          },
          "enrichSocialMedia": {
            "title": "🔗 Extract Social Profiles (LinkedIn, Twitter, etc.)",
            "type": "boolean",
            "description": "Discover company and executive LinkedIn, Twitter/X, Facebook, and Instagram links.",
            "default": true
          },
          "enrichDecisionMakers": {
            "title": "👥 Identify Key Decision Makers (Founders / CEOs)",
            "type": "boolean",
            "description": "Parse team and management pages to extract names and titles of founders, CEOs, and partners.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy ensures reliable global scraping without IP bans or geographic blocks.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}