Casts
This endpoint is great for fetching a particular cast or by combining with query parameters to get specific lists of casts.
Casts by FID
Returns all the casts from user FID 6023
Casts by Following
Returns all the casts from users that FID 6023
is following
Casts by Channel
Returns all the casts from a specific channel, e.g. pinata
Casts by Parent Hash
Returns all the casts fror a specified parent hash
The timestamps returned by the Hub are working off an epoch of 1609459200
or January 1, 2021 UTC
. Keep this in mind when parsing the time of posted casts.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Returns casts from a specific FID
4823
When used in combination of fid
will return the casts for who that fid
is following
true
Will reverse the results giving the most casts recent first
true
Specify a channel to fetch casts from
"pinata"
Returns casts for a specific parent hash
"0x0ab851ba8524eedf9e164b55f6eeec751f74b539"
Token to be used for the next page of results
"eyJvZmZzZXQiOiIwIn0"
Filter casts that have no parent hash
true
Determine the number of results, if not specified default is 100
10
Response
OK
The response is of type object
.