Affare Scraper avatar

Affare Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Affare Scraper

Affare Scraper

Scrape property listings from affare.tn. Use the same listing filters as the site or paste a URL — the URL wins when set.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Marco Rodrigues

Marco Rodrigues

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

🇹🇳 Affare Scraper

Want Affare property ads in a spreadsheet? This scraper makes it easy.

Use structured filters — better for AI agents — or paste an input_url. When input_url is set it overrides the filters.

Affare is Tunisia’s real-estate board, with about 24,500 public listings. This actor returns up to 2000 rows per run.

💡 Perfect for...

  • Marketplaces: Export Tunis apartments, houses, and land from Affare.
  • Dashboards: Track new ads without paging the site.
  • Market research: Slice Tunisia property by sale or rent, type, city, or price.
  • Data analysts: Export structured rows with public listing URLs.
  • 🤖 AI Agents: Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live Affare results.
  • 📚 RAG Systems: Feed titles, prices, and cities into retrieval pipelines.
  • 🔗 AI Workflows: Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

✨ Why you'll love this scraper

  • 🔗 Input URL or Filters: Paste an Affare search or listing URL, or pick the same filters as the site. input_url always wins when set.
  • 🎯 Website-Matched Filters: Category, governorate, keyword, price, and sort.
  • 🌐 Listing cards: Title, price in Tunisian dinars, location, rooms, size, and listing URL.

📦 What's inside the data?

id, url, title, price, currency, location, image, category, rooms, bathrooms, size, date

🚀 Quick start

Option A: paste https://www.affare.tn/petites-annonces/tunisie/vente-appartement. Option B: pick immobilier or a property category and a city, then set max_results.

Input Example (filters):

{
"category": "vente-appartement",
"location": "tunis",
"max_results": 100
}

Input Example (URL):

{
"input_url": "https://www.affare.tn/petites-annonces/tunisie/immobilier",
"max_results": 100
}

Output Example:

{
"id": "266753",
"url": "https://www.affare.tn/annonce/s-3-a-bouhsina-el-ghazali-direct-promoteur-266753",
"title": "S+3 à Bouhsina el Ghazali Direct Promoteur",
"price": 367000,
"currency": "TND",
"location": "Sousse",
"image": "https://www.affare.tn/large/09_2026_4c0b4239.JPG",
"category": "Appartements à vendre",
"rooms": "3",
"bathrooms": "2",
"size": "120 m²",
"date": "2026-09-19T16:13:10Z"
}

Output fields:

FieldDescription
idAffare listing id.
urlPublic listing page.
titleAd title.
pricePrice in Tunisian dinars when shown.
currencyAlways TND.
locationNeighborhood and city on the card.
imageListing photo.
categoryAffare category name.
roomsRoom count when shown.
bathroomsBathroom count when shown.
sizeFloor or lot size when shown.
dateWhen the ad was posted, as a full date and time.

📋 Input reference

ParameterTypeRequiredDefaultDescription
input_urlstringNo—Affare search or listing URL. Overrides every filter.
categorydropdownNoimmobilierImmobilier group or a sale / rent type.
locationdropdownNotunisieGovernorate.
querystringNo—Same as the site search box.
price_minintegerNo—Lowest price in Tunisian dinars.
price_maxintegerNo—Highest price in Tunisian dinars.
sort_bydropdownNonewestNewest, lowest price, highest price.
max_resultsintegerNo50Maximum rows (1–2000).