Plex.tv - Get Client IP Address
This is a simple API endpoint that will only return the public IP address of the client that makes a request to the endpoint.
A request to this endpoint can be easily made in a Web browser and requires no authentication or Plex token.
URL
GET https://plex.tv/pms/:/ip
Return Status
HTTP Code | Description |
---|---|
200 | Success - The request was successful. |
Response
The public IP address of the client is returned.
Examples
curl -X GET https://plex.tv/pms/:/ip
import requests plex_url = https://plex.tv/pms/:/ip response = requests.get(plex_url) print(response.text)
$response = Invoke-RestMethod 'https://plex.tv/pms/:/ip' -Method 'GET' Write-Output $response