{
  "openapi": "3.0.1",
  "info": {
    "title": "WhatsApp Number Lookup – Profile, Leaks & Carrier",
    "description": "Verify any phone number on WhatsApp: real profile pictures, Telegram registration, carrier & line type, location, timezone, breach data (Facebook 533M, WhatsApp 487M) & lead quality score. No API key, no login, 100% autonomous. National & international formats supported",
    "version": "0.0",
    "x-build-id": "ioKoNeZmIfeL7wZDV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapepilot~whatsapp-number-lookup-profile-leaks-carrier/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapepilot-whatsapp-number-lookup-profile-leaks-carrier",
        "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/scrapepilot~whatsapp-number-lookup-profile-leaks-carrier/runs": {
      "post": {
        "operationId": "runs-sync-scrapepilot-whatsapp-number-lookup-profile-leaks-carrier",
        "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/scrapepilot~whatsapp-number-lookup-profile-leaks-carrier/run-sync": {
      "post": {
        "operationId": "run-sync-scrapepilot-whatsapp-number-lookup-profile-leaks-carrier",
        "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": [
          "numbers"
        ],
        "properties": {
          "numbers": {
            "title": "Phone Numbers",
            "type": "array",
            "description": "List of phone numbers in international (+8801841281197) or national format. Supports international and local syntax.",
            "default": [
              "+8801841281197",
              "+14155552671",
              "+5511991234567",
              "+442071838750"
            ],
            "items": {
              "type": "string"
            }
          },
          "defaultCountryCode": {
            "title": "Default Country Code (Optional)",
            "type": "string",
            "description": "Optional 2-letter ISO country code (e.g. 'BD', 'US', 'GB', 'IN', 'BR') used to parse national format numbers that do not have an international '+' prefix.",
            "default": ""
          },
          "includeCarrier": {
            "title": "Carrier & Telecommunications Intel",
            "type": "boolean",
            "description": "Attach carrier name, country, city/location, line type (mobile/fixed/voip), formats (E.164, national, international), timezones, and local time.",
            "default": true
          },
          "includeProfilePic": {
            "title": "Profile Picture",
            "type": "boolean",
            "description": "Return genuine WhatsApp profile picture URL when available (from WhatsApp CDN, business catalogs, Telegram, or leaks). If private or unavailable, returns null.",
            "default": true
          },
          "includeAbout": {
            "title": "About / Status Text",
            "type": "boolean",
            "description": "Return the user's WhatsApp status / about bio text when available.",
            "default": true
          },
          "includeTelegram": {
            "title": "Telegram Cross-Check",
            "type": "boolean",
            "description": "Include Telegram presence, direct t.me link, and profile if registered.",
            "default": true
          },
          "includeLeaks": {
            "title": "Leak & Breach Intelligence",
            "type": "boolean",
            "description": "Query breach databases and provide breach exposure analysis (Facebook 533M, WhatsApp 487M scrape).",
            "default": true
          },
          "fbProfilePic": {
            "title": "Facebook Leak Profile Pic",
            "type": "boolean",
            "description": "Fetch the Facebook leak record and return its stored profile picture when available.",
            "default": true
          },
          "preferCache": {
            "title": "Prefer Cache (Cheapest)",
            "type": "boolean",
            "description": "Try permanent cache first. If cached entry exists, skip live lookup. Falls through to live fetch on miss.",
            "default": true
          },
          "onlyCache": {
            "title": "Only Cache — Never Hit Live",
            "type": "boolean",
            "description": "Never make live WhatsApp calls. Returns only data already in the database. Pairs with super-cheap per-hit pricing.",
            "default": false
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many numbers to process in parallel (1 – 50). Higher = faster.",
            "default": 5
          },
          "timeoutMs": {
            "title": "Timeout (ms)",
            "minimum": 5000,
            "maximum": 120000,
            "type": "integer",
            "description": "Per-lookup timeout in milliseconds.",
            "default": 30000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}