Skip to content
On this page

Info API

info

Get the Hub's info

Query Parameters

ParameterDescriptionExample
dbstatsWhether to return DB statsdbstats=1

Example

bash
curl http://127.0.0.1:2281/v1/info?dbstats=1

Response

json
{
  "version": "1.5.5",
  "isSyncing": false,
  "nickname": "Farcaster Hub",
  "rootHash": "fa349603a6c29d27041225261891bc9bc846bccb",
  "dbStats": {
    "numMessages": 4191203,
    "numFidEvents": 20287,
    "numFnameEvents": 20179
  },
  "peerId": "12D3KooWNr294AH1fviDQxRmQ4K79iFSGoRCWzGspVxPprJUKN47",
  "hubOperatorFid": 6833
}