@adityapk
The HTTP API is available on Hubble now, so if you're building on Farcaster, there's now a easy-to-use REST-like API to get Farcaster data.
For eg: http://nemes.farcaster.xyz:2281/v1/info
Docs are here: https://www.thehubble.xyz/docs/httpapi/httpapi.html