Accounts on other networks (X among them) have no analytics and get a 422. data depends on the network and type. content lists the period’s posts with their metrics, paged (data.pagination) and sortable by a metric; reviews pages too. insights gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While initial_sync.in_progress is true, the account’s first import is still running and the figures are incomplete.
Read-only. Personal access tokens may call it with any workspace role, viewers included.
In UTC. Weeks start on Monday. this_week, this_month and this_year run up to today; last_3_months is the three whole months before this one. Ignored when date_from and date_to are both sent.
Depends on the network and type. Compared figures are {value, change}, time series {date, value} lists, breakdowns {label, value} lists, and charts with several series an object of such lists.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OnlySocial API","description":"APIs, webhooks, the MCP server and the Partner API for OnlySocial.","colors":{"primary":"#3B82F6","light":"#60A5FA","dark":"#1D4ED8"},"logo":{"light":"https://mintcdn.com/onlysocial/LJSprGB5_BPvOyDE/logo/onlysocial.png?fit=max\u0026auto=format\u0026n=LJSprGB5_BPvOyDE\u0026q=85\u0026s=f11759a50722ae8548a860bed9c1d8ee","dark":"https://mintcdn.com/onlysocial/LJSprGB5_BPvOyDE/logo/onlysocial.png?fit=max\u0026auto=format\u0026n=LJSprGB5_BPvOyDE\u0026q=85\u0026s=f11759a50722ae8548a860bed9c1d8ee","href":"https://onlysocial.io"},"favicon":"https://mintcdn.com/onlysocial/LJSprGB5_BPvOyDE/favicon.png?fit=max\u0026auto=format\u0026n=LJSprGB5_BPvOyDE\u0026q=85\u0026s=0792889c34deb2cb2fd16f1a9d80f2bb","api":{"playground":{"display":"interactive"}},"navbar":{"links":[{"href":"https://help.onlysocial.io","label":"Help centre"}],"primary":{"type":"button","label":"Open OnlySocial","href":"https://app.onlysocial.io"}},"footer":{"socials":{"website":"https://onlysocial.io"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onlysocial","hasAudioNarration":false,"actualSubdomain":"onlysocial","customDomains":["api.onlysocial.io"],"gitSource":{"type":"github","owner":"ytm2014","repo":"onlysocial-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae53ba728ef3858e045345f"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae60ba067c58c3a14fe2a46","collectionId":"d7cdd5e7-f9e5-4a2f-8be0-3af6f980f28c","liveDeploymentHistoryId":"6ae60ba067c58c3a14fe2a46","schemaVersion":"v3"},"entitlements":{},"buildId":"6ae60ba067c58c3a14fe2a46","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Messaging API","count":50},{"language":"default","tag":"Link in Bio API","count":42},{"language":"default","tag":"Reference","count":41},{"language":"default","tag":"Publishing API","count":34},{"language":"default","tag":"Partner API","count":20},{"language":"default","tag":"Media","count":15},{"language":"default","tag":"Endpoints","count":14},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"Contacts","count":10},{"language":"default","tag":"Conversations \u0026 Messages","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"publishing/analytics/get-the-analytics-of-an-account","slug":"/publishing/analytics/get-the-analytics-of-an-account","pageMetadata":{"title":"Get the analytics of an account","description":"One account's analytics of one `type`. The answer's `tabs` lists the types the account supports, which depend on the network:\n\n| Network | Types |\n| --- | --- |\n| Instagram | overview, engagement, audience, reach, content, hashtags, insights, competitors (competitors needs an account connected through Facebook) |\n| Facebook Page | overview, engagement, video, content, hashtags, insights |\n| Google Business Profile | overview, engagement, content, search_terms, reviews |\n| Threads, Bluesky, Mastodon, LinkedIn Page | overview, engagement, content, hashtags, insights |\n| Pinterest | overview, content, hashtags, insights |\n| TikTok, YouTube | overview, content, insights |\n| LinkedIn profile | overview, engagement |\n\nAccounts on other networks (X among them) have no analytics and get a `422`. `data` depends on the network and type. `content` lists the period's posts with their metrics, paged (`data.pagination`) and sortable by a metric; `reviews` pages too. `insights` gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While `initial_sync.in_progress` is true, the account's first import is still running and the figures are incomplete.\n\nRead-only. Personal access tokens may call it with any workspace role, viewers included.\n\n**Required permission:** `publishing:analytics:read`","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/analytics/accounts/{account}","href":"/publishing/analytics/get-the-analytics-of-an-account","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n table: \"table\",\n tbody: \"tbody\",\n td: \"td\",\n th: \"th\",\n thead: \"thead\",\n tr: \"tr\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"One account’s analytics of one \", _jsx(_components.code, {\n children: \"type\"\n }), \". The answer’s \", _jsx(_components.code, {\n children: \"tabs\"\n }), \" lists the types the account supports, which depend on the network:\"]\n }), \"\\n\", _jsxs(_components.table, {\n children: [_jsx(_components.thead, {\n children: _jsxs(_components.tr, {\n children: [_jsx(_components.th, {\n children: \"Network\"\n }), _jsx(_components.th, {\n children: \"Types\"\n })]\n })\n }), _jsxs(_components.tbody, {\n children: [_jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"Instagram\"\n }), _jsx(_components.td, {\n children: \"overview, engagement, audience, reach, content, hashtags, insights, competitors (competitors needs an account connected through Facebook)\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"Facebook Page\"\n }), _jsx(_components.td, {\n children: \"overview, engagement, video, content, hashtags, insights\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"Google Business Profile\"\n }), _jsx(_components.td, {\n children: \"overview, engagement, content, search_terms, reviews\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"Threads, Bluesky, Mastodon, LinkedIn Page\"\n }), _jsx(_components.td, {\n children: \"overview, engagement, content, hashtags, insights\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"Pinterest\"\n }), _jsx(_components.td, {\n children: \"overview, content, hashtags, insights\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"TikTok, YouTube\"\n }), _jsx(_components.td, {\n children: \"overview, content, insights\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"LinkedIn profile\"\n }), _jsx(_components.td, {\n children: \"overview, engagement\"\n })]\n })]\n })]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Accounts on other networks (X among them) have no analytics and get a \", _jsx(_components.code, {\n children: \"422\"\n }), \". \", _jsx(_components.code, {\n children: \"data\"\n }), \" depends on the network and type. \", _jsx(_components.code, {\n children: \"content\"\n }), \" lists the period’s posts with their metrics, paged (\", _jsx(_components.code, {\n children: \"data.pagination\"\n }), \") and sortable by a metric; \", _jsx(_components.code, {\n children: \"reviews\"\n }), \" pages too. \", _jsx(_components.code, {\n children: \"insights\"\n }), \" gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While \", _jsx(_components.code, {\n children: \"initial_sync.in_progress\"\n }), \" is true, the account’s first import is still running and the figures are incomplete.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Read-only. Personal access tokens may call it with any workspace role, viewers included.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required permission:\"\n }), \" \", _jsx(_components.code, {\n children: \"publishing:analytics:read\"\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get the analytics of an account","description":"One account's analytics of one `type`. The answer's `tabs` lists the types the account supports, which depend on the network:\n\n| Network | Types |\n| --- | --- |\n| Instagram | overview, engagement, audience, reach, content, hashtags, insights, competitors (competitors needs an account connected through Facebook) |\n| Facebook Page | overview, engagement, video, content, hashtags, insights |\n| Google Business Profile | overview, engagement, content, search_terms, reviews |\n| Threads, Bluesky, Mastodon, LinkedIn Page | overview, engagement, content, hashtags, insights |\n| Pinterest | overview, content, hashtags, insights |\n| TikTok, YouTube | overview, content, insights |\n| LinkedIn profile | overview, engagement |\n\nAccounts on other networks (X among them) have no analytics and get a `422`. `data` depends on the network and type. `content` lists the period's posts with their metrics, paged (`data.pagination`) and sortable by a metric; `reviews` pages too. `insights` gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While `initial_sync.in_progress` is true, the account's first import is still running and the figures are incomplete.\n\nRead-only. Personal access tokens may call it with any workspace role, viewers included.\n\n**Required permission:** `publishing:analytics:read`","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/analytics/accounts/{account}","href":"/publishing/analytics/get-the-analytics-of-an-account","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Analytics"],"summary":"Get the analytics of an account","operationId":"analytics.account","description":"One account's analytics of one `type`. The answer's `tabs` lists the types the account supports, which depend on the network:\n\n| Network | Types |\n| --- | --- |\n| Instagram | overview, engagement, audience, reach, content, hashtags, insights, competitors (competitors needs an account connected through Facebook) |\n| Facebook Page | overview, engagement, video, content, hashtags, insights |\n| Google Business Profile | overview, engagement, content, search_terms, reviews |\n| Threads, Bluesky, Mastodon, LinkedIn Page | overview, engagement, content, hashtags, insights |\n| Pinterest | overview, content, hashtags, insights |\n| TikTok, YouTube | overview, content, insights |\n| LinkedIn profile | overview, engagement |\n\nAccounts on other networks (X among them) have no analytics and get a `422`. `data` depends on the network and type. `content` lists the period's posts with their metrics, paged (`data.pagination`) and sortable by a metric; `reviews` pages too. `insights` gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While `initial_sync.in_progress` is true, the account's first import is still running and the figures are incomplete.\n\nRead-only. Personal access tokens may call it with any workspace role, viewers included.\n\n**Required permission:** `publishing:analytics:read`","parameters":["3aed945e-a7ce-4c5c-b875-f74b0e0b889d","2306bca1-fe43-423c-aab9-e28596546b58","e1c6424a-990f-4915-a12f-4a34828ecbc8","ee0bab5e-166f-4435-9b50-1e57e487616b","33a500b8-fb97-40c6-a682-d38ece31d501","e82bc937-63be-443d-9cfe-f7b4bf612d52","fc490b56-7a0d-48ec-845c-693c7392b93b","9d974d34-5bb8-4796-89eb-d28af0c0b0ca","7c47a386-e0b2-4d8a-ba2c-ffc2857038e7","0d94fc9f-874d-4411-888e-4ec82b3d649c"],"responses":{"200":"84ba4b02-ace2-493d-b459-d00676649914","401":"96e5ba65-4502-4a15-8edb-f5f42fdebe39","403":"3c05c6df-3dac-4a29-a156-27d39d213937","404":"029e585c-3809-4f5a-a55d-f3f3c5c6da72","422":"4ec7637b-9796-4eea-b765-d4091d8a43c3"},"method":"get","type":"path","servers":["050a4c8b-8627-4c97-b1f3-ae9707ffd471"],"security":["7c547ce5-b3a2-4db3-b7e6-1e0d5148c6ee","ceb1b3be-1352-4301-856c-df6bcde28787"],"path":"/{workspace}/analytics/accounts/{account}","baseUrlOptions":["https://app.onlysocial.io/os/api"],"title":"Get the analytics of an account","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3aed945e-a7ce-4c5c-b875-f74b0e0b889d":{"name":"workspace","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Your workspace UUID. Must match the API key's workspace.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Your workspace UUID. Must match the API key's workspace."},"2306bca1-fe43-423c-aab9-e28596546b58":{"name":"account","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Account UUID.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Account UUID."},"e1c6424a-990f-4915-a12f-4a34828ecbc8":{"name":"type","in":"query","schema":{"type":"string","enum":["overview","engagement","content","hashtags","insights","audience","reach","video","competitors","search_terms","reviews"],"default":"overview","description":"One of the account's `tabs`.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"One of the account's `tabs`."},"ee0bab5e-166f-4435-9b50-1e57e487616b":{"name":"period","in":"query","schema":{"type":"string","enum":["this_week","last_week","this_month","last_month","last_3_months","this_year"],"default":"this_month","description":"In UTC. Weeks start on Monday. `this_week`, `this_month` and `this_year` run up to today; `last_3_months` is the three whole months before this one. Ignored when `date_from` and `date_to` are both sent.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"In UTC. Weeks start on Monday. `this_week`, `this_month` and `this_year` run up to today; `last_3_months` is the three whole months before this one. Ignored when `date_from` and `date_to` are both sent."},"33a500b8-fb97-40c6-a682-d38ece31d501":{"name":"date_from","in":"query","schema":{"type":"string","format":"date","example":"2026-01-01","description":"Start of a custom range (UTC day). Send with `date_to`.","uniqueKey":"","typeLabel":"string\u003cdate>"},"description":"Start of a custom range (UTC day). Send with `date_to`."},"e82bc937-63be-443d-9cfe-f7b4bf612d52":{"name":"date_to","in":"query","schema":{"type":"string","format":"date","example":"2026-01-31","description":"End of a custom range, on or after `date_from`. A range spans at most 366 days, both ends included.","uniqueKey":"","typeLabel":"string\u003cdate>"},"description":"End of a custom range, on or after `date_from`. A range spans at most 366 days, both ends included."},"fc490b56-7a0d-48ec-845c-693c7392b93b":{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1,"description":"`content` and `reviews` only.","uniqueKey":"","typeLabel":"integer"},"description":"`content` and `reviews` only."},"9d974d34-5bb8-4796-89eb-d28af0c0b0ca":{"name":"per_page","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"description":"`content` and `reviews` only. Defaults to 25 posts or 10 reviews.","uniqueKey":"","typeLabel":"integer"},"description":"`content` and `reviews` only. Defaults to 25 posts or 10 reviews."},"7c47a386-e0b2-4d8a-ba2c-ffc2857038e7":{"name":"sort_by","in":"query","schema":{"type":"string","maxLength":64,"example":"VIEW_COUNT","description":"`content` only: a metric name, as the keys of a post's `metrics` (e.g. `VIEW_COUNT`, `IMPRESSION_COUNT`, `LIKES`). Newest first without it.","uniqueKey":"","typeLabel":"string"},"description":"`content` only: a metric name, as the keys of a post's `metrics` (e.g. `VIEW_COUNT`, `IMPRESSION_COUNT`, `LIKES`). Newest first without it."},"0d94fc9f-874d-4411-888e-4ec82b3d649c":{"name":"sort_dir","in":"query","schema":{"type":"string","enum":["asc","desc"],"default":"desc","uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"responses":{"84ba4b02-ace2-493d-b459-d00676649914":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","properties":{"id":{"type":"integer","description":"Use this in a post's `accounts`.","uniqueKey":"account.id","typeLabel":"integer"},"uuid":{"type":"string","format":"uuid","uniqueKey":"account.uuid","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"account.name","typeLabel":"string"},"username":{"type":"string","uniqueKey":"account.username","typeLabel":"string"},"image":{"type":"string","uniqueKey":"account.image","typeLabel":"string"},"provider":{"type":"string","example":"instagram","uniqueKey":"account.provider","typeLabel":"string"},"data":{"type":"object","uniqueKey":"account.data","typeLabel":"object"},"authorized":{"type":"boolean","uniqueKey":"account.authorized","typeLabel":"boolean"},"created_at":{"type":"string","uniqueKey":"account.created_at","typeLabel":"string"},"published_at":{"oneOf":[{"type":"string","uniqueKey":"account.published_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"account.published_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"account.published_at","typeLabel":"string | null"}},"uniqueKey":"account","typeLabel":"object"},"type":{"type":"string","example":"overview","uniqueKey":"type","typeLabel":"string"},"tabs":{"type":"array","items":{"type":"string","uniqueKey":"tabs.items.[INDEX]","typeLabel":"string"},"example":["overview","content","insights"],"uniqueKey":"tabs","typeLabel":"string[]"},"period":{"type":"object","description":"The range the figures cover, and the previous range of the same length every `change` is measured against.","properties":{"start_date":{"type":"string","format":"date","uniqueKey":"period.start_date","typeLabel":"string\u003cdate>"},"end_date":{"type":"string","format":"date","uniqueKey":"period.end_date","typeLabel":"string\u003cdate>"},"previous_start_date":{"type":"string","format":"date","uniqueKey":"period.previous_start_date","typeLabel":"string\u003cdate>"},"previous_end_date":{"type":"string","format":"date","uniqueKey":"period.previous_end_date","typeLabel":"string\u003cdate>"}},"uniqueKey":"period","typeLabel":"object"},"initial_sync":{"type":"object","properties":{"in_progress":{"type":"boolean","uniqueKey":"initial_sync.in_progress","typeLabel":"boolean"},"progress":{"oneOf":[{"type":"integer","description":"Percent while the first import runs.","uniqueKey":"initial_sync.progress.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Percent while the first import runs.","uniqueKey":"initial_sync.progress.oneOf.1","typeLabel":"null"}],"uniqueKey":"initial_sync.progress","typeLabel":"integer | null"}},"uniqueKey":"initial_sync","typeLabel":"object"},"data":{"type":"object","description":"Depends on the network and type. Compared figures are `{value, change}`, time series `{date, value}` lists, breakdowns `{label, value}` lists, and charts with several series an object of such lists.","example":{"total_followers":120,"views":{"value":5400,"change":12.5},"likes":{"value":310,"change":-4.2},"audience":[{"date":"2026-01-01","value":118},{"date":"2026-01-02","value":120}]},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"account":{"id":123,"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","username":"\u003cstring>","image":"\u003cstring>","provider":"instagram","data":{},"authorized":true,"created_at":"\u003cstring>","published_at":"\u003cstring>"},"type":"overview","tabs":["overview","content","insights"],"period":{"start_date":"2023-12-25","end_date":"2023-12-25","previous_start_date":"2023-12-25","previous_end_date":"2023-12-25"},"initial_sync":{"in_progress":true,"progress":123},"data":{"total_followers":120,"views":{"value":5400,"change":12.5},"likes":{"value":310,"change":-4.2},"audience":[{"date":"2026-01-01","value":118},{"date":"2026-01-02","value":120}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"96e5ba65-4502-4a15-8edb-f5f42fdebe39":{"description":"Missing or invalid credential.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"3c05c6df-3dac-4a29-a156-27d39d213937":{"description":"The API key does not have `publishing:analytics:read`.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"029e585c-3809-4f5a-a55d-f3f3c5c6da72":{"description":"Unknown workspace, account or post.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"4ec7637b-9796-4eea-b765-d4091d8a43c3":{"description":"Invalid input. An account without analytics, a `type` the account does not support (the message lists its tabs), bad paging, or a bad period.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"The date range may span at most 366 days.","uniqueKey":"message","typeLabel":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"example":{"date_to":["The date range may span at most 366 days."]},"uniqueKey":"errors","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"The date range may span at most 366 days.","errors":{"date_to":["The date range may span at most 366 days."]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7c547ce5-b3a2-4db3-b7e6-1e0d5148c6ee":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A workspace API key: `Authorization: Bearer osk_...`","scopes":[],"schemeName":"bearerAuth"}},"ceb1b3be-1352-4301-856c-df6bcde28787":{"apiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same workspace API key in the `x-api-key` header.","scopes":[],"schemeName":"apiKeyHeader"}}},"servers":{"050a4c8b-8627-4c97-b1f3-ae9707ffd471":{"url":"https://app.onlysocial.io/os/api","description":"OnlySocial"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A workspace API key: `Authorization: Bearer osk_...`","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A workspace API key: `Authorization: Bearer osk_...`","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same workspace API key in the `x-api-key` header.","scopes":[],"schemeName":"apiKeyHeader"},"schema":{"title":"x-api-key","type":"string","description":"The same workspace API key in the `x-api-key` header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyHeader","name":"x-api-key"}],"title":"apiKeyHeader"}]},"originalFileLocation":"api-reference/publishing.openapi.json"},"subdomain":"onlysocial","siteName":"OnlySocial API","title":"Get the analytics of an account - OnlySocial API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T15:39:18.470Z","originalFileLocation":"publishing/analytics/get-the-analytics-of-an-account.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"One account\u0026#x27;s analytics of one type. The answer\u0026#x27;s tabs lists the types the account supports, which depend on the network: | Network | Types | | --- | --- | | Instagram | overview, engagement, audience, reach, content, hashtags, insights, competitors (competitors needs an account connected through Facebook) | | Facebook Page | overview, engagement, video, content, hashtags, insights | | Google Business Profile | overview, engagement, content, search_terms, reviews | | Threads, Bluesky, Mastodon, LinkedIn Page | overview, engagement, content, hashtags, insights | | Pinterest | overview, content, hashtags, insights | | TikTok, YouTube | overview, content, insights | | LinkedIn profile | overview, engagement | Accounts on other networks (X among them) have no analytics and get a 422. data depends on the network and type. content lists the period\u0026#x27;s posts with their metrics, paged (data.pagination) and sortable by a metric; reviews pages too. insights gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While initial_sync.in_progress is true, the account\u0026#x27;s first import is still running and the figures are incomplete. Read-only. Personal access tokens may call it with any workspace role, viewers included. Required permission: publishing:analytics:read\">\u003cmeta data-mint-head name=\"application-name\" content=\"OnlySocial API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get the analytics of an account - OnlySocial API\">\u003cmeta data-mint-head property=\"og:description\" content=\"One account\u0026#x27;s analytics of one type. The answer\u0026#x27;s tabs lists the types the account supports, which depend on the network: | Network | Types | | --- | --- | | Instagram | overview, engagement, audience, reach, content, hashtags, insights, competitors (competitors needs an account connected through Facebook) | | Facebook Page | overview, engagement, video, content, hashtags, insights | | Google Business Profile | overview, engagement, content, search_terms, reviews | | Threads, Bluesky, Mastodon, LinkedIn Page | overview, engagement, content, hashtags, insights | | Pinterest | overview, content, hashtags, insights | | TikTok, YouTube | overview, content, insights | | LinkedIn profile | overview, engagement | Accounts on other networks (X among them) have no analytics and get a 422. data depends on the network and type. content lists the period\u0026#x27;s posts with their metrics, paged (data.pagination) and sortable by a metric; reviews pages too. insights gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While initial_sync.in_progress is true, the account\u0026#x27;s first import is still running and the figures are incomplete. Read-only. Personal access tokens may call it with any workspace role, viewers included. Required permission: publishing:analytics:read\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OnlySocial API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onlysocial.mintlify.app/_mintlify/api/og/v2?division=Analytics\u0026amp;title=Get+the+analytics+of+an+account\u0026amp;description=One+account%27s+analytics+of+one+%60type%60.+The+answer%27s+%60tabs%60+lists+the+types+the+account+supports%2C+which+depend+on+the+network%3A%0A%0A%7C+Network+%7C+Types+%7C%0A%7C+---+%7C+---+%7C\u0026amp;theme=413d59e57a1f6eb782bd67f2\u0026amp;signature=0191de20b9c2152bca25c2b3b4f38579633622425aadda8400e1e698cf02d217\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get the analytics of an account - OnlySocial API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"One account\u0026#x27;s analytics of one type. The answer\u0026#x27;s tabs lists the types the account supports, which depend on the network: | Network | Types | | --- | --- | | Instagram | overview, engagement, audience, reach, content, hashtags, insights, competitors (competitors needs an account connected through Facebook) | | Facebook Page | overview, engagement, video, content, hashtags, insights | | Google Business Profile | overview, engagement, content, search_terms, reviews | | Threads, Bluesky, Mastodon, LinkedIn Page | overview, engagement, content, hashtags, insights | | Pinterest | overview, content, hashtags, insights | | TikTok, YouTube | overview, content, insights | | LinkedIn profile | overview, engagement | Accounts on other networks (X among them) have no analytics and get a 422. data depends on the network and type. content lists the period\u0026#x27;s posts with their metrics, paged (data.pagination) and sortable by a metric; reviews pages too. insights gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While initial_sync.in_progress is true, the account\u0026#x27;s first import is still running and the figures are incomplete. Read-only. Personal access tokens may call it with any workspace role, viewers included. Required permission: publishing:analytics:read\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onlysocial.mintlify.app/_mintlify/api/og/v2?division=Analytics\u0026amp;title=Get+the+analytics+of+an+account\u0026amp;description=One+account%27s+analytics+of+one+%60type%60.+The+answer%27s+%60tabs%60+lists+the+types+the+account+supports%2C+which+depend+on+the+network%3A%0A%0A%7C+Network+%7C+Types+%7C%0A%7C+---+%7C+---+%7C\u0026amp;theme=413d59e57a1f6eb782bd67f2\u0026amp;signature=0191de20b9c2152bca25c2b3b4f38579633622425aadda8400e1e698cf02d217\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/onlysocial/e8F8GK-eppzL_Bf4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OnlySocial API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3B82F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/publishing/analytics/get-the-analytics-of-an-account.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.onlysocial.io/#organization\",\"name\":\"OnlySocial API\",\"url\":\"https://api.onlysocial.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/onlysocial/LJSprGB5_BPvOyDE/logo/onlysocial.png?fit=max\u0026auto=format\u0026n=LJSprGB5_BPvOyDE\u0026q=85\u0026s=f11759a50722ae8548a860bed9c1d8ee\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api.onlysocial.io#website\",\"name\":\"OnlySocial API\",\"url\":\"https://api.onlysocial.io\",\"publisher\":{\"@id\":\"https://api.onlysocial.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account#webpage\",\"url\":\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account\",\"name\":\"Get the analytics of an account\",\"description\":\"One account's analytics of one type. The answer's tabs lists the types the account supports, which depend on the network: | Network | Types | | --- | --- | | Instagram | overview, engagement, audience, reach, content, hashtags, insights, competitors (competitors needs an account connected through Facebook) | | Facebook Page | overview, engagement, video, content, hashtags, insights | | Google Business Profile | overview, engagement, content, search_terms, reviews | | Threads, Bluesky, Mastodon, LinkedIn Page | overview, engagement, content, hashtags, insights | | Pinterest | overview, content, hashtags, insights | | TikTok, YouTube | overview, content, insights | | LinkedIn profile | overview, engagement | Accounts on other networks (X among them) have no analytics and get a 422. data depends on the network and type. content lists the period's posts with their metrics, paged (data.pagination) and sortable by a metric; reviews pages too. insights gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While initial_sync.in_progress is true, the account's first import is still running and the figures are incomplete. Read-only. Personal access tokens may call it with any workspace role, viewers included. Required permission: publishing:analytics:read\",\"dateModified\":\"2026-10-31T15:39:18.470Z\",\"isPartOf\":{\"@id\":\"https://api.onlysocial.io#website\"},\"breadcrumb\":{\"@id\":\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Analytics\",\"item\":\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-summary\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get the analytics of an account\",\"item\":\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account#apireference\",\"headline\":\"Get the analytics of an account\",\"name\":\"Get the analytics of an account\",\"description\":\"One account's analytics of one type. The answer's tabs lists the types the account supports, which depend on the network: | Network | Types | | --- | --- | | Instagram | overview, engagement, audience, reach, content, hashtags, insights, competitors (competitors needs an account connected through Facebook) | | Facebook Page | overview, engagement, video, content, hashtags, insights | | Google Business Profile | overview, engagement, content, search_terms, reviews | | Threads, Bluesky, Mastodon, LinkedIn Page | overview, engagement, content, hashtags, insights | | Pinterest | overview, content, hashtags, insights | | TikTok, YouTube | overview, content, insights | | LinkedIn profile | overview, engagement | Accounts on other networks (X among them) have no analytics and get a 422. data depends on the network and type. content lists the period's posts with their metrics, paged (data.pagination) and sortable by a metric; reviews pages too. insights gives the best day, hour, post type and posting frequency, the top post and the engagement trend. While initial_sync.in_progress is true, the account's first import is still running and the figures are incomplete. Read-only. Personal access tokens may call it with any workspace role, viewers included. Required permission: publishing:analytics:read\",\"url\":\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account\",\"mainEntityOfPage\":{\"@id\":\"https://api.onlysocial.io/publishing/analytics/get-the-analytics-of-an-account#webpage\"},\"dateModified\":\"2026-10-31T15:39:18.470Z\",\"publisher\":{\"@id\":\"https://api.onlysocial.io/#organization\"},\"isPartOf\":{\"@id\":\"https://api.onlysocial.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OnlySocial API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OnlySocial API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Messaging API","pages":[{"title":"Messaging API","href":"/messaging/account/get-the-authenticated-workspace"}]},{"tab":"Publishing API","groups":[{"group":"Diagnostics","pages":[{"title":"Check your key","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /ping","href":"/publishing/diagnostics/check-your-key"}]},{"group":"Accounts","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/accounts","href":"/publishing/accounts/list-accounts"},{"title":"Get an account","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/accounts/{account}","href":"/publishing/accounts/get-an-account"}]},{"group":"Posts","pages":[{"title":"List posts","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/posts","href":"/publishing/posts/list-posts"},{"title":"Create a post","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/posts","href":"/publishing/posts/create-a-post"},{"title":"Delete several posts","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json delete /{workspace}/posts","href":"/publishing/posts/delete-several-posts"},{"title":"Get a post","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/posts/{post}","href":"/publishing/posts/get-a-post"},{"title":"Update a post","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json put /{workspace}/posts/{post}","href":"/publishing/posts/update-a-post"},{"title":"Delete a post","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json delete /{workspace}/posts/{post}","href":"/publishing/posts/delete-a-post"},{"title":"Schedule a post","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/posts/schedule/{post}","href":"/publishing/posts/schedule-a-post"},{"title":"Reschedule a post","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/posts/reschedule/{post}","href":"/publishing/posts/reschedule-a-post"},{"title":"Add a post to the queue","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/posts/add-to-queue/{post}","href":"/publishing/posts/add-a-post-to-the-queue"},{"title":"Approve a post","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/posts/approve/{post}","href":"/publishing/posts/approve-a-post"}]},{"group":"Media","pages":[{"title":"List media","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/media","href":"/publishing/media/list-media"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/media","href":"/publishing/media/upload-a-file"},{"title":"Delete media","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json delete /{workspace}/media","href":"/publishing/media/delete-media"},{"title":"Get a media item","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/media/{media}","href":"/publishing/media/get-a-media-item"},{"title":"Update a media item","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json put /{workspace}/media/{media}","href":"/publishing/media/update-a-media-item"},{"title":"Start a chunked upload","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/media/chunked/initiate","href":"/publishing/media/start-a-chunked-upload"},{"title":"Upload a chunk","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/media/chunked/{upload}/upload","href":"/publishing/media/upload-a-chunk"},{"title":"Finish a chunked upload","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/media/chunked/{upload}/complete","href":"/publishing/media/finish-a-chunked-upload"},{"title":"Cancel a chunked upload","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json delete /{workspace}/media/chunked/{upload}","href":"/publishing/media/cancel-a-chunked-upload"},{"title":"Import from a URL","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/media/remote/initiate","href":"/publishing/media/import-from-a-url"},{"title":"Check a URL import","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/media/remote/{download}/status","href":"/publishing/media/check-a-url-import"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/tags","href":"/publishing/tags/list-tags"},{"title":"Create a tag","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json post /{workspace}/tags","href":"/publishing/tags/create-a-tag"},{"title":"Get a tag","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/tags/{tag}","href":"/publishing/tags/get-a-tag"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json put /{workspace}/tags/{tag}","href":"/publishing/tags/update-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json delete /{workspace}/tags/{tag}","href":"/publishing/tags/delete-a-tag"}]},{"group":"Analytics","pages":[{"title":"Get the analytics summary","description":"Every account in the workspace that has analytics, over one period: total followers, follower growth and posts with their change, the best-growing account and one losing followers, a leaderboard, the most and least active accounts, each account's share of followers, total followers per day, and on how many days anything was posted.\n\nRead-only. Personal access tokens may call it with any workspace role, viewers included.\n\n**Required permission:** `publishing:analytics:read`","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/analytics","href":"/publishing/analytics/get-the-analytics-summary"},{"title":"Get the analytics of an account","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/analytics/accounts/{account}","href":"/publishing/analytics/get-the-analytics-of-an-account"},{"title":"Get the best times to post","description":"When posting has worked, per weekday and hour, pooled over the chosen accounts. Each post of the last 180 days that has views counts by its engagement rate against its own account's average, and every account weighs the same, so a busy account does not drown out the others. A slot scores 50 × that ratio, pulled toward 50 when few posts are behind it, from 0 to 100: 50 is average for these accounts, 100 twice the average or better. Only networks with the `insights` type take part.\n\nWeekdays run from `0` (Sunday) to `6` (Saturday). `best` names up to three slots with at least two posts behind them, at most one per weekday, highest first. `confidence` is `high` from 5 posts, `medium` from 2, `low` with 1 and `none` without. `offset_hours` is the timezone's offset from UTC now.\n\nRead-only. Personal access tokens may call it with any workspace role, viewers included.\n\n**Required permission:** `publishing:analytics:read`","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/analytics/posting-times","href":"/publishing/analytics/get-the-best-times-to-post"},{"title":"Get the next best time for each account","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/analytics/best-times","href":"/publishing/analytics/get-the-next-best-time-for-each-account"},{"title":"Get the analytics of a post","deprecated":null,"version":null,"openapi":"/api-reference/publishing.openapi.json get /{workspace}/posts/{post}/analytics","href":"/publishing/analytics/get-the-analytics-of-a-post"}]}]},{"tab":"Link in Bio API","pages":[{"title":"Link in Bio API","href":"/biolinks/overview"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"Partner API","pages":[{"title":"Partner API","href":"/partner/overview"}]}]},"basePath":"","title":"Get the analytics of an account - OnlySocial API","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}