{
  "openapi": "3.0.1",
  "info": {
    "title": "All in one Phone Number Scraper",
    "description": "All in one Phone Number Scraper- Scrap Number from all social media Facebook, Instagram,Linkedin,Twitter,Pinterest,Tiktok, Reddit from specific profile using google search engine",
    "version": "0.0",
    "x-build-id": "utUOp5OFtg104EoXu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bhansalisoft~all-in-one-phone-number-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bhansalisoft-all-in-one-phone-number-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/bhansalisoft~all-in-one-phone-number-scraper/runs": {
      "post": {
        "operationId": "runs-sync-bhansalisoft-all-in-one-phone-number-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/bhansalisoft~all-in-one-phone-number-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-bhansalisoft-all-in-one-phone-number-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": [
          "Keyword",
          "social_network",
          "WhatsApp_Number",
          "Country"
        ],
        "properties": {
          "Keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Keyword"
          },
          "location": {
            "title": "Location(optional)",
            "type": "string",
            "description": "Location"
          },
          "social_network": {
            "title": "Social Network",
            "enum": [
              "facebook.com/",
              "linkedin.com/",
              "instagram.com/",
              "twitter.com/",
              "youtube.com/",
              "reddit.com/",
              "pinterest.com/",
              "tiktok.com/",
              "alibaba.com/",
              "amazon.com/"
            ],
            "type": "string",
            "description": "Social Network",
            "default": "linkedin.com/"
          },
          "Country": {
            "title": "Country",
            "enum": [
              "91",
              "1",
              "39",
              "34",
              "33",
              "49",
              "44",
              "971",
              "376",
              "93",
              "1268",
              "1264",
              "355",
              "374",
              "244",
              "54",
              "43",
              "61",
              "297",
              "994",
              "387",
              "1246",
              "880",
              "32",
              "226",
              "359",
              "973",
              "257",
              "229",
              "590",
              "1441",
              "673",
              "591",
              "55",
              "1242",
              "975",
              "267",
              "375",
              "501",
              "243",
              "236",
              "242",
              "41",
              "225",
              "682",
              "56",
              "237",
              "86",
              "57",
              "506",
              "53",
              "238",
              "357",
              "420",
              "45",
              "1767",
              "1809",
              "213",
              "593",
              "372",
              "20",
              "291",
              "251",
              "358",
              "679",
              "298",
              "995",
              "233",
              "299",
              "220",
              "224",
              "30",
              "502",
              "1671",
              "245",
              "592",
              "852",
              "504",
              "385",
              "509",
              "36",
              "62",
              "353",
              "972",
              "964",
              "98",
              "354",
              "1876",
              "962",
              "81",
              "254",
              "996",
              "855",
              "686",
              "269",
              "850",
              "82",
              "965",
              "7",
              "961",
              "1758",
              "423",
              "94",
              "231",
              "370",
              "352",
              "371",
              "218",
              "212",
              "377",
              "373",
              "382",
              "261",
              "692",
              "389",
              "223",
              "95",
              "976",
              "853",
              "222",
              "1664",
              "356",
              "230",
              "960",
              "52",
              "60",
              "258",
              "264",
              "687",
              "227",
              "234",
              "505",
              "31",
              "47",
              "977",
              "64",
              "968",
              "507",
              "51",
              "63",
              "92",
              "48",
              "351",
              "680",
              "595",
              "974",
              "40",
              "381",
              "250",
              "966",
              "677",
              "248",
              "249",
              "46",
              "65",
              "290",
              "386",
              "421",
              "232",
              "378",
              "221",
              "252",
              "503",
              "963",
              "268",
              "1649",
              "235",
              "228",
              "66",
              "992",
              "690",
              "993",
              "216",
              "676",
              "90",
              "1868",
              "886",
              "255",
              "380",
              "256",
              "598",
              "998",
              "1784",
              "58",
              "1284",
              "1340",
              "84",
              "685",
              "967",
              "27",
              "260",
              "263"
            ],
            "type": "string",
            "description": "Country",
            "default": "91"
          },
          "WhatsApp_Number": {
            "title": "Whats App Number ?",
            "enum": [
              "YES",
              "NO"
            ],
            "type": "string",
            "description": "Want to search Whats App Number ?",
            "default": "YES"
          },
          "Limit": {
            "title": "Max Number of Result",
            "type": "string",
            "description": "Max Number of Result : if this option is blank or 0 then it will scrap unlimited"
          },
          "proxySettings": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select proxies to be used by your crawler."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}