# OpenAPIEndpointChain

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/chains/openapi/chain/OpenAPIEndpointChain)

Chain interacts with an OpenAPI endpoint using natural language.

## Signature

```python
OpenAPIEndpointChain()
```

## Extends

- `Chain`
- `BaseModel`

## Properties

- `api_request_chain`
- `api_response_chain`
- `api_operation`
- `requests`
- `param_mapping`
- `return_intermediate_steps`
- `instructions_key`
- `output_key`
- `max_text_length`
- `input_keys`
- `output_keys`

## Methods

- [`deserialize_json_input()`](https://reference.langchain.com/python/langchain-community/chains/openapi/chain/OpenAPIEndpointChain/deserialize_json_input)
- [`from_url_and_method()`](https://reference.langchain.com/python/langchain-community/chains/openapi/chain/OpenAPIEndpointChain/from_url_and_method)
- [`from_api_operation()`](https://reference.langchain.com/python/langchain-community/chains/openapi/chain/OpenAPIEndpointChain/from_api_operation)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/chains/openapi/chain.py#L29)