Message Boards Message Boards


Wolfram Alpha API for JSON response

Posted 9 years ago
2 Replies
0 Total Likes

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?

POSTED BY: Shubham Shukla
2 Replies

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.

POSTED BY: Sean Clarke

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

POSTED BY: Shenghui Yang
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract