Skip to main content

GET /api/farcaster/user/{fid}/casts

User recent casts

Farcaster user profile by FID or username

Endpoint​

GET https://api.web3identity.com/api/farcaster/user/{fid}/casts

Parameters​

NameInTypeRequiredDescription
fidpathstringâś…Farcaster user ID

Example Request​

curl -s "https://api.web3identity.com/api/farcaster/user/:fid/casts" | jq

Responses​

200 Success​

{
"casts": [
{
"hash": "0xabcdef1234567890",
"text": "Hello Farcaster! This is a cast.",
"timestamp": 1707393600000,
"author": {
"fid": 3,
"username": "dwr",
"displayName": "Dan Romero"
},
"reactions": {
"likes": 45,
"recasts": 8,
"replies": 12
},
"embeds": []
}
],
"next": {
"cursor": "eyJwYWdlIjoyfQ=="
}
}

400 Bad request - invalid parameters​

{
"example": "response"
}

402 Payment required​

404 Resource not found​

{
"example": "response"
}

429 Rate Limited​

{
"example": "response"
}

500 Internal Server Error - Something went wrong on our end​

{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}

Auto-generated from OpenAPI spec