![Example Image Download avatar](https://images.apifyusercontent.com/tYnIBLOC-2OR_WNbg59f3R0hjNJZsRE78LqKgevnFxY/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9ub3h1OHNkNEFGbXlHQllkeC9vTVE5aHdSNkV1c3NGRVo1TC0xMy5wbmc.webp)
Example Image Download
Try for free
No credit card required
View all Actors![Example Image Download](https://images.apifyusercontent.com/tYnIBLOC-2OR_WNbg59f3R0hjNJZsRE78LqKgevnFxY/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9ub3h1OHNkNEFGbXlHQllkeC9vTVE5aHdSNkV1c3NGRVo1TC0xMy5wbmc.webp)
![Example Image Download](https://images.apifyusercontent.com/tYnIBLOC-2OR_WNbg59f3R0hjNJZsRE78LqKgevnFxY/rs:fill:250:250/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
- 6 monthly users
- 3 stars
- 35.8% runs succeeded
- 4.3 days response time
- Created in Nov 2019
- Modified 11 months ago
Categories