ports.io documentation
Connect your application to residential proxies. Learn how to authenticate, choose a location, keep a session, and understand your usage.
Make your first request
Section titled “Make your first request”Create a proxy key as a workspace owner or admin, obtain your assigned HTTP or SOCKS5 proxy URL, and send a request through v1_rotate.
curl --proxy "$PORTS_PROXY_URL" \ --proxy-user "v1_rotate:$PORTS_PROXY_KEY" \ --connect-timeout 10 --max-time 30 \ https://example.comSet PORTS_PROXY_URL to your assigned proxy URL, including its scheme, hostname, and port. Set PORTS_PROXY_KEY to the complete secret shown when you create a key.
For SOCKS5 with curl or Python Requests, use socks5h:// so the destination hostname reaches the proxy for the exit to resolve. Their socks5:// mode sends a locally resolved IP address, which is refused. Use a destination hostname and the assigned SOCKS port; an HTTPS proxy’s TLS-only port cannot be reused just by changing the URL scheme. HTTP proxies use the assigned http:// or https:// URL. See Protocols and limits for transport details.
Connect your application
Section titled “Connect your application”Routing reference
Section titled “Routing reference”Account and operations
Section titled “Account and operations”Use these docs with AI tools
Section titled “Use these docs with AI tools”Every page is also published as Markdown at its address with .md in place of the final slash. Start an assistant from llms.txt, an index of every page, or give it llms-full.txt for everything in one file. The AI tools guide shows how to set up Claude Code, Codex and Cursor. Never include actual proxy secrets in prompts.