# Wolfram Alpha API for JSON response

**URL:** <https://community.wolfram.com/t/wolfram-alpha-api-for-json-response/3650>\
**Category:** Questions\
**Tags:** wolfram-alpha, external-interfaces\
**Created:** [October 15, 2014, 7:01pm UTC](https://community.wolfram.com/t/wolfram-alpha-api-for-json-response/3650 "2014-10-15T19:01:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubhamshukla7](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@shubhamshukla7](https://community.wolfram.com/u/shubhamshukla7)\
**Post date:** [October 15, 2014, 7:01pm UTC](https://community.wolfram.com/t/wolfram-alpha-api-for-json-response/3650/1 "2014-10-15T19:01:02Z")

</div>

I am using Wolfram Alpha Web API for my project which returns an XML response by default. Does Wolfram Alpha support JSON response? If so, what parameter will I need to pass to my web api to make it return a JSON response rather than an XML?

---

<div class="post-metadata">

**Author:** ![shenghuiy](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/shenghuiy/32/36073_2.png) [@shenghuiy](https://community.wolfram.com/u/shenghuiy)\
**Post date:** [October 16, 2014, 12:35am UTC](https://community.wolfram.com/t/wolfram-alpha-api-for-json-response/3650/2 "2014-10-16T00:35:17Z")

</div>

Could you please provide an example? W|A returns a xml file and you can use python and other bindings to parse the xml file on your local machine.

Related link: [Wolfram Alpha and Python](https://wolfram.discourse.group/t/1847/1)

---

<div class="post-metadata">

**Author:** ![seanc](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/seanc/32/34005_2.png) [@seanc](https://community.wolfram.com/u/seanc)\
**Post date:** [October 16, 2014, 3:23pm UTC](https://community.wolfram.com/t/wolfram-alpha-api-for-json-response/3650/3 "2014-10-16T15:23:55Z")

</div>

The WolframAlpha API documentation has a section called “[Summary of Output Formats][1]”.

> The result of a call to the API is always an XML document, with each pod and/or subpod represented in one or more of the following formats.

So while the different pods support different formats, the API always returns an XML document.
