Api in json or xml format

Hi,

is there any API for historical dates on web that returns data in xml or
json format. For example, I need to get importants events in history on
todays day and show that events in my app.

Is there any good place to do it?

And if you know for some other useful API, you can also write it.

Thanks in advance

Wikipedia has a nice API that can return values in a variety of formats.
You’ll have to process the wikitext yourself, though.

E.g. to return the text of the article about 27th of December, wrapped
in a JSON structure:

You can view the API reference at MediaWiki API help - Wikipedia ,
read more at API - MediaWiki , and play with it in
your browser at API sandbox - Wikipedia .