# ApifyWrapper

> **Class** in `langchain_community`

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

Wrapper around Apify.
To use, you should have the ``apify-client`` python package installed,
and the environment variable ``APIFY_API_TOKEN`` set with your API key, or pass
`apify_api_token` as a named parameter to the constructor.

## Signature

```python
ApifyWrapper()
```

## Extends

- `BaseModel`

## Properties

- `apify_client`
- `apify_client_async`
- `apify_api_token`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/utilities/apify/ApifyWrapper/validate_environment)
- [`call_actor()`](https://reference.langchain.com/python/langchain-community/utilities/apify/ApifyWrapper/call_actor)
- [`acall_actor()`](https://reference.langchain.com/python/langchain-community/utilities/apify/ApifyWrapper/acall_actor)
- [`call_actor_task()`](https://reference.langchain.com/python/langchain-community/utilities/apify/ApifyWrapper/call_actor_task)
- [`acall_actor_task()`](https://reference.langchain.com/python/langchain-community/utilities/apify/ApifyWrapper/acall_actor_task)

## ⚠️ Deprecated

Deprecated since version 0.3.18.

---

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