Cars
Retrieve aggregate stats

Stats

It returns aggregate stats about the cars for a given period.

curl 'https://api.teslahunt.io/cars/stats?period=30days'  \
  --header 'x-api-key: YOUR_TOKEN'

Query Parameters

Any of the following parameters can be used to filter the stats of the cars.

period

type: string
default: '28d'

The period of time to get the stats for. It can be specified using the following pattern:

  • '1 day' or '1d'
  • '15 days' or '15d'
  • '1 week' or '1w'
  • '2 weeks' or '2w'
  • '1 month' or '1m'
  • '3 months' or '3m'
  • '1 month 15 days' or '1m 15d'