/wikimedia_commons/files
Get a Wikimedia Commons media file by name, page id or URL
Price: 1 credit
💡 AI Hint: Get a Wikimedia Commons media file (image, video, audio or document) by its file name, numeric page id, or file URL. Returns the full-resolution media URL, dimensions, byte size, MIME and media type, sha1, the uploader and upload timestamp, the description, author and credit, the license and usage terms, copyright status, whether attribution is required, capture date, categories, any quality/featured assessments and GPS coordinates. Set thumb_width to also get a scaled thumbnail URL, and history to include the file’s upload revision history.
⚠️ Common errors: 412: File not found
Authorizations
API token from the dashboard
Headers
Body
File name, numeric page id, or a Wikimedia Commons file URL
1"File:Felis catus-cat on snow.jpg"
"9437797"
"https://commons.wikimedia.org/wiki/File:Felis_catus-cat_on_snow.jpg"
Max scrapping execution timeout (in seconds)
20 <= x <= 1500Width in pixels of an additional scaled thumbnail URL
1 <= x <= 10000Include the file's upload revision history
Response
Successful Response