Images
JavaScript-APIs-For-Developers
r/learnjavascript - Put together a list of awesome free APIs you can use in your next JavaScript project
Calling the OCR API from Javascript
JSON with Abstract Technology Binary code Background.Digital binary data and Secure Data Concept. Software / Web Developer Programming Code and JSON. JSON Java Script Abstract Computer Script"n JSON with Abstract Technology Binary code Background.Digital binary data and Secure Data Concept. Software / Web Developer Programming Code and JSON. JSON Java Script Abstract Computer Script"n json stock pictures, royalty-free photos & images
JavaScript, php and Ruby on Rails libraries illustration
JSON format, download file, edit document icons JSON format, download file, edit document icons json stock illustrations
Close-up view of JavaScript code handling real-time message events, designed for backend communication in modern chat or notification applications. Close-up view of JavaScript code handling real-time message events, designed for backend communication in modern chat or notification applications. json stock pictures, royalty-free photos & images
JSON document file sign 3d render concept for mobile application JSON document file sign 3d render concept for mobile application developer ux ui design json stock pictures, royalty-free photos & images
Json Csv converter concept. Two tables in different formats and circular arrow indicating the direction of conversion. Convert data between JSON and CSV formats vector illustration Json Csv converter concept. Two tables in different formats and circular arrow indicating the direction of conversion. Convert data between JSON and CSV formats vector illustration. json stock illustrations
JSON file format flat round icons JSON file format flat white icons on round color backgrounds json stock illustrations
🌐
Unsplash
unsplash.com β€Ί developers
Unsplash Image API | Free HD Photo API
Every image URL returned by the API can easily be manipulated to dynamically adjust the dimensions, crop, and quality of the image in realtime. ... We maintain official libraries in JavaScript, PHP, and Ruby.
🌐
Pixabay
pixabay.com β€Ί api β€Ί docs
Pixabay API Documentation
Free Images If you make use of the API, show your users where the images and videos are from, whenever search results are displayed. That's the one thing we kindly request in return for free API usage. The API returns JSON-encoded objects. Hash keys and values are case-sensitive and character ...
Discussions

How to display images using Javascript and JSON - Stack Overflow
I have to display images to the browser and I want to get the image from a JSON response and display it to the browser using Javascript. This is what the JSON response looks like: [{ "0":"101"... More on stackoverflow.com
🌐 stackoverflow.com
ajax - What free and public image JSON API can I use for testing JSON request - Stack Overflow
I'm playing around with AngularJS and would like to use some free API's to get some images. I was looking at Flickr but you need to register a app to make use of it. I'm looking for something I can... More on stackoverflow.com
🌐 stackoverflow.com
January 5, 2019
Need api for free images
maybe https://picsum.photos/ More on reddit.com
🌐 r/webdev
22
15
January 17, 2024
FREE API FOR IMAGE GENERATION
Google imagen is free. Get a developer account and the rest is quite easy to setup More on reddit.com
🌐 r/n8n
30
73
July 22, 2025
People also ask

What is a Google Images Search API?
A Google Images Search API provides programmatic access to Google's image search results, allowing developers to retrieve image listings in structured JSON format. Serply's Google Images Search API returns image results including titles, links, descriptions, thumbnails, dimensions, and source information.
🌐
serply.io
serply.io β€Ί home β€Ί google images api
Google Images Search API - Image Search Results | Serply.io
How do I get a Google Images Search API key?
Sign up for a free Serply account at serply.io to get your API key. Once registered, you'll find your API key in your dashboard. The free tier includes generous monthly credits to get started with Google Images Search API.
🌐
serply.io
serply.io β€Ί home β€Ί google images api
Google Images Search API - Image Search Results | Serply.io
What image information does the API return?
The API returns comprehensive image metadata including titles, direct image links, descriptions, thumbnail URLs, source information, image dimensions (width and height), file sizes, and publication dates when available.
🌐
serply.io
serply.io β€Ί home β€Ί google images api
Google Images Search API - Image Search Results | Serply.io
🌐
DummyJSON
dummyjson.com β€Ί docs β€Ί image
Image - DummyJSON - Free Fake REST API for Placeholder JSON Data
Get Free Temporary & Disposable Emails. dummyinbox.com Β· The image endpoint provides customizable placeholder images by specifying size in the URL, with options for background color, text color, and display text, ideal for use in websites and wireframes.
🌐
Pexels
pexels.com β€Ί api
Free Image and Video API – Pexels
Simply integrate the world's best image and video API into your website, app or project. The API is completely free.
🌐
Bannerbear
bannerbear.com β€Ί blog β€Ί 5-image-apis-you-can-use-for-your-next-project-in-2022
5 Image APIs You Can Use for Your Next Project in 2022 (2024 Update) - Bannerbear
The Unsplash Image API is a modern JSON API created by the company to provide simple integration into any app. It has official libraries for Javascript, PHP, and Ruby and also other popular libraries that are built by their developers community ...
🌐
Serply
serply.io β€Ί home β€Ί google images api
Google Images Search API - Image Search Results | Serply.io
Access Google Images Search results via REST API. Get thumbnails, dimensions, and source URLs in JSON. Build visual search tools and image galleries. Free tier available.
🌐
Shahed Nasser
blog.shahednasser.com β€Ί list-of-resources-for-demo-data-and-images
List of Resources for Demo Data and Images - Shahed Nasser
August 26, 2021 - Data types include fake credit card numbers, addresses, IPs, e-commerce data, and more! You can also find it for PHP, Ruby, and Python among others. JSONPlaceholder provides a fake REST API for free.
Find elsewhere
🌐
HackerNoon
hackernoon.com β€Ί using-json-mapping-to-work-with-apis-of-various-image-services
Using JSON Mapping to Work with APIs of Various Image Services | HackerNoon
December 2, 2021 - Using JSON Mapping to Work with APIs of Various Image Services. This approach is applicable to any other services that are similar in type of returned results.
🌐
Freeimage
freeimage.host β€Ί api
Image Hosting, Upload Image and Share
Freeimage.host's API v1 allows to upload pictures. ... API v1 calls can be done using the POST or GET request methods but since GET request are limited by the maximum allowed length of an URL you should prefer the POST request method. ... source Either a image URL or a base64 encoded image string. You can also use FILES["source"] in your request. format Sets the return format [values: json ...
🌐
Unsplash
unsplash.com β€Ί documentation
Unsplash API Documentation | Free HD Photo API | Unsplash
The API is available at https://api.unsplash.com/. Responses are sent as JSON.
🌐
ImgBB
api.imgbb.com
Upload Image β€” Free Image Hosting
API v1 responses display all uploaded image information in JSON format.
🌐
Google Groups
groups.google.com β€Ί g β€Ί api-craft β€Ί c β€Ί YMZk2N4XP-4
Return image and JSON in a single response
The most common option is to send a link within the JSON and download this link when necessary. Another option is to embed the image in a "Data Uri" format.
🌐
Pexels
pexels.com β€Ί api β€Ί documentation
Free stock photos Β· Pexels
All content is available free of charge, and you are welcome to use Pexels content for anything you'd like, as long as it is within our Title. The Pexels API is a RESTful JSON API, and you can interact with it from any language or framework ...
🌐
Contentful
contentful.com β€Ί developers β€Ί docs β€Ί references β€Ί images-api
Images API | Contentful Docs
The Contentful Images API allows the retrieval and manipulation of image files referenced from assets. The JSON representation of an asset in Contentful looks like this:
🌐
ConvertTool
converttool.org β€Ί home β€Ί image tools β€Ί image to json
Image to JSON Converter - Free Tool - ConvertTool
Convert image metadata to structured JSON. Extract pixel data and file properties. Free online tool for developers. Batch processing support.
Top answer
1 of 3
7

Assuming you parsed your json in a variable called json, this would add all images in a container with id yourcontainer:

var images = '';
for( var i=0, max<json.length; ++i ) {
  images += '<img src="' + json[i]['image_path'] + json[i]['image_nm'] + '" />';
}

document.getElementById( 'yourcontainer' ).innerHTML = images;
2 of 3
0

Seems pretty straight forward. If this is json_encoded, then we can use json[key] to get the value, if you aren't familiar with the term 'key', json encodes arrays in the key:value, format, so for this, if we used json[member_id], we would get '101', if we used json[image_nm], we would get '3k.png', putting this all together it seems as if it's pretty well separated, you just have to know what goes where. I have an idea, but not 100%,I would expect you to do something like

var myImages = '';
for(var i = 0; i < json.length; i++){
  myImages += '<img src="'+json[i]['image_path']+json[i]['img_nm']+'" />';
}
document.getElementById('myImgHolder').innerHTML = myImages;

Based on your json data, this would evaluate a variable and test it against the length of the json array. The statement also declares that while the variable is less than the total length of the json array, we will iterate to the next object. We would expect output along the format of -

<img src="/images/3k.png" />. 

Then it would take the new images and place them in a Div with the id of myImgHolder.

Hope this helps.

EDIT 1

If you don't have a container to place these images inside of it, then you will need to create the container and place it somewhere.

var myImgHolder = document.createElement('div');
myImgHolder.setAttribute("id", "myImgHolder");
document.getElementById('ICanTargetThis').appendChild(myImgHolder);

The above code sets the variable myImgHolder to the creation of a new DIV element. Then, using the variable, we declare the attribute "id" to set as 'myImgHolder'. Now we have the element. But what do we do with it? Well we MUST target an existing element within our page, even if we're just targeting the tag...something. then we use the .appendChild method and use our variable...appendChild(myImgHolder);

🌐
GitHub
github.com β€Ί public-apis β€Ί public-apis
GitHub - public-apis/public-apis: A collective list of free APIs Β· GitHub
Free JSON storage service. Ideal for small scale Web apps, Websites and Mobile apps ... Clockify's REST-based API can be used to push/pull data to/from it & integrate it with other systems
Starred by 419K users
Forked by 45.6K users
Languages Β  Python 96.8% | Shell 3.2%
🌐
JSONPlaceholder
jsonplaceholder.typicode.com
JSONPlaceholder - Free Fake REST API
JSONPlaceholder is a free online REST API that you can use whenever you need some fake data.