[2022-11-04][V1] Change response field types to string
IMPORTANTStarting from November 19 (2 weeks from now), we will change some of the properties field types from number to string in the response object.
Please action any change required as soon as possible.
What are the changes?
In an effort to standardize the data format in LooksRare API, we made the decision to change some of the properties field types in the response object from number to string, as shown below.
You should review and action any required change as soon as possible.
Affected endpoints and properties (type change from number to string):
-
[GET] /tokens
Affected fields:data.attributes[].countdata.attributes[].floorOrder.amount
-
[GET] /collections/stats
Affected fieldsdata.countOwnersdata.totalSupplydata.floorChange24hdata.floorChange7ddata.floorChange30ddata.count24hdata.change24hdata.count7ddata.change7ddata.count1mdata.change1mdata.count3mdata.change3mdata.count6mdata.change6mdata.count1ydata.change1ydata.countAll
-
data.amount
-
[GET] /events
Affected fields:data.order.amount
Example
Check out the response difference for [GET] /collection/stats endpoint

The picture shows the differences in collection stats response before and after the change.