From Wikimedia Commons, the free media repository
Jump to: navigation, search

Shortcut: COM:API

Further information: mw:API
Warning Most of this is irrelevant now thanks to the Commons API tool and Commons:Commons API.

The API for Wikimedia Commons is a tool used to communicate directly with MediaWiki and to interact with Wikimedia Commons content in a standardised way.

Commons inherits the MediaWiki API (accessible at, but there are further pieces of information we would like to make accessible via an API.

The API described below is a community-developed one that is only as reliable as our contributors' commitment to following it!

'Do not use or index' tags[edit]

These tags or markers indicate files with questionable copyright status, and therefore should not be used or indexed by third parties.

Extract license information[edit]

How to get the name and URL of the license/s that apply to a particular file.

Extract author information[edit]

How to get the name/text string to credit the copyright holder. (This is the least reliable component to date.)