Waved APIDevelopers API

GET :

api/v1/data/zones/trending

cURL

curl -X GET https://api3.waved.co/api/v1/data/zones/trending \ 
-H 'Content-Type: application/json' \ 
-H 'Authorization: Bearer YOUR-TOKEN' \ 
-d '{ }'

About the endpoint

This endpoint returns data of how all the zones are trending.

The data shows the movement of the mood index and loudness index over the last 6 hours for each zone

The data is updated every 15 minutes and is useful for understanding the trend of the venue, and to act on the crowd behavior.

For each zone it also includes a summary of the trend, which is a destilled version of the trend, indicating if its trending up, down or stable.

This is a somwhat heavy endpoint and should be used with care.

Return Object

[
  {
    "zone_id": "<string>",
    "zone_name": "<string>",
    "timestamp": "<string>",
    "trending": {
      "mood": {
        "index": "<number[]>",
        "tag": "<string[]>"
      },
      "loudness": {
        "index": "<number[]>",
        "tag": "<string[]>"
      },
      "time": {
        "utc0": "<string[]>"
      }
    },
    "summary": {
      "mood": {
        "index": "-1 | 0 | 1",
        "tag": "<string>",
        "speed_tag": "<string>",
        "rate_per_hour": "<number>",
        "synopsis": "<string>"
      },
      "loudness": {
        "index": "-1 | 0 | 1",
        "tag": "<string>",
        "speed_tag": "<string>",
        "rate_per_hour": "<number>",
        "synopsis": "<string>"
      }
    }
  }
]