Narrativ - Public Data API
  1. Timeseries Data
Narrativ - Public Data API
  • Overview
  • Timeseries Data
    • X Social Volume
      GET
    • YouTube Social Volume
      GET
    • Telegram Social Volume
      GET
  • Account Details
    • X Account Details
      GET
    • YouTube Channel Details
      GET
    • Telegram Channel Details
      GET
  1. Timeseries Data

YouTube Social Volume

GET
https://api.narrativ.tech/functions/v1/youtube-timeseries-slug
Returns timeseries data of the social volume on YouTube for a specific category (number of social mentions per day / week / month related to a category).

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
or
Query Params

Responses

🟢200Success
application/json
Body

🟠400Missing Query Parameter
🟠401Unauthorized - Missing Auth Token
🟠401Unauthorized - Invalid Key
🟠404Invalid Slug
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.narrativ.tech/functions/v1/youtube-timeseries-slug?slug=rwa&start_date=2025-10-15&end_date=2025-10-22&page_limit=5&interval=day&page_offset=0' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success - Timeseries Data
{
    "data": {
        "x": {
            "timeseriesData": [
                {
                    "datetime": "2024-01-01T00:00:00.000Z",
                    "value": 68500
                },
                {
                    "datetime": "2024-01-02T00:00:00.000Z",
                    "value": 97599
                },
                {
                    "datetime": "2024-01-03T00:00:00.000Z",
                    "value": 100100
                },
                {
                    "datetime": "2024-01-04T00:00:00.000Z",
                    "value": 93794
                },
                {
                    "datetime": "2024-01-05T00:00:00.000Z",
                    "value": 99360
                }
            ]
        }
    },
    "pagination": {
        "total_records": 640,
        "total_pages": 128,
        "current_page": 1,
        "page_size": 5,
        "has_next_page": true,
        "has_previous_page": false
    },
    "cache": {
        "fromCache": true,
        "cachedAt": "2025-10-22T02:00:11.032Z",
        "cacheDateRange": {
            "startDate": "2023-07-01",
            "endDate": "2025-10-22"
        }
    }
}
Previous
X Social Volume
Next
Telegram Social Volume
Built with