curl --location --request PUT 'https://api.stream.estate/searches/{id}' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api_key>' \
--data-raw '{
"bedroomMin": 0,
"budgetMax": 0,
"budgetMin": 0,
"endpointRecipient": "https://www.mycompany.com/webhook_match",
"eventEndpoint": "https://www.mycompany.com/webhook_updates",
"excludedCities": [
"string"
],
"excludedSiteCategories": [
"string"
],
"expressions": [],
"furnished": true,
"hidePropertyContact": true,
"includedCities": [
"string"
],
"includedDepartments": [
"string"
],
"includedSiteCategories": [
"string"
],
"landSurfaceMax": 0,
"landSurfaceMin": 0,
"lat": 48.864716,
"lon": 2.349014,
"notificationEnabled": false,
"notificationRecipient": "foo@bar.com",
"pricePerMeterMax": 0,
"pricePerMeterMin": 0,
"propertyTypes": [0, 1],
"publisherTypes": [0, 1],
"radius": 20,
"roomMin": 0,
"subscribedEvents": [
"ad.update.price"
],
"surfaceMax": 0,
"surfaceMin": 0,
"title": "string",
"transactionType": 0,
"withCoherentPrice": true,
"withVirtualTour": true
}'
{
"bedroomMin": 0,
"budgetMax": 0,
"budgetMin": 0,
"endpointRecipient": "https://www.mycompany.com/webhook_match",
"eventEndpoint": "https://www.mycompany.com/webhook_updates",
"excludedCities": [
"string"
],
"excludedSiteCategories": [
"string"
],
"expressions": [],
"furnished": true,
"hidePropertyContact": true,
"includedCities": [
"string"
],
"includedDepartments": [
"string"
],
"includedSiteCategories": [
"string"
],
"landSurfaceMax": 0,
"landSurfaceMin": 0,
"lat": 48.864716,
"lon": 2.349014,
"notificationEnabled": false,
"notificationRecipient": "foo@bar.com",
"pricePerMeterMax": 0,
"pricePerMeterMin": 0,
"propertyTypes": [0, 1],
"publisherTypes": [0, 1],
"radius": 20,
"roomMin": 0,
"subscribedEvents": [
"ad.update.price"
],
"surfaceMax": 0,
"surfaceMin": 0,
"title": "string",
"transactionType": 0,
"withCoherentPrice": true,
"withVirtualTour": true
}
Searches
Update Search
Updates an existing search
PUT
/
searches
/
{id}
curl --location --request PUT 'https://api.stream.estate/searches/{id}' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api_key>' \
--data-raw '{
"bedroomMin": 0,
"budgetMax": 0,
"budgetMin": 0,
"endpointRecipient": "https://www.mycompany.com/webhook_match",
"eventEndpoint": "https://www.mycompany.com/webhook_updates",
"excludedCities": [
"string"
],
"excludedSiteCategories": [
"string"
],
"expressions": [],
"furnished": true,
"hidePropertyContact": true,
"includedCities": [
"string"
],
"includedDepartments": [
"string"
],
"includedSiteCategories": [
"string"
],
"landSurfaceMax": 0,
"landSurfaceMin": 0,
"lat": 48.864716,
"lon": 2.349014,
"notificationEnabled": false,
"notificationRecipient": "foo@bar.com",
"pricePerMeterMax": 0,
"pricePerMeterMin": 0,
"propertyTypes": [0, 1],
"publisherTypes": [0, 1],
"radius": 20,
"roomMin": 0,
"subscribedEvents": [
"ad.update.price"
],
"surfaceMax": 0,
"surfaceMin": 0,
"title": "string",
"transactionType": 0,
"withCoherentPrice": true,
"withVirtualTour": true
}'
{
"bedroomMin": 0,
"budgetMax": 0,
"budgetMin": 0,
"endpointRecipient": "https://www.mycompany.com/webhook_match",
"eventEndpoint": "https://www.mycompany.com/webhook_updates",
"excludedCities": [
"string"
],
"excludedSiteCategories": [
"string"
],
"expressions": [],
"furnished": true,
"hidePropertyContact": true,
"includedCities": [
"string"
],
"includedDepartments": [
"string"
],
"includedSiteCategories": [
"string"
],
"landSurfaceMax": 0,
"landSurfaceMin": 0,
"lat": 48.864716,
"lon": 2.349014,
"notificationEnabled": false,
"notificationRecipient": "foo@bar.com",
"pricePerMeterMax": 0,
"pricePerMeterMin": 0,
"propertyTypes": [0, 1],
"publisherTypes": [0, 1],
"radius": 20,
"roomMin": 0,
"subscribedEvents": [
"ad.update.price"
],
"surfaceMax": 0,
"surfaceMin": 0,
"title": "string",
"transactionType": 0,
"withCoherentPrice": true,
"withVirtualTour": true
}
Path
Body
HTTPS webhook that receives
match payloads whenever a property satisfies the search. Requires notificationEnabled=true. You can test your endpoint with our webhook simulator.HTTPS webhook that receives advert
event payloads (price changes, expirations, etc.) from the searches you subscribe to. Requires notificationEnabled=true and at least one entry in subscribedEvents. You can test your endpoint with our webhook simulator.Full text matching including/excluding words & phrases in the title or the description of the property.
Example:
expressions[0][0][word]=travaux&expressions[0][0][options][includes]=true&expressions[0][0][options][strict]=false&expressions[0][1][word]=lumineux&expressions[0][1][options][includes]=true&expressions[0][1][options][strict]=false which will search for properties that contain both the keywords lumineux and travaux.Filters properties by geocoding confidence level. Use
1 to keep only house-number level matches and 2 to include neighborhood-level approximations. Leave empty to allow both.Filters properties within specified geographic areas. Example:
geoShapes[0][0][0]=6.063201&geoShapes[0][0][1]=44.549092&geoShapes[0][1][0]=6.063201&geoShapes[0][1][1]=44.543009&geoShapes[0][2][0]=6.073453&geoShapes[0][2][1]=44.543293&geoShapes[0][3][0]=6.073453&geoShapes[0][3][1]=44.549092&geoShapes[0][4][0]=6.063201&geoShapes[0][4][1]=44.549092.Latitude of the center point used for radial filtering. Provide together with
lon, otherwise this filter has no effect. Example: lat=48.864716Longitude of the center point used for radial filtering. Provide together with
lat. Example: lon=2.349014Enables delivery of matches and events either by webhook (
endpointRecipient, eventEndpoint) or by email (notificationRecipient).Email address that receives alert summaries when
notificationEnabled=true. Use this as a fallback if you do not have a webhook yet.Type of property. Apartment
0, House 1, Building 2, Parking 3, Office 4, Land 5, Shop 6. Example: propertyTypes[]=0&propertyTypes[]=1Type of publisher. Individual
0, Professional 1. Example: publisherTypes[]=0&publisherTypes[]=1Event codes (e.g.
property.ad.create, ad.update.price, ad.update.expired) you want to receive on the eventEndpoint. See the webhook simulator page for the full list.Price coherence filter.
true returns adverts whose price passes our coherence checks; false returns adverts flagged as incoherent — both also include adverts whose price has not been assessed. Set to null (or send an empty value) to disable filtering. If omitted, defaults to true.curl --location --request PUT 'https://api.stream.estate/searches/{id}' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api_key>' \
--data-raw '{
"bedroomMin": 0,
"budgetMax": 0,
"budgetMin": 0,
"endpointRecipient": "https://www.mycompany.com/webhook_match",
"eventEndpoint": "https://www.mycompany.com/webhook_updates",
"excludedCities": [
"string"
],
"excludedSiteCategories": [
"string"
],
"expressions": [],
"furnished": true,
"hidePropertyContact": true,
"includedCities": [
"string"
],
"includedDepartments": [
"string"
],
"includedSiteCategories": [
"string"
],
"landSurfaceMax": 0,
"landSurfaceMin": 0,
"lat": 48.864716,
"lon": 2.349014,
"notificationEnabled": false,
"notificationRecipient": "foo@bar.com",
"pricePerMeterMax": 0,
"pricePerMeterMin": 0,
"propertyTypes": [0, 1],
"publisherTypes": [0, 1],
"radius": 20,
"roomMin": 0,
"subscribedEvents": [
"ad.update.price"
],
"surfaceMax": 0,
"surfaceMin": 0,
"title": "string",
"transactionType": 0,
"withCoherentPrice": true,
"withVirtualTour": true
}'
{
"bedroomMin": 0,
"budgetMax": 0,
"budgetMin": 0,
"endpointRecipient": "https://www.mycompany.com/webhook_match",
"eventEndpoint": "https://www.mycompany.com/webhook_updates",
"excludedCities": [
"string"
],
"excludedSiteCategories": [
"string"
],
"expressions": [],
"furnished": true,
"hidePropertyContact": true,
"includedCities": [
"string"
],
"includedDepartments": [
"string"
],
"includedSiteCategories": [
"string"
],
"landSurfaceMax": 0,
"landSurfaceMin": 0,
"lat": 48.864716,
"lon": 2.349014,
"notificationEnabled": false,
"notificationRecipient": "foo@bar.com",
"pricePerMeterMax": 0,
"pricePerMeterMin": 0,
"propertyTypes": [0, 1],
"publisherTypes": [0, 1],
"radius": 20,
"roomMin": 0,
"subscribedEvents": [
"ad.update.price"
],
"surfaceMax": 0,
"surfaceMin": 0,
"title": "string",
"transactionType": 0,
"withCoherentPrice": true,
"withVirtualTour": true
}