Search, or pick a category, and watch the API respond live — every result is a real hotlink you can paste into an <img> tag.
Searching for "nature"…
Returns a random nature image, rotating every 3 minutes.
<img src="https://www.sourcesplash.com/i/random?q=nature" alt="nature" />
<img src={`https://www.sourcesplash.com/i/random?q=nature`} alt="nature" />.hero {
background-image: url('https://www.sourcesplash.com/i/random?q=nature');
}fetch('https://www.sourcesplash.com/api/random?q=nature')
.then(res => res.json())
.then(data => console.log(data.url))