# Api_Listener

Type: object

Schema: [Api_Listener](https://sourcey-azuracast.pages.dev/docs/api/models/api-listener/index.md)

- `ip` (optional)
  Type: string
  
  The listener's IP address
  
  Example:
  
  ```json
  "127.0.0.1"
  ```

- `user_agent` (optional)
  Type: string
  
  The listener's HTTP User-Agent
  
  Example:
  
  ```json
  "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36"
  ```

- `hash` (optional)
  Type: string
  
  A unique identifier for this listener/user agent (used for unique calculations).
  
  Example:
  
  ```json
  ""
  ```

- `mount_is_local` (optional)
  Type: boolean
  
  Whether the user is connected to a local mount point or a remote one.
  
  Example:
  
  ```json
  false
  ```

- `mount_name` (optional)
  Type: string
  
  The display name of the mount point.
  
  Example:
  
  ```json
  "/radio.mp3"
  ```

- `connected_on` (optional)
  Type: integer
  
  UNIX timestamp that the user first connected.
  
  Example:
  
  ```json
  1609480800
  ```

- `connected_until` (optional)
  Type: integer
  
  UNIX timestamp that the user disconnected (or the latest timestamp if they are still connected).
  
  Example:
  
  ```json
  1609480800
  ```

- `connected_time` (optional)
  Type: integer
  
  Number of seconds that the user has been connected.
  
  Example:
  
  ```json
  30
  ```

- `device` (optional)
  Reference: [Api_ListenerDevice](https://sourcey-azuracast.pages.dev/docs/api/models/api-listenerdevice/index.md); Type: object

- `location` (optional)
  Reference: [Api_ListenerLocation](https://sourcey-azuracast.pages.dev/docs/api/models/api-listenerlocation/index.md); Type: object