Motory Scraper: Used Cars in Saudi Arabia avatar

Motory Scraper: Used Cars in Saudi Arabia

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Motory Scraper: Used Cars in Saudi Arabia

Motory Scraper: Used Cars in Saudi Arabia

Find used cars listed on Motory in Jordan and Saudi Arabia. Narrow them by city, make, model, model year, price, fuel, dealer or seller type. Each listing gives price, mileage, year, city, seller and photos; one car can be opened in full, and makes, models and filter counts can be listed.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Happy Endpoint

Happy Endpoint

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

What this Actor does

This Actor reads the used-car listings of Motory, a car marketplace for Saudi Arabia and Jordan, and returns one row per car. A row holds the title, model year, make and model, asking price and currency, mileage, gearbox, city, seller type, financing information and photo links. Search by keyword, city, make, model and year range, price range, body style, fuel, color, origin, dealer or seller type in seven sort orders, or paste the address of a Motory search page. Other operations open one listing in full, list the makes and models, check what any Motory page address points to, and return the filter choices with their result counts.

The data is what Motory shows to any visitor on its used-car search and listing pages: prices, model years, mileage, specifications, cities and photos.

Use cases

  • Compare asking prices for one model across cities and model years before buying or pricing a trade-in.
  • Follow the stock of a dealership and spot reduced prices or new arrivals each day.
  • List the dealerships of a city with their contact details and stock, to find trade partners or rivals.
  • Build a price index for used electric cars, with their stated range, in the Saudi market.
  • Measure how many cars of each make and body style are for sale, using the filter counts.
  • Feed a car valuation model with listing details such as mileage, specifications and financing.

How to use

  1. Open the Actor's input form in Apify Console, or prepare a JSON input for the API.
  2. Pick an operation: each one is a different kind of request to Motory.
  3. Set maxItems to the number of results you need. It is the only quantity setting; paging is handled for you.
  4. Start the run. The results land in the run's dataset, where you can download them as JSON, CSV, Excel and other formats, or read them through the Apify API.

This is the example input, the one the input form starts with:

{
"operation": "usedCars",
"maxItems": 10
}

Input

FieldTypeDescriptionUsed by
operationstringWhich data to fetch. Each option is one kind of request.all operations
maxItemsintegerThe most results to return. The run stops once it has this many.all operations
urlstringThe address of a page on the Saudi Motory site, copied from your browser: the page of one car ad, a results page or any other page.Identify a Motory page link, Used car details by link, Search used cars by link
listingIdintegerThe number of one car ad, as search rows return it in id. Take it from the same market.Used car details
carListstringPick the cars on sale now or the new-car catalogue. They share many entries, yet each has some that the other lacks.Car makes, Car models of a make
makeIdintegerThe number of one car make, as Car makes returns it in id. Use the same market and the same list.Car models of a make
querystringWords to look for in used-car listings, such as a make or a model name. Match the language you pick below.Search used cars
marketstringWhich Motory country site to read. Cars and numbers differ between them, so stay with one site for a whole task. Leave it empty for Saudi Arabia.Car makes, Car models of a make, Used car details, Filter choices for used cars, Search used cars
languagestringThe language of labels and texts in the rows. Numbers and IDs do not change. Leave it empty for English.Car makes, Car models of a make, Used car details, Used car details by link, Filter choices for used cars, Search used cars, Search used cars by link
makeIdsstringMake numbers from Car makes, with a comma between them. Cars of any listed make stay.Filter choices for used cars, Search used cars
modelIdsstringModel numbers from Car models of a make, with a comma between them. A match on any one is enough.Filter choices for used cars, Search used cars
cityIdsstringCity numbers from Filter choices for used cars, with a comma between them.Filter choices for used cars, Search used cars
minYearintegerOldest model year to keep. Use the same value as the latest year to pick one year.Filter choices for used cars, Search used cars
maxYearintegerNewest model year to keep.Filter choices for used cars, Search used cars
minPriceintegerLowest asking price, written as a plain number in the currency of the chosen country. Cars that hide their price are left out.Filter choices for used cars, Search used cars
maxPriceintegerHighest asking price, written as a plain number in the currency of the chosen country.Filter choices for used cars, Search used cars
sellerTypestringShow only dealerships or only private sellers. Leave it empty for both.Filter choices for used cars, Search used cars
sortstringHow to order the cars. Leave it empty for promoted cars first.Search used cars, Search used cars by link

Advanced filters

Put these keys inside the advancedFilters object. Any other key is refused.

KeyTypeDescriptionUsed by
bodyTypeIdsstringBody style numbers from Filter choices for used cars, with a comma between them.Filter choices for used cars, Search used cars
fuelTypeIdsstringFuel type numbers from Filter choices for used cars, with a comma between them.Filter choices for used cars, Search used cars
transmissionIdsstringGearbox type numbers from Filter choices for used cars, with a comma between them.Filter choices for used cars, Search used cars
colorIdsstringExterior color numbers from Filter choices for used cars, with a comma between them.Filter choices for used cars, Search used cars
originIdsstringNumbers of the maker countries from Filter choices for used cars, with a comma between them.Filter choices for used cars, Search used cars
mileageIdsstringNumbers of distance-driven bands from Filter choices for used cars, with a comma between them.Filter choices for used cars, Search used cars
dealerIdsstringNumbers of dealerships whose whole stock you want, with a comma between them.Filter choices for used cars, Search used cars
hasFinancingbooleanKeep only cars sold with a loan offer. Leave it unset rather than off.Filter choices for used cars, Search used cars
withPriceOnlybooleanHide cars listed without a price. Leave it unset rather than off.Filter choices for used cars, Search used cars
pricingstringOne special group of cars to look at.Search used cars
minElectricRangeintegerShortest distance on a full charge, in whole kilometers. Cars that state no range are dropped.Filter choices for used cars, Search used cars
maxElectricRangeintegerLongest distance on a full charge, in whole kilometers.Filter choices for used cars, Search used cars

Output

Every row holds the run's own fields first (operation, scrapedAt and sourceUrl), then the core fields id, url, title, price, currency, location, which are empty when the source has no such value, and then every field of the source item as Motory returns it. The dataset has an overview view and one view per operation.

Run the Actor with the prefilled input to see a sample of the output.

Pricing

This Actor uses pay-per-event pricing: a start fee of $0.002 for each run, plus $0.002 for each result in the dataset. Every operation is priced the same way.

OperationStart fee per runPrice per result
Car makes$0.002$0.002
Car models of a make$0.002$0.002
Identify a Motory page link$0.002$0.002
Used car details$0.002$0.002
Used car details by link$0.002$0.002
Filter choices for used cars$0.002$0.002
Search used cars$0.002$0.002
Search used cars by link$0.002$0.002

Worked examples for one run:

ResultsTotal cost
10$0.022
100$0.202
1,000$2.002

Invalid input, a not-found answer or an internal error adds no charge of its own: such a run pays the start fee plus only the results it delivered before it stopped (none for invalid input). To cap what one run may cost, set the maximum cost per run when you start it.

Limits and tips

  • One run returns at most 1,000 results; the input form allows no higher maxItems.
  • Set maxItems to what you need: you pay per result, and a smaller run finishes sooner.
  • A request that matches nothing ends with an empty dataset and costs only the start fee.
  • Numbers for makes, models, cities and the other filters belong to one market. Take them from the lists of the same country site, never across Saudi Arabia and Jordan.
  • Search by Motory page link and the detail links accept the Saudi site only. For Jordan, use the search operations with the country site set.
  • Prices are in the currency of the market, and a car can hide its price, so some rows have no number.
  • Each search page holds up to 50 cars and a run reads at most 25 pages.

Resume a run that stopped at your cost limit

If you set a maximum cost per run and a run reaches it, the run stops early. To get the rest, resurrect the run in Apify Console, or through the API, with a higher limit. The Actor resumes where it stopped: results already in the dataset are not fetched or charged again, and the run still ends at maxItems. Resurrecting can charge the start fee again.

Running without input

The example input above is also this Actor's example run input. Apify's API documents that a run started with no input at all uses the example run input: Search used cars, at most 10 results, which costs at most $0.022 (the start fee plus 10 results). For your own runs, always send an input with the fields you need.

FAQ

Do I need an account on Motory?

No. The Actor reads public data, so an Apify account is all you need.

How do I get the data into my own tools?

Download the dataset from the run's page, or read it through the Apify API and its integrations.

Where do I get a make or model number?

Run Car makes for the market, then Car models of a make with the make number. Each row carries its id, which you pass as a Make ID or a Model ID in the search.

Can I read new cars as well?

The makes and models lists cover the new-car catalogue too. The search itself covers the used cars on sale.

What does the language setting change?

Only labels and texts such as titles and descriptions. Numbers and IDs stay the same, and a keyword matches text in the language you pick.

Do rows contain seller contact data?

Rows keep every field the site shows, seller names and phone numbers included. Those can be personal data, so read the section on legal use below before you store or share them.

More Motory Actors

This is the only Motory Actor in this collection for now.

Disclaimer

This Actor is an independent tool. It is not affiliated with, endorsed by or sponsored by Motory. All trademarks belong to their owners.

This Actor collects data that Motory shows publicly. Some fields can hold personal data about private people: description, header › title, lead_id, notification_id, phone_numbers, raw › title, related_used, response_id, seller, seller_id, seller_name, seller_phone, title, whatsapp_number. Some fields hold business contact data: cash_sale_companies, companies, company_id, company_logo, company_name, data, dealer_id, financing_company_id, financing_company_logo, financing_company_name, offers › items[] › company, preferred_financing_company_phone, price › cash_sale_companies, price › companies, price › preferred_financing_company_id, price › preferred_financing_company_logo, price › preferred_financing_company_name, price › preferred_financing_company_phone, raw › price › cash_sale_companies, raw › price › companies, raw › price › preferred_financing_company_id, raw › price › preferred_financing_company_logo, raw › price › preferred_financing_company_name, raw › price › preferred_financing_company_phone. Personal data is protected by laws such as the GDPR in the EU. Collect and use it only when you have a lawful reason, keep only what you need, and do not use it for unsolicited messages. If you are unsure, ask a lawyer.