Petitesannonces.ch Scraper avatar

Petitesannonces.ch Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Petitesannonces.ch Scraper

Petitesannonces.ch Scraper

Scrapes public classified-ad listings from petitesannonces.ch: title, price, description, location, category, images, and seller contact info. No login.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

MrDoe

MrDoe

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 hours ago

Last modified

Categories

Share

Collect structured classified-ad listings from Petitesannonces.ch — the free classifieds site for French-speaking Switzerland (cars, real estate, jobs, electronics, and more) — as clean JSON/CSV rows instead of browser tabs.

What it does

  • Searches by keyword, category, canton, or city, or fetches specific listing URLs directly.
  • Returns title, price, full description, category/subcategory, location, publish date, seller name and profile link, and every photo at full size.
  • Decodes the seller's phone number, which the site already sends to every anonymous visitor in the page itself (lightly obscured, not login-gated) — no account or sign-in needed anywhere in this Actor.

Input parameters

FieldTypeDefaultNotes
searchQueriesarray[]Keywords to search for (French)
listingUrlsarray[]Direct ad URLs, e.g. https://www.petitesannonces.ch/a/8782830
categoryIdinteger—See the category table below
cantonstring—Two-letter code: VD, GE, BE, VS, FR, NE, JU
citystring—e.g. Lausanne, Genève
maxResultsinteger5Free quick-test default; raise for a real run
proxyConfigurationobject—Optional — this site has no bot-detection, only useful for IP diversity on a large job

Category IDs

idCategoryidCategory
11Animaux32Maison - Jardin - Bricolage
13Art - Antiquités33Modélisme
14Automobiles22Motos - Scooters
40Beauté - Bien-être34Musique - Instruments
38Bébé - Puériculture35Nautisme
15Bijouterie - Horlogerie37Photo - Caméras
16Billets - Bons47PME Artisans Agriculteurs
19Camping39Rencontres
20Cinéma - DVD41Sport - Loisirs
21Collections42Téléphonie
25Emploi43TV - Son - Home cinema
27Immobilier44Vacances - Voyages
28Informatique45Vêtements
29Jeux - Jouets46Vins - Gastronomie
30Jeux vidéo23Autres
31Livres - BD - Revues

Example input

{
"searchQueries": ["velo"],
"canton": "VD",
"maxResults": 20
}

Example output

{
"listingId": "8781194",
"listingUrl": "https://www.petitesannonces.ch/a/8781194",
"title": "Spacieux 3,5 pièces de 85 m2 Près de Bienne en campagne",
"category": "Immobilier",
"subcategory": "Location",
"description": "Grand 3.5 à Ipsach proche de Bienne CHF 1'550.- charges comprises...",
"price": "1'550.-",
"city": "2563 Ipsach (BE)",
"referenceNumber": "8781194",
"publishedDate": "29.10.2026",
"adType": "Prioritaire",
"sellerName": "Nini888",
"sellerProfileUrl": "https://www.petitesannonces.ch/m/1809112",
"phone": "0792276772",
"images": ["https://www.petitesannonces.ch/i/l/194/87816ae396a5ae6504.jpg"]
}

This is real output from an actual run, not a mock.

Pricing

Charged per listing returned, plus a small flat fee per run. No browser or media processing involved, so cost per run stays low regardless of volume.

Limitations

  • Email contact is a "reply by email" link on the site itself, not a visible address — this Actor doesn't fabricate one.
  • Some fields (price, photos) are only present when the seller filled them in; expect null rather than a guess.
  • Pagination follows the site's own page count; very broad searches can span over a hundred pages — set maxResults to the volume you actually need.

FAQ

Does this need a Petitesannonces.ch account? No — everything returned is visible to any anonymous visitor.

Can I get listings from a specific city instead of a keyword? Yes — set categoryId and/or city/canton with no searchQueries to browse instead of search.

Why is phone sometimes null? Not every ad includes a phone number on the page; this Actor only returns what the seller actually published.

Responsible use

This Actor reads only publicly-visible listing pages — no login, no account area, no private messaging. Use the data in line with Petitesannonces.ch's own terms of use, and don't use seller contact details for anything other than legitimate inquiries about the ad itself.