Petitesannonces.ch Scraper
Pricing
from $1.50 / 1,000 results
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
Maintained by CommunityActor 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
| Field | Type | Default | Notes |
|---|---|---|---|
searchQueries | array | [] | Keywords to search for (French) |
listingUrls | array | [] | Direct ad URLs, e.g. https://www.petitesannonces.ch/a/8782830 |
categoryId | integer | — | See the category table below |
canton | string | — | Two-letter code: VD, GE, BE, VS, FR, NE, JU |
city | string | — | e.g. Lausanne, Genève |
maxResults | integer | 5 | Free quick-test default; raise for a real run |
proxyConfiguration | object | — | Optional — this site has no bot-detection, only useful for IP diversity on a large job |
Category IDs
| id | Category | id | Category |
|---|---|---|---|
| 11 | Animaux | 32 | Maison - Jardin - Bricolage |
| 13 | Art - Antiquités | 33 | Modélisme |
| 14 | Automobiles | 22 | Motos - Scooters |
| 40 | Beauté - Bien-être | 34 | Musique - Instruments |
| 38 | Bébé - Puériculture | 35 | Nautisme |
| 15 | Bijouterie - Horlogerie | 37 | Photo - Caméras |
| 16 | Billets - Bons | 47 | PME Artisans Agriculteurs |
| 19 | Camping | 39 | Rencontres |
| 20 | Cinéma - DVD | 41 | Sport - Loisirs |
| 21 | Collections | 42 | Téléphonie |
| 25 | Emploi | 43 | TV - Son - Home cinema |
| 27 | Immobilier | 44 | Vacances - Voyages |
| 28 | Informatique | 45 | Vêtements |
| 29 | Jeux - Jouets | 46 | Vins - Gastronomie |
| 30 | Jeux vidéo | 23 | Autres |
| 31 | Livres - 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
nullrather than a guess. - Pagination follows the site's own page count; very broad searches can span over a hundred pages — set
maxResultsto 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.