post_resteems_api

Module Group: Posts
Parsing Order: 230
Database Size: 0.858 GB

The post_resteems_api provides access to resteem (reblog) information for posts on the Steem blockchain. A resteem is when a user shares another user's post to their own blog feed.


Configuration

{
   "id": "post_resteems_api",
   "group_id": "posts",
   "parsing_order": 230,
   "required_modules": ["chain_api"],
   "parse_reversible": true,
   "parsed_ops": ["custom_json"],
   "available_events": ["onResteemPost"],
   "event_handlers": ["chain_api.onRemovePost"]
}

Database Info

{
   "name": "post_resteems_api",
   "size": "0.858 GB",
   "page_size": "4096 Bytes",
   "type": "SQLITE",
   "journal_mode": "WAL",
   "busy_timeout": 10000,
   "log_level": "INFO"
}

Endpoints

getConfig

Returns this module's active configuration.

Endpoint

/post_resteems_api/getConfig

Example Request

https://sds.steemworld.org/post_resteems_api/getConfig

Result: JSON Object containing the module configuration


getResteems

Returns the list of accounts that have resteemed a specific post.

Endpoint

/post_resteems_api/getResteems/:author/:permlink/:limit?/:offset?

Parameters

Name Type Optional Default Description
:author string No - The author of the original post
:permlink string No - The permlink of the post
:limit int Yes 100 Maximum number of results (max: 1000)
:offset int Yes 0 Result offset for pagination

Max. Limit: 1000

Example Request

https://sds.steemworld.org/post_resteems_api/getResteems/steemit/firstpost

Example with Pagination

https://sds.steemworld.org/post_resteems_api/getResteems/steemit/firstpost/100/0

Example Response:

{
   "code": 0,
   "result": {
      "cols": {"resteemer": 0, "time": 1},
      "rows": [
         ["username1", 1459362618],
         ["username2", 1459363000]
      ]
   }
}

Result: JSON Object containing an array of account names that resteemed the post with timestamps


getResteemsByResteemerTime

Returns posts that an account has resteemed within a specific time range.

Endpoint

/post_resteems_api/getResteemsByResteemerTime/:resteemer/:fromTime-:toTime/:limit?/:offset?

Parameters

Name Type Optional Description
:resteemer string No Account name that performed the resteems
:fromTime int No Start time (Unix timestamp in seconds)
:toTime int No End time (Unix timestamp in seconds)
:limit int Yes Maximum number of results (max: 1000)
:offset int Yes Result offset for pagination

Range Format:

[{ "from": "fromTime", "to": "toTime" }]

Max. Limit: 1000

Example Request

https://sds.steemworld.org/post_resteems_api/getResteemsByResteemerTime/steemchiller/1766326934-1766931734

Example with Limit

https://sds.steemworld.org/post_resteems_api/getResteemsByResteemerTime/steemchiller/1704067200-1735689600/50/0

Example Response:

{
   "code": 0,
   "result": {
      "cols": {"author": 0, "permlink": 1, "time": 2},
      "rows": [
         ["author1", "post-permlink-1", 1704100000],
         ["author2", "post-permlink-2", 1704200000]
      ]
   }
}

Result: JSON Object containing an array of resteemed posts


Column Definitions

Column Description
resteemer Account name that resteemed the post
author Original post author
permlink Post permlink identifier
time Unix timestamp when the resteem occurred

Events

Event Description
onResteemPost Triggered when a post is resteemed

Use Cases

  1. Track post popularity - See which posts are being shared the most
  2. Analyze resteem patterns - Understand how content spreads through the network
  3. User activity tracking - View what posts a user has resteemed over time
  4. Social engagement metrics - Measure resteem counts for engagement analysis
  5. Content discovery - Find popular content based on resteem activity

Notes


Back to Main Index