'Mapbox Api Response saving into database illegal?

When I make request to mapbox api

https://api.mapbox.com/geocoding/v5/mapbox.places/Los%20Angeles.json?access_token=YOUR_MAPBOX_ACCESS_TOKEN

I get the response like :

{"type":"FeatureCollection","query":[""]}

Then in the last of the reponse I get

"attribution":"NOTICE: \u00a9 2022 Mapbox and its suppliers. All rights reserved. Use of this data is subject to the Mapbox Terms of Service (https:\/\/www.mapbox.com\/about\/maps\/). This response and the information it contains may not be retained. POI(s) provided by Foursquare."}

So What I wanted to do is save the response to the db and then use it whenever it is needed because is more efficient then multiple request everytime.

Concluding what I want to know is it illegal to save the reponse data to database?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source