curl --location 'https://us-prod.notte.cc/functions/146fd08f-76ed-42a7-a11d-f4b86150bf8f/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "146fd08f-76ed-42a7-a11d-f4b86150bf8f",
"variables": {
"city": "Los Angeles",
"query": "",
"activity": "just-browsing",
"property_type": "",
"min_hourly_price": 0,
"max_hourly_price": 0,
"page": 1,
"limit": 1,
"include_details": true,
"max_photos": -1,
"listing_url": "",
"include_page_tags": true,
"include_calendar": true,
"include_catalog": false,
"catalog_only": false,
"quote_date": "",
"quote_start_time": "09:00",
"quote_end_time": "12:00",
"quote_attendees": 5,
"quote_addon_quantities": null
}
}'
{
"city": "<string>",
"mode": "<string>",
"page": 0,
"limit": 0,
"query": "<string>",
"total": 0,
"activity": "<string>",
"has_more": true,
"listings": [
{
"id": "<string>",
"url": "<string>",
"slug": "<string>",
"title": "<string>",
"photos": [
"<string>"
],
"status": "<string>",
"address": {
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postal_code": "<string>",
"neighborhood": "<string>"
},
"details": {
"facts": [
{
"label": "<string>",
"value": "<string>"
}
],
"rules": [
{
"text": "<string>",
"prohibited": true
}
],
"features": [
"<string>"
],
"amenities": [
"<string>"
]
},
"pricing": {
"currency": "<string>",
"event_hourly": 0,
"minimum_hours": 0,
"meeting_hourly": 0,
"starting_hourly": 0,
"production_hourly": 0
},
"capacity": {
"max_guests": 0,
"event_guests": 0,
"meeting_guests": 0,
"production_guests": 0
},
"category": "<string>",
"area_sqft": 0,
"superhost": true,
"updated_at": "<string>",
"coordinates": {
"latitude": 0,
"longitude": 0,
"approximate": true
},
"description": "<string>",
"photo_count": 0,
"review_count": 0,
"booking_count": 0,
"details_error": "<string>",
"property_type": "<string>",
"instant_booking": true,
"rating_out_of_5": 0
}
],
"returned": 0,
"warnings": [
"<string>"
],
"next_page": 0,
"search_url": "<string>",
"property_type": "<string>",
"total_is_capped": true
}