Add Tasks
Add PAP.fr search URLs as tasks for scraping French real estate listings
https://api.lobstr.io/v1/tasksAdd PAP.fr (Particulier a Particulier) search URLs to your squid for scraping French private real estate listings. PAP is a French platform for direct owner-to-buyer property transactions without agents. The scraper extracts property details including price, location, energy ratings, and contact information.
9980d62d6a23161a08d1134c0cabdf5cHeaders
AuthorizationstringheaderrequiredYour API authentication token. Value: Token YOUR_API_KEY
Content-TypestringheaderrequiredRequest body format. Value: application/json
Task Format
Each task should contain a URL from a PAP.fr search results page. You can search for properties by location, type, and filters on PAP, then use those search URLs as tasks.
Supported URL Formats
The scraper supports PAP.fr search URLs from various property categories:
PAP.fr is for private sales (particulier a particulier), meaning you deal directly with owners rather than agencies. This can mean more negotiation flexibility.
PAP URLs use department codes (e.g., 'ain-01' for Ain department). Apply location filters on the website to get the correct URL format.
Code Examples
curl -X POST "https://api.lobstr.io/v1/tasks" \ -H "Authorization: Token YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "squid": "YOUR_SQUID_HASH", "tasks": [ { "url": "https://www.pap.fr/annonce/vente-immobiliere-ain-01-g364" } ] }'
Response
{ "duplicated_count": 0, "tasks": [ { "id": "82367f24d9450b2222080eed91662968", "created_at": "2025-07-17T09:06:47.287893", "is_active": true, "params": { "url": "https://www.pap.fr/annonce/vente-immobiliere-ain-01-g364" }, "module": 115, "object": "task" } ] }