`MIN`

returns the minimum value in a numeric dataset. It can also take an arbitrary number of additional arguments.

**Function category:** Statisticalâ€‹

`MIN(arg1, [arg2...])`

Arguments | Description |

| Number, string or an array of numbers or strings (or anything that can be coerced into being a number) |

| Optional. Has the same restrictions as |

Let's say we're given a response with the following vehicle information:

{"data":{"local_service_prices":{"highest_rated":160,"nearest":120,"regional":[140,90,115,220]}}}

If we want to find the smaller of the nearest and highest rated service stations, use the following function.

# Find a specific value in an arrayMIN(data.local_service_prices.highest_rated, data.local_service_prices.nearest)â€‹# Returns 120

We can also use arrays as arguments using the following function.

# Using arrays as argumentMIN(data.local_service_prices.highest_rated, data.local_service_prices.nearest, data.local_service_prices.regional)â€‹# Returns 90