Find a classified by URL
curl --request GET \
--url https://api.immoteur.com/public/v1/classifieds/lookup \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.immoteur.com/public/v1/classifieds/lookup"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.immoteur.com/public/v1/classifieds/lookup', 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.immoteur.com/public/v1/classifieds/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.immoteur.com/public/v1/classifieds/lookup"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.immoteur.com/public/v1/classifieds/lookup")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.immoteur.com/public/v1/classifieds/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"classified": {
"currency": "euro",
"id": "7f6e3b4d-9c22-46a0-8f20-0d1a2b3c4d5e",
"propertyId": "1cc6f941-3024-48ad-9ad2-3a56d5d5e9f6",
"squareUnit": "squareMeter",
"status": {
"current": "available"
},
"meta": {
"firstSeenAt": "2024-05-10T08:00:00Z",
"lastModifiedAt": "2024-05-18T09:45:00Z",
"lastSeenAt": "2024-05-20T12:30:00Z"
},
"source": {
"domain": "seloger.com",
"url": "https://www.seloger.com/annonces/achat/appartement/paris-1er-75/5-pieces/0.htm"
},
"property": {
"type": "apartment"
},
"publisher": {
"isProfessional": true,
"siren": "123456789",
"siret": "12345678900011"
},
"location": {
"city": {
"inseeCode": "75056",
"name": "Paris"
},
"country": "france",
"department": "75",
"postcode": "75001"
},
"transaction": {
"isExclusiveMandate": true,
"price": {
"current": 650000,
"initial": 690000,
"history": [
{
"id": "11111111-2222-4333-8444-555555555555",
"timestamp": "2024-05-10T11:15:00Z",
"value": 690000
},
{
"id": "66666666-7777-4888-9999-aaaaaaaaaaaa",
"timestamp": "2024-05-18T09:45:00Z",
"value": 650000
}
]
},
"type": "sale"
}
},
"meta": {
"subscriptionPlan": "growth100",
"dataAccessLimit": {
"departments": [
"75"
],
"sirens": [
"123456789"
],
"sirets": [
"12345678900011"
]
}
}
}Classified
Find a classified by URL
Resolve the latest snapshot of a classified by providing the original listing URL. Tracking parameters (for example utm_*, fbclid, gclid) and fragment identifiers are ignored so you can safely reuse URLs copied from marketing campaigns.
Provide the canonical classified URL when possible. When a scheme is missing the lookup defaults to https.
GET
/
classifieds
/
lookup
Find a classified by URL
curl --request GET \
--url https://api.immoteur.com/public/v1/classifieds/lookup \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.immoteur.com/public/v1/classifieds/lookup"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.immoteur.com/public/v1/classifieds/lookup', 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.immoteur.com/public/v1/classifieds/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.immoteur.com/public/v1/classifieds/lookup"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.immoteur.com/public/v1/classifieds/lookup")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.immoteur.com/public/v1/classifieds/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"classified": {
"currency": "euro",
"id": "7f6e3b4d-9c22-46a0-8f20-0d1a2b3c4d5e",
"propertyId": "1cc6f941-3024-48ad-9ad2-3a56d5d5e9f6",
"squareUnit": "squareMeter",
"status": {
"current": "available"
},
"meta": {
"firstSeenAt": "2024-05-10T08:00:00Z",
"lastModifiedAt": "2024-05-18T09:45:00Z",
"lastSeenAt": "2024-05-20T12:30:00Z"
},
"source": {
"domain": "seloger.com",
"url": "https://www.seloger.com/annonces/achat/appartement/paris-1er-75/5-pieces/0.htm"
},
"property": {
"type": "apartment"
},
"publisher": {
"isProfessional": true,
"siren": "123456789",
"siret": "12345678900011"
},
"location": {
"city": {
"inseeCode": "75056",
"name": "Paris"
},
"country": "france",
"department": "75",
"postcode": "75001"
},
"transaction": {
"isExclusiveMandate": true,
"price": {
"current": 650000,
"initial": 690000,
"history": [
{
"id": "11111111-2222-4333-8444-555555555555",
"timestamp": "2024-05-10T11:15:00Z",
"value": 690000
},
{
"id": "66666666-7777-4888-9999-aaaaaaaaaaaa",
"timestamp": "2024-05-18T09:45:00Z",
"value": 650000
}
]
},
"type": "sale"
}
},
"meta": {
"subscriptionPlan": "growth100",
"dataAccessLimit": {
"departments": [
"75"
],
"sirens": [
"123456789"
],
"sirets": [
"12345678900011"
]
}
}
}Autorisations
Send your Immoteur Personal Access Token in the Authorization header:
Authorization: Bearer <token>
You can create and manage your Personal Access Tokens here: https://immoteur.com/dashboard/settings status: current: available
Paramètres de requête
Classified URL to resolve. Accepts incomplete URLs without a scheme; fragment identifiers and tracking parameters are ignored during lookup.
Required string length:
3 - 2048⌘I