API Reference

GET /api/v1/twitters/{username}/charts/mentions_count_history/

Provides historical data on the total number of mentions for a Twitter account, formatted for visualization as a two-dimensional graph (date vs. mention count). The response also includes metrics on changes in mention count over the specified timeframe and since the account was first identified by the system.

Input:

  • Username: The username of the account on x.com.

Parameters:

  • Timeframe: The time range for which the data will be returned. Supported values:
    • H1 - Last 1 hour
    • H24 - Last 24 hours
    • D7 - Last 7 days
    • D30 - Last 30 days
    • Y1 - Last 1 year

Result:

{
"chart": [
[
1594713600, // Timestamp (UNIX) representing the date
9219 // Mention count on this date
],
[
1594713900, // Timestamp (UNIX)
9218 // Mention count on this date
]
],
"timeframeChange": 0, // Change in mention count over the specified timeframe
"sinceFoundChange": 0, // Change in mention count since the account was first discovered
"sinceFound": 0 // Mention count at the time the account was first discovered
}
Language
Click Try It! to start a request and see the response here!