
Ultimate Facebook Scraper
3 days trial then $39.00/month - No credit card required now

Ultimate Facebook Scraper
3 days trial then $39.00/month - No credit card required now
All in one scraping solution to scrape any kind of data from facebook
Actor Metrics
55 Monthly users
5.0 / 5 (2)
15 bookmarks
84% runs succeeded
9.1 days response time
Created in Oct 2023
Modified 3 months ago
You can access the Ultimate Facebook 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": "1.0",
5 "x-build-id": "RfOFnvKcy3tQt5FCe"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/curious_coder~ultimate-facebook-scraper/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-curious_coder-ultimate-facebook-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/curious_coder~ultimate-facebook-scraper/runs": {
50 "post": {
51 "operationId": "runs-sync-curious_coder-ultimate-facebook-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/curious_coder~ultimate-facebook-scraper/run-sync": {
93 "post": {
94 "operationId": "run-sync-curious_coder-ultimate-facebook-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 "required": [
134 "action"
135 ],
136 "properties": {
137 "cookies": {
138 "title": "🍪 Cookies",
139 "type": "array",
140 "description": "Cookie used to authorize actor with facebook.com. Install [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) chrome extension. Login to your facebook.com account. Click on the extension and export the facebook.com cookies. Insert the contents here"
141 },
142 "action": {
143 "title": "Select action to perform",
144 "enum": [
145 "scrapeProfiles",
146 "scrapePeopleSearch",
147 "scrapeGroupMembers",
148 "scrapePosts",
149 "scrapeComments"
150 ],
151 "type": "string",
152 "description": "Actor will decide what kind of data it needs to scrape and from where it should scrape it based on selected action",
153 "default": "scrapeProfiles"
154 },
155 "scrapeProfiles.profileUrls": {
156 "title": "Facebook profile URLs",
157 "type": "array",
158 "description": "",
159 "items": {
160 "type": "string"
161 }
162 },
163 "scrapePeopleSearch.searchUrl": {
164 "title": "People search results page url",
165 "type": "string",
166 "description": ""
167 },
168 "scrapeGroupMembers.groupUrl": {
169 "title": "Group url",
170 "type": "string",
171 "description": ""
172 },
173 "scrapePosts.groupUrl": {
174 "title": "Link to group",
175 "type": "string",
176 "description": ""
177 },
178 "scrapeComments.postUrl": {
179 "title": "Link to post",
180 "type": "string",
181 "description": ""
182 },
183 "deepScrape": {
184 "title": "Deep scrape detail pages",
185 "type": "boolean",
186 "description": "Scraper will visit each page and extract more information",
187 "default": false
188 },
189 "cursor": {
190 "title": "▶️ Start from cursor",
191 "type": "string",
192 "description": "Use this field if you want to resume scraping from where the scraper stopped last time. You can find this value in default storage of scraper runs under **lastCursor** key",
193 "default": ""
194 },
195 "count": {
196 "title": "#️⃣ Total number of records required",
197 "type": "integer",
198 "description": "Leave this field empty if you want to scrape all items."
199 },
200 "proxy": {
201 "title": "🌐 Proxy",
202 "type": "object",
203 "description": "You must use a proxy from your country"
204 },
205 "minDelay": {
206 "title": "⏱️ Minimum wait duration",
207 "minimum": 0,
208 "type": "integer",
209 "description": "Minimum duration in seconds to wait before scraping next page",
210 "default": 0
211 },
212 "maxDelay": {
213 "title": "⏱️ Maximum wait duration",
214 "minimum": 6,
215 "type": "integer",
216 "description": "Maximum duration in seconds to wait before scraping next page",
217 "default": 3
218 }
219 }
220 },
221 "runsResponseSchema": {
222 "type": "object",
223 "properties": {
224 "data": {
225 "type": "object",
226 "properties": {
227 "id": {
228 "type": "string"
229 },
230 "actId": {
231 "type": "string"
232 },
233 "userId": {
234 "type": "string"
235 },
236 "startedAt": {
237 "type": "string",
238 "format": "date-time",
239 "example": "2025-01-08T00:00:00.000Z"
240 },
241 "finishedAt": {
242 "type": "string",
243 "format": "date-time",
244 "example": "2025-01-08T00:00:00.000Z"
245 },
246 "status": {
247 "type": "string",
248 "example": "READY"
249 },
250 "meta": {
251 "type": "object",
252 "properties": {
253 "origin": {
254 "type": "string",
255 "example": "API"
256 },
257 "userAgent": {
258 "type": "string"
259 }
260 }
261 },
262 "stats": {
263 "type": "object",
264 "properties": {
265 "inputBodyLen": {
266 "type": "integer",
267 "example": 2000
268 },
269 "rebootCount": {
270 "type": "integer",
271 "example": 0
272 },
273 "restartCount": {
274 "type": "integer",
275 "example": 0
276 },
277 "resurrectCount": {
278 "type": "integer",
279 "example": 0
280 },
281 "computeUnits": {
282 "type": "integer",
283 "example": 0
284 }
285 }
286 },
287 "options": {
288 "type": "object",
289 "properties": {
290 "build": {
291 "type": "string",
292 "example": "latest"
293 },
294 "timeoutSecs": {
295 "type": "integer",
296 "example": 300
297 },
298 "memoryMbytes": {
299 "type": "integer",
300 "example": 1024
301 },
302 "diskMbytes": {
303 "type": "integer",
304 "example": 2048
305 }
306 }
307 },
308 "buildId": {
309 "type": "string"
310 },
311 "defaultKeyValueStoreId": {
312 "type": "string"
313 },
314 "defaultDatasetId": {
315 "type": "string"
316 },
317 "defaultRequestQueueId": {
318 "type": "string"
319 },
320 "buildNumber": {
321 "type": "string",
322 "example": "1.0.0"
323 },
324 "containerUrl": {
325 "type": "string"
326 },
327 "usage": {
328 "type": "object",
329 "properties": {
330 "ACTOR_COMPUTE_UNITS": {
331 "type": "integer",
332 "example": 0
333 },
334 "DATASET_READS": {
335 "type": "integer",
336 "example": 0
337 },
338 "DATASET_WRITES": {
339 "type": "integer",
340 "example": 0
341 },
342 "KEY_VALUE_STORE_READS": {
343 "type": "integer",
344 "example": 0
345 },
346 "KEY_VALUE_STORE_WRITES": {
347 "type": "integer",
348 "example": 1
349 },
350 "KEY_VALUE_STORE_LISTS": {
351 "type": "integer",
352 "example": 0
353 },
354 "REQUEST_QUEUE_READS": {
355 "type": "integer",
356 "example": 0
357 },
358 "REQUEST_QUEUE_WRITES": {
359 "type": "integer",
360 "example": 0
361 },
362 "DATA_TRANSFER_INTERNAL_GBYTES": {
363 "type": "integer",
364 "example": 0
365 },
366 "DATA_TRANSFER_EXTERNAL_GBYTES": {
367 "type": "integer",
368 "example": 0
369 },
370 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
371 "type": "integer",
372 "example": 0
373 },
374 "PROXY_SERPS": {
375 "type": "integer",
376 "example": 0
377 }
378 }
379 },
380 "usageTotalUsd": {
381 "type": "number",
382 "example": 0.00005
383 },
384 "usageUsd": {
385 "type": "object",
386 "properties": {
387 "ACTOR_COMPUTE_UNITS": {
388 "type": "integer",
389 "example": 0
390 },
391 "DATASET_READS": {
392 "type": "integer",
393 "example": 0
394 },
395 "DATASET_WRITES": {
396 "type": "integer",
397 "example": 0
398 },
399 "KEY_VALUE_STORE_READS": {
400 "type": "integer",
401 "example": 0
402 },
403 "KEY_VALUE_STORE_WRITES": {
404 "type": "number",
405 "example": 0.00005
406 },
407 "KEY_VALUE_STORE_LISTS": {
408 "type": "integer",
409 "example": 0
410 },
411 "REQUEST_QUEUE_READS": {
412 "type": "integer",
413 "example": 0
414 },
415 "REQUEST_QUEUE_WRITES": {
416 "type": "integer",
417 "example": 0
418 },
419 "DATA_TRANSFER_INTERNAL_GBYTES": {
420 "type": "integer",
421 "example": 0
422 },
423 "DATA_TRANSFER_EXTERNAL_GBYTES": {
424 "type": "integer",
425 "example": 0
426 },
427 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
428 "type": "integer",
429 "example": 0
430 },
431 "PROXY_SERPS": {
432 "type": "integer",
433 "example": 0
434 }
435 }
436 }
437 }
438 }
439 }
440 }
441 }
442 }
443}
Ultimate Facebook 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 Ultimate Facebook 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: