Start with 5000 API credits for free
logo

Instagram comments API

Returns comments from a post or reel

Parameters

url - URL of a post or reel

type: string

stream - Stream response

type: booleanDefault: false

Return type

comments

Examples

1
2
3
4
5
6
7
8
9
10
11
12
13
import typedclient
import asyncio

api = typedclient.connect('API_KEY')

async def main():
comments = await api.instagram.comments(
url="https://www.instagram.com/catsofinstagram/p/CesFC7JLyFl/?img_index=1"
)
print([(comment.comment) for comment in comments])

asyncio.run(main())