curl --location 'https://us-prod.notte.cc/functions/ece91a01-b8fc-4917-85d1-c6b9dda61311/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "ece91a01-b8fc-4917-85d1-c6b9dda61311",
"variables": {
"area": "Dallas, TX",
"fuel_type": "regular",
"max_age_hours": 0,
"brand_id": 0,
"limit": 20
}
}'
{
"stations": [
{
"id": "<string>",
"name": "<string>",
"fuels": [
"<string>"
],
"hours": {
"status": "<string>",
"openingHours": "<string>",
"nextIntervals": [
{
"open": "<string>",
"close": "<string>"
}
]
},
"phone": "<string>",
"brands": [
{
"name": "<string>",
"brandId": "<string>",
"imageUrl": "<string>",
"brandingType": "<string>"
}
],
"offers": [
{
"types": [
"<string>"
],
"discounts": [
{
"grades": [
"<string>"
],
"highlight": "<string>",
"pwgbDiscount": "<string>"
}
],
"highlight": "<string>"
}
],
"prices": [
{
"cash": {
"price": 0,
"nickname": "<string>",
"postedTime": "<string>",
"formattedPrice": "<string>"
},
"credit": {
"price": 0,
"nickname": "<string>",
"postedTime": "<string>",
"formattedPrice": "<string>"
},
"discount": 0,
"longName": "<string>",
"fuelProduct": "<string>"
}
],
"address": {
"line1": "<string>",
"region": "<string>",
"country": "<string>",
"locality": "<string>",
"postalCode": "<string>"
},
"currency": "<string>",
"latitude": 0,
"amenities": [
{
"name": "<string>",
"imageUrl": "<string>",
"amenityId": "<string>"
}
],
"longitude": 0,
"payStatus": {
"isPayAvailable": true
},
"priceUnit": "<string>",
"enterprise": true,
"openStatus": "<string>",
"starRating": 0,
"ratingsCount": 0,
"isFuelmanSite": true,
"hasActiveOutage": true,
"selectedFuelPrice": 0,
"selectedFuelPaymentMethod": "<string>"
}
],
"fuel_type": "<string>",
"query_area": "<string>",
"matched_area": {
"trends": [
{
"today": 0,
"trend": 0,
"country": "<string>",
"areaName": "<string>",
"todayLow": 0
}
],
"latitude": 0,
"longitude": 0,
"regionCode": "<string>",
"countryCode": "<string>",
"displayName": "<string>"
},
"total_matches": 0,
"returned_count": 0
}