Hive Developer Portal
Methods:
Used to lookup information related to reputation and account follow operations. These AppBase API methods are still under development and subject to change.
- Since: HF13
- Related
follow_api.get_account_reputations
Returns a list of account reputations.
Also see: Paginated API Methods
Query Parameters JSON
{"account_lower_bound": "", "limit": 1000}
Expected Response JSON
{
"reputations": [{"account": "", "reputation": 0}]
}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_account_reputations", "params":{"account_lower_bound":"hiveio", "limit":1}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_account_reputations", "params":{"account_lower_bound":"a", "limit":10}, "id":1}' https://api.openhive.network
follow_api.get_blog
Returns the list of blog entries for an account.
Also see: Paginated API Methods
Query Parameters JSON
{"account": "", "start_entry_id": 0, "limit": 500}
Expected Response JSON
{
"blog": [
{
"comment": {
"id": 6119,
"author": "gtg",
"permlink": "testing",
"category": "smt",
"parent_author": "",
"parent_permlink": "smt",
"title": "[SMT] Testnet",
"body": "https://www.youtube.com/watch?v=YRwHrVVU2NA",
"json_metadata": "",
"last_update": "2019-12-07T13:24:48",
"created": "2019-12-07T13:24:48",
"active": "2019-12-07T13:29:30",
"last_payout": "2019-12-07T14:24:48",
"depth": 0,
"children": 8,
"net_rshares": 0,
"abs_rshares": 0,
"vote_rshares": 0,
"children_abs_rshares": 0,
"cashout_time": "1969-12-31T23:59:59",
"max_cashout_time": "1969-12-31T23:59:59",
"total_vote_weight": 0,
"reward_weight": 10000,
"total_payout_value": {
"amount": "140916",
"precision": 3,
"nai": "@@000000013"
},
"curator_payout_value": {
"amount": "140916",
"precision": 3,
"nai": "@@000000013"
},
"author_rewards": 140916,
"net_votes": 0,
"root_author": "gtg",
"root_permlink": "testing",
"max_accepted_payout": {
"amount": "1000000000",
"precision": 3,
"nai": "@@000000013"
},
"percent_steem_dollars": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
"beneficiaries": []
},
"blog": "gtg",
"reblog_on": "1970-01-01T00:00:00",
"entry_id": 0
}
]
}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_blog", "params":{"account":"hiveio","start_entry_id":0,"limit":1}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_blog", "params":{"account":"alice","start_entry_id":0,"limit":50}, "id":1}' https://api.openhive.network
follow_api.get_blog_authors
Returns a list of authors that have had their content reblogged on a given blog account.
Also see: Paginated API Methods
Query Parameters JSON
{"blog_account": ""}
Expected Response JSON
{"blog_authors": [{"author": "", "count": 1}]}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_blog_authors", "params":{"blog_account":"hiveio"}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_blog_authors", "params":{"blog_account":"alice"}, "id":1}' https://api.openhive.network
follow_api.get_blog_entries
Returns a list of blog entries for an account.
Also see: Paginated API Methods
Query Parameters JSON
{"account": "", "start_entry_id": 0, "limit": 500}
Expected Response JSON
{
"blog": [
{
"author": "gtg",
"permlink": "testing",
"blog": "gtg",
"reblog_on": "1970-01-01T00:00:00",
"entry_id": 0
}
]
}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_blog_entries", "params":{"account":"hiveio","start_entry_id":0,"limit":1}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_blog_entries", "params":{"account":"alice","start_entry_id":0,"limit":50}, "id":1}' https://api.openhive.network
- Since: HF14
- Related
follow_api.get_feed
Returns a list of items in an account’s feed.
Also see: Paginated API Methods
Query Parameters JSON
{"account": "", "start_entry_id": 0, "limit": 500}
Expected Response JSON
{"feed": []}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_feed", "params":{"account":"hiveio","start_entry_id":0,"limit":1}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_feed", "params":{"account":"alice","start_entry_id":1,"limit":10}, "id":1}' https://api.openhive.network
- Since: HF14
- Related
follow_api.get_feed_entries
Returns a list of entries in an account’s feed.
Also see: Paginated API Methods
Query Parameters JSON
{"account": "", "start_entry_id": 0, "limit": 500}
Expected Response JSON
{"feed": []}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_feed_entries", "params":{"account":"hiveio","start_entry_id":0,"limit":1}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_feed_entries", "params":{"account":"alice","start_entry_id":1,"limit":10}, "id":1}' https://api.openhive.network
- Since: HF9
- Related
follow_api.get_follow_count
Returns the count of followers for an account.
Query Parameters JSON
{"account": ""}
Expected Response JSON
{
"account": "",
"follower_count": 0,
"following_count": 0
}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_follow_count", "params":{"account":"hiveio"}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_follow_count", "params":{"account":"alice"}, "id":1}' https://api.openhive.network
- Since: HF9
- Related
follow_api.get_followers
Returns the list of followers for an account.
Also see: Paginated API Methods
Query Parameters JSON
{
"account": "",
"start": "",
"type": "undefined",
"limit": 1000
}
Expected Response JSON
{
"followers": [
{
"follower": "",
"following": "",
"what": ["blog"]
}
]
}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_followers", "params":{"account":"hiveio","start":null,"type":"blog","limit":10}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_followers", "params":{"account":"alice","start":null,"type":"ignore","limit":100}, "id":1}' https://api.openhive.network
- Since: HF9
- Related
follow_api.get_following
Returns the list of accounts that are following an account.
Also see: Paginated API Methods
Query Parameters JSON
{
"account": "",
"start": "",
"type": "undefined",
"limit": 1000
}
Expected Response JSON
{
"following": [
{
"follower": "",
"following": "",
"what": ["blog"]
}
]
}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_following", "params":{"account":"hiveio","start":null,"type":"blog","limit":10}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_following", "params":{"account":"alice","start":null,"type":"ignore","limit":100}, "id":1}' https://api.openhive.network
- Since: HF14
- Related
follow_api.get_reblogged_by
Returns a list of authors that have reblogged a post.
Query Parameters JSON
{"author": "", "permlink": ""}
Expected Response JSON
{"accounts": []}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_reblogged_by", "params":{"author":"hiveio","permlink":"firstpost"}, "id":1}' https://api.openhive.network
curl -s --data '{"jsonrpc":"2.0", "method":"follow_api.get_reblogged_by", "params":{"author":"alice","permlink":"a-post-by-alice"}, "id":1}' https://api.openhive.network