Social Handle Scraper avatar

Social Handle Scraper

Try for free

3 days trial then $5.00/month - No credit card required now

Go to Store
Social Handle Scraper

Social Handle Scraper

slash-scrape/social-handle-scraper
Try for free

3 days trial then $5.00/month - No credit card required now

Scrape usernames for social networks like Instagram, Facebook, YouTube, Twitter, TikTok, LinkedIn and many others

You can access the Social Handle Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "NT2KAKAzzWuJgF7Sx"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/slash-scrape~social-handle-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-slash-scrape-social-handle-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/slash-scrape~social-handle-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-slash-scrape-social-handle-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/slash-scrape~social-handle-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-slash-scrape-social-handle-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "properties": {
134          "targets": {
135            "title": "URLs",
136            "uniqueItems": true,
137            "type": "array",
138            "description": "List of URLs to scrape social handles from",
139            "items": {
140              "type": "object",
141              "required": [
142                "url"
143              ],
144              "properties": {
145                "url": {
146                  "type": "string",
147                  "title": "URL of a web page",
148                  "format": "uri"
149                }
150              }
151            }
152          },
153          "datasetId": {
154            "title": "Dataset ID",
155            "type": "string",
156            "description": "Get URLs to scrape from an Apify dataset"
157          },
158          "additionalPages": {
159            "title": "Additional pages",
160            "type": "boolean",
161            "description": "Look for social handles on Contact Us and other pages",
162            "default": false
163          },
164          "instagram": {
165            "title": "Instagram",
166            "type": "boolean",
167            "description": "Scrape Instagram handles",
168            "default": true
169          },
170          "facebook": {
171            "title": "Facebook",
172            "type": "boolean",
173            "description": "Scrape Facebook handles",
174            "default": true
175          },
176          "twitter": {
177            "title": "Twitter / X",
178            "type": "boolean",
179            "description": "Scrape Twitter handles",
180            "default": true
181          },
182          "youtube": {
183            "title": "YouTube",
184            "type": "boolean",
185            "description": "Scrape YouTube handles",
186            "default": true
187          },
188          "tiktok": {
189            "title": "TikTok",
190            "type": "boolean",
191            "description": "Scrape TikTok handles",
192            "default": true
193          },
194          "linkedin": {
195            "title": "LinkedIn",
196            "type": "boolean",
197            "description": "Scrape LinkedIn handles",
198            "default": true
199          },
200          "linkedinCompany": {
201            "title": "LinkedIn Company",
202            "type": "boolean",
203            "description": "Scrape LinkedIn Company handles",
204            "default": true
205          },
206          "reddit": {
207            "title": "Reddit",
208            "type": "boolean",
209            "description": "Scrape Reddit handles"
210          },
211          "meetup": {
212            "title": "Meetup",
213            "type": "boolean",
214            "description": "Scrape Meetup handles"
215          },
216          "pinterest": {
217            "title": "Pinterest",
218            "type": "boolean",
219            "description": "Scrape Pinterest handles"
220          },
221          "behance": {
222            "title": "Behance",
223            "type": "boolean",
224            "description": "Scrape Behance handles"
225          },
226          "dribbble": {
227            "title": "Dribbble",
228            "type": "boolean",
229            "description": "Scrape Dribbble handles"
230          },
231          "snapchat": {
232            "title": "Snapchat",
233            "type": "boolean",
234            "description": "Messaging Networks"
235          },
236          "whatsapp": {
237            "title": "WhatsApp",
238            "type": "boolean",
239            "description": "Scrape WhatsApp handles"
240          },
241          "telegram": {
242            "title": "Telegram",
243            "type": "boolean",
244            "description": "Scrape Telegram handles"
245          },
246          "discord": {
247            "title": "Discord",
248            "type": "boolean",
249            "description": "Scrape Discord handles"
250          },
251          "twitch": {
252            "title": "Twitch",
253            "type": "boolean",
254            "description": "Scrape Twitch handles"
255          },
256          "vimeo": {
257            "title": "Vimeo",
258            "type": "boolean",
259            "description": "Scrape Vimeo handles"
260          },
261          "imdb": {
262            "title": "IMDb",
263            "type": "boolean",
264            "description": "Scrape IMDb handles"
265          },
266          "letterboxd": {
267            "title": "Letterboxd",
268            "type": "boolean",
269            "description": "Scrape Letterboxd handles"
270          },
271          "tumblr": {
272            "title": "Tumblr",
273            "type": "boolean",
274            "description": "Scrape Tumblr handles"
275          },
276          "500px": {
277            "title": "500px",
278            "type": "boolean",
279            "description": "Scrape 500px handles"
280          },
281          "flickr": {
282            "title": "Flickr",
283            "type": "boolean",
284            "description": "Scrape Flickr handles"
285          },
286          "giphy": {
287            "title": "Giphy",
288            "type": "boolean",
289            "description": "Scrape Giphy handles"
290          },
291          "medium": {
292            "title": "Medium",
293            "type": "boolean",
294            "description": "Scrape Medium handles"
295          },
296          "goodreads": {
297            "title": "Goodreads",
298            "type": "boolean",
299            "description": "Scrape Goodreads handles"
300          },
301          "github": {
302            "title": "GitHub",
303            "type": "boolean",
304            "description": "Scrape GitHub handles"
305          },
306          "spotify": {
307            "title": "Spotify",
308            "type": "boolean",
309            "description": "Scrape Spotify handles"
310          },
311          "soundcloud": {
312            "title": "Soundcloud",
313            "type": "boolean",
314            "description": "Scrape Soundcloud handles"
315          },
316          "voltfm": {
317            "title": "Volt.fm",
318            "type": "boolean",
319            "description": "Scrape Volt.fm handles"
320          },
321          "mixcloud": {
322            "title": "Mixcloud",
323            "type": "boolean",
324            "description": "Scrape Mixcloud handles"
325          },
326          "tripadvisor": {
327            "title": "TripAdvisor",
328            "type": "boolean",
329            "description": "Scrape TripAdvisor handles"
330          },
331          "yelp": {
332            "title": "Yelp",
333            "type": "boolean",
334            "description": "Scrape Yelp handles"
335          },
336          "mapstr": {
337            "title": "Mapstr",
338            "type": "boolean",
339            "description": "Scrape Mapstr handles"
340          },
341          "foursquare": {
342            "title": "Foursquare",
343            "type": "boolean",
344            "description": "Scrape Foursquare handles"
345          },
346          "producthunt": {
347            "title": "Product Hunt",
348            "type": "boolean",
349            "description": "Scrape Product Hunt handles"
350          },
351          "angelco": {
352            "title": "Angel.co",
353            "type": "boolean",
354            "description": "Scrape Angel.co handles"
355          },
356          "treenation": {
357            "title": "Tree Nation",
358            "type": "boolean",
359            "description": "Scrape Tree Nation handles"
360          }
361        }
362      },
363      "runsResponseSchema": {
364        "type": "object",
365        "properties": {
366          "data": {
367            "type": "object",
368            "properties": {
369              "id": {
370                "type": "string"
371              },
372              "actId": {
373                "type": "string"
374              },
375              "userId": {
376                "type": "string"
377              },
378              "startedAt": {
379                "type": "string",
380                "format": "date-time",
381                "example": "2025-01-08T00:00:00.000Z"
382              },
383              "finishedAt": {
384                "type": "string",
385                "format": "date-time",
386                "example": "2025-01-08T00:00:00.000Z"
387              },
388              "status": {
389                "type": "string",
390                "example": "READY"
391              },
392              "meta": {
393                "type": "object",
394                "properties": {
395                  "origin": {
396                    "type": "string",
397                    "example": "API"
398                  },
399                  "userAgent": {
400                    "type": "string"
401                  }
402                }
403              },
404              "stats": {
405                "type": "object",
406                "properties": {
407                  "inputBodyLen": {
408                    "type": "integer",
409                    "example": 2000
410                  },
411                  "rebootCount": {
412                    "type": "integer",
413                    "example": 0
414                  },
415                  "restartCount": {
416                    "type": "integer",
417                    "example": 0
418                  },
419                  "resurrectCount": {
420                    "type": "integer",
421                    "example": 0
422                  },
423                  "computeUnits": {
424                    "type": "integer",
425                    "example": 0
426                  }
427                }
428              },
429              "options": {
430                "type": "object",
431                "properties": {
432                  "build": {
433                    "type": "string",
434                    "example": "latest"
435                  },
436                  "timeoutSecs": {
437                    "type": "integer",
438                    "example": 300
439                  },
440                  "memoryMbytes": {
441                    "type": "integer",
442                    "example": 1024
443                  },
444                  "diskMbytes": {
445                    "type": "integer",
446                    "example": 2048
447                  }
448                }
449              },
450              "buildId": {
451                "type": "string"
452              },
453              "defaultKeyValueStoreId": {
454                "type": "string"
455              },
456              "defaultDatasetId": {
457                "type": "string"
458              },
459              "defaultRequestQueueId": {
460                "type": "string"
461              },
462              "buildNumber": {
463                "type": "string",
464                "example": "1.0.0"
465              },
466              "containerUrl": {
467                "type": "string"
468              },
469              "usage": {
470                "type": "object",
471                "properties": {
472                  "ACTOR_COMPUTE_UNITS": {
473                    "type": "integer",
474                    "example": 0
475                  },
476                  "DATASET_READS": {
477                    "type": "integer",
478                    "example": 0
479                  },
480                  "DATASET_WRITES": {
481                    "type": "integer",
482                    "example": 0
483                  },
484                  "KEY_VALUE_STORE_READS": {
485                    "type": "integer",
486                    "example": 0
487                  },
488                  "KEY_VALUE_STORE_WRITES": {
489                    "type": "integer",
490                    "example": 1
491                  },
492                  "KEY_VALUE_STORE_LISTS": {
493                    "type": "integer",
494                    "example": 0
495                  },
496                  "REQUEST_QUEUE_READS": {
497                    "type": "integer",
498                    "example": 0
499                  },
500                  "REQUEST_QUEUE_WRITES": {
501                    "type": "integer",
502                    "example": 0
503                  },
504                  "DATA_TRANSFER_INTERNAL_GBYTES": {
505                    "type": "integer",
506                    "example": 0
507                  },
508                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
509                    "type": "integer",
510                    "example": 0
511                  },
512                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
513                    "type": "integer",
514                    "example": 0
515                  },
516                  "PROXY_SERPS": {
517                    "type": "integer",
518                    "example": 0
519                  }
520                }
521              },
522              "usageTotalUsd": {
523                "type": "number",
524                "example": 0.00005
525              },
526              "usageUsd": {
527                "type": "object",
528                "properties": {
529                  "ACTOR_COMPUTE_UNITS": {
530                    "type": "integer",
531                    "example": 0
532                  },
533                  "DATASET_READS": {
534                    "type": "integer",
535                    "example": 0
536                  },
537                  "DATASET_WRITES": {
538                    "type": "integer",
539                    "example": 0
540                  },
541                  "KEY_VALUE_STORE_READS": {
542                    "type": "integer",
543                    "example": 0
544                  },
545                  "KEY_VALUE_STORE_WRITES": {
546                    "type": "number",
547                    "example": 0.00005
548                  },
549                  "KEY_VALUE_STORE_LISTS": {
550                    "type": "integer",
551                    "example": 0
552                  },
553                  "REQUEST_QUEUE_READS": {
554                    "type": "integer",
555                    "example": 0
556                  },
557                  "REQUEST_QUEUE_WRITES": {
558                    "type": "integer",
559                    "example": 0
560                  },
561                  "DATA_TRANSFER_INTERNAL_GBYTES": {
562                    "type": "integer",
563                    "example": 0
564                  },
565                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
566                    "type": "integer",
567                    "example": 0
568                  },
569                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
570                    "type": "integer",
571                    "example": 0
572                  },
573                  "PROXY_SERPS": {
574                    "type": "integer",
575                    "example": 0
576                  }
577                }
578              }
579            }
580          }
581        }
582      }
583    }
584  }
585}

Social Handle Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Social Handle Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 14 monthly users

  • 9 bookmarks

  • 91% runs succeeded

  • Created in Jan 2024

  • Modified 3 months ago