# Jiji Scraper - Nigeria, Kenya, Ghana & East Africa Ads (`neverempty/jiji-scraper`) Actor

Ads from Jiji in Nigeria, Kenya, Ghana, Uganda, Tanzania and Ethiopia as clean JSON: title, price and currency, condition, transmission, mileage and other listed attributes, region and area, verified-seller badge, images. Monitoring mode returns only new ads, so you never pay twice. Unofficial.

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

## Pricing

from $2.70 / 1,000 listing returneds

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

## Jiji Scraper - Nigeria, Kenya, Ghana & East Africa Ads

Get classified ads from **Jiji** in **Nigeria (jiji.ng)**, **Kenya (jiji.co.ke)**, **Ghana (jiji.com.gh)**, **Uganda (jiji.ug)**, **Tanzania (jiji.co.tz)** and **Ethiopia (jiji.com.et)** as clean, ready-to-use rows. Each row has the price as a number with its currency (NGN, KES, GHS, UGX, TZS, ETB), the condition, the attributes shown in the results (for cars: transmission and mileage), the region and area, the verified-ID badge, the seller's years on Jiji, top-ad flags and the first image. Search by country, category, location and search words, or paste any Jiji results page you already filtered on the site.

Turn on **monitoring mode** and schedule the Actor: each run returns only the ads that appeared since the last run, so a daily schedule becomes a feed of new cars, phones, houses or anything else listed on Jiji. The first monitoring run only remembers what is listed today and is free, and you are never charged twice for the same ad.

### What you can do with it

- **Track new ads** in a category and city every hour or every day and send them to a sheet, CRM, Slack or an alert.
- **Compare prices** of cars, phones, laptops, houses for rent or land per city, condition and model, with numbers you can sort and chart.
- **Watch the used-car market** in Lagos, Abuja, Nairobi, Accra or Kampala with condition, transmission and mileage as separate fields and make, model, year and colour in the title (`Toyota Camry 2015 Black`).
- **Build a market dataset** across six African countries from one Actor and one input format.

### What you get for each ad

| Field | Example |
|---|---|
| `listingId` / `guid` | `12345678` / Jiji's ad id and guid |
| `country` / `source` | `NG` / `jiji.ng` |
| `url` | link to the ad on Jiji (without tracking parameters) |
| `title` | `Toyota Camry 2015 Black` |
| `price` / `currency` / `priceText` | `21000000` / `NGN` / `₦ 21,000,000` |
| `pricePeriod`, `oldPrice`, `discountPercent` | `per month` for rentals, the earlier price and the discount when Jiji shows them |
| `category` / `categorySlug` | `Cars` / `cars` |
| `region`, `area`, `location` | `Lagos State`, `Ikeja`, `Lagos State, Ikeja` |
| `condition` | `Foreign Used`, `Brand New`, `Nigerian Used`, ... |
| `attributes` | `{"Condition": "Foreign Used", "Transmission": "Automatic", "Mileage": "149000 km"}` |
| `description` | the short description shown in the results, with phone numbers and emails removed |
| `imageUrl`, `imageCount` | first image, number of images |
| `isTopAd`, `isPromoted`, `promotionType` | paid placement flags as Jiji shows them |
| `isVerifiedSeller`, `sellerYearsOnJiji`, `isInspected` | verified-ID badge, years on Jiji, inspected badge |
| `isJob` | `true` for job ads |
| `searchUrl`, `scrapedAt` | the search the row came from, and when it was read |

Values Jiji does not show are `null`, never guessed. The attribute names are Jiji's own and differ by category; they are the ones Jiji prints on the results page.

### How to use it

**Build a search from fields.** Choose the country, the category as it appears in Jiji addresses (`cars`, `mobile-phones`, `houses-apartments-for-rent`, `land-and-plots-for-sale`, ...) and one or more locations (`lagos`, `abuja`, `nairobi`, `greater-accra`, `kampala`, `dar-es-salaam`, `addis-ababa`). Add search words such as `toyota camry` if you like. Each location is its own search, and an ad that shows up in two searches is returned once.

**Or paste search URLs.** Search and filter on Jiji in your browser and paste the address from the address bar into **Search URLs**, for example `https://jiji.ng/lagos/cars?filter_attr_90_transmission=automatic`. The filters, price range, search words and order in that address are kept and the Actor pages through the results.

**Monitoring.** Switch on **Monitoring mode** and add a schedule (hourly or daily). Run 1 remembers every ad the search shows and returns one free summary row. From run 2 on, only ads not seen before are returned and charged, newest first. Ads your filters removed are remembered too. Ads that did not fit under `maxListings` or your spending limit are not remembered, so they are still waiting on the next run. **Reset monitoring memory** starts over for that input.

#### Filters

Price range (sent to Jiji and checked again on every row), condition, verified sellers only, top ads excluded, keywords and excluded keywords. Any filter Jiji offers on the site (make, model, year, transmission, bedrooms, ...) works by pasting the filtered address into **Search URLs**.

#### Order

Jiji's recommended order, newest first, lowest price first or highest price first. Monitoring always reads newest first.

### Input

| Field | What it does |
|---|---|
| `searchUrls` | Results pages from any of the six Jiji sites. When set, the country, category, location and search fields are ignored. |
| `country` | `ng`, `ke`, `gh`, `ug`, `tz` or `et`. |
| `category` | Category as in Jiji addresses. Empty = every category. |
| `locations` | Region or city as in Jiji addresses. Empty = the whole country. |
| `searchQuery` | Words sent to Jiji's search box. |
| `sortBy` | empty (recommended), `newest`, `price-asc`, `price-desc`. |
| `maxListings` | Stop after this many ads in total (up to 4,000). |
| `maxPages` | Upper limit of result pages per search (0 = up to 200). |
| `minPrice` / `maxPrice` | Price range in the site's currency. |
| `conditions` | Keep only these conditions, written as Jiji shows them. |
| `keywords` / `keywordMatch` / `excludeKeywords` | Keep or drop ads by words in the title, description, category, location or condition. |
| `onlyVerifiedSellers` | Keep only ads with the verified-ID badge. |
| `excludePromoted` | Drop the paid top ads. |
| `monitoringMode` / `resetMonitoringState` | Return only new ads on later runs / forget what was remembered. |

Example input:

```json
{
  "country": "ng",
  "category": "cars",
  "locations": ["lagos"],
  "maxListings": 50
}
```

### Pricing

Pay per result: you are charged for each ad row you receive, and nothing else. Reading pages is free. Rows that explain an empty result (no ads, unknown category or place, filters that matched nothing, a page that could not be read, the first monitoring run, a monitoring run with nothing new) are free and say so in their `note` field.

### FAQ

**How do I scrape Jiji Nigeria car listings?**
Set `country` to `ng`, `category` to `cars` and add a location such as `lagos` or `abuja`. Each ad comes back as one row with the title (make, model, year and colour), price in NGN, condition, transmission and mileage.

**Can I get only the new Jiji ads every day?**
Yes. Turn on `monitoringMode` and schedule the Actor. After the free first run, every run returns only ads that were not there before, and you are never charged twice for the same ad.

**Does it work for Jiji Kenya, Ghana, Uganda, Tanzania and Ethiopia?**
Yes. Set `country` to `ke`, `gh`, `ug`, `tz` or `et`, or paste any results page from jiji.co.ke, jiji.com.gh, jiji.ug, jiji.co.tz or jiji.com.et. Prices come in the local currency.

**Can I paste a Jiji search I already filtered?**
Yes. Paste the address from your browser into `searchUrls`. The filters, price range and order in that address are kept and the Actor pages through the results.

**How do I export Jiji listings to Excel or Google Sheets?**
Run the Actor and download the dataset as CSV or Excel, or connect it to Google Sheets with an Apify integration.

### Good to know

- Countries: Nigeria, Kenya, Ghana, Uganda, Tanzania and Ethiopia. Jiji is read through residential connections in the same country; no login, browser check or CAPTCHA is solved or bypassed. When Jiji refuses a page, the search returns a free row saying the page could not be read.
- The Actor returns no seller names, phone numbers, emails or profile links. Phone numbers and emails written in titles, descriptions or attributes are replaced with `[phone removed]` / removed.
- CV categories (job seekers' CVs) are not read, because a CV is personal data.
- One search reads up to 200 result pages (about 4,000 ads). For bigger categories, split the search by location, price range or search words.
- Values come from the results pages. Fields that appear only on an ad's own page (the full description, all photos) are not included.
- In monitoring, the paid top ads that Jiji repeats on the newest-first list are not counted as new. An old ad that its seller renews may come back as new.
- A category or place name Jiji does not know returns a free row asking you to paste the address from the site; it is not reported as "no ads".
- This Actor is not affiliated with or endorsed by Jiji.

### Thanks for using this Actor

We build these tools for people who run them every day, and we improve them from what users tell us.

- **Missing a field, or need another filter?** Tell us in the **Issues** tab. If the data is there, we add it.
- **Found a bug or a wrong value?** Post the run ID in the **Issues** tab. Wrong data is the thing we fix first.

If this Actor saved you time, a short review helps other people find it.

# Actor input Schema

## `searchUrls` (type: `array`):

Paste one or more search or category pages from jiji.ng, jiji.co.ke, jiji.com.gh, jiji.ug, jiji.co.tz or jiji.com.et, e.g. https://jiji.ng/lagos/cars?filter_attr_90_transmission=automatic . Filters, price range, search words and sort set on the site stay in the address. When this list is filled, the country, category, location and search fields below are ignored.

## `country` (type: `string`):

Which Jiji site to search when no search URL is given. Prices come in that country's currency (NGN, KES, GHS, UGX, TZS or ETB).

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

The category as it appears in Jiji addresses, for example cars, mobile-phones, computers-and-laptops, houses-apartments-for-rent, houses-apartments-for-sale, land-and-plots-for-sale, furniture, home-appliances, fashion-and-beauty, building-materials, dogs-and-puppies. Spaces and capitals are fine (Mobile Phones becomes mobile-phones). Empty searches every category.

## `locations` (type: `array`):

Region or city as it appears in Jiji addresses: lagos, abuja, rivers, nairobi, mombasa, greater-accra, kampala, dar-es-salaam, addis-ababa. One search runs per location. Empty searches the whole country.

## `searchQuery` (type: `string`):

Words to search for, sent to Jiji exactly like the search box on the site (for example toyota camry or iphone 13). Empty lists the whole category.

## `sortBy` (type: `string`):

Order in which Jiji lists the ads. Empty = Jiji's recommended order. Monitoring mode always reads newest first.

## `maxListings` (type: `integer`):

Stop after this many ads in total across all searches. Each returned ad is one charged result.

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

Upper limit of result pages read per search (20 to 24 ads per page). 0 = up to 200 pages.

## `minPrice` (type: `integer`):

Lowest price in the local currency of the site. Sent to Jiji and checked again on every row. Ads without a price are kept. 0 = no minimum.

## `maxPrice` (type: `integer`):

Highest price in the local currency of the site. 0 = no maximum.

## `conditions` (type: `array`):

Keep only ads whose condition is one of these, written as Jiji shows it: Brand New, Foreign Used, Nigerian Used, Local Used, Used, Refurbished. Ads that do not state a condition are removed when this is set. Empty keeps every condition.

## `keywords` (type: `array`):

Keep only ads whose title, description, category, location or condition contains these words (case does not matter). Applied after reading; use Search words to let Jiji do the search.

## `keywordMatch` (type: `string`):

any = an ad needs one of the keywords, all = it needs every keyword.

## `excludeKeywords` (type: `array`):

Drop ads whose title, description, category, location or condition contains any of these words (for example accident, swap).

## `onlyVerifiedSellers` (type: `boolean`):

Keep only ads that Jiji marks with the Verified ID badge.

## `excludePromoted` (type: `boolean`):

Drop the paid TOP ads that Jiji places above the normal results.

## `monitoringMode` (type: `boolean`):

Remember the ads already seen for this exact input and return only new ones on later runs, so you never pay twice for the same ad. The first run only remembers what is listed now and charges nothing. Reads newest first. Schedule it hourly or daily.

## `resetMonitoringState` (type: `boolean`):

Forget the ads remembered for this exact input. With monitoring mode on, this run then saves a new baseline; with it off, the memory is only cleared.

## Actor input object example

```json
{
  "country": "ng",
  "category": "cars",
  "locations": [
    "lagos"
  ],
  "maxListings": 50,
  "keywordMatch": "any",
  "onlyVerifiedSellers": false,
  "excludePromoted": false,
  "monitoringMode": false,
  "resetMonitoringState": false
}
```

# Actor output Schema

## `results` (type: `string`):

One row per Jiji ad (Nigeria, Kenya, Ghana, Uganda, Tanzania or Ethiopia): listing id and link, title, price as a number with its currency and the price as shown, old price and discount, category, region and area, condition and every attribute the results list shows (for cars: transmission and mileage; make, model, year and colour are in the title), short description with phone numbers and emails removed, first image and image count, top-ad and promotion flags, verified-ID badge and the seller's years on Jiji. Searches with no results, unknown categories or places, filters that matched nothing, the first monitoring run, monitoring runs with nothing new and pages that could not be read come back as their own rows and are not charged.

# 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 = {
    "country": "ng",
    "category": "cars",
    "locations": [
        "lagos"
    ],
    "maxListings": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("neverempty/jiji-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 = {
    "country": "ng",
    "category": "cars",
    "locations": ["lagos"],
    "maxListings": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("neverempty/jiji-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 '{
  "country": "ng",
  "category": "cars",
  "locations": [
    "lagos"
  ],
  "maxListings": 50
}' |
apify call neverempty/jiji-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neverempty/jiji-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/Mx2rwhOuEcHZ1xCDc/builds/uyMkntavTAw3fPNfR/openapi.json
