Residential proxies: Morocco
Morocco residential proxies
ProxySup residential proxies send requests through home internet IP addresses in the country you choose. Country on this page: Morocco. Code for the proxy username: ma.
- Set the location with the country code ma
- Choose from 2 cities
- Rotate on every request, or stay sticky for up to 30 min
Connection setup example: Morocco
Connected
- Country
Morocco, Casablanca
- Product
- Residential
- Session
- Sticky, up to 30 min
- Gateway
gate.proxysup.com:7777
Username
user-country-ma-city-casablanca-session-a1b2
Example response
{ "ip": "203.0.113.24",
"country": "MA",
"city": "casablanca" }- ma country code
- 2 cities to target
- 2 of 3 products available
- Mostly UTC+1
Local details
Local details: Morocco
To look like a local user, match not only the IP but also the currency, language and time to that country.
Currency
MAD (Moroccan Dirham)
When you compare local prices, check that they show in this currency.
Language code
ar-MA, fr-MA
Put it in the Accept-Language header to get the local version of pages more accurately.
Time zone
Mostly UTC+1
When you collect on a schedule, set it to local time.
Cities
Cities you can target: Morocco
Add the city value to the username to connect through a home IP in that city. Write the value in lowercase English letters with underscores.
- Casablanca
city-casablanca - Rabat
city-rabat
How the username fits together
userStartcountry-maCountrycity-casablancaCitysession-a1b2Sticky sessionResult user-country-ma-city-casablanca-session-a1b2
Products
Proxy types and prices: Morocco
Prices as of 2026-10-17. All products use the same account and balance.
Residential proxiesAvailable
$3.00 / GB
Per GB, Up to 30 min
More about residential proxiesMobile proxiesAvailable
$6.50 / GB
Per GB, Up to 30 min
More about mobile proxiesDatacenter proxiesNot available
$1.20 / IP
Per IP per month, Same IP all month
More about datacenter proxies
Uses
What you can do with local IPs: Morocco
Common examples of what people do with local IPs.
- Check prices on Moroccan shops
- Compare Arabic and French search results
Rotating session
- Request 1203.0.113.11
- Request 2203.0.113.27
- Request 3203.0.113.42
Sticky session session-a1b2
- Request 1203.0.113.58
- Request 2203.0.113.58
- Request 3203.0.113.58
Integrations
Proxy code examples: Morocco
The examples below already have the username set to connect from this country.
curl -x gate.proxysup.com:7777 \
-U "user-country-ma-city-casablanca:YOUR_TOKEN" \
https://ipinfo.io/jsonimport requests
proxy = "http://user-country-ma-city-casablanca:[email protected]:7777"
res = requests.get("https://ipinfo.io/json",
proxies={"http": proxy, "https": proxy})
print(res.json())import { ProxyAgent, fetch } from "undici";
const agent = new ProxyAgent("http://user-country-ma-city-casablanca:[email protected]:7777");
const res = await fetch("https://ipinfo.io/json", { dispatcher: agent });
console.log(await res.json());$ch = curl_init("https://ipinfo.io/json");
curl_setopt($ch, CURLOPT_PROXY, "gate.proxysup.com:7777");
curl_setopt($ch, CURLOPT_PROXYUSERPWD, "user-country-ma-city-casablanca:YOUR_TOKEN");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);| Value | What it does |
|---|---|
country-CODE | Sets the country to connect from |
city-CITY | Sets the city too. Only in countries with city targeting |
session-NAME | Turns on a sticky session. The same name gets the same IP |
type-mobile or type-dc | Switches to mobile or datacenter proxies. Without it, residential is used |
Questions
Residential proxy questions: Morocco
How much do residential proxies cost in Morocco?
$3.00 per GB. The amount comes out of your balance as you use it, and prices are as of 2026-10-17.
Can I choose cities in Morocco?
Yes. You can choose from 2 cities: Casablanca, Rabat. Add the city value to the username.
Which proxy types can I use with IPs in Morocco?
Available here: Residential proxies, Mobile proxies.
Can I keep the same IP in Morocco for a long time?
With residential proxies, a sticky session keeps the same IP for up to 30 minutes.
Start right away with IPs in Morocco
Sign up and top up your balance, then just add the country code to the username.