Get Client IP
This utility endpoint returns the client’s IP address as seen by the server, potentially enriched with country information from ipinfo.io. It’s useful for testing proxy functionality and verifying that your proxy configuration is working correctly.Testing Note: When using the ‘Send’ button in this documentation:
- The IP address returned will likely be that of the server hosting the documentation API, or
::1
/127.0.0.1
if running locally, not your actual public IP. - Geolocation data (country) might not be accurate or available for server/local IPs.
Use Cases
- Proxy Verification: Confirm that your proxy is correctly applied by checking the returned IP
- Extension Testing: Used by the Chrome extension to verify proxy functionality
- Debugging: Troubleshoot connectivity issues with proxies
- IP Rotation Validation: Verify that IP rotation is working as expected
Code Examples
Chrome Extension Implementation
The OnlyAutomator Chrome extension uses this endpoint to verify that proxies are correctly applied. Here’s how it’s typically used in the extension context:Notes
- The IP address is determined from the request headers, primarily using the
x-forwarded-for
header - If your OnlyAutomator instance is behind a proxy or load balancer, the IP reported may be that of the intermediary server
- For OnlyFans scraping, this endpoint can help confirm that both your browser and the backend scraper are using the same proxy