curl --location 'https://us-prod.notte.cc/functions/35ae5c26-94bc-4dbc-abf7-16c4a58bdabf/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "35ae5c26-94bc-4dbc-abf7-16c4a58bdabf",
"variables": {
"query": "soffa",
"page": 1,
"sort": "RELEVANCE",
"page_size": 10
}
}'
{
"page": 0,
"sort": "<string>",
"query": "<string>",
"listings": [
{
"id": "<string>",
"type": "<string>",
"ad_id": 0,
"brand": "<string>",
"flags": [
"<string>"
],
"image": {
"url": "<string>",
"path": "<string>",
"width": 0,
"height": 0,
"aspect_ratio": 0
},
"price": {
"amount": 0,
"price_unit": "<string>",
"currency_code": "<string>"
},
"extras": [
{
"id": "<string>",
"values": [
"<string>"
]
}
],
"labels": [
{
"id": "<string>",
"text": "<string>",
"type": "<string>"
}
],
"ad_type": 0,
"heading": "<string>",
"distance": 0,
"location": "<string>",
"timestamp": 0,
"image_urls": [
"<string>"
],
"trade_type": "<string>",
"coordinates": {
"lat": 0,
"lon": 0,
"accuracy": 0
},
"canonical_url": "<string>",
"organisation_name": "<string>"
}
],
"last_page": 0,
"page_size": 0,
"total_count": 0,
"returned_count": 0
}