{
  "openapi": "3.0.1",
  "info": {
    "title": "Social Handle Scraper",
    "description": "Scrape usernames for social networks like Instagram, Facebook, YouTube, Twitter, TikTok, LinkedIn and many others",
    "version": "0.0",
    "x-build-id": "NT2KAKAzzWuJgF7Sx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/slash-scrape~social-handle-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-slash-scrape-social-handle-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/slash-scrape~social-handle-scraper/runs": {
      "post": {
        "operationId": "runs-sync-slash-scrape-social-handle-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/slash-scrape~social-handle-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-slash-scrape-social-handle-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",
        "properties": {
          "targets": {
            "title": "URLs",
            "uniqueItems": true,
            "type": "array",
            "description": "List of URLs to scrape social handles from",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "datasetId": {
            "title": "Dataset ID",
            "type": "string",
            "description": "Get URLs to scrape from an Apify dataset"
          },
          "additionalPages": {
            "title": "Additional pages",
            "type": "boolean",
            "description": "Look for social handles on Contact Us and other pages",
            "default": false
          },
          "instagram": {
            "title": "Instagram",
            "type": "boolean",
            "description": "Scrape Instagram handles",
            "default": true
          },
          "facebook": {
            "title": "Facebook",
            "type": "boolean",
            "description": "Scrape Facebook handles",
            "default": true
          },
          "twitter": {
            "title": "Twitter / X",
            "type": "boolean",
            "description": "Scrape Twitter handles",
            "default": true
          },
          "youtube": {
            "title": "YouTube",
            "type": "boolean",
            "description": "Scrape YouTube handles",
            "default": true
          },
          "tiktok": {
            "title": "TikTok",
            "type": "boolean",
            "description": "Scrape TikTok handles",
            "default": true
          },
          "linkedin": {
            "title": "LinkedIn",
            "type": "boolean",
            "description": "Scrape LinkedIn handles",
            "default": true
          },
          "linkedinCompany": {
            "title": "LinkedIn Company",
            "type": "boolean",
            "description": "Scrape LinkedIn Company handles",
            "default": true
          },
          "reddit": {
            "title": "Reddit",
            "type": "boolean",
            "description": "Scrape Reddit handles"
          },
          "meetup": {
            "title": "Meetup",
            "type": "boolean",
            "description": "Scrape Meetup handles"
          },
          "pinterest": {
            "title": "Pinterest",
            "type": "boolean",
            "description": "Scrape Pinterest handles"
          },
          "behance": {
            "title": "Behance",
            "type": "boolean",
            "description": "Scrape Behance handles"
          },
          "dribbble": {
            "title": "Dribbble",
            "type": "boolean",
            "description": "Scrape Dribbble handles"
          },
          "snapchat": {
            "title": "Snapchat",
            "type": "boolean",
            "description": "Messaging Networks"
          },
          "whatsapp": {
            "title": "WhatsApp",
            "type": "boolean",
            "description": "Scrape WhatsApp handles"
          },
          "telegram": {
            "title": "Telegram",
            "type": "boolean",
            "description": "Scrape Telegram handles"
          },
          "discord": {
            "title": "Discord",
            "type": "boolean",
            "description": "Scrape Discord handles"
          },
          "twitch": {
            "title": "Twitch",
            "type": "boolean",
            "description": "Scrape Twitch handles"
          },
          "vimeo": {
            "title": "Vimeo",
            "type": "boolean",
            "description": "Scrape Vimeo handles"
          },
          "imdb": {
            "title": "IMDb",
            "type": "boolean",
            "description": "Scrape IMDb handles"
          },
          "letterboxd": {
            "title": "Letterboxd",
            "type": "boolean",
            "description": "Scrape Letterboxd handles"
          },
          "tumblr": {
            "title": "Tumblr",
            "type": "boolean",
            "description": "Scrape Tumblr handles"
          },
          "500px": {
            "title": "500px",
            "type": "boolean",
            "description": "Scrape 500px handles"
          },
          "flickr": {
            "title": "Flickr",
            "type": "boolean",
            "description": "Scrape Flickr handles"
          },
          "giphy": {
            "title": "Giphy",
            "type": "boolean",
            "description": "Scrape Giphy handles"
          },
          "medium": {
            "title": "Medium",
            "type": "boolean",
            "description": "Scrape Medium handles"
          },
          "goodreads": {
            "title": "Goodreads",
            "type": "boolean",
            "description": "Scrape Goodreads handles"
          },
          "github": {
            "title": "GitHub",
            "type": "boolean",
            "description": "Scrape GitHub handles"
          },
          "spotify": {
            "title": "Spotify",
            "type": "boolean",
            "description": "Scrape Spotify handles"
          },
          "soundcloud": {
            "title": "Soundcloud",
            "type": "boolean",
            "description": "Scrape Soundcloud handles"
          },
          "voltfm": {
            "title": "Volt.fm",
            "type": "boolean",
            "description": "Scrape Volt.fm handles"
          },
          "mixcloud": {
            "title": "Mixcloud",
            "type": "boolean",
            "description": "Scrape Mixcloud handles"
          },
          "tripadvisor": {
            "title": "TripAdvisor",
            "type": "boolean",
            "description": "Scrape TripAdvisor handles"
          },
          "yelp": {
            "title": "Yelp",
            "type": "boolean",
            "description": "Scrape Yelp handles"
          },
          "mapstr": {
            "title": "Mapstr",
            "type": "boolean",
            "description": "Scrape Mapstr handles"
          },
          "foursquare": {
            "title": "Foursquare",
            "type": "boolean",
            "description": "Scrape Foursquare handles"
          },
          "producthunt": {
            "title": "Product Hunt",
            "type": "boolean",
            "description": "Scrape Product Hunt handles"
          },
          "angelco": {
            "title": "Angel.co",
            "type": "boolean",
            "description": "Scrape Angel.co handles"
          },
          "treenation": {
            "title": "Tree Nation",
            "type": "boolean",
            "description": "Scrape Tree Nation handles"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}