API:Siteinfo

Siteinfo returns overall site information. The code for the siteinfo function is located at.

General
The general option can return the following results:

Interwiki
The attributes provided in each  element include:

Namespaces
Each namespace is given within its own element, which contains several attributes:

Rightsinfo
In the best case this will provide:

If $wgRightsPage is set,  is the URL to a page whose meaning has to be interpreted separately and is not output by the API. The API doesn't output whatever MediaWiki:Copyright contains.