Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Free non-commercial access covers up to 2,000 API calls per month; commercial use needs a paid plan under the Commercial Terms of Use.
  • HTTP 501 means the input could not be interpreted (or, for short answers, has no short result); rephrase rather than retry. 400 means the input parameter is missing.
  • Some topics are restricted by default; access is granted on request.
  • Short answers and the simple image use the parameter i; the LLM and full-results APIs use input.

Endpoints

Ask for an LLM-ready answer

  • Plain text, not JSON. The AppID can also go in ‘Authorization: Bearer <AppID>’.

Get a one-line answer

  • Fails with 501 when no short result exists even though Wolfram|Alpha has data; fall back to llm.query.

Get full structured results

  • Answers XML unless output=json.

Get the result as an image

  • Answers an image, not text.