Official Account Metrics
Rest API to fetch the official twitter account metrics for a given chain
Last updated
Rest API to fetch the official twitter account metrics for a given chain
Last updated
Description
This endpoint retrieves the official account metrics of a specified blockchain's twitter for a given date range. It requires an API key for authentication and valid date range inputs.
Request
Method: GET
Headers:
X-API-Key
: A valid API key for authentication.
Body Parameters:
chain
: The blockchain to query. This should be one of ETHEREUM
, ARBITRUM
, BSC
, OPTIMISM
, BASE
or POLYGON
start_date
: The start date for the query (YYYY-MM-DD format).
end_date
: The end date for the query (YYYY-MM-DD format).
includes
: Comma separated items containing reply
, retweet
, tweet
and quote
Response
Success: Returns a JSON array of objects with date
(in YYYY-MM-DD format) and tweet metrics that have been queried
Error: Returns an error message with an appropriate status code in case of invalid API key, missing parameters, or server issues.
Sample Request
Sample Response
Example
POST
https://dashboard.withblaze.app/api/social-metrics/official-account
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
x-api-key*
API-KEY
Your Blaze API Key
chain*
Enum
One of the supported chains - ETHEREUM
, ARBITRUM
, BSC
, OPTIMISM
, BASE
or POLYGON
start_date*
String
Start date for the queried metric
end_date*
String
End date for the queried metric
includes
String
Type of tweets to include. Comma separated items containing reply
, retweet
, tweet
and quote