Connecting to RoyalProxy
All four products use one gateway and one proxy login. What changes between them is a short code in the username. This page covers the login, the options, a quick test and the errors people run into most.
Steps
1
Create an account
Pick a username and password. No email is needed. One IP address can open up to 3 accounts.
2
Add balance
Pay in crypto in the payment window, $40 to $1,000 per top-up. Each top-up earns a bonus, and the balance never expires.
3
Order a plan
Residential GB, unlimited, static ISP or datacenter, paid from the balance. The order reads activating until the network enables it.
4
Copy your proxy login
The dashboard lists the host, ports, proxy username and proxy password. Add options to the username for a country, a city or a sticky IP.
The four values every tool asks for
Host: gate.royalproxy.online. Port: 6100 for HTTP and HTTPS, 6200 for SOCKS5. Your proxy username, such as rpexample1. Your proxy password. The dashboard shows all four.
The proxy password is not the password you sign in to the site with. You can regenerate it in the dashboard at any time, then paste the new one into each tool that uses the proxy.
- Host
- gate.royalproxy.online
- HTTP, HTTPS port
- 6100
- SOCKS5 port
- 6200
- Sticky session
- Up to 60 minutes
Reading a username with options
Options go after the base username, each starting with a hyphen. rpexample1-zone-res-cc-de-city-berlin-sid-run7-ttl-15 means residential GB, Germany, Berlin, one IP kept for 15 minutes. The password stays the same whatever options you add.
| Option | What it does |
|---|---|
| -zone- | Which product the request uses: res (residential GB), unl (unlimited), isp (static ISP) or dc (datacenter). |
| -cc- | Exit country as a two letter lowercase code, for example gb or br. |
| -city- | Exit city, lowercase with underscores for spaces, such as sao_paulo. Offered in many countries. |
| -sid- | A session ID you make up, letters and numbers. Requests with the same ID share one IP. |
| -ttl- | How many minutes a session keeps its IP, 1 to 60. |
Build your username and copy the code
Choose options to see the username and a ready example in your language.
A new IP is used for every request.
This example uses a sample username. Your own username and password are in the dashboard.
Proxy username
rpexample1-zone-res-cc-uscurl -x http://gate.royalproxy.online:6100 \ -U "rpexample1-zone-res-cc-us:your_password" \ https://ipinfo.io/json
Example response
{ "ip": "203.0.113.134", "country": "US", "city": "New York" }Example response from an IP in United States, New York.
Rotating or sticky: which one to use
Leave -sid out and each request gets a new IP. That is the default, and it suits jobs where requests do not depend on each other, like crawling or rank checks.
Add -sid when several steps must share an address, for example a login and the pages behind it. -ttl then sets how many minutes, up to 60, the IP stays.
Connecting from a server without a password
List up to 10 server IPv4 addresses under Allowed IPs in the dashboard. Requests from those machines are accepted with no proxy password.
A one line connection test
In a terminal, run curl -x http://USERNAME:PASSWORD@gate.royalproxy.online:6100 https://api.ipify.org with your own login in place of USERNAME and PASSWORD. It prints the exit IP. Run it a second time without -sid and you should get a different IP.
Browsers, scripts and other tools
Browsers take the host, port, username and password in their proxy settings or in a proxy extension. For SOCKS5, set the type to SOCKS5 and the port to 6200.
Most libraries and scrapers accept a single proxy URL: http://username:password@gate.royalproxy.online:6100. The options belong inside the username part.
- Python
- Node.js
- Selenium
- Puppeteer
- Scrapy
- curl
- Go
- PHP
- Postman
- Google Chrome
Fixing the usual errors
407 Proxy Authentication Required
The login does not match. Copy the username and password again from the dashboard, look for typos in the options, and make sure your tool has the new password if you regenerated it.
Connection refused or timeout
Confirm the host and the port pair: 6100 with HTTP or HTTPS, 6200 with SOCKS5. A firewall that blocks outgoing connections can cause this too.
Wrong country
-cc- takes two lowercase letters, and city values use underscores. Static ISP and datacenter IPs always stay in the country chosen at purchase.
The IP keeps changing
Add -sid- with an ID and -ttl- with the minutes, up to 60, and send that same ID with every request that should share the IP.
Plan still activating
New orders wait as activating until the network enables them. An order that cannot be activated is cancelled and refunded in full to your balance.