Update Settings
curl --request POST \
--url https://api.lobstr.io/v1/squids/{squid_hash} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"params": {},
"params.max_results": 123,
"params.max_unique_results_per_run": 123,
"params.max_pages": 123,
"params.fetch_since": "<string>",
"params.fetch_since_timezone": "<string>",
"params.get_annonce_details": true
}
'import requests
url = "https://api.lobstr.io/v1/squids/{squid_hash}"
payload = {
"params": {},
"params.max_results": 123,
"params.max_unique_results_per_run": 123,
"params.max_pages": 123,
"params.fetch_since": "<string>",
"params.fetch_since_timezone": "<string>",
"params.get_annonce_details": True
}
headers = {
"Authorization": "<authorization>",
"Content-Type": "<content-type>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<authorization>', 'Content-Type': '<content-type>'},
body: JSON.stringify({
params: {},
'params.max_results': 123,
'params.max_unique_results_per_run': 123,
'params.max_pages': 123,
'params.fetch_since': '<string>',
'params.fetch_since_timezone': '<string>',
'params.get_annonce_details': true
})
};
fetch('https://api.lobstr.io/v1/squids/{squid_hash}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lobstr.io/v1/squids/{squid_hash}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'params' => [
],
'params.max_results' => 123,
'params.max_unique_results_per_run' => 123,
'params.max_pages' => 123,
'params.fetch_since' => '<string>',
'params.fetch_since_timezone' => '<string>',
'params.get_annonce_details' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: <content-type>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.lobstr.io/v1/squids/{squid_hash}"
payload := strings.NewReader("{\n \"params\": {},\n \"params.max_results\": 123,\n \"params.max_unique_results_per_run\": 123,\n \"params.max_pages\": 123,\n \"params.fetch_since\": \"<string>\",\n \"params.fetch_since_timezone\": \"<string>\",\n \"params.get_annonce_details\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("Content-Type", "<content-type>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.lobstr.io/v1/squids/{squid_hash}")
.header("Authorization", "<authorization>")
.header("Content-Type", "<content-type>")
.body("{\n \"params\": {},\n \"params.max_results\": 123,\n \"params.max_unique_results_per_run\": 123,\n \"params.max_pages\": 123,\n \"params.fetch_since\": \"<string>\",\n \"params.fetch_since_timezone\": \"<string>\",\n \"params.get_annonce_details\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lobstr.io/v1/squids/{squid_hash}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<authorization>'
request["Content-Type"] = '<content-type>'
request.body = "{\n \"params\": {},\n \"params.max_results\": 123,\n \"params.max_unique_results_per_run\": 123,\n \"params.max_pages\": 123,\n \"params.fetch_since\": \"<string>\",\n \"params.fetch_since_timezone\": \"<string>\",\n \"params.get_annonce_details\": true\n}"
response = http.request(request)
puts response.read_bodyParuVendu Listings Scraper
Update Settings
Configure settings for your ParuVendu Listings Scraper squid
POST
/
v1
/
squids
/
{squid_hash}
Update Settings
curl --request POST \
--url https://api.lobstr.io/v1/squids/{squid_hash} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"params": {},
"params.max_results": 123,
"params.max_unique_results_per_run": 123,
"params.max_pages": 123,
"params.fetch_since": "<string>",
"params.fetch_since_timezone": "<string>",
"params.get_annonce_details": true
}
'import requests
url = "https://api.lobstr.io/v1/squids/{squid_hash}"
payload = {
"params": {},
"params.max_results": 123,
"params.max_unique_results_per_run": 123,
"params.max_pages": 123,
"params.fetch_since": "<string>",
"params.fetch_since_timezone": "<string>",
"params.get_annonce_details": True
}
headers = {
"Authorization": "<authorization>",
"Content-Type": "<content-type>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<authorization>', 'Content-Type': '<content-type>'},
body: JSON.stringify({
params: {},
'params.max_results': 123,
'params.max_unique_results_per_run': 123,
'params.max_pages': 123,
'params.fetch_since': '<string>',
'params.fetch_since_timezone': '<string>',
'params.get_annonce_details': true
})
};
fetch('https://api.lobstr.io/v1/squids/{squid_hash}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lobstr.io/v1/squids/{squid_hash}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'params' => [
],
'params.max_results' => 123,
'params.max_unique_results_per_run' => 123,
'params.max_pages' => 123,
'params.fetch_since' => '<string>',
'params.fetch_since_timezone' => '<string>',
'params.get_annonce_details' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: <content-type>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.lobstr.io/v1/squids/{squid_hash}"
payload := strings.NewReader("{\n \"params\": {},\n \"params.max_results\": 123,\n \"params.max_unique_results_per_run\": 123,\n \"params.max_pages\": 123,\n \"params.fetch_since\": \"<string>\",\n \"params.fetch_since_timezone\": \"<string>\",\n \"params.get_annonce_details\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("Content-Type", "<content-type>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.lobstr.io/v1/squids/{squid_hash}")
.header("Authorization", "<authorization>")
.header("Content-Type", "<content-type>")
.body("{\n \"params\": {},\n \"params.max_results\": 123,\n \"params.max_unique_results_per_run\": 123,\n \"params.max_pages\": 123,\n \"params.fetch_since\": \"<string>\",\n \"params.fetch_since_timezone\": \"<string>\",\n \"params.get_annonce_details\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lobstr.io/v1/squids/{squid_hash}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<authorization>'
request["Content-Type"] = '<content-type>'
request.body = "{\n \"params\": {},\n \"params.max_results\": 123,\n \"params.max_unique_results_per_run\": 123,\n \"params.max_pages\": 123,\n \"params.fetch_since\": \"<string>\",\n \"params.fetch_since_timezone\": \"<string>\",\n \"params.get_annonce_details\": true\n}"
response = http.request(request)
puts response.read_bodyUpdate the configuration of your ParuVendu Listings Scraper squid. Pass crawler-specific settings inside the
params object.
Headers
string
required
Your API authentication token. Value:
Token YOUR_API_KEYstring
required
Must be application/json. Value:
application/jsonBody
object
Crawler-specific settings. See fields below.
Settings Fields
integer
Maximum number of listings to collect per task. Leave empty for unlimited.
integer
Maximum number of unique results across all tasks in a run. Leave empty for unlimited.
integer
Maximum number of search result pages to crawl per task. Default:
100, max: 100.string
Only collect listings published after this point. Use a date (
YYYY-MM-DD) or a relative duration (24h, 7d, 2w). If not provided, no time filtering is applied.Category support: publication dates are available on listing pages only for immobilier. For other categories (vehicles, services, animaux, etc.) a date is only available on the detail page — enable get_annonce_details for fetch_since to work with those categories. Some categories (emploi, location-vacances, mondebarras, moto, services) do not expose a publication date at all and fetch_since will have no effect for them.string
Timezone for interpreting an absolute
fetch_since date (e.g. "Europe/Paris"). Only applies when fetch_since is an absolute date — ignored for relative values like "24h" or "7d".Use
fetch_since: "7d" to collect only listings from the last 7 days. Enable get_annonce_details if you’re scraping non-immobilier categories and need date filtering to work.Optional Functions
Functions are optional add-ons that enable extra data extraction. Each incurs additional credits per row.
boolean
Fetch additional details by visiting each listing’s detail page: full description, features, seller info, and phone number. Default:
false. Extra cost: 4 credits per listing.Code Examples
curl -X POST "https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH" \
-H "Authorization: Token YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "ParuVendu BMW Listings",
"params": {
"max_results": 100,
"max_pages": 10,
"fetch_since": "7d",
"fetch_since_timezone": null,
"get_annonce_details": false
}
}'
import requests
API_KEY = "YOUR_API_KEY"
BASE_URL = "https://api.lobstr.io/v1"
headers = {"Authorization": f"Token {API_KEY}"}
squid_hash = "YOUR_SQUID_HASH"
response = requests.post(f"{BASE_URL}/squids/{squid_hash}",
headers=headers,
json={
"name": "ParuVendu BMW Listings",
"params": {
"max_results": 100,
"max_pages": 10,
"fetch_since": "7d", # relative: "24h", "7d", "2w" | absolute: "2026-01-01"
"fetch_since_timezone": None, # e.g. "Europe/Paris" — only used with absolute fetch_since
"get_annonce_details": False
}
}
)
data = response.json()
print(f"Squid updated: {data['name']}")
Response
201
{
"id": "YOUR_SQUID_HASH",
"name": "ParuVendu BMW Listings",
"crawler": {
"id": "6a564030e814e6de4931637f7fb0c06e",
"name": "ParuVendu Listings Scraper",
"slug": "paruvendu-listings-scraper"
},
"params": {
"max_results": 100,
"max_pages": 10,
"fetch_since": "7d",
"fetch_since_timezone": null,
"get_annonce_details": false
},
"concurrency": 1,
"export_unique_results": true,
"to_complete": true,
"no_line_breaks": false,
"status": "idle",
"created_at": "2025-01-20T10:15:00.000000",
"updated_at": "2025-01-27T14:35:00.000000"
}