Skip to main content
Wolfram|Alpha API logo
  • Category: developer tools
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 11
  • Triggers: 0
  • Slug: WOLFRAM_ALPHA_API
  • Version: 20261101_00

Tools

Slug: WOLFRAM_ALPHA_API_ASYNC_POD_FETCHFetch a single asynchronous pod from Wolfram|Alpha Full Results API. Use this tool to retrieve individual pod computations that were marked as async in a Full Results query. When you query the Full Results API with async=true, pods that take longer to compute return async URLs containing ‘id’ and ‘s’ tokens. Use those tokens with this tool to fetch the computed pod content. Typical workflow: (1) Query Full Results API with async=true parameter, (2) Parse response for async pod URLs, (3) Extract id and s tokens from URLs like ‘asyncPod.jsp?id=MSPa…&s=13’, (4) Use this tool with those tokens.

Input Parameters

string
required
Server/session token, typically a numeric string (e.g., ‘13’, ‘42’). Obtained from async pod URLs in Full Results API responses alongside the id parameter. Pass exactly as provided without modification.
string
required
Pod identifier token starting with ‘MSPa’ (e.g., ‘MSPa1071c679e3ea1d0h94h00002h3ggc950ehaibf9’). Obtained from async pod URLs in Full Results API responses when async=true. Pass exactly as provided without modification.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: WOLFRAM_ALPHA_API_ESTABLISH_CONNECTIONSet a non-empty Wolfram|Alpha AppID in the current action’s connection metadata and return a confirmation.

Input Parameters

string
required
Your Wolfram|Alpha AppID (non-empty string).
object
Optional additional parameters for future use.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: WOLFRAM_ALPHA_API_EXTRACT_RECALC_URL_TOKENSTool to extract the recalculate URL and id/s tokens from full Wolfram|Alpha results. Use when you need to follow up with recalc.jsp or relatedQueries.jsp calls.

Input Parameters

string
Your Wolfram|Alpha AppID. Required if raw_data is not provided.
string
Query string to send to Wolfram|Alpha. Required if raw_data is not provided.
string
Raw full results XML or JSON string. If provided, appid and input are ignored.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: WOLFRAM_ALPHA_API_FULL_RESULTS_RECALCULATERecalculate a prior Wolfram|Alpha Full Results query using its ID token and optional server token to retrieve additional pods. Returns the raw response body, which may contain recalculated results or an error.

Input Parameters

string
Optional server token from the recalculate URL. Often not required or provided as null in API responses.
string
required
Required token from the recalculate URL or Full Results API response. Extract this using the EXTRACT_RECALC_URL_TOKENS action.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: WOLFRAM_ALPHA_API_GET_APP_IDTool to fetch the Wolfram|Alpha AppID from credentials. Use when you need to verify the current AppID before making API calls.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: WOLFRAM_ALPHA_API_QUERY_LLM_APITool to query Wolfram|Alpha LLM API for computed knowledge optimized for large language model consumption. Returns plain text results with query interpretations, computed data, and image URLs. Use when you need comprehensive computational knowledge formatted for AI agent processing.

Input Parameters

string
IP address for contextual location information.
string
required
Natural language query or mathematical expression to send to Wolfram|Alpha (e.g., ‘What is the capital of France?’, ‘integrate x^2’, ‘10 densest metals’).
string ("metric" | "nonmetric")
Measurement system preference; “metric” or “nonmetric”.
string
Latitude and longitude coordinates for location context (format: ‘lat,long’).
string
Currency preference for monetary results (e.g., ‘USD’, ‘EUR’).
string
Location string for geographic context (e.g., city name).
integer
Maximum character limit for the response (default: 6800 if omitted).
string
Timezone identifier for time-related queries (e.g., ‘America/New_York’).
string
Disambiguates query interpretation (e.g., specific meaning or context).
string
Country code for localization (e.g., ‘US’, ‘FR’).
string
Language code preference (e.g., ‘en’, ‘es’).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: WOLFRAM_ALPHA_API_QUERY_SUMMARY_BOXTool to query the Summary Boxes API for pre-generated XHTML boxes summarizing Wolfram|Alpha knowledge. Use when you need formatted summary information for subjects like countries, chemicals, dates, or people. Requires a valid summary box path from Query Recognizer API.

Input Parameters

string
required
Path to the summary box, obtained from Query Recognizer API response (e.g., ‘countries/e/l5/vw/el’ for Norway).
string
required
Your Wolfram|Alpha AppID obtained from the Developer Portal.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: WOLFRAM_ALPHA_API_SHORT_ANSWERS_RESULTGet a concise textual answer from Wolfram|Alpha for a natural-language query or mathematical expression. The result may instead be a longer response or a link to the Wolfram|Alpha web results.

Input Parameters

string
required
Natural language query or mathematical expression to send to Wolfram|Alpha (e.g., ‘What is 2+2?’, ‘capital of France’, ‘integrate x^2’).
string
required
Your Wolfram|Alpha AppID.
string ("metric" | "imperial")
Measurement system to use; defaults by location.
integer
Maximum time (in seconds) to process the query; must be >= 1.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: WOLFRAM_ALPHA_API_SPOKEN_RESULTS_RESULTRetrieve a spoken-style single-sentence result from Wolfram|Alpha for a natural-language query. If authorization fails, returns guidance and a web result link instead.

Input Parameters

string
required
Natural-language input for the query.
string
required
Your Wolfram|Alpha AppID.
string ("metric" | "imperial")
Measurement system; “metric” or “imperial”. Default determined by location.
integer
Maximum processing time in seconds; default is 5 if omitted.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: WOLFRAM_ALPHA_API_VALIDATE_QUERYValidate a Wolfram|Alpha query before a full computation, returning its recognition status and any available assumptions and warnings. This helps check whether the input can be understood before requesting complete results.

Input Parameters

string
required
Your Wolfram|Alpha AppID.
string
required
The user query string to validate.
string
Response format; must be ‘json’ for structured output. XML format is not currently supported by this action.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not