![Example Image Download avatar](https://images.apifyusercontent.com/f5wIle4SuyxRuB-imqOhbQGT8X5_7yqfN6aH3-pXQis/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9ub3h1OHNkNEFGbXlHQllkeC9vTVE5aHdSNkV1c3NGRVo1TC0xMy5wbmc.webp)
Example Image Download
Try for free
No credit card required
View all Actors![Example Image Download](https://images.apifyusercontent.com/f5wIle4SuyxRuB-imqOhbQGT8X5_7yqfN6aH3-pXQis/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9ub3h1OHNkNEFGbXlHQllkeC9vTVE5aHdSNkV1c3NGRVo1TC0xMy5wbmc.webp)
![Example Image Download](https://images.apifyusercontent.com/f5wIle4SuyxRuB-imqOhbQGT8X5_7yqfN6aH3-pXQis/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9ub3h1OHNkNEFGbXlHQllkeC9vTVE5aHdSNkV1c3NGRVo1TC0xMy5wbmc.webp)
Example Image Download
lukaskrivka/download-image
Try for free
No credit card required
Download a single image from a URL and store it into a key-value store.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{}
7EOF
8
9# Run the Actor using an HTTP API
10# See the full API reference at https://docs.apify.com/api/v2
11curl "https://api.apify.com/v2/acts/lukaskrivka~download-image/runs?token=$API_TOKEN" \
12 -X POST \
13 -d @input.json \
14 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 5 monthly users
- 2 stars
- 43.8% runs succeeded
- Created in Nov 2019
- Modified 10 months ago
Categories