Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.
{
"responses": [
{
"status": 200,
"body": "{\"success\":true,\"account\":{\"id\":\"00000000-0000-4000-8000-000000000001\",\"channelId\":\"UCnnnnnnnnnnnnnnnnnnnnnn\",\"title\":\"Channel UCnn\",\"description\":\"Desc\",\"customUrl\":\"@chan\",\"publishedAt\":\"2020-01-01T00:00:00Z\",\"country\":\"GB\",\"thumbnails\":{\"default\":\"d\",\"medium\":\"m\",\"high\":\"h\"},\"subscriberCount\":500,\"viewCount\":9000,\"videoCount\":12,\"hiddenSubscriberCount\":false,\"uploadsPlaylistId\":\"UUnnnnnnnnnnnnnnnnnnnnnn\",\"keywords\":\"k\",\"topicCategories\":[\"t\"],\"madeForKids\":false,\"addedAt\":\"2026-09-01T12:00:00.000Z\",\"lastUpdated\":\"2026-09-01T12:00:00.000Z\"}}"
},
{
"status": 409,
"body": "{\"success\":false,\"code\":\"CONFLICT\",\"message\":\"This channel is already added\",\"requestId\":\"req-test\"}"
},
{
"status": 409,
"body": "{\"success\":false,\"code\":\"CONFLICT\",\"message\":\"This channel is already added\",\"requestId\":\"req-test\"}"
},
{
"status": 400,
"body": "{\"success\":false,\"code\":\"VALIDATION_ERROR\",\"message\":\"Enter a channel URL, @handle or channel ID\",\"requestId\":\"req-test\"}"
},
{
"status": 503,
"body": "{\"success\":false,\"code\":\"NOT_CONFIGURED\",\"message\":\"YouTube API key not configured on server\",\"requestId\":\"req-test\"}"
}
],
"requests": [
{
"url": "https://www.googleapis.com/youtube/v3/channels?part=id&forHandle=creator&key=YTKEY",
"method": "GET"
},
{
"url": "https://www.googleapis.com/youtube/v3/channels?part=snippet%2Cstatistics%2CcontentDetails%2CbrandingSettings%2Cstatus%2CtopicDetails&id=UCnnnnnnnnnnnnnnnnnnnnnn&key=YTKEY",
"method": "GET"
},
{
"url": "https://www.googleapis.com/youtube/v3/channels?part=id&forHandle=%40existing&key=YTKEY",
"method": "GET"
},
{
"url": "https://www.googleapis.com/youtube/v3/channels?part=snippet%2Cstatistics%2CcontentDetails%2CbrandingSettings%2Cstatus%2CtopicDetails&id=UCnnnnnnnnnnnnnnnnnnnnnn&key=YTKEY",
"method": "GET"
},
{
"url": "https://www.googleapis.com/youtube/v3/channels?part=id&forHandle=existing&key=YTKEY",
"method": "GET"
},
{
"url": "https://www.googleapis.com/youtube/v3/channels?part=snippet%2Cstatistics%2CcontentDetails%2CbrandingSettings%2Cstatus%2CtopicDetails&id=UCaaaaaaaaaaaaaaaaaaaaaa&key=YTKEY",
"method": "GET"
}
],
"calls": [
{
"type": "select",
"table": "accounts",
"columns": "id, platform, data",
"filters": [
[
"user_id",
"user-1"
],
[
"platform",
[
"youtube",
"instagram"
],
"in"
]
]
},
{
"type": "insert",
"table": "accounts",
"values": {
"id": "00000000-0000-4000-8000-000000000001",
"user_id": "user-1",
"platform": "youtube",
"data": {
"channelId": "UCnnnnnnnnnnnnnnnnnnnnnn",
"title": "Channel UCnn",
"description": "Desc",
"customUrl": "@chan",
"publishedAt": "2020-01-01T00:00:00Z",
"country": "GB",
"thumbnails": {
"default": "d",
"medium": "m",
"high": "h"
},
"subscriberCount": 500,
"viewCount": 9000,
"videoCount": 12,
"hiddenSubscriberCount": false,
"uploadsPlaylistId": "UUnnnnnnnnnnnnnnnnnnnnnn",
"keywords": "k",
"topicCategories": [
"t"
],
"madeForKids": false,
"addedAt": "2026-09-01T12:00:00.000Z",
"lastUpdated": "2026-09-01T12:00:00.000Z"
}
},
"filters": []
},
{
"type": "select",
"table": "accounts",
"columns": "id, platform, data",
"filters": [
[
"user_id",
"user-1"
],
[
"platform",
[
"youtube",
"instagram"
],
"in"
]
]
},
{
"type": "select",
"table": "accounts",
"columns": "id, platform, data",
"filters": [
[
"user_id",
"user-1"
],
[
"platform",
[
"youtube",
"instagram"
],
"in"
]
]
}
],
"redis": [],
"logs": [
[
"error",
"{\"level\":\"error\",\"message\":\"request failed\",\"requestId\":\"req-test\",\"userId\":\"user-1\",\"code\":\"NOT_CONFIGURED\",\"status\":503,\"error\":\"YouTube API key not configured on server\",\"errorName\":\"NotConfiguredError\"}"
]
]
}