# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.elliott.diy/tor-recon/exit-nodes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
