# StackExchangeAPIWrapper

> **Class** in `langchain_community`

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

Wrapper for Stack Exchange API.

## Signature

```python
StackExchangeAPIWrapper()
```

## Extends

- `BaseModel`

## Properties

- `client`
- `max_results`
- `query_type`
- `fetch_params`
- `result_separator`

## Methods

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

---

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