Middle East & Africa proxy location

Morocco proxies: residential and mobile IPs in Morocco

A Morocco proxy sends your requests through an IP address located in Morocco, so websites answer the way they would for a local visitor, with prices in MAD, pages in the local language and local search results. Add country-ma to the proxy username, or name the city with city-casablanca for Casablanca.

  • country-ma
  • 1 city
  • Sticky 1 to 120 min
  • HTTP, HTTPS, SOCKS5
  • From $0.23/GB
ma connection
Hostgate.firstproxy.shop
HTTP / HTTPS port8000
SOCKS5 port9000
Usernameuser-country-ma-city-casablanca-session-mar8t3-ttl-10m
PasswordYOUR_TOKEN
Example response
{
  "ip": "203.0.113.188",
  "country": "MA",
  "city": "Casablanca"
}

This username asks for an IP in Casablanca and holds it for 10 minutes under session mar8t3. Remove the session and ttl parts for a new Morocco IP on every request.

How do I set up a Morocco proxy?

  1. 1Create an account and top up your balance with crypto, from $40.
  2. 2Point your tool at gate.firstproxy.shop on port 8000 for HTTP and HTTPS, or 9000 for SOCKS5.
  3. 3Use user-country-ma as the username for any IP in Morocco, or add -city-casablanca for Casablanca. Your token is the password.
  4. 4Send Accept-Language: fr-MA,fr;q=0.9 so sites return the local language, then check that the response shows country MA.

Step-by-step guides: cURL, Python requests, Node.js, PHP and all integrations.

curl -x http://gate.firstproxy.shop:8000 \
  -U "user-country-ma-city-casablanca:YOUR_TOKEN" \
  -H "Accept-Language: fr-MA,fr;q=0.9" \
  https://ipinfo.io/json
Local details

Local details for collecting data in Morocco

What changes when a page loads from Morocco, and what to set so your data matches what local visitors see.

Currency
MAD, Moroccan dirham
Main languages
Arabic, Amazigh, French
Accept-Language header
fr-MA,fr;q=0.9
Time zone
UTC+1 (moves to UTC+0 during Ramadan)
Capital
Rabat
Major mobile carriers
Maroc Telecom, Orange Maroc, inwi
Popular sites to collect from
Avito.ma, Jumia Maroc, Mubawab, Hespress, Marjane
Search engines
Google is the dominant search engine in Morocco, with queries in French and Arabic.
City targeting

Which cities can you target in Morocco?

Morocco has one named city, Casablanca. Leave the city out to get an IP from anywhere in the country.

Cities you can target in Morocco
CityCity valueFull username
Casablancacasablancauser-country-ma-city-casablanca
Products

Which proxy types work with Morocco IPs?

The country code works the same way on every rotating product, and all of them share one balance, so you can mix types for Morocco without a second account.

  • Residential proxies

    $0.23 per GB

    Home broadband IPs in Morocco. Rotate on every request or keep one IP for 1 to 120 minutes. The usual starting point for sites such as Avito.ma and Jumia Maroc.

  • Mobile proxies

    $0.78 per GB

    4G and 5G carrier IPs in Morocco for app backends, mobile ad checks and pages that change by network. Sticky sessions last 1 to 60 minutes.

  • Unlimited residential proxies

    $11.90 per day

    Rotating residential IPs in Morocco with traffic that is not counted per GB. You pay per day, which suits crawls that run around the clock.

  • Long-acting ISP proxies

    $0.13 per GB

    ISP-registered IPs in Morocco held for up to 12 hours per session, with no limit on concurrent connections. Billed per GB.

Only need search results? The SERP API takes country=ma and returns structured Morocco results from $0.63 per 1,000 requests, with no proxy setup. Google is the dominant search engine in Morocco, with queries in French and Arabic.

Use cases

What are Morocco proxies used for?

Teams use Morocco IPs to see the pages, prices and search results that people in Morocco see. Sites often collected from include Avito.ma, Jumia Maroc, Mubawab, Hespress and Marjane.

  • 1Collect classified and car listings from Avito.ma
  • 2Track Jumia Maroc prices
  • 3Monitor property listings on Mubawab in Casablanca
Sessions

Rotating or sticky: which session should you use in Morocco?

The session type is set in the username too, so you can run both from the same script.

Rotating

user-country-ma

Every request gets a new IP in Morocco. Use it for broad crawls of listing pages, product pages and search results, where each request stands on its own and spreading load over many IPs keeps block rates low.

Sticky

user-country-ma-city-casablanca-session-mar8t3-ttl-30m

The same IP in Casablanca for 30 minutes. Use it for logins, carts, paginated results and anything a site ties to one visitor. Change the session ID for a fresh IP, and set ttl between 1 and 120 minutes on residential.

FAQ

Morocco proxy questions

Short answers about pricing, targeting and sessions for Morocco.

Read the full FAQ
How much does a Morocco proxy cost per GB?

Morocco residential proxies cost $0.36 per GB on the 50 GB entry tier and fall to $0.23 per GB from 10,000 GB. Mobile IPs go down to $0.78 per GB and long-acting ISP to $0.13 per GB at their largest tiers. Choosing Morocco or one of its cities costs nothing extra.

Can I target a specific city in Morocco?

Casablanca is the city you can name in Morocco, written as user-country-ma-city-casablanca. To use an IP from anywhere in the country, leave the city out and connect with user-country-ma.

How do I keep the same Morocco IP for a while?

Add a session ID and a ttl to the username, for example user-country-ma-city-casablanca-session-mar8t3-ttl-30m. Residential sessions hold one IP for 1 to 120 minutes, mobile for 1 to 60 minutes and long-acting ISP for up to 12 hours. Change the session ID whenever you want a new IP.

How do I pay, and what is the minimum top-up?

Top up your balance with crypto (USDT, USDC, BTC, ETH, BNB, SOL, LTC, TRX, POL, DOGE or XRP). The minimum top-up is $40. Your balance and the GB you buy never expire, and if a purchase fails the amount goes back to your balance.

Which proxy type should I use for Morocco?

Start with residential proxies for most sites in Morocco, including Avito.ma and Jumia Maroc. Move to mobile IPs when a page still challenges you or depends on the carrier, choose unlimited residential when a crawl moves many GB a day, and use long-acting ISP for sessions that must last hours.

Can I switch from Morocco to another country?

Yes. Change the country code in the username, for example from country-ma to country-ae for United Arab Emirates. The same account, balance and token work in all 64 countries, so no new order is needed.

Middle East & Africa

Other proxy locations in Middle East & Africa

Each country has its own page with cities, username values and local details. See all 64 countries.

Get Morocco IPs in a few minutes

Create an account, top up from $40 with crypto and set country-ma in the username.