Wikimedia Commons API
Search millions of freely-licensed images and media as an API, from Wikimedia Commons. Pass a search term and get matching photos and illustrations with their direct full-resolution image URL, a ready-to-use thumbnail, dimensions, file size, MIME type, and crucially the licence (Creative Commons or public domain), licence URL and author/credit — everything you need to find and correctly attribute reusable media. Or look up a single file by name for its full details. Ideal for blogs, content and marketing tools, presentations, education and apps that need free, attributable imagery. Open data from Wikimedia Commons (always check each file's licence before reuse).
api.oanor.com/commons-api