Airbnb Image Downloader avatar

Airbnb Image Downloader

Pricing

from $2.97 / 1,000 images

Go to Apify Store
Airbnb Image Downloader

Airbnb Image Downloader

Provide an Airbnb listing URL, and this actor will download all the images, zip them, and give you a download link for the zipped file.

Pricing

from $2.97 / 1,000 images

Rating

0.0

(0)

Developer

Data Scrapers

Data Scrapers

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

Airbnb Image Downloader creates one dataset record for the photos on an Airbnb room URL. The record includes how many image URLs were found, how many JPEG files were saved, how many failed, and a download_url for a zip of the saved files in the run's key-value store. Query the source with one airbnb_url. The zip is also stored under the key images.zip. Retrieve the record through the Apify Dataset API, or export it as JSON, CSV, Excel, XML, or another supported format.

Airbnb Image Downloader — input to structured data

Dataset at a glance

PropertyValue
SourceImage URLs on one Airbnb room page
Record unitOne download result for that URL
Input methodsOne Airbnb listing URL in airbnb_url
Main identifiersNone on the record. The room id is only in the input URL.
DeliveryApify Dataset, plus images.zip in the key-value store
Export formatsJSON, CSV, Excel, XML, and other Apify dataset exports. The photos are a zip.
Update modelFresh download per Actor run
Pricingimage at $3.00, $2.99, $2.98, and $2.97 per 1,000 saved images, plus platform usage.

Coverage and available records

The Actor requires airbnb_url. It takes the last path segment, before any query string, as the folder name. For https://www.airbnb.com/rooms/782682596976136912 that segment is 782682596976136912.

It collects the listing's image URLs, downloads each one as {index}.jpg in that order, and retries failures up to three times with one second between tries. It writes images.zip to the default key-value store with content type application/zip. The dataset item's download_url is:

https://api.apify.com/v2/key-value-stores/{storeId}/records/images.zip

{storeId} is the run's default key-value store id. The zip contains only the JPEG files that downloaded. File names are 0.jpg, 1.jpg, and so on, matching the image URL order. Failed indexes are omitted from the zip and listed in failed_indices when any remain.

The dataset item does not include the source URL, the image URLs, captions, or the photo bytes. This project has no saved dataset item from a completed run. The fields below are the keys main.py writes.

One run produces one dataset item, even when the listing has many photos. There is no maxItems input and no second listing in the same run.

Data dictionary

FieldTypeNullableDescriptionExample
download_urlstringNoAPI URL of images.zip in this run's key-value store..../records/images.zip
total_imagesintegerNoCount of image URLs found on the listing.Set by the run
downloaded_imagesintegerNoCount of JPEG files written into the zip.Set by the run
failed_imagesintegerNoCount of image URLs that still failed after retries.Set by the run
failed_indicesarray of integersConditionalOriginal indexes that failed. Omitted when every download succeeds.Present only on failure

The zip entry images.zip is not a dataset field. Open download_url to retrieve it. Deduplicate outside the dataset with the room id from airbnb_url. The Actor does not write that id onto the record.

Example dataset record

No captured dataset item is stored in this project. The object below is the shape main.py writes after a run in which every download succeeds. Replace {storeId} with the run's key-value store id. The integers are produced by that run and are not taken from a saved sample.

{
"download_url": "https://api.apify.com/v2/key-value-stores/{storeId}/records/images.zip",
"total_images": 0,
"downloaded_images": 0,
"failed_images": 0
}

total_images, downloaded_images, and failed_images are integers in a real run. They are shown as 0 here only because this folder has no saved item. Do not treat 0 as a measured count. When downloads fail, the same object also includes failed_indices, an array of integers.

Query and input reference

InputTypeRequiredDefaultAccepted valuesDescription
airbnb_urlstringYeshttps://www.airbnb.com/rooms/782682596976136912One Airbnb listing URLPage whose images are downloaded.
proxyConfigurationobjectNoApify residentialApify proxy inputConnection used for the listing and image requests.
{
"airbnb_url": "https://www.airbnb.com/rooms/782682596976136912",
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

An empty airbnb_url stops the run before any download.

Retrieve the data through the API

This is the Apify Actor API. Airbnb does not provide this endpoint.

  1. Start datascrapers/airbnb-images-downloader with a JSON input.
  2. Wait until the run finishes, or poll the run status.
  3. Read the single item from the run's default dataset.
  4. Download the zip from download_url, or from the key-value store key images.zip.
from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("datascrapers/airbnb-images-downloader").call(run_input={
"airbnb_url": "https://www.airbnb.com/rooms/782682596976136912",
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items[0]["download_url"])

Other languages are listed on the Actor's API tab in Apify Console. Do not put a real token in a URL or in source control.

Export and pipeline examples

DestinationRecommended methodTypical use
Object storageHTTP GET of download_urlKeep the zip of JPEG files
PostgreSQL or SupabaseDataset APIStore the input room id with the four count fields
Google SheetsApify integrationTrack download success counts
A custom applicationKey-value store record images.zipUnzip 0.jpg, 1.jpg, and the rest in URL order

Data quality and record handling

Image URLs come from the listing page. Files are downloaded in that order and named by index. Each failed URL is retried up to three times. Indexes that still fail are excluded from the zip, counted in failed_images, and listed in failed_indices. A run can finish with a zip that contains fewer files than total_images.

downloaded_images plus failed_images equals total_images when the counts are consistent with that logic. The source URL is not written to the dataset. The folder name on disk during the run is the listing id path segment, but that name is not a dataset field.

There is no saved sample in this project, so this page does not claim a photo count for the default URL. The default input value is https://www.airbnb.com/rooms/782682596976136912.

Pricing and cost examples

Each JPEG saved into the zip is one image event. The dataset is still one row plus images.zip. Prices per 1,000 images are $3.00, $2.99, $2.98, and $2.97 across the plans, which is $0.003, $0.00299, $0.00298, and $0.00297 per image. The two highest plans use $2.97 per 1,000. A run that saves 44 images on the first plan is 44 × $0.003 = $0.132. Images that fail to download are not charged. Compute time and download traffic are platform usage on top of that.

Limitations and responsible data use

The Actor downloads images linked from one public Airbnb listing URL and packs the successful files into a zip. It does not return captions, room labels, or a historical archive. A later run can see a different photo set.

Failed files are absent from the zip. The dataset row does not repeat the source URL. Image files are the listing's photos. You are responsible for using them in line with Airbnb terms, copyright, privacy rules, and any contract that applies to your project. This page does not provide a legal conclusion about a particular use.

Dataset questions

What does one dataset item represent?

One download result for one airbnb_url: counts plus the zip URL. The photos are the zip, not extra dataset rows.

Which field should I use as a unique identifier?

The record has no listing id. Use the room id from airbnb_url outside the dataset. download_url changes with every run because the key-value store id changes.

Are fields nullable or conditional?

failed_indices is omitted when every image downloads. The other four fields are written on every saved item. This page has no captured item, so it does not show a live null.

Can I retrieve the records as CSV or JSON?

Yes for the count record. Download JSON, CSV, Excel, XML, or another format from the Apify Console export menu. The photos are the zip at download_url, not columns in the CSV.

How do I paginate large datasets?

A run writes one dataset item. Page the zip internally by JPEG file name. The Actor does not accept a list of listings.

Does the Actor return historical data?

No. The zip is the images found during that run.

What counts as a billable result?

Each saved JPEG is one image event. A failed download is not charged. The dataset row itself is not a separate event. Image download traffic is platform usage.

Data Scrapers support

Need an additional field, record type, or export workflow? Contact Data Scrapers at stardustspotlight@gmail.com. Include a sample source URL, required fields, expected record volume, and preferred delivery format.