cURL
curl --request GET \ --url https://api.neynar.com/v2/farcaster/storage/allocations/ \ --header 'x-api-key: <api-key>'
{ "total_active_units": 13, "allocations": [ { "object": "storage_allocation", "user": { "object": "user_dehydrated", "fid": 3, "username": "<string>", "display_name": "<string>", "pfp_url": "<string>", "custody_address": "0x5a927ac639636e534b678e81768ca19e2c6280b7" }, "units": 10, "expiry": "2024-10-08T22:03:49.000Z", "timestamp": "2023-10-09T22:03:49.000Z" } ] }
Fetches storage allocations for a given user
API key to authorize requests
The unique identifier of a farcaster user or app (unsigned integer)
3
Success
The response is of type object.
object
Was this page helpful?