Airbnb Scraper avatar

Airbnb Scraper

Try for free

1 day trial then $25.00/month - No credit card required now

Go to Store
Airbnb Scraper

Airbnb Scraper

onidivo/airbnb-scraper
Try for free

1 day trial then $25.00/month - No credit card required now

Crawl the Airbnb site and extract data about rentals. Scrape rental details for any location with many filters. Download and use the data in whatever way you want.

Developer
Maintained by Community

Actor Metrics

  • 73 monthly users

  • No reviews yet

  • 14 bookmarks

  • 99% runs succeeded

  • 42 days response time

  • Created in Feb 2024

  • Modified 3 months ago

You can access the Airbnb Scraper programmatically from your own applications by using the Apify API. You can also 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": "9X1vpEzpWSzsuzfLZ"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/onidivo~airbnb-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-onidivo-airbnb-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/onidivo~airbnb-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-onidivo-airbnb-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/onidivo~airbnb-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-onidivo-airbnb-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          "currency",
135          "proxyConfiguration"
136        ],
137        "properties": {
138          "location": {
139            "title": "Destination",
140            "type": "string",
141            "description": "The location to search.",
142            "default": "Malaga, Spain"
143          },
144          "startUrls": {
145            "title": "Airbnb room URLs",
146            "type": "array",
147            "description": "A list of room URLs (e.g., https://www.airbnb.com/rooms/31671872).",
148            "items": {
149              "type": "object",
150              "required": [
151                "url"
152              ],
153              "properties": {
154                "url": {
155                  "type": "string",
156                  "title": "URL of a web page",
157                  "format": "uri"
158                }
159              }
160            }
161          },
162          "maxItems": {
163            "title": "Number of homes",
164            "minimum": 1,
165            "type": "integer",
166            "description": "The maximum number of homes to scrape.",
167            "default": 100
168          },
169          "minPrice": {
170            "title": "Minimum price",
171            "type": "integer",
172            "description": "Filter listings based on a minimum price per night."
173          },
174          "maxPrice": {
175            "title": "Maximum price",
176            "type": "integer",
177            "description": "Filter listings based on a maximum price per night."
178          },
179          "checkIn": {
180            "title": "Check-in date (YYYY-MM-DD)",
181            "type": "string",
182            "description": ""
183          },
184          "checkOut": {
185            "title": "Check-out date (YYYY-MM-DD)",
186            "type": "string",
187            "description": ""
188          },
189          "extraData": {
190            "title": "Get more data",
191            "type": "boolean",
192            "description": "Get more data from the details page.",
193            "default": true
194          },
195          "maxReviews": {
196            "title": "Number of reviews",
197            "type": "integer",
198            "description": "The maximum number of reviews per home to scrape."
199          },
200          "calendarMonths": {
201            "title": "Availability for next months",
202            "minimum": 0,
203            "maximum": 12,
204            "type": "integer",
205            "description": "Scrape the host's calendar to monitor the listing's availability for future months. E.g. set 12 to get data for the whole year, set 0 to skip the calendar altogether.",
206            "default": 0
207          },
208          "addMoreHostInfo": {
209            "title": "Include host info",
210            "type": "boolean",
211            "description": "Scrape primary host info such as host URL and number of listings. This works in sync with the <i> Keep the dataset Excel friendly </i> toggle &#8593;",
212            "default": false
213          },
214          "currency": {
215            "title": "Currency",
216            "enum": [
217              "ADP",
218              "AED",
219              "AFA",
220              "AFN",
221              "ALK",
222              "ALL",
223              "AMD",
224              "ANG",
225              "AOA",
226              "AOK",
227              "AON",
228              "AOR",
229              "ARA",
230              "ARP",
231              "ARS",
232              "ARY",
233              "ATS",
234              "AUD",
235              "AWG",
236              "AYM",
237              "AZM",
238              "AZN",
239              "BAD",
240              "BAM",
241              "BBD",
242              "BDT",
243              "BEC",
244              "BEF",
245              "BEL",
246              "BGJ",
247              "BGK",
248              "BGL",
249              "BGN",
250              "BHD",
251              "BIF",
252              "BMD",
253              "BND",
254              "BOB",
255              "BOP",
256              "BOV",
257              "BRB",
258              "BRC",
259              "BRE",
260              "BRL",
261              "BRN",
262              "BRR",
263              "BSD",
264              "BTN",
265              "BUK",
266              "BWP",
267              "BYB",
268              "BYN",
269              "BYR",
270              "BZD",
271              "CAD",
272              "CDF",
273              "CHC",
274              "CHE",
275              "CHF",
276              "CHW",
277              "CLF",
278              "CLP",
279              "CNX",
280              "CNY",
281              "COP",
282              "COU",
283              "CRC",
284              "CSD",
285              "CSJ",
286              "CSK",
287              "CUC",
288              "CUP",
289              "CVE",
290              "CYP",
291              "CZK",
292              "DDM",
293              "DEM",
294              "DJF",
295              "DKK",
296              "DOP",
297              "DZD",
298              "ECS",
299              "ECV",
300              "EEK",
301              "EGP",
302              "ERN",
303              "ESA",
304              "ESB",
305              "ESP",
306              "ETB",
307              "EUR",
308              "FIM",
309              "FJD",
310              "FKP",
311              "FRF",
312              "GBP",
313              "GEK",
314              "GEL",
315              "GHC",
316              "GHP",
317              "GHS",
318              "GIP",
319              "GMD",
320              "GNE",
321              "GNF",
322              "GNS",
323              "GQE",
324              "GRD",
325              "GTQ",
326              "GWE",
327              "GWP",
328              "GYD",
329              "HKD",
330              "HNL",
331              "HRD",
332              "HRK",
333              "HTG",
334              "HUF",
335              "IDR",
336              "IEP",
337              "ILP",
338              "ILR",
339              "ILS",
340              "INR",
341              "IQD",
342              "IRR",
343              "ISJ",
344              "ISK",
345              "ITL",
346              "JMD",
347              "JOD",
348              "JPY",
349              "KES",
350              "KGS",
351              "KHR",
352              "KMF",
353              "KPW",
354              "KRW",
355              "KWD",
356              "KYD",
357              "KZT",
358              "LAJ",
359              "LAK",
360              "LBP",
361              "LKR",
362              "LRD",
363              "LSL",
364              "LSM",
365              "LTL",
366              "LTT",
367              "LUC",
368              "LUF",
369              "LUL",
370              "LVL",
371              "LVR",
372              "LYD",
373              "MAD",
374              "MDL",
375              "MGA",
376              "MGF",
377              "MKD",
378              "MLF",
379              "MMK",
380              "MNT",
381              "MOP",
382              "MRO",
383              "MTL",
384              "MTP",
385              "MUR",
386              "MVQ",
387              "MVR",
388              "MWK",
389              "MXN",
390              "MXP",
391              "MXV",
392              "MYR",
393              "MZE",
394              "MZM",
395              "MZN",
396              "NAD",
397              "NGN",
398              "NIC",
399              "NIO",
400              "NLG",
401              "NOK",
402              "NPR",
403              "NZD",
404              "OMR",
405              "PAB",
406              "PEH",
407              "PEI",
408              "PEN",
409              "PES",
410              "PGK",
411              "PHP",
412              "PKR",
413              "PLN",
414              "PLZ",
415              "PTE",
416              "PYG",
417              "QAR",
418              "RHD",
419              "ROK",
420              "ROL",
421              "RON",
422              "RSD",
423              "RUB",
424              "RUR",
425              "RWF",
426              "SAR",
427              "SBD",
428              "SCR",
429              "SDD",
430              "SDG",
431              "SDP",
432              "SEK",
433              "SGD",
434              "SHP",
435              "SIT",
436              "SKK",
437              "SLL",
438              "SOS",
439              "SRD",
440              "SRG",
441              "SSP",
442              "STD",
443              "SUR",
444              "SVC",
445              "SYP",
446              "SZL",
447              "THB",
448              "TJR",
449              "TJS",
450              "TMM",
451              "TMT",
452              "TND",
453              "TOP",
454              "TPE",
455              "TRL",
456              "TRY",
457              "TTD",
458              "TWD",
459              "TZS",
460              "UAH",
461              "UAK",
462              "UGS",
463              "UGW",
464              "UGX",
465              "USD",
466              "USN",
467              "USS",
468              "UYI",
469              "UYN",
470              "UYP",
471              "UYU",
472              "UZS",
473              "VEB",
474              "VEF",
475              "VNC",
476              "VND",
477              "VUV",
478              "WST",
479              "XAF",
480              "XAG",
481              "XAU",
482              "XBA",
483              "XBB",
484              "XBC",
485              "XBD",
486              "XCD",
487              "XDR",
488              "XEU",
489              "XFO",
490              "XFU",
491              "XOF",
492              "XPD",
493              "XPF",
494              "XPT",
495              "XRE",
496              "XSU",
497              "XTS",
498              "XUA",
499              "XXX",
500              "YDD",
501              "YER",
502              "YUD",
503              "YUM",
504              "YUN",
505              "ZAL",
506              "ZAR",
507              "ZMK",
508              "ZMW",
509              "ZRN",
510              "ZRZ",
511              "ZWC",
512              "ZWD",
513              "ZWL",
514              "ZWN",
515              "ZWR"
516            ],
517            "type": "string",
518            "description": "Currency for displayed prices.",
519            "default": "USD"
520          },
521          "limitPoints": {
522            "title": "Limit Geo points",
523            "minimum": 1,
524            "type": "integer",
525            "description": "The maximum number of geo points of location (got using nominatim API).",
526            "default": 100
527          },
528          "proxyConfiguration": {
529            "title": "Proxy configuration",
530            "type": "object",
531            "description": "Use Apify Proxy or your custom Proxy.",
532            "default": {
533              "useApifyProxy": true
534            }
535          },
536          "maxConcurrency": {
537            "title": "Max concurrency",
538            "minimum": 1,
539            "type": "integer",
540            "description": "Defines how many pages can be processed by the scraper in parallel. The scraper automatically increases and decreases concurrency based on available system resources. Use this option to set a hard limit.",
541            "default": 50
542          },
543          "timeoutMs": {
544            "title": "Timeout milliseconds",
545            "minimum": 60000,
546            "type": "integer",
547            "description": "Override the timeout for request fetching.",
548            "default": 60000
549          }
550        }
551      },
552      "runsResponseSchema": {
553        "type": "object",
554        "properties": {
555          "data": {
556            "type": "object",
557            "properties": {
558              "id": {
559                "type": "string"
560              },
561              "actId": {
562                "type": "string"
563              },
564              "userId": {
565                "type": "string"
566              },
567              "startedAt": {
568                "type": "string",
569                "format": "date-time",
570                "example": "2025-01-08T00:00:00.000Z"
571              },
572              "finishedAt": {
573                "type": "string",
574                "format": "date-time",
575                "example": "2025-01-08T00:00:00.000Z"
576              },
577              "status": {
578                "type": "string",
579                "example": "READY"
580              },
581              "meta": {
582                "type": "object",
583                "properties": {
584                  "origin": {
585                    "type": "string",
586                    "example": "API"
587                  },
588                  "userAgent": {
589                    "type": "string"
590                  }
591                }
592              },
593              "stats": {
594                "type": "object",
595                "properties": {
596                  "inputBodyLen": {
597                    "type": "integer",
598                    "example": 2000
599                  },
600                  "rebootCount": {
601                    "type": "integer",
602                    "example": 0
603                  },
604                  "restartCount": {
605                    "type": "integer",
606                    "example": 0
607                  },
608                  "resurrectCount": {
609                    "type": "integer",
610                    "example": 0
611                  },
612                  "computeUnits": {
613                    "type": "integer",
614                    "example": 0
615                  }
616                }
617              },
618              "options": {
619                "type": "object",
620                "properties": {
621                  "build": {
622                    "type": "string",
623                    "example": "latest"
624                  },
625                  "timeoutSecs": {
626                    "type": "integer",
627                    "example": 300
628                  },
629                  "memoryMbytes": {
630                    "type": "integer",
631                    "example": 1024
632                  },
633                  "diskMbytes": {
634                    "type": "integer",
635                    "example": 2048
636                  }
637                }
638              },
639              "buildId": {
640                "type": "string"
641              },
642              "defaultKeyValueStoreId": {
643                "type": "string"
644              },
645              "defaultDatasetId": {
646                "type": "string"
647              },
648              "defaultRequestQueueId": {
649                "type": "string"
650              },
651              "buildNumber": {
652                "type": "string",
653                "example": "1.0.0"
654              },
655              "containerUrl": {
656                "type": "string"
657              },
658              "usage": {
659                "type": "object",
660                "properties": {
661                  "ACTOR_COMPUTE_UNITS": {
662                    "type": "integer",
663                    "example": 0
664                  },
665                  "DATASET_READS": {
666                    "type": "integer",
667                    "example": 0
668                  },
669                  "DATASET_WRITES": {
670                    "type": "integer",
671                    "example": 0
672                  },
673                  "KEY_VALUE_STORE_READS": {
674                    "type": "integer",
675                    "example": 0
676                  },
677                  "KEY_VALUE_STORE_WRITES": {
678                    "type": "integer",
679                    "example": 1
680                  },
681                  "KEY_VALUE_STORE_LISTS": {
682                    "type": "integer",
683                    "example": 0
684                  },
685                  "REQUEST_QUEUE_READS": {
686                    "type": "integer",
687                    "example": 0
688                  },
689                  "REQUEST_QUEUE_WRITES": {
690                    "type": "integer",
691                    "example": 0
692                  },
693                  "DATA_TRANSFER_INTERNAL_GBYTES": {
694                    "type": "integer",
695                    "example": 0
696                  },
697                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
698                    "type": "integer",
699                    "example": 0
700                  },
701                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
702                    "type": "integer",
703                    "example": 0
704                  },
705                  "PROXY_SERPS": {
706                    "type": "integer",
707                    "example": 0
708                  }
709                }
710              },
711              "usageTotalUsd": {
712                "type": "number",
713                "example": 0.00005
714              },
715              "usageUsd": {
716                "type": "object",
717                "properties": {
718                  "ACTOR_COMPUTE_UNITS": {
719                    "type": "integer",
720                    "example": 0
721                  },
722                  "DATASET_READS": {
723                    "type": "integer",
724                    "example": 0
725                  },
726                  "DATASET_WRITES": {
727                    "type": "integer",
728                    "example": 0
729                  },
730                  "KEY_VALUE_STORE_READS": {
731                    "type": "integer",
732                    "example": 0
733                  },
734                  "KEY_VALUE_STORE_WRITES": {
735                    "type": "number",
736                    "example": 0.00005
737                  },
738                  "KEY_VALUE_STORE_LISTS": {
739                    "type": "integer",
740                    "example": 0
741                  },
742                  "REQUEST_QUEUE_READS": {
743                    "type": "integer",
744                    "example": 0
745                  },
746                  "REQUEST_QUEUE_WRITES": {
747                    "type": "integer",
748                    "example": 0
749                  },
750                  "DATA_TRANSFER_INTERNAL_GBYTES": {
751                    "type": "integer",
752                    "example": 0
753                  },
754                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
755                    "type": "integer",
756                    "example": 0
757                  },
758                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
759                    "type": "integer",
760                    "example": 0
761                  },
762                  "PROXY_SERPS": {
763                    "type": "integer",
764                    "example": 0
765                  }
766                }
767              }
768            }
769          }
770        }
771      }
772    }
773  }
774}

Airbnb 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 Airbnb 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: