GET
/
farcaster
/
storage
/
allocations
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"
    }
  ]
}

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Query Parameters

fid
integer
required

The unique identifier of a farcaster user (unsigned integer)

Examples:

3

191

2

194

19960

Response

200
application/json
A list of storage allocations
total_active_units
integer
Examples:

13

allocations
object[]