# WolframAlphaAPIWrapper

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/wolfram_alpha/WolframAlphaAPIWrapper)

Wrapper for Wolfram Alpha.

Docs for using:

1. Go to wolfram alpha and sign up for a developer account
2. Create an app and get your APP ID
3. Save your APP ID into WOLFRAM_ALPHA_APPID env variable
4. pip install wolframalpha

## Signature

```python
WolframAlphaAPIWrapper()
```

## Extends

- `BaseModel`

## Properties

- `wolfram_client`
- `wolfram_alpha_appid`
- `model_config`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/utilities/wolfram_alpha/WolframAlphaAPIWrapper/validate_environment)
- [`run()`](https://reference.langchain.com/python/langchain-community/utilities/wolfram_alpha/WolframAlphaAPIWrapper/run)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/utilities/wolfram_alpha.py#L9)