# ESV API (Crossway)

> Find ESV Bible verses and retrieve passages as text, HTML, or audio.

App · 4 actions. Web page: https://docs.lodol.com/docs/integrations/esv

## Actions

### Get passage audio

Get the HTTPS link to the MP3 reading of a passage.

**Inputs**

- Passage (`passage`, text, required): Enter a Bible passage, such as John 11:35.

**Outputs**

- `data` (object): The response from ESV API (Crossway).

**Example output**

```json
{
  "data": {
    "url": "example"
  }
}
```

### Get passage HTML

Retrieve a passage from the English Standard Version in HTML.

**Inputs**

- Passage (`passage`, text, required): Enter a Bible passage, such as John 11:35.
- Include passage references (`include_passage_references`, true/false): Show passage references.
- Include verse numbers (`include_verse_numbers`, true/false): Show verse numbers.
- Include footnotes (`include_footnotes`, true/false): Include footnotes.
- Include headings (`include_headings`, true/false): Include section headings.

**Outputs**

- `data` (object): The response from ESV API (Crossway).

**Example output**

```json
{
  "data": {
    "canonical": "example",
    "passages": [
      "example"
    ],
    "query": "example"
  }
}
```

### Get passage text

Retrieve a passage from the English Standard Version in plain text.

**Inputs**

- Passage (`passage`, text, required): Enter a Bible passage, such as John 11:35.
- Include passage references (`include_passage_references`, true/false): Show passage references.
- Include verse numbers (`include_verse_numbers`, true/false): Show verse numbers.
- Include footnotes (`include_footnotes`, true/false): Include footnotes.
- Include headings (`include_headings`, true/false): Include section headings.

**Outputs**

- `data` (object): The response from ESV API (Crossway).

**Example output**

```json
{
  "data": {
    "canonical": "example",
    "passages": [
      "example"
    ],
    "query": "example"
  }
}
```

### Search passages

Find verses containing a word or phrase. Put exact phrases in quotation marks.

**Inputs**

- Query (`query`, text, required): Enter the words to find.
- Page (`page`, number): Choose the results page. From 1 to 1000000.
- Page size (`page_size`, number): Set the number of verses per page. From 1 to 100.

**Outputs**

- `data` (object): The response from ESV API (Crossway).

**Example output**

```json
{
  "data": {
    "page": 1,
    "results": [
      {
        "content": "example",
        "reference": "example"
      }
    ],
    "total_pages": 1,
    "total_results": 1
  }
}
```
