# Autobip Scraper (autobip.com) (`hamza325/autobip-scraper`) Actor

Autobip is Algeria's reference price guide for new and used cars — and a news archive you can search by topic. Collect every new-car version with prices, availability, warranty and detailed specs, the used-car price guide by model and year, and full articles, in Arabic or French.

- **URL**: https://apify.com/hamza325/autobip-scraper.md
- **Developed by:** [Hamza Abbad](https://apify.com/hamza325) (community)
- **Categories:** E-commerce, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.47 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Autobip Scraper (Algeria)

Car prices and car news from **Autobip** (autobip.com), Algeria's reference price guide for new and
used cars. There is always something to look up on it — a model, a marque, a topic — so a run starts
from a **search**: paste the site's search link and the Actor collects the articles that match it.
The rest of the site is reachable the same way: a category or the whole archive, one article with its
pictures, the new-car catalogue down to a single version, and the used-car price guide — in Arabic or
French, whichever the link uses.

### What you can scrape

Paste a link; the Actor recognises it and runs the matching task. The first rows are the everyday
ones.

| The page you paste | What you get |
|---|---|
| **A search link** | One row per article matching that search — full body as Markdown, tags, category, author, date, link |
| An article link | That article, with its pictures and its author |
| A category page | The same article rows, for that category only |
| The article archive | The same article rows for the whole archive, optionally down to a date |
| The new-car catalogue | One row per version: prices, availability, warranty, engine and edition, equipment list, photos, link |
| A brand page | The same version rows, for that brand only |
| A model page | The same version rows, for that model only |
| A version page | That single version, with its full equipment list |
| The used-car price guide | One row per brand / model / year / edition / engine, with the published average, minimum and maximum and the listing count behind it |
| A used-price brand or model page | The same rows, for that brand or that model |

Nothing else is needed: the link's language, its search term, its category or brand, and any page
number it carries are read from it. Prices are in Algerian dinars (DZD); the used guide publishes its
averages in units of 10 000 DZD, and the Actor gives both that number and the absolute amount.

### Why this Actor

- **Search is the entry point.** The site is a reference people consult for a topic or a model, so a
  run starts from its search page: one link, the matching articles, done. Every other page works the
  same way when you need it.
- **One link is the whole input.** Each page identifies itself in its link, so a copied address
  selects the task, the language and the scope — no mode to choose, no filters to fill.
- **Complete, not sampled.** A catalogue run walks every brand, model and version the site
  publishes, not only the ones its home page features. A run scoped by a link costs only that scope.
- **Readable equipment lists and article bodies.** Equipment arrives grouped the way the site groups
  it (engine, vehicle, look, comfort, safety) as a structured field *and* Markdown; article texts come
  back as Markdown, so headings, lists and bold survive the export, with the author's name on the row.
- **Bounded by default.** A run returns a useful sample quickly — 200 rows, at most 5 pages per list —
  and collects everything only when asked (`0`).
- **Honest failures.** A page the Actor does not collect — the comparator, the budget finder, the
  valuation calculator, an author page — is refused with a sentence saying what to paste instead, and
  an unknown brand fails the run with the list of real ones instead of returning an empty dataset.

### Quick start

1. Run a search on autobip.com and copy the address from your browser, e.g.
   `https://www.autobip.com/fr/recherche/?query=toyota`.
2. Paste it into **URL**.
3. Press **Start**.

The run log's first line names what the link turned out to be
(`mode newsSearch; language fr; tag "toyota"`), and the dataset fills with the matching articles.
Swap the search term for anything you are looking into — a model, a marque, a topic.

### Tutorial: a real workflow

Say you are following a marque: what the trade press writes about it, and what its cars cost new and
used.

#### 1. Search the site

```json
{ "pageUrl": "https://www.autobip.com/fr/recherche/?query=toyota" }
```

Every matching article comes back, newest first, with the body already converted:

```json
{
  "recordType": "article",
  "language": "fr",
  "title": "Toyota prépare la production du Kei-01 aux États-Unis",
  "category": "Actualité Auto",
  "tags": ["Toyota"],
  "bodyMarkdown": "**Toyota a confirmé…**\n\n- production prévue en 2027…",
  "authorId": "20",
  "authorName": "La Rédaction",
  "publishedAt": "2026-11-10T15:53:19.000Z",
  "url": "https://www.autobip.com/fr/actualite_auto/…/23325"
}
```

The search runs over the site's own archive, so a term can match the body, the title or the tags.
Leave *Maximum pages* at its default for a quick read; set it to `0` to page the search to its end.

#### 2. Open one article in full

```json
{ "pageUrl": "https://www.autobip.com/ar/actualite_auto/titre/23297" }
```

An article link returns that one article with what a listing does not carry: its pictures (`imageUrl`
plus the full `imageUrls` gallery) and its author inline. Rows follow the article's own language, even
inside a run started from a French link.

#### 3. Keep the archive current

```json
{ "pageUrl": "https://www.autobip.com/fr/actualites", "publishedAfter": "2026-11-01" }
```

The archive is newest-first, so the run stops each category as soon as it reaches the cutoff and a
weekly refresh only pays for what is new. Add `"maxItems": 0, "maxPages": 0` when you want the whole
archive rather than the default sample; paste a category page instead of the archive to follow one
section.

#### 4. Price a marque

```json
{ "pageUrl": "https://www.autobip.com/fr/prix-benelli-algerie/85" }
```

One row per version of that brand. Identity, availability and warranty are the site's own words; the
price columns are plain integers in dinars:

```json
{
  "recordType": "priceVersion",
  "brand": "Benelli",
  "model": "TRK 502X",
  "versionLabel": "Benelli TRK 502X  .",
  "engine": ".",
  "availabilityFr": "Immédiate",
  "availabilityAr": "تسليم فوري",
  "warranty": "18 mois ou 8000 Km",
  "productionStart": 2023,
  "imageUrl": "https://cdn.autobip.com/600/photos/new_car_prices/…webp",
  "url": "https://www.autobip.com/fr/prix-benelli-trk_502x_-algerie/2048"
}
```

`priceTtc`, `priceLicence`, `priceEntreprise`, `priceAndi` and `promotionPrice` carry the amounts (a
value is empty when the site publishes none). `specs` holds the equipment as labelled lines with
their units (`{"category":"Moteur","name":"Puissance","value":"47","unit":"Chevaux"}`) and
`specsMarkdown` renders the same block, so a spreadsheet export stays readable.

#### 5. Look up what a used one is worth

```json
{ "pageUrl": "https://www.autobip.com/fr/prix-occasion/hyundai-algerie/" }
```

One row per brand / model / year / edition / engine with the guide's own figures: `priceAvg` is the
number the site prints next to "Millions" — units of 10 000 DZD — and `priceAvgDzd` the same figure as
an amount, so nothing has to be converted by hand. `listingsCount` says how many live listings the
average rests on. Narrow it with a model link
(`…/prix-occasion/Hyundai-Elantra-algerie/2018`): the guide publishes one reference year per model, so
the run keeps the model's rows and prefers the year the link names when it is one of them.

#### 6. Collect the whole new-car market

```json
{ "pageUrl": "https://www.autobip.com/fr/prix-du-neuf/", "maxItems": 0, "maxPages": 0 }
```

The same version rows, for every brand, model and version the site publishes — motorcycles included.
Leave the caps at `0` so nothing is cut; turn *Include equipment lists* off when you only need the
price columns, which is what makes a catalogue run long.

### Input

| Field (key) | What it does | Default |
|---|---|---|
| **URL** (`pageUrl`) | The page to collect. In the default mode this one field is the whole input. | a search link |
| **What to scrape** (`startMode`) | `auto` — from the pasted URL — or an explicit task: `newsSearch`, `news`, `article`, `newPrices`, `newModels`, `usedGuide`. | `auto` |
| **Language** (`language`) | Empty follows the link's language; `fr` or `ar` overrides it. One language per run; it also chooses the labels on catalogue rows. | from the link |
| **Brands** (`brands`) | Narrow to brands by name (`Chery`, `Mercedes Benz`), slug (`mercedes-benz`) or id. Empty follows the link. | from the link |
| **Article category** (`category`) | News only: id, slug or label — a category link fills it. | from the link |
| **Tag** (`tag`) | News search only, required — a search link fills it. | from the link |
| **Published after** (`publishedAfter`) | News only: stop a category once articles are older than this date. | — |
| **Include equipment lists** (`includeSpecs`) | New-car price runs: fetch each version's equipment list. Off makes a run much faster. | `true` |
| **Maximum rows** (`maxItems`) | Row cap for the whole run; `0` collects everything. | `200` |
| **Maximum pages per category** (`maxPages`) | News: page cap per category; `0` pages each category to its end. | `5` |
| **Starting page** (`startPage`) | News: first page to read, to resume a long run. A `?page=` in the link sets it. | `1` |
| **Delay between pages** (`requestDelayMs`) | Pause between two pages, in milliseconds. | `250` |
| **Retries per request** (`maxRequestRetries`) | Retries before a failed request is given up on. | `4` |
| **Proxy configuration** (`proxyConfiguration`) | Optional; the source needs no particular country. | none |
| **Debug: include raw source record** (`debugIncludeRaw`) | Adds the source record to each row. | `false` |

The modes below *auto* exist for runs with no link to paste; they take their scope from these fields
instead.

### Output

One row kind per run. `recordType` tells them apart, and the dataset has one view per kind.

**Articles** (search, archive, category and article links)

| Column | What it holds |
|---|---|
| `title`, `category`, `tags`, `publishedAt`, `updatedAt` | The article's identity |
| `bodyMarkdown` | Full article body as Markdown |
| `excerpt` | The opening of the article, plain text |
| `views` | Readership on the site |
| `authorId`, `authorName` | The author's id and name, in the article's language |
| `imageUrl` | The article's lead picture, sized for a thumbnail |
| `imageUrls` | All the article's pictures — returned by an article link; a listing carries none |
| `url` | The article page |
| `articleId`, `categoryId`, `translatedArticleId` | Ids; the translation id points at the same article in the other language |
| `language`, `scrapedAt` | The article's own language, and the run metadata |

**New-car versions** (catalogue, brand, model or version link)

| Column | What it holds |
|---|---|
| `brand`, `model`, `versionLabel`, `edition`, `engine` | What the car is, in the site's own words |
| `priceTtc`, `priceLicence`, `priceEntreprise`, `priceAndi`, `promotionPrice` | The published prices in DZD, one column each; empty when the site publishes none |
| `currency` | `DZD` |
| `availabilityFr`, `availabilityAr` | Delivery availability in both languages |
| `warranty` | Warranty as published (`5`, or `7 ans ou 200.000 km`) |
| `specs`, `specsMarkdown` | The equipment list, structured and as a Markdown block |
| `productionStart`, `productionEnd` | Model years the site lists for this model |
| `views` | Page views on the site |
| `imageUrl` | The version's lead photo, sized for a thumbnail in the Output tab |
| `imageUrls` | Every photo the site publishes for the version |
| `url` | The version's page |
| `versionId`, `brandId`, `modelId` | Stable ids, for joining and de-duplicating runs |
| `language`, `scrapedAt` | Run language and row build time |

**New-car models** (explicit model-level mode)

| Column | What it holds |
|---|---|
| `brand`, `model`, `carType` | What the car is; `carType` is the site's own vehicle-type code |
| `versionsCount` | How many versions the model has |
| `priceMin`, `priceMax` | Cheapest and most expensive version, in DZD |
| `productionStart`, `productionEnd` | Model years |
| `availabilityFr`, `availabilityAr` | Availability |
| `imageUrl` | The model's photo, sized for a thumbnail |
| `url` | The model's page |
| `modelId`, `brandId`, `language`, `scrapedAt` | Ids and run metadata |

**Used-price guide** (used-price page, brand page or model page)

| Column | What it holds |
|---|---|
| `brand`, `model`, `year`, `edition`, `engine` | Which car and which model year |
| `priceAvg`, `priceAvgDzd` | The published average — raw unit and DZD amount |
| `priceMinDzd`, `priceMaxDzd` | The guide's range, in DZD |
| `listingsCount` | How many live listings the average is based on |
| `yearMin`, `yearMax` | Years the guide covers for this model |
| `imageUrl` | The model's photo, sized for a thumbnail |
| `url` | The guide's page for this entry |
| `modelId`, `brandId`, `language`, `scrapedAt` | Ids and run metadata |

### Notes and limits

- **Bounded by default.** A run stops at 200 rows and 5 pages per list unless you set those caps to
  `0`. That keeps a first run fast and cheap; a complete archive or catalogue is one edit away.
- **One thing per run.** The four row kinds never mix in one dataset: paste another link, or choose
  another mode, to collect another kind.
- **The search collects articles.** The site's search also suggests car models, but a search row is an
  article; for vehicle data paste the model's own page.
- **Two price units.** New prices are dinars. The used guide publishes in units of 10 000 DZD — `430`
  is 4 300 000 DZD. Use `priceAvgDzd` for absolute amounts.
- **Prices are the site's own numbers.** A version with no published price shows an empty value
  instead of a zero, and a few entries are published by their dealer at unusual values — the Actor
  reports what the site says and never rescales it.
- **The used guide is a guide, not a listings feed.** It carries the site's average, minimum and
  maximum per model/year/edition/engine plus a listing count; it does not carry individual cars for
  sale, and only part of the site's brands publish used prices.
- **A used model link's year is the site's reference year.** The guide publishes one reference year
  per model; the Actor returns that model's rows and, when the year asked for is one of them, prefers
  it.
- **Languages are separate publications.** An article exists in one language; when the site also
  published the other one, `translatedArticleId` links the two. Category names, availability and
  warranty labels follow the run's language.
- **Article links and listing links give different picture coverage.** A listing publishes the text
  without pictures; an article link returns its pictures and its thumbnail column.
- **Author names are resolved, not invented.** A listing names only an author id, so the Actor looks
  the name up when it meets a new author — one lookup per author, not per article.
- **`carType` is the site's own vehicle-type code.** The site never publishes a label for it, so the
  column carries the code and nothing is guessed on its behalf; use it to tell motorcycles from cars.
- **Equipment lists are the slow part.** Turning *Include equipment lists* off makes a catalogue run
  a fast price-only run.
- **Pagination.** News runs read each category to the page cap, honour a starting page (including a
  `?page=` carried by the pasted link), and can stop at a date.
- **No login, no cookies, no country requirement.** A proxy is optional.
- **Failure over silence.** A page the Actor does not collect is refused with an explanation, an
  unknown brand or category names the real values, and a catalogue or guide run that finds nothing
  fails instead of producing an empty dataset.

### FAQ

**Do I need an account on the site?** No. The data is public and the Actor needs no credentials.

**Where do I start?** With a search: run one on autobip.com and paste its address. Paste any other
page — a brand, a model, the used-price guide, an article — and the Actor adapts.

**Why did I only get 200 rows?** Because that is the default cap. Set *Maximum rows* to `0` (and
*Maximum pages per category* to `0`) to collect everything.

**What if I have no link to paste?** Choose an explicit mode under *What to scrape* and fill the
fields — that path exists for scheduled runs and for links you do not have at hand.

**Can I get both languages in one run?** No — one language per run. Article rows always carry the
language the article itself is written in.

**Why is a used price `430` instead of 4 300 000?** Because the site publishes it that way. Both
forms are in the row: `priceAvg` (as published) and `priceAvgDzd` (the amount).

**Is a version the same as a model?** No. A model has one or more versions, each with its own price
and equipment. A model link returns that model's versions; the model-level mode returns one row per
model.

**Why was the link I pasted refused?** Because that page is not something this Actor collects (the
comparator, the budget finder, the valuation calculator, an author page). The message says which page
to paste instead.

### Contact

Bug reports, feature requests, or a custom scraper for a site not yet covered? Open an issue on the Actor's Apify Console page or message the maintainer directly there.

# Changelog

This Actor's version history is a separate document: https://apify.com/hamza325/autobip-scraper/changelog.md

# Actor input Schema

## `pageUrl` (type: `string`):

Paste any Autobip link straight from the browser's address bar — this one field is the whole input. A search link (`/fr/recherche/?query=toyota`) collects the articles matching that search, which is the usual starting point; an article link collects that one article with its pictures; a category page or the archive (`/fr/actualites`) collects the articles themselves. For vehicles, the catalogue (`/fr/prix-du-neuf/`) collects every new-car version with its equipment list, a brand page one brand, a model page one model, a version page one version; the used-price page (`/fr/prix-voitures-occasion-algerie/`) collects the used-price guide, and a used brand or model page narrows it. The link's language (Arabic or French) is read from it, and a `?page=` it carries is honoured. Pages this Actor does not collect (the comparator, the budget finder, the valuation calculator, an author page) are refused with a sentence saying what to paste instead. The prefilled link is a search, which is the fastest complete run.

## `startMode` (type: `string`):

`auto` (the default) covers every task below from a pasted link. The explicit modes are for runs with no link to paste; they then take their fields from the sections below.

## `language` (type: `string`):

Leave empty to follow the pasted link's language (and fall back to French). Setting it overrides the link: one language per run, and it also chooses the labels on catalogue rows. Articles keep their own language in the `language` column and carry their title and body as the site published them.

## `brands` (type: `array`):

Narrow the run to some brands: names (`Chery`, `Mercedes Benz`), slugs (`mercedes-benz`) or ids from a previous run. Leave empty to follow the pasted link (all brands for the catalogue page, one brand for a brand page), and for every brand when there is no link. A name that is not in the live catalogue fails the run with the list of real brands instead of returning nothing.

## `category` (type: `string`):

For the news mode: empty or `all` reads every category; an id (`2`), a slug (`promotions_remises`) or a label (`Promotions et remises`) reads one. A pasted category link fills this. The categories are read from the site at run time.

## `tag` (type: `string`):

For the news-search mode, required: the tag or keyword to search the archive for. A pasted search link fills this.

## `publishedAfter` (type: `string`):

News modes: stop reading a category once articles are older than this date (the archive is newest-first). Leave empty for the whole archive.

## `includeSpecs` (type: `boolean`):

New-car price runs: add each version's equipment list (engine, vehicle, look, comfort, safety). Turning it off makes the run faster and leaves those columns empty.

## `maxItems` (type: `integer`):

Row cap for the whole run. The default keeps a run quick; 0 collects everything.

## `maxPages` (type: `integer`):

News: page cap per category. The default keeps a run quick; 0 pages each category to its end.

## `startPage` (type: `integer`):

News modes: first page to read — to resume a long archive run or to start mid-list. A `?page=` in the pasted link sets it.

## `requestDelayMs` (type: `integer`):

Pause between two page requests.

## `maxRequestRetries` (type: `integer`):

How many times a failed request is retried before it is given up on.

## `proxyConfiguration` (type: `object`):

Apify Proxy to rotate egress through. Leave empty for direct access — the source needs no particular country.

## `debugIncludeRaw` (type: `boolean`):

Add the source record to every row, for debugging.

## Actor input object example

```json
{
  "pageUrl": "https://www.autobip.com/fr/recherche/?query=toyota",
  "startMode": "auto",
  "tag": "toyota",
  "publishedAfter": "2026-01-01",
  "includeSpecs": true,
  "maxItems": 200,
  "maxPages": 5,
  "startPage": 1,
  "requestDelayMs": 250,
  "maxRequestRetries": 4,
  "debugIncludeRaw": false
}
```

# Actor output Schema

## `rows` (type: `string`):

Default dataset with every row the run pushed. Filter on `recordType` — or open the `versions`, `models`, `used` and `articles` views — to read one kind at a time.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "pageUrl": "https://www.autobip.com/fr/recherche/?query=toyota"
};

// Run the Actor and wait for it to finish
const run = await client.actor("hamza325/autobip-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "pageUrl": "https://www.autobip.com/fr/recherche/?query=toyota" }

# Run the Actor and wait for it to finish
run = client.actor("hamza325/autobip-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "pageUrl": "https://www.autobip.com/fr/recherche/?query=toyota"
}' |
apify call hamza325/autobip-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hamza325/autobip-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8eLAL3Crtmox37KL4/builds/FpZgKXdaWH4gwts3M/openapi.json
