Wolfram Alpha

App · Research & Academia · 3 actions

Ask Wolfram|Alpha computational questions (maths, unit conversions, science, and facts) and use the answer in your workflows.

Actions

ActionWhat it does
Ask a questionAsk Wolfram|Alpha a question and get its full breakdown: the headline answer plus every result section it produced.
Get a short answerAsk Wolfram|Alpha a question and get a single short answer, such as '2464 miles'.
Get a spoken answerAsk Wolfram|Alpha a question and get the answer phrased as a full sentence, suited to reading aloud or sending as a notification.

Ask a question

Ask Wolfram|Alpha a question and get its full breakdown: the headline answer plus every result section it produced.

Inputs

QuestionquerytextRequired
What to ask, in plain language -- for example 'distance from Earth to Mars' or 'integrate x^2 dx'.
Unitsunitstext
Optional. Which measurement system to answer in. Defaults to whatever Wolfram|Alpha infers from the question.One of: metric, imperial.

Outputs

answertext
The headline answer, taken from the section Wolfram|Alpha marks as the primary result
podslist
Every result section, in the order Wolfram|Alpha returns them. The first restates the question.
Example output
{
  "answer": "2464 miles",
  "pods": [
    {
      "pod_id": "Input",
      "primary": false,
      "text": "distance | from | New York City\nto | Denver",
      "title": "Input interpretation"
    },
    {
      "pod_id": "Result",
      "primary": true,
      "text": "2464 miles",
      "title": "Result"
    }
  ]
}

Get a short answer

Ask Wolfram|Alpha a question and get a single short answer, such as '2464 miles'.

Inputs

QuestionquerytextRequired
What to ask, in plain language -- for example 'distance from Earth to Mars' or 'integrate x^2 dx'.
Unitsunitstext
Optional. Which measurement system to answer in. Defaults to whatever Wolfram|Alpha infers from the question.One of: metric, imperial.

Outputs

answertext
The short answer, as a single line of plain text
Example output
{
  "answer": "2464 miles"
}

Get a spoken answer

Ask Wolfram|Alpha a question and get the answer phrased as a full sentence, suited to reading aloud or sending as a notification.

Inputs

QuestionquerytextRequired
What to ask, in plain language -- for example 'distance from Earth to Mars' or 'integrate x^2 dx'.
Unitsunitstext
Optional. Which measurement system to answer in. Defaults to whatever Wolfram|Alpha infers from the question.One of: metric, imperial.

Outputs

answertext
The answer as a spoken-style sentence, for example 'The answer is about 2464 miles'
Example output
{
  "answer": "The distance is about 2464 miles"
}

On this page