> For the complete documentation index, see [llms.txt](https://docs.elliott.diy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elliott.diy/tor-recon/exit-nodes.md).

# Exit Nodes

## Tor Exit Nodes

This endpoint provides a list of known Tor exit nodes currently active on the Tor network.

**Endpoint:**\
`https://api.elliott.diy/v1/tor/exit`

***

### Response Format

You can choose between plain text or JSON output:

* **Plaintext (default)**\
  Each IP is listed on a new line.

  ```
  https://api.elliott.diy/v1/tor/exit
  ```
* **JSON**\
  Use the `?format=json` query parameter:

  ```
  https://api.elliott.diy/v1/tor/exit?format=json
  ```

  ```json
  {
    "ips": [
      "185.220.101.4",
      "185.220.101.9"
    ]
  }
  ```

***

### Notes

* The list is pulled from the Tor Project's bulk exit list.
* This data is cached for 6 hours to reduce load and provide fast responses.
* Useful for filtering, blocking, or analyzing Tor-origin traffic.
