# LLMRequestsChain

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/chains/llm_requests/LLMRequestsChain)

Chain that requests a URL and then uses an LLM to parse results.

**Security Note**: This chain can make GET requests to arbitrary URLs,
    including internal URLs.

    Control access to who can run this chain and what network access
    this chain has.

    See https://python.langchain.com/docs/security for more information.

## Signature

```python
LLMRequestsChain()
```

## Extends

- `Chain`

## Properties

- `llm_chain`
- `requests_wrapper`
- `text_length`
- `requests_key`
- `input_key`
- `output_key`
- `model_config`
- `input_keys`
- `output_keys`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/chains/llm_requests/LLMRequestsChain/validate_environment)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/chains/llm_requests.py#L19)