🔧 LavaOS API Update

You can now filter your position queries by creation date (i.e. openTimestamp) to retrieve positions from specific time periods.

We have added new optional parameters under the GET /positions/v3 endpoint:

Supported formats for these parameters:

  1. ISO date, e.g. 2025-07-31 OR
  2. ISO datetime, e.g. 2025-07-31T12:01:05.000Z OR
  3. Relative period labels: 1d, 1w, 1m, 3m, 6m, 1y where d = day, w = week, m = month, y = year
    1. These labels will be converted into datetime on the server side, e.g. 1w would be the datetime equal to the time now minus 1 week

Examples:

Endpoint call example:

<https://lavarave.wtf/api/sdk/v1.0/positions/v3?createdAfter=1d>

If you have any questions, or need any explanation about this update, please contact the Lavarage team in your dedicated group chat.