Official API or a pasted link: how to export comments from each network
Ask how to export the comments of a post and the first answer is usually "use the official API". That is right for some posts and impossible for others, and the difference is almost always whose post it is. This guide states what each network's official route returns, with a link to the documentation behind every claim, as read on 28 November 2026.
Updated Nov 28, 2026 · 8 min read
The short answer
| Network | Official route | Whose posts it reads | What you need first |
|---|---|---|---|
| Instagram API (Meta), comments on a media object | The professional account that authorised your app | A Meta app, a Business or Creator account, an access token | |
| Graph API, comments on a Page post | Pages you manage; other public Pages only with an approved feature | A Meta app and a Page access token; App Review and business verification for Pages you do not manage | |
| YouTube | YouTube Data API v3, commentThreads.list | Any public video with comments on | A Google Cloud project and an API key |
| TikTok | API for Business (comments); Research API | Videos of a TikTok account you own; public videos for approved researchers | A developer app the account authorises; or an approved research application |
So the official API is the right tool when the post is yours and you can spend developer time, and YouTube is the one network where it also reads other people's videos. For a public post you do not manage, on Instagram, Facebook or TikTok, a business has no self-serve official route.
Instagram: your own professional account, 50 comments a query
Meta's reference for comments on an IG Media object says a read:
- needs an access token from the user who created the media, with the
instagram_basicandinstagram_manage_commentspermissions (with Instagram Login the names areinstagram_business_basicandinstagram_business_manage_comments, per the comment moderation guide); - "returns a maximum of 50 comments per query", newest first by default;
- "returns only top-level comments": replies come from the
repliesfield or a request per comment.
The same guide speaks of media owned by your app's users, on Instagram professional accounts, and says an app needs Advanced Access before it can serve accounts its developer does not own or manage. Put together: the API exports the comments of a Business or Creator account's own posts to an app that account has authorised. It has no call that takes the link of somebody else's public post and returns its comments.
What it is good at is everything after the export: replying, hiding and deleting comments, and webhooks that tell your server about each new comment. If you manage the account and want that, build on the API. If you want the comments of a post as a file, yours or anyone's, see the Instagram comment exporter and four ways to export Instagram comments, compared.
Facebook: a Page token for your Page, App Review for anyone else's
Comments on a Page post are read at /{post-id}/comments. Meta's Pages API guide asks for a Page access token, Page permissions that include pages_read_engagement, and an app user who can perform the moderation or content tasks on that Page. The comments reference adds three things worth knowing before you write a loop:
- the default
filteristoplevel;filter=streamreturns every comment, replies included, in chronological order; summary.total_count"can be greater than or equal to the actual number of comments returned", because of privacy settings and deletions;- objects with tens of thousands of comments can hit limits while paging.
For a public Page you do not manage, the app needs the Page Public Content Access feature, whose own page says it requires App Review and is only available with business verification. That is a route for a company building a product, not for someone who needs one thread in Excel this week. Nothing in these documents offers a stranger the comments of a group post or a personal profile.
The link route for a public Page post is on the Facebook comment exporter page, and the walk-through is how to export Facebook Page post comments.
YouTube: the one official API that reads any public video
YouTube is the exception. commentThreads.list returns the comment threads of any public video to a request that carries an API key. By its reference:
- a call costs 1 quota unit and returns 1 to 100 threads (20 unless you ask for more), ordered by time or by relevance;
- a video with comments turned off answers with a
commentsDisablederror; - each thread carries only some of its replies: "the list of replies is only a subset", and the rest come from
comments.listwith the thread's ID asparentId, again 1 unit a call.
The getting started page says you need a Google Account, a project and credentials, and that a project's default allocation is 10,000 units a day. A video with 50,000 top-level comments is at least 500 calls for the threads, plus one or more per thread that has further replies, so most single videos fit in a day's quota.
One rule follows the data: YouTube's developer policies let a service store data read without a user's authorisation for no longer than 30 calendar days, after which it must be deleted or refreshed. That is why a YouTube export on this site is deleted after 30 days. The site reads YouTube through this same API, so the YouTube comment exporter gives the result of those calls, replies fetched and rows laid out, without a project or a key.
TikTok: your own account, or an approved research project
TikTok has two documented routes to comments and one API people often assume has them.
- API for Business. Get comments on an owned video returns the comments, public and hidden, on "a specific organic video posted by an owned TikTok Account". It needs an access token that the account's owner granted to your developer app. A page holds at most 30 comments; with
include_replieseach comment comes with up to three replies, and the full thread is a second endpoint. The reference notes that past the first 500 comments the ordering changes and duplicates can appear. - Research API. Query video comments reads the comments of public videos, up to 100 a request, with the fields
id,video_id,text,like_count,reply_count,parent_comment_idandcreate_time. The product page opens it to academic institutions in the U.S., the EEA, the UK, Canada and Switzerland and to not-for-profit researchers in the EU, on application. Its FAQ sets a daily limit of 1,000 requests and rules out creators, advertisers and commercial users. - Display API. Its overview lists profile information and video metadata. Comments are not among them.
So a brand can read the comments on its own videos through an app it builds, a researcher at a university can apply for public data, and nobody else has an official call for the comments under a public video. The link route is on the TikTok comment exporter page.
What a pasted-link export does instead
A link export skips the app, the token and the review. You paste the address of a public post, the public comments and replies are read, and you get a file. On this site that means an Excel workbook, a CSV, JSON, or rows in Google Sheets by paste or by a live =IMPORTDATA link, with the same columns on every network. Free per post: YouTube up to 5,000; Instagram up to 1,000; TikTok and Facebook up to 300 comments.
Be clear about what it is not:
- It reads what the public can see. Comments that a network or an account hides, holds for review or has deleted are not in the file, and private accounts, Facebook groups and personal profiles are not read at all.
- It is a snapshot. The file is the post as it was read. The official APIs with webhooks are the way to react to each new comment as it arrives.
- It cannot act. Nothing logs in, so nothing can reply, hide or delete.
- On TikTok and Facebook, reply threads are read up to a limit and the export page states how many replies were left unread. Every top-level comment is read.
What it does give is a count you can check: comments read next to the number the network itself shows, before you download. Five checks tell a complete file from a partial one.
Which route to use
- The post is yours and you need to moderate, reply or be notified. The official API. An export is the wrong tool for an ongoing job.
- The post is yours and you need the comments in a spreadsheet once. Either works. The API costs an app registration and some code; a link costs a paste.
- The post is someone else's public post on Instagram, Facebook or TikTok. A link export. The official routes are closed to you, or sit behind App Review or a research application.
- A YouTube video, yours or not. Either. Write against the Data API if you have a project and will do it often; paste the link if you want the file now.
- TikTok data for a university study. Apply for the Research API if you qualify and can wait; note that its comment fields carry no username. For a handful of videos, export them and describe the method: comments for research and sentiment analysis lists what to report.
If you do use an API: getting the result into a sheet
Every one of these APIs answers in pages of JSON. Three things go wrong on the way to a spreadsheet, whichever network it is:
- Replies. Instagram and YouTube return top-level comments first and replies on request; TikTok's business endpoint returns three replies a comment unless you call the reply endpoint. Count the replies you expect before you trust a total. Keeping each reply as its own row with its parent's ID is what makes rebuilding threads in a spreadsheet possible.
- IDs. Write IDs as text. A 17 or 19 digit ID read as a number loses its last digits: why Excel rounds long comment IDs.
- Encoding. Save CSV as UTF-8 with a byte-order mark if anyone will double-click it in Excel: why emoji and accents break in a CSV.
If you want your API output and a link export in one sheet, use the same thirteen columns this site writes, listed on export comments from any platform, and stack them: compare comments across networks.
FAQ
Can Instagram's official API export the comments of any public post?
No. Per Meta's reference, comments are read with a token from the user who created the media, on a professional account. It returns the comments of that account's own posts, 50 top-level comments a query, and has no call for someone else's post.
Is there an official TikTok API for comments?
Two. TikTok's API for Business lists the comments on videos of a TikTok account you own, after that account authorises your app. The Research API reads public videos for approved academic and non-profit researchers. The Display API has no comments.
Can I download YouTube comments free with the official API?
Yes. commentThreads.list reads any public video with an API key, 100 threads a call at 1 quota unit, within a default 10,000 units a day. You need a Google Cloud project, and replies beyond the few in each thread take a further call per thread.
Do I need App Review to read Facebook comments?
Not for a Page you manage: a Page access token with the Page permissions is enough. To read a public Page you do not manage, the app needs Page Public Content Access, which requires App Review and business verification.
Does a pasted-link export use my account?
No. You paste the address of a public post. Nothing asks for a login, a token or a browser extension, and nothing can post or act on an account.
When were these API facts checked?
On 28 November 2026, against the pages linked in each section. Platforms change their APIs; follow the links for the current wording before you build on it.