This is a first simple tutorial on using some of the methods of the SteemJS npm package via a REST API.
SteemJS is a Javascript API for the Steem Blockchain developed and maintained by @fabien. See original posts by @fabien at:
- SteemJS : the library for JavaScript lovers
- SteemJS: Explore Steem blockchain! New update with full database API methods coverage
- Steem API: Now Released!
REST API Methods
Get Trending Tags
https://api.steemjs.com/getTrendingTags?afterTag=funny&limit=100
afterTag: tag name
limit: tags count
Get Block Header
https://api.steemjs.com/getBlockHeader?blockNum=68456
blockNum: block number
Get Block
https://api.steemjs.com/getBlock?blockNum=214
blockNum: block number
Get State
https://api.steemjs.com/getState?path=/trending/funny
or you can use a scope
https://api.steemjs.com/getState?path=/trending/funny&scope=content
path: specify path
scope: eg: content
Get Trending Categories
https://api.steemjs.com/getTrendingCategories?after=joomla&limit=100
after: category name
limit: categories count
Get Config
https://api.steemjs.com/getConfig
Get Dynamic Global Properties
https://api.steemjs.com/getDynamicGlobalProperties
Get Chain Properties
https://api.steemjs.com/getChainProperties
Get Feed History
https://api.steemjs.com/getFeedHistory
Get Current Median History Price
https://api.steemjs.com/getCurrentMedianHistoryPrice
Get Witness Schedule
https://api.steemjs.com/getWitnessSchedule
Get Hardfork Version
https://api.steemjs.com/getHardforkVersion
Get Next Scheduled Hardfork
https://api.steemjs.com/getNextScheduledHardfork
Get Accounts
https://api.steemjs.com/getAccounts?names[]=ned&names[]=joomla-tips
names[]: account name
Lookup Account Names
https://api.steemjs.com/lookupAccountNames?accountNames[]=dollarvigilante&accountNames[]=joomla-tips
accountNames[]: account name
Get Account Count
https://api.steemjs.com/getAccountCount
Get Conversion Requests
https://api.steemjs.com/getConversionRequests?accountName=dollarvigilante
accountName: account name
Get Order Book
https://api.steemjs.com/getOrderBook?limit=100
limit: orders count
Get Account Votes
https://api.steemjs.com/getAccountVotes?voter=ned
voter: voter name
Get Content
https://api.steemjs.com/getContent?author=dollarvigilante&permlink=could-steem-be-the-gateway-drug-to-mainstream-cryptocurrency-usage-and-the-end-of-central-banks-and-government
author: author name
permlink: post permlink
will post request API be made ?
Unfortunately this is not publicly available yet but it will be in a few weeks. I will post a new updated article with more methods.
How can I get a category returned to me as JSON?
Did the post API ever get added?
It not visible in the documentation.
Still no ability to make post with API ?
how can i get user blog posts list?
This is awesome, thanks!
Is this api currently active? I need a stable api for some testings, thank you.
Is there any way on posting on steem via JS API?
Awesome, how do you find out these apis? Could you please release part 2?