curl --location 'https://us-prod.notte.cc/functions/4d2815ae-2739-4668-9627-26219411ad5a/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "4d2815ae-2739-4668-9627-26219411ad5a",
"variables": {
"business": "SALE",
"city": "São Paulo",
"state": "São Paulo",
"neighborhood": "",
"property_types": ["APARTMENT"],
"min_price": 0,
"max_price": 0,
"min_bedrooms": 0,
"max_bedrooms": 0,
"min_bathrooms": 0,
"max_bathrooms": 0,
"min_area": 0,
"max_area": 0,
"min_parking_spaces": 0,
"max_parking_spaces": 0,
"page": 1,
"page_size": 10
}
}'
{
"page": 0,
"listings": [
{
"account": {
"name": "<string>"
},
"listing": {
"@id": "<string>",
"url": "<string>",
"name": "<string>",
"@type": "<string>",
"image": [
"<string>"
],
"offers": {
"url": "<string>",
"@type": "<string>",
"price": 0,
"availability": "<string>",
"priceCurrency": "<string>",
"potentialAction": {
"@type": "<string>",
"target": "<string>",
"priceSpecification": {
"@type": "<string>",
"price": 0,
"priceCurrency": "<string>"
}
},
"additionalProperty": {
"name": "<string>",
"@type": "<string>",
"value": 0,
"unitText": "<string>"
}
},
"address": {
"@type": "<string>",
"addressRegion": "<string>",
"streetAddress": "<string>",
"addressCountry": "<string>",
"addressLocality": "<string>"
},
"keywords": "<string>",
"floorSize": {
"@type": "<string>",
"value": 0,
"unitCode": "<string>"
},
"description": "<string>",
"petsAllowed": true,
"numberOfRooms": 0,
"additionalType": "<string>",
"amenityFeature": [
{
"name": "<string>",
"@type": "<string>",
"value": "<string>"
}
],
"numberOfBedrooms": 0,
"numberOfBathroomsTotal": 0
},
"property": {
"@id": "<string>",
"url": "<string>",
"name": "<string>",
"@type": "<string>",
"image": [
"<string>"
],
"address": {
"@type": "<string>",
"addressRegion": "<string>",
"streetAddress": "<string>",
"addressCountry": "<string>",
"addressLocality": "<string>"
},
"@context": "<string>",
"floorSize": {
"@type": "<string>",
"value": 0,
"unitCode": "<string>"
},
"description": "<string>",
"numberOfBedrooms": 0,
"numberOfBathroomsTotal": 0
},
"advertisement": {
"url": "<string>",
"name": "<string>",
"@type": "<string>",
"image": "<string>",
"@context": "<string>",
"datePosted": "<string>",
"contentLocation": "<string>",
"countryOfOrigin": "<string>"
}
}
],
"page_size": 0,
"total_count": 0,
"returned_count": 0
}