Moteur.ma API

Morocco's used-car ads and the official new-car price list, as JSON

Moteur.ma is Morocco's car site, with two sides, and this API reads both.

no credit card1,000 free credits · instant API key · pay by card or crypto
Missing a Moteur.ma endpoint, or need a source we don't have yet?Contact us real people · same-day reply.
M
/moteur-ma/v1

7 active endpoints. Every call is 3 credits.

  • POST/moteur-ma/v1/search
  • POST/moteur-ma/v1/listing
  • POST/moteur-ma/v1/makes
  • POST/moteur-ma/v1/new_catalog
  • POST/moteur-ma/v1/new_models
  • POST/moteur-ma/v1/new_versions
  • POST/moteur-ma/v1/new_version

What Moteur.ma endpoints does ReefAPI ship?

7 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.

7 endpoints

search

3 cr

Search used cars for sale in Morocco on Moteur.ma (≈123,000 live ads).

required
—
optional
brand, model, city, fuel, gearbox, body_type, color, price_min, price_max, year_min, year_max, mileage_max, page, include_pii

listing

3 cr

One used-car ad in full.

required
—
optional
id, url, include_pii

makes

3 cr

Every make and model slug the used-car search accepts, straight from the site's own filter data.

required
—
optional
brand

new_catalog

3 cr

The new-car catalogue tree sold in Morocco.

required
—
optional
brand

new_models

3 cr

A make's current new-car range in Morocco with the official "from" price (MAD) and number of…

required
brand
optional
—

new_versions

3 cr

Every version of one new model with its fuel, gearbox, fiscal power, horsepower and price.

required
brand, model
optional
—

new_version

3 cr

One new-car version in full.

required
—
optional
id, url

Every parameter, every allowed value →

Moteur.ma API

6 of 7 endpoints, ready to run

View docs ↗

Search used cars across Morocco

3 credits0 required · 5 optional
POST/moteur-ma/v1/search
idle
// Press "Try it" and this pane shows exactly what the
// live site returned this second — including an empty
// result, if that is the truth. No key, no account.

How the Moteur.ma API works

Moteur.ma is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.

01
Authenticate
x-api-key header

No OAuth app, no request signing, no per-site account. One key covers all 438 engines.

02
Call
POST /moteur-ma/v1/…

Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.

03
Pay
3 credit per call

Credits, not seats. Failed and blocked calls are never charged, and cache hits cost nothing.

04
Read
{ ok, data, meta, error }

One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.

From a model to its new price and its used-market value

Put the official new price of a car next to what the same car sells for used in Morocco.

01new_versions?brand=dacia&model=logan
GET/moteur-ma/v1/new_versions?brand=dacia&model=logan

6 Logan versions on 2026-10-07, from 139,000 to 176,500 MAD, each with fuel, gearbox, fiscal power and horsepower.

02new_version?id=4455
GET/moteur-ma/v1/new_version?id=4455

The Logan 1.0 TCe 100 Essential price table and technical sheet: showroom price, promotion if any, fees and on-the-road price.

03search?brand=dacia&model=logan&year_min=2018
GET/moteur-ma/v1/search?brand=dacia&model=logan&year_min=2018

Used Logans for sale with price, year, mileage, fuel and city; 3,472 Logans were listed in total that day.

04listing?id=<id>
GET/moteur-ma/v1/listing?id=<id>

Any of those ads in full, with the seller's phone and whether it is a dealer.

A dated comparison of new and used prices for one model in Morocco, in MAD, with the sellers behind the used ads.

request
curl -X POST https://api.reefapi.com/moteur-ma/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"brand":"dacia","model":"logan","fuel":"Diesel"}'
response envelope
{
  "ok": true,
  "data": { … },
  "meta": {
    "api": "moteur-ma",
    "endpoint": "search",
    "mode": "live",
    "latency_ms": …,
    "record_count": …
  },
  "error": null
}

What a Moteur.ma field actually contains

Fields that read differently from how they look. Every row was measured against live Moteur.ma pages on 2026-10-07.

FieldWhat it holds
price_mad vs price_labelprice_label is the price exactly as the ad prints it ('89,000 MAD'). price_mad is the number, or null when the ad says 'Appeler pour le prix' (call for price). 257 of 359 search rows carried a price in both of our runs.
showroom_price_madThe dealer's list price for a new version, before any promotion. For the Citroën C3 Aircross 1.2 PureTech 110 MAX BVM it was 224,900 MAD.
discount_mad and promo_price_madThe running promotion and the price after it: 32,000 off, 192,900 MAD for that same C3 Aircross. promo_valid_until is the end date the page prints (2026-10-31). Both are null when no promotion runs.
on_the_road_price_madThe 'prix clé en main': the price after promotion plus registration_fee_mad and other_fees_mad. For the C3 Aircross: 192,900 + 4,555 + 2,700 = 200,155 MAD. When no fees are listed it equals the showroom price.
price_ld_json and price_mismatchA second reading of the same version's price from the page's own structured data. It matched our computed price on 7 of 7 versions in each run; price_mismatch turns true if they ever disagree.
seller.type'private' when the ad is published by a private person, 'professional' for a dealer, whose name and logo are then returned (for example BMW PREMIUM SELECTION, member since Feb 2017).
phone and whatsapp_urlThe contact number the ad page wires to its Call and WhatsApp buttons. 8 of 8 sampled ads carried one in each run.
body_type and color on a used adOnly what the seller filled in. The page prints N/A otherwise, which we return as null; 2 of 8 sampled ads had them.

Used-car search has no free-text box and no sort order on Moteur.ma itself: ads come newest first as the site lists them, and you narrow with the filters.

Morocco coverage, measured

Every number below was read from live Moteur.ma pages on 2026-10-07, in two back-to-back runs of 48 calls each that returned the same totals.

Market

Morocco only, prices in Moroccan dirhams (MAD). Used cars from 110 named cities (plus "Autre"), new cars from the official price lists of 74 makes.

Live volume

123,076 used-car ads; Dacia 8,958 of them, Logan 3,472, electric 416. New cars: 74 makes, 402 models, 1,254 versions. 142 used-car makes and 1,698 model slugs in the filter list.

Filters that bite

diesel 99,902 · automatic 50,633 · Rabat 9,136 · 100,000-150,000 MAD 26,437 · 2018-2019 16,207 · at most 50,000 km 31,334 · black 10,608 · SUV et 4x4 7,125. Every ad on the filtered first pages carried the filtered value (30 of 30).

Field fill

359 search rows: id, title, city, date, year, gearbox, fuel and mileage 359/359, image 342/359, price 257/359 (the rest say 'call for price'). 8 full ads: phone, description, photos and seller 8/8. 7 new versions: price table and technical sheet 7/7.

Checks

Ad id from search opened the same ad 8 of 8 times, with the same price, year, mileage, fuel and gearbox. New-version price agreed across the version list, the price table and the page's structured data 7 of 7 times.

Limits

No free-text search and no sort on the used list (newest first). No map position and no seller rating. A rare ad card has no link and no id; it is counted and left out. Motorcycles, trucks and rentals are not covered yet.

What people build with Moteur.ma

The jobs this data is most often used for.

7

endpoints

3

credits per call

01

Price a used car in Morocco: filter one make, model and year range and read the MAD prices and mileage of every comparable ad.

02

Track dealer promotions: read new_versions for the models you follow and alert when discount_mad appears or changes.

03

Compare the on-the-road cost of new cars across makes, fees included, from one price table per version.

04

Build a lead list of Moroccan car dealers from the seller block of their ads, with phone and city.

What Moteur.ma data costs

The cheapest call here is 3 credits, so $15/mo (Pro) buys 3,333 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.

Full pricing →
$0.67–$1.50 / 1,000 credits
  • 1,000 free credits on signup, no card
  • One key, all 438 APIs, one credit pool
  • Failed and blocked calls are never charged
  • Credits roll over and never expire

Call it in two lines

Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.

curl
curl -X POST https://api.reefapi.com/moteur-ma/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"brand":"dacia","model":"logan","fuel":"Diesel"}'
python
import requests

r = requests.post(
    "https://api.reefapi.com/moteur-ma/v1/search",
    headers={"x-api-key": REEF_KEY},
    json={
  "brand": "dacia",
  "model": "logan",
  "fuel": "Diesel"
},
)
print(r.json()["data"])
FAQ

Have a question? We got answers.

The questions people actually ask before wiring up Moteur.ma.

Get a free key →
Do I need a Moteur.ma account or a Moroccan IP?▾

No. Every endpoint reads public pages without an account, and you call reefapi.com from anywhere.

How many used-car ads can I reach?▾

All of them. The site listed 123,076 used-car ads during our runs on 2026-10-07 and every page up to the last one is reachable: page 4,102 of the unfiltered list returned its 29 ads. Asking past the last page returns an empty list with the true total and a warning.

Which filters work, and how much do they narrow?▾

Measured in one run against 123,076 ads: Dacia 8,958, Dacia Logan 3,472, diesel 99,902, electric 416, automatic 50,633, Rabat 9,136, 100,000-150,000 MAD 26,437, model years 2018-2019 16,207, at most 50,000 km 31,334, black 10,608, SUV et 4x4 7,125.

What happens if I send a filter value Moteur.ma does not know?▾

We reject it with INVALID_PARAM and list the accepted values. Moteur.ma itself ignores an unknown fuel or colour and returns the whole catalogue, which would look like a working filter. An unknown make or model slug returns 0 results; the makes call lists every slug.

Can I get official new-car prices in Morocco?▾

Yes. new_models gives a make's range with the 'from' price, new_versions every version with its price, list price and discount, and new_version the full price table: showroom, promotion, registration and other fees, and on-the-road price, plus power, consumption, dimensions and equipment.

Why is price_mad null on some used ads?▾

Because the seller wrote 'Appeler pour le prix' instead of a price. We keep that text in price_label so you can tell 'no price' from a real price. A price ceiling filter on Moteur.ma also keeps these ads.

Do you return the seller's phone and name?▾

Yes, as the ad page publishes them: the contact phone, the WhatsApp link, the seller's name (or 'particulier' for a private seller), dealer logo, member-since date and city.

Can I search motorcycles or trucks?▾

Not yet. This API covers used cars and the new-car catalogue. Moteur.ma also has motorcycle, truck and rental sections that we have not opened.

What is the Moteur.ma API?▾

Moteur.ma API is a ReefAPI endpoint group for morocco's used-car ads and official new-car prices in mad: search, full ads with the seller's phone, and every version's price sheet. It returns live JSON through POST requests under /moteur-ma/v1.

Is the Moteur.ma API free to try?▾

Yes. ReefAPI starts with 1,000 free credits, no card required. Moteur.ma calls use the same shared credit balance as every other ReefAPI engine.

Do I need a Moteur.ma login or account?▾

No login to Moteur.ma is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.

How fresh is the Moteur.ma data?▾

The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.

How many credits does the Moteur.ma API use?▾

Moteur.ma actions currently cost 3 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.

Can I call Moteur.ma from an AI assistant or MCP client?▾

Yes. Connect ReefAPI once through MCP and your assistant can call moteur-ma actions with the same key, credit pool and JSON envelope used by normal REST requests.

99 Classifieds & Second-hand APIs on the same key

One key, one credit pool, one response envelope. If you are pulling Moteur.ma, you are one call away from the rest of the category — no second contract, no second integration.

Need something this API does not do?

Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.

0/4000

No account needed · we reply from [email protected]

Try it on your own data before you pay anything

The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 437 APIs, and the same envelope everywhere.

Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-10-07.