See the http api reference for more details.If you have the hub-monorepo installed from source, you can use the built in console. This will use the grpc APIs
# Ensure you are in the hubble sub directory$ cd apps/hubble# Remove `--insecure` if the host is using TLS$ yarn console --insecure -s localhost:3383> res = await rpcClient.getUserDataByFid({fid: 1})Ok { value: { messages: [ [Object], [Object], [Object], [Object] ], nextPageToken: <Buffer > }}> res.value.messages.map(m => m.data.userDataBody)[ { type: 1, value: 'https://i.imgur.com/I2rEbPF.png' }, { type: 3, value: 'A sufficiently decentralized social network. farcaster.xyz' }, { type: 2, value: 'Farcaster' }, { type: 6, value: 'farcaster' }]