@tapline/client 0.2.13 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/README.md +12 -2
  2. package/dist/cjs/client.d.ts +8 -0
  3. package/dist/cjs/client.d.ts.map +1 -1
  4. package/dist/cjs/client.js +32 -20
  5. package/dist/cjs/client.js.map +1 -1
  6. package/dist/cjs/index.d.ts +8 -0
  7. package/dist/cjs/index.d.ts.map +1 -1
  8. package/dist/cjs/index.js +33 -21
  9. package/dist/cjs/index.js.map +1 -1
  10. package/dist/cjs/services/airbnb/client.d.ts +6 -6
  11. package/dist/cjs/services/airbnb/client.d.ts.map +1 -1
  12. package/dist/cjs/services/airbnb/client.js +6 -6
  13. package/dist/cjs/services/airbnb/client.js.map +1 -1
  14. package/dist/cjs/services/birdeye/client.d.ts +10 -10
  15. package/dist/cjs/services/birdeye/client.d.ts.map +1 -1
  16. package/dist/cjs/services/birdeye/client.js +10 -10
  17. package/dist/cjs/services/birdeye/client.js.map +1 -1
  18. package/dist/cjs/services/brave_search/client.d.ts +1 -1
  19. package/dist/cjs/services/brave_search/client.d.ts.map +1 -1
  20. package/dist/cjs/services/brave_search/client.js +1 -1
  21. package/dist/cjs/services/brave_search/client.js.map +1 -1
  22. package/dist/cjs/services/brave_search/types.d.ts +1211 -1273
  23. package/dist/cjs/services/brave_search/types.d.ts.map +1 -1
  24. package/dist/cjs/services/facebook/client.d.ts +65 -0
  25. package/dist/cjs/services/facebook/client.d.ts.map +1 -0
  26. package/dist/cjs/services/facebook/client.js +151 -0
  27. package/dist/cjs/services/facebook/client.js.map +1 -0
  28. package/dist/cjs/services/facebook/index.d.ts +3 -0
  29. package/dist/cjs/services/facebook/index.d.ts.map +1 -0
  30. package/dist/cjs/services/facebook/index.js +22 -0
  31. package/dist/cjs/services/facebook/index.js.map +1 -0
  32. package/dist/cjs/services/facebook/types.d.ts +1021 -0
  33. package/dist/cjs/services/facebook/types.d.ts.map +1 -0
  34. package/dist/cjs/services/facebook/types.js +4 -0
  35. package/dist/cjs/services/facebook/types.js.map +1 -0
  36. package/dist/cjs/services/facebook_ad_library/client.d.ts +25 -0
  37. package/dist/cjs/services/facebook_ad_library/client.d.ts.map +1 -0
  38. package/dist/cjs/services/facebook_ad_library/client.js +53 -0
  39. package/dist/cjs/services/facebook_ad_library/client.js.map +1 -0
  40. package/dist/cjs/services/facebook_ad_library/index.d.ts +3 -0
  41. package/dist/cjs/services/facebook_ad_library/index.d.ts.map +1 -0
  42. package/dist/cjs/services/facebook_ad_library/index.js +22 -0
  43. package/dist/cjs/services/facebook_ad_library/index.js.map +1 -0
  44. package/dist/cjs/services/facebook_ad_library/types.d.ts +606 -0
  45. package/dist/cjs/services/facebook_ad_library/types.d.ts.map +1 -0
  46. package/dist/cjs/services/facebook_ad_library/types.js +4 -0
  47. package/dist/cjs/services/facebook_ad_library/types.js.map +1 -0
  48. package/dist/cjs/services/facebook_marketplace/client.d.ts +23 -0
  49. package/dist/cjs/services/facebook_marketplace/client.d.ts.map +1 -0
  50. package/dist/cjs/services/facebook_marketplace/client.js +47 -0
  51. package/dist/cjs/services/facebook_marketplace/client.js.map +1 -0
  52. package/dist/cjs/services/facebook_marketplace/index.d.ts +3 -0
  53. package/dist/cjs/services/facebook_marketplace/index.d.ts.map +1 -0
  54. package/dist/cjs/services/facebook_marketplace/index.js +22 -0
  55. package/dist/cjs/services/facebook_marketplace/index.js.map +1 -0
  56. package/dist/cjs/services/facebook_marketplace/types.d.ts +400 -0
  57. package/dist/cjs/services/facebook_marketplace/types.d.ts.map +1 -0
  58. package/dist/cjs/services/facebook_marketplace/types.js +4 -0
  59. package/dist/cjs/services/facebook_marketplace/types.js.map +1 -0
  60. package/dist/cjs/services/geckoterminal/client.d.ts +2 -2
  61. package/dist/cjs/services/geckoterminal/client.d.ts.map +1 -1
  62. package/dist/cjs/services/geckoterminal/client.js +2 -2
  63. package/dist/cjs/services/geckoterminal/client.js.map +1 -1
  64. package/dist/cjs/services/geckoterminal/types.d.ts +15 -4
  65. package/dist/cjs/services/geckoterminal/types.d.ts.map +1 -1
  66. package/dist/cjs/services/gmgn/client.d.ts +18 -18
  67. package/dist/cjs/services/gmgn/client.d.ts.map +1 -1
  68. package/dist/cjs/services/gmgn/client.js +18 -18
  69. package/dist/cjs/services/gmgn/client.js.map +1 -1
  70. package/dist/cjs/services/gmgn/types.d.ts +2 -2
  71. package/dist/cjs/services/gmgn/types.d.ts.map +1 -1
  72. package/dist/cjs/services/goplus/client.d.ts +3 -3
  73. package/dist/cjs/services/goplus/client.d.ts.map +1 -1
  74. package/dist/cjs/services/goplus/client.js +3 -3
  75. package/dist/cjs/services/goplus/client.js.map +1 -1
  76. package/dist/cjs/services/imovelweb/client.d.ts +6 -6
  77. package/dist/cjs/services/imovelweb/client.d.ts.map +1 -1
  78. package/dist/cjs/services/imovelweb/client.js +6 -6
  79. package/dist/cjs/services/imovelweb/client.js.map +1 -1
  80. package/dist/cjs/services/indeed/types.d.ts +233 -187
  81. package/dist/cjs/services/indeed/types.d.ts.map +1 -1
  82. package/dist/cjs/services/instagram/client.d.ts +12 -12
  83. package/dist/cjs/services/instagram/client.d.ts.map +1 -1
  84. package/dist/cjs/services/instagram/client.js +12 -12
  85. package/dist/cjs/services/instagram/client.js.map +1 -1
  86. package/dist/cjs/services/instagram/types.d.ts +399 -2284
  87. package/dist/cjs/services/instagram/types.d.ts.map +1 -1
  88. package/dist/cjs/services/linkedin/client.d.ts +7 -7
  89. package/dist/cjs/services/linkedin/client.d.ts.map +1 -1
  90. package/dist/cjs/services/linkedin/client.js +7 -7
  91. package/dist/cjs/services/linkedin/client.js.map +1 -1
  92. package/dist/cjs/services/pinterest/client.d.ts +4 -4
  93. package/dist/cjs/services/pinterest/client.d.ts.map +1 -1
  94. package/dist/cjs/services/pinterest/client.js +4 -4
  95. package/dist/cjs/services/pinterest/client.js.map +1 -1
  96. package/dist/cjs/services/pinterest/types.d.ts +740 -711
  97. package/dist/cjs/services/pinterest/types.d.ts.map +1 -1
  98. package/dist/cjs/services/pinterest_v2/client.d.ts +15 -0
  99. package/dist/cjs/services/pinterest_v2/client.d.ts.map +1 -0
  100. package/dist/cjs/services/pinterest_v2/client.js +28 -0
  101. package/dist/cjs/services/pinterest_v2/client.js.map +1 -0
  102. package/dist/cjs/services/pinterest_v2/index.d.ts +3 -0
  103. package/dist/cjs/services/pinterest_v2/index.d.ts.map +1 -0
  104. package/dist/cjs/services/pinterest_v2/index.js +22 -0
  105. package/dist/cjs/services/pinterest_v2/index.js.map +1 -0
  106. package/dist/cjs/services/pinterest_v2/types.d.ts +558 -0
  107. package/dist/cjs/services/pinterest_v2/types.d.ts.map +1 -0
  108. package/dist/cjs/services/pinterest_v2/types.js +4 -0
  109. package/dist/cjs/services/pinterest_v2/types.js.map +1 -0
  110. package/dist/cjs/services/ponsfamily/client.d.ts +8 -8
  111. package/dist/cjs/services/ponsfamily/client.d.ts.map +1 -1
  112. package/dist/cjs/services/ponsfamily/client.js +8 -8
  113. package/dist/cjs/services/ponsfamily/client.js.map +1 -1
  114. package/dist/cjs/services/ponsfamily/types.d.ts +83 -14
  115. package/dist/cjs/services/ponsfamily/types.d.ts.map +1 -1
  116. package/dist/cjs/services/pumpfun/client.d.ts +56 -56
  117. package/dist/cjs/services/pumpfun/client.d.ts.map +1 -1
  118. package/dist/cjs/services/pumpfun/client.js +56 -56
  119. package/dist/cjs/services/pumpfun/client.js.map +1 -1
  120. package/dist/cjs/services/pumpfun/types.d.ts +280 -101
  121. package/dist/cjs/services/pumpfun/types.d.ts.map +1 -1
  122. package/dist/cjs/services/twitter/client.d.ts +5 -5
  123. package/dist/cjs/services/twitter/client.d.ts.map +1 -1
  124. package/dist/cjs/services/twitter/client.js +5 -5
  125. package/dist/cjs/services/twitter/client.js.map +1 -1
  126. package/dist/cjs/services/twitter/types.d.ts +294 -403
  127. package/dist/cjs/services/twitter/types.d.ts.map +1 -1
  128. package/dist/cjs/services/youtube/client.d.ts +11 -11
  129. package/dist/cjs/services/youtube/client.d.ts.map +1 -1
  130. package/dist/cjs/services/youtube/client.js +11 -11
  131. package/dist/cjs/services/youtube/client.js.map +1 -1
  132. package/dist/cjs/services/youtube/types.d.ts +164 -158
  133. package/dist/cjs/services/youtube/types.d.ts.map +1 -1
  134. package/dist/cjs/services/zillow/client.d.ts +8 -6
  135. package/dist/cjs/services/zillow/client.d.ts.map +1 -1
  136. package/dist/cjs/services/zillow/client.js +10 -5
  137. package/dist/cjs/services/zillow/client.js.map +1 -1
  138. package/dist/cjs/services/zillow/types.d.ts +720 -886
  139. package/dist/cjs/services/zillow/types.d.ts.map +1 -1
  140. package/dist/client.d.ts +8 -0
  141. package/dist/client.d.ts.map +1 -1
  142. package/dist/client.js +12 -0
  143. package/dist/client.js.map +1 -1
  144. package/dist/index.d.ts +8 -0
  145. package/dist/index.d.ts.map +1 -1
  146. package/dist/index.js +8 -0
  147. package/dist/index.js.map +1 -1
  148. package/dist/services/airbnb/client.d.ts +6 -6
  149. package/dist/services/airbnb/client.d.ts.map +1 -1
  150. package/dist/services/airbnb/client.js +6 -6
  151. package/dist/services/airbnb/client.js.map +1 -1
  152. package/dist/services/birdeye/client.d.ts +10 -10
  153. package/dist/services/birdeye/client.d.ts.map +1 -1
  154. package/dist/services/birdeye/client.js +10 -10
  155. package/dist/services/birdeye/client.js.map +1 -1
  156. package/dist/services/brave_search/client.d.ts +1 -1
  157. package/dist/services/brave_search/client.d.ts.map +1 -1
  158. package/dist/services/brave_search/client.js +1 -1
  159. package/dist/services/brave_search/client.js.map +1 -1
  160. package/dist/services/brave_search/types.d.ts +1211 -1273
  161. package/dist/services/brave_search/types.d.ts.map +1 -1
  162. package/dist/services/facebook/client.d.ts +65 -0
  163. package/dist/services/facebook/client.d.ts.map +1 -0
  164. package/dist/services/facebook/client.js +147 -0
  165. package/dist/services/facebook/client.js.map +1 -0
  166. package/dist/services/facebook/index.d.ts +3 -0
  167. package/dist/services/facebook/index.d.ts.map +1 -0
  168. package/dist/services/facebook/index.js +4 -0
  169. package/dist/services/facebook/index.js.map +1 -0
  170. package/dist/services/facebook/types.d.ts +1021 -0
  171. package/dist/services/facebook/types.d.ts.map +1 -0
  172. package/dist/services/facebook/types.js +3 -0
  173. package/dist/services/facebook/types.js.map +1 -0
  174. package/dist/services/facebook_ad_library/client.d.ts +25 -0
  175. package/dist/services/facebook_ad_library/client.d.ts.map +1 -0
  176. package/dist/services/facebook_ad_library/client.js +49 -0
  177. package/dist/services/facebook_ad_library/client.js.map +1 -0
  178. package/dist/services/facebook_ad_library/index.d.ts +3 -0
  179. package/dist/services/facebook_ad_library/index.d.ts.map +1 -0
  180. package/dist/services/facebook_ad_library/index.js +4 -0
  181. package/dist/services/facebook_ad_library/index.js.map +1 -0
  182. package/dist/services/facebook_ad_library/types.d.ts +606 -0
  183. package/dist/services/facebook_ad_library/types.d.ts.map +1 -0
  184. package/dist/services/facebook_ad_library/types.js +3 -0
  185. package/dist/services/facebook_ad_library/types.js.map +1 -0
  186. package/dist/services/facebook_marketplace/client.d.ts +23 -0
  187. package/dist/services/facebook_marketplace/client.d.ts.map +1 -0
  188. package/dist/services/facebook_marketplace/client.js +43 -0
  189. package/dist/services/facebook_marketplace/client.js.map +1 -0
  190. package/dist/services/facebook_marketplace/index.d.ts +3 -0
  191. package/dist/services/facebook_marketplace/index.d.ts.map +1 -0
  192. package/dist/services/facebook_marketplace/index.js +4 -0
  193. package/dist/services/facebook_marketplace/index.js.map +1 -0
  194. package/dist/services/facebook_marketplace/types.d.ts +400 -0
  195. package/dist/services/facebook_marketplace/types.d.ts.map +1 -0
  196. package/dist/services/facebook_marketplace/types.js +3 -0
  197. package/dist/services/facebook_marketplace/types.js.map +1 -0
  198. package/dist/services/geckoterminal/client.d.ts +2 -2
  199. package/dist/services/geckoterminal/client.d.ts.map +1 -1
  200. package/dist/services/geckoterminal/client.js +2 -2
  201. package/dist/services/geckoterminal/client.js.map +1 -1
  202. package/dist/services/geckoterminal/types.d.ts +15 -4
  203. package/dist/services/geckoterminal/types.d.ts.map +1 -1
  204. package/dist/services/gmgn/client.d.ts +18 -18
  205. package/dist/services/gmgn/client.d.ts.map +1 -1
  206. package/dist/services/gmgn/client.js +18 -18
  207. package/dist/services/gmgn/client.js.map +1 -1
  208. package/dist/services/gmgn/types.d.ts +2 -2
  209. package/dist/services/gmgn/types.d.ts.map +1 -1
  210. package/dist/services/goplus/client.d.ts +3 -3
  211. package/dist/services/goplus/client.d.ts.map +1 -1
  212. package/dist/services/goplus/client.js +3 -3
  213. package/dist/services/goplus/client.js.map +1 -1
  214. package/dist/services/imovelweb/client.d.ts +6 -6
  215. package/dist/services/imovelweb/client.d.ts.map +1 -1
  216. package/dist/services/imovelweb/client.js +6 -6
  217. package/dist/services/imovelweb/client.js.map +1 -1
  218. package/dist/services/indeed/types.d.ts +233 -187
  219. package/dist/services/indeed/types.d.ts.map +1 -1
  220. package/dist/services/instagram/client.d.ts +12 -12
  221. package/dist/services/instagram/client.d.ts.map +1 -1
  222. package/dist/services/instagram/client.js +12 -12
  223. package/dist/services/instagram/client.js.map +1 -1
  224. package/dist/services/instagram/types.d.ts +399 -2284
  225. package/dist/services/instagram/types.d.ts.map +1 -1
  226. package/dist/services/linkedin/client.d.ts +7 -7
  227. package/dist/services/linkedin/client.d.ts.map +1 -1
  228. package/dist/services/linkedin/client.js +7 -7
  229. package/dist/services/linkedin/client.js.map +1 -1
  230. package/dist/services/pinterest/client.d.ts +4 -4
  231. package/dist/services/pinterest/client.d.ts.map +1 -1
  232. package/dist/services/pinterest/client.js +4 -4
  233. package/dist/services/pinterest/client.js.map +1 -1
  234. package/dist/services/pinterest/types.d.ts +740 -711
  235. package/dist/services/pinterest/types.d.ts.map +1 -1
  236. package/dist/services/pinterest_v2/client.d.ts +15 -0
  237. package/dist/services/pinterest_v2/client.d.ts.map +1 -0
  238. package/dist/services/pinterest_v2/client.js +24 -0
  239. package/dist/services/pinterest_v2/client.js.map +1 -0
  240. package/dist/services/pinterest_v2/index.d.ts +3 -0
  241. package/dist/services/pinterest_v2/index.d.ts.map +1 -0
  242. package/dist/services/pinterest_v2/index.js +4 -0
  243. package/dist/services/pinterest_v2/index.js.map +1 -0
  244. package/dist/services/pinterest_v2/types.d.ts +558 -0
  245. package/dist/services/pinterest_v2/types.d.ts.map +1 -0
  246. package/dist/services/pinterest_v2/types.js +3 -0
  247. package/dist/services/pinterest_v2/types.js.map +1 -0
  248. package/dist/services/ponsfamily/client.d.ts +8 -8
  249. package/dist/services/ponsfamily/client.d.ts.map +1 -1
  250. package/dist/services/ponsfamily/client.js +8 -8
  251. package/dist/services/ponsfamily/client.js.map +1 -1
  252. package/dist/services/ponsfamily/types.d.ts +83 -14
  253. package/dist/services/ponsfamily/types.d.ts.map +1 -1
  254. package/dist/services/pumpfun/client.d.ts +56 -56
  255. package/dist/services/pumpfun/client.d.ts.map +1 -1
  256. package/dist/services/pumpfun/client.js +56 -56
  257. package/dist/services/pumpfun/client.js.map +1 -1
  258. package/dist/services/pumpfun/types.d.ts +280 -101
  259. package/dist/services/pumpfun/types.d.ts.map +1 -1
  260. package/dist/services/twitter/client.d.ts +5 -5
  261. package/dist/services/twitter/client.d.ts.map +1 -1
  262. package/dist/services/twitter/client.js +5 -5
  263. package/dist/services/twitter/client.js.map +1 -1
  264. package/dist/services/twitter/types.d.ts +294 -403
  265. package/dist/services/twitter/types.d.ts.map +1 -1
  266. package/dist/services/youtube/client.d.ts +11 -11
  267. package/dist/services/youtube/client.d.ts.map +1 -1
  268. package/dist/services/youtube/client.js +11 -11
  269. package/dist/services/youtube/client.js.map +1 -1
  270. package/dist/services/youtube/types.d.ts +164 -158
  271. package/dist/services/youtube/types.d.ts.map +1 -1
  272. package/dist/services/zillow/client.d.ts +8 -6
  273. package/dist/services/zillow/client.d.ts.map +1 -1
  274. package/dist/services/zillow/client.js +10 -5
  275. package/dist/services/zillow/client.js.map +1 -1
  276. package/dist/services/zillow/types.d.ts +720 -886
  277. package/dist/services/zillow/types.d.ts.map +1 -1
  278. package/package.json +6 -2
@@ -1,16 +1,16 @@
1
1
  export interface ErrorDetail {
2
- ctx?: Record<string, unknown> | null;
3
- input?: unknown | null;
2
+ type?: string | null;
4
3
  loc?: (string | number)[] | null;
5
4
  msg?: string | null;
6
- type?: string | null;
5
+ input?: unknown | null;
6
+ ctx?: Record<string, unknown> | null;
7
7
  }
8
8
  export interface ErrorResponse {
9
9
  code: PublicError;
10
- details?: ErrorDetail[] | null;
11
- domain?: string | null;
12
10
  message: string;
13
11
  request_id: string;
12
+ domain?: string | null;
13
+ details?: ErrorDetail[] | null;
14
14
  upgrade_url?: string | null;
15
15
  }
16
16
  export interface GetAudioReelsParams {
@@ -20,10 +20,10 @@ export interface GetAudioReelsParams {
20
20
  cursor?: string | null;
21
21
  }
22
22
  export interface GetBasicProfileParams {
23
- /** Accepted for Scrape Creators compatibility. It has no effect: every request fetches a live answer and is charged. */
24
- cache_max_age?: GetBasicProfileParamsCacheMaxAge | null;
25
23
  /** Numeric Instagram user id. */
26
24
  userId: string;
25
+ /** Ignored. Every request fetches a fresh response and is charged. */
26
+ cache_max_age?: GetBasicProfileParamsCacheMaxAge | null;
27
27
  }
28
28
  export type GetBasicProfileParamsCacheMaxAge = "1d" | "3d" | "7d" | "14d" | "30d";
29
29
  export interface GetEmbedParams {
@@ -35,2386 +35,501 @@ export interface GetHighlightDetailParams {
35
35
  id: string;
36
36
  }
37
37
  export type GetHighlightsParams = {
38
- /** Instagram handle, with or without a leading @. Send this or `user_id`. */
39
- handle?: string | null;
40
38
  /** Numeric Instagram user id. Send this or `handle`; when both are sent, `user_id` wins. */
41
39
  user_id?: string | null;
40
+ /** Instagram handle, with or without a leading @. Send this or `user_id`. */
41
+ handle?: string | null;
42
42
  } & ({
43
43
  handle: string;
44
44
  } | {
45
45
  user_id: string;
46
46
  });
47
47
  export interface GetPostCommentsParams {
48
+ /** Instagram post or reel URL: https://www.instagram.com/p/<shortcode>/, /reel/<shortcode>/, /reels/<shortcode>/ or /tv/<shortcode>/, on instagram.com or instagr.am. Query strings are allowed. */
49
+ url: string;
48
50
  /** The `cursor` from the previous page. Omit it for the first page. */
49
51
  cursor?: string | null;
50
- /** Accepted for Scrape Creators compatibility only as false: Instagram does not show replies to logged-out visitors. */
52
+ /** Must be false. Comment replies are not returned. */
51
53
  include_replies?: false | null;
52
- /** Instagram post or reel URL: https://www.instagram.com/p/<shortcode>/, /reel/<shortcode>/, /reels/<shortcode>/ or /tv/<shortcode>/, on instagram.com or instagr.am. Query strings are allowed. */
53
- url: string;
54
54
  }
55
55
  export interface GetPostCountParams {
56
- /** Accepted for Scrape Creators compatibility. It has no effect: Tapline always answers the exact count. */
57
- allow_estimated?: boolean | null;
58
56
  /** Instagram handle, with or without a leading @. */
59
57
  handle: string;
58
+ /** Ignored. Tapline always returns the exact count. */
59
+ allow_estimated?: boolean | null;
60
60
  }
61
61
  export interface GetPostParams {
62
- /** Accepted for Scrape Creators compatibility. It has no effect: every request fetches a live answer and is charged. */
63
- cache_max_age?: GetPostParamsCacheMaxAge | null;
64
- /** Accepted for Scrape Creators compatibility only as false: Tapline does not re-host media. */
65
- download_media?: false | null;
66
- /** Set to false to omit `video_play_count` and skip the extra lookup it needs. Defaults to true. Only videos carry a play count. */
67
- include_play_count?: boolean;
62
+ /** Instagram post or reel URL: https://www.instagram.com/p/<shortcode>/, /reel/<shortcode>/, /reels/<shortcode>/ or /tv/<shortcode>/, on instagram.com or instagr.am. Query strings are allowed. */
63
+ url: string;
68
64
  /** Two-letter country code for the exit the request leaves from. Defaults to US, where Instagram shows licensed music. */
69
65
  region?: string | null;
70
- /** Set to true for Scrape Creators' trimmed answer: fewer fields per item, same values. */
66
+ /** Set to true to return fewer fields per item. */
71
67
  trim?: boolean;
72
- /** Instagram post or reel URL: https://www.instagram.com/p/<shortcode>/, /reel/<shortcode>/, /reels/<shortcode>/ or /tv/<shortcode>/, on instagram.com or instagr.am. Query strings are allowed. */
73
- url: string;
68
+ /** Must be false. Tapline does not re-host media. */
69
+ download_media?: false | null;
70
+ /** Set to false to return the `metrics` play and view counts as null and skip the extra lookup they need. Defaults to true. Only videos carry a play count. */
71
+ include_play_count?: boolean;
72
+ /** Ignored. Every request fetches a fresh response and is charged. */
73
+ cache_max_age?: GetPostParamsCacheMaxAge | null;
74
74
  }
75
75
  export type GetPostParamsCacheMaxAge = "1d" | "3d" | "7d" | "14d" | "30d";
76
76
  export interface GetProfileParams {
77
- /** Accepted for Scrape Creators compatibility. It has no effect: every request fetches a live answer and is charged. */
78
- cache_max_age?: GetProfileParamsCacheMaxAge | null;
79
77
  /** Instagram handle, with or without a leading @. */
80
78
  handle: string;
81
- /** Set to true for Scrape Creators' trimmed answer: fewer fields per item, same values. */
79
+ /** Set to true to return fewer fields per item. */
82
80
  trim?: boolean;
81
+ /** Ignored. Every request fetches a fresh response and is charged. */
82
+ cache_max_age?: GetProfileParamsCacheMaxAge | null;
83
83
  }
84
84
  export type GetProfileParamsCacheMaxAge = "1d" | "3d" | "7d" | "14d" | "30d";
85
85
  export interface GetUserPostsParams {
86
86
  /** Instagram handle, with or without a leading @. */
87
87
  handle: string;
88
- /** The `next_max_id` from the previous page, or the `end_cursor` of `/v1/instagram/profile`'s timeline. Omit it for the first page. */
88
+ /** The `pagination.next_cursor` from the previous page, or `recent_posts.pagination.next_cursor` from `/v1/instagram/profile`. Omit it for the first page. */
89
89
  next_max_id?: string | null;
90
- /** Set to true for Scrape Creators' trimmed answer: fewer fields per item, same values. */
90
+ /** Set to true to return fewer fields per item. */
91
91
  trim?: boolean;
92
92
  }
93
93
  export type GetUserReelsParams = {
94
- /** Instagram handle, with or without a leading @. Send this or `user_id`. */
95
- handle?: string | null;
96
- /** The `paging_info.max_id` (or trimmed `max_id`) from the previous page. Omit it for the first page. It is base64, so percent-encode `+` and `/` in a hand-built URL. */
94
+ /** The `pagination.next_cursor` from the previous page. Omit it for the first page. It is base64, so percent-encode `+` and `/` in a hand-built URL. */
97
95
  max_id?: string | null;
98
- /** Set to true for Scrape Creators' trimmed answer: fewer fields per item, same values. */
96
+ /** Set to true to return fewer fields per item. */
99
97
  trim?: boolean;
100
98
  /** Numeric Instagram user id. Send this or `handle`; when both are sent, `user_id` wins. */
101
99
  user_id?: string | null;
100
+ /** Instagram handle, with or without a leading @. Send this or `user_id`. */
101
+ handle?: string | null;
102
102
  } & ({
103
103
  handle: string;
104
104
  } | {
105
105
  user_id: string;
106
106
  });
107
- export interface InstagramAchievementsInfo {
108
- num_earned_achievements?: unknown | null;
109
- show_achievements?: boolean | null;
110
- }
111
- export interface InstagramAdditionalAudioInfo {
112
- additional_audio_username?: unknown | null;
113
- audio_reattribution_info?: InstagramAudioReattributionInfo | null;
114
- }
115
- export interface InstagramAudioMutingInfo {
116
- allow_audio_editing?: boolean | null;
117
- mute_audio?: boolean | null;
118
- mute_reason_str?: string | null;
119
- show_muted_audio_toast?: boolean | null;
120
- }
121
- export interface InstagramAudioRankingInfo {
122
- best_audio_cluster_id?: string | null;
123
- }
124
- export interface InstagramAudioReattributionInfo {
125
- should_allow_restore?: boolean | null;
126
- }
127
- export interface InstagramAudioReelsPageReel {
128
- ai_label_info?: InstagramReelAILabelInfo | null;
129
- are_remixes_crosspostable?: boolean | null;
130
- basel_encoding_timeout?: number | null;
131
- boost_unavailable_identifier?: unknown | null;
132
- boost_unavailable_reason?: unknown | null;
133
- boost_unavailable_reason_v2?: unknown[] | null;
134
- can_see_insights_as_brand?: boolean | null;
135
- can_view_more_preview_comments?: boolean | null;
136
- can_viewer_reshare?: boolean | null;
137
- can_viewer_save?: boolean | null;
138
- caption?: InstagramReelCaption | null;
139
- caption_is_edited?: boolean | null;
140
- client_cache_key?: string | null;
141
- clips_metadata?: InstagramAudioReelsPageReelClipsMetadata | null;
142
- clips_tab_pinned_user_ids?: unknown[] | null;
143
- coauthor_producer_can_see_organic_insights?: boolean | null;
144
- coauthor_producers?: InstagramUserPostsPageItemCoauthorProducer[] | null;
145
- code?: string | null;
146
- collaborator_edit_eligibility?: boolean | null;
147
- comment_count?: number | null;
148
- comment_inform_treatment?: InstagramCommentInformTreatment | null;
149
- commenting_disabled_for_viewer?: boolean | null;
150
- commerce_integrity_review_decision?: string | null;
151
- creative_config?: InstagramReelCreativeConfig | null;
152
- cutout_sticker_info?: unknown[] | null;
153
- deleted_reason?: number | null;
154
- device_timestamp?: number | null;
155
- eligible_insights_entrypoints?: string | null;
156
- enable_media_notes_production?: boolean | null;
157
- fb_play_count?: number | null;
158
- fb_user_tags?: InstagramFbUserTags | null;
159
- fbid?: number | string | null;
160
- filter_type?: number | null;
161
- gen_ai_detection_method?: InstagramGenAIDetectionMethod | null;
162
- has_audio?: boolean | null;
163
- has_delayed_metadata?: boolean | null;
164
- has_liked?: boolean | null;
165
- has_privately_liked?: boolean | null;
166
- has_shared_to_fb?: number | null;
167
- has_tagged_users?: boolean | null;
168
- has_views_fetching?: boolean | null;
169
- hidden_likes_string_variant?: number | null;
170
- hide_view_all_comment_entrypoint?: boolean | null;
171
- id?: number | string | null;
172
- ig_media_sharing_disabled?: boolean | null;
173
- ig_play_count?: number | null;
174
- igbio_product?: unknown | null;
175
- image_versions2?: InstagramAudioReelsPageReelImageVersions2 | null;
176
- integrity_review_decision?: string | null;
177
- invited_coauthor_producers?: unknown[] | null;
178
- is_awaiting_distribution?: boolean | null;
179
- is_comments_gif_composer_enabled?: boolean | null;
180
- is_cutout_sticker_allowed?: boolean | null;
181
- is_dash_eligible?: number | null;
182
- is_eligible_content_for_post_roll_ad?: boolean | null;
183
- is_eligible_for_poe?: boolean | null;
184
- is_in_profile_grid?: boolean | null;
185
- is_open_to_public_submission?: boolean | null;
186
- is_organic_product_tagging_eligible?: boolean | null;
187
- is_paid_partnership?: boolean | null;
188
- is_photo_comments_composer_enabled_for_author?: boolean | null;
189
- is_post_live_clips_media?: boolean | null;
190
- is_quiet_post?: boolean | null;
191
- is_reshare_of_text_post_app_media_in_ig?: boolean | null;
192
- is_reuse_allowed?: boolean | null;
193
- is_social_ufi_disabled?: boolean | null;
194
- is_tagged_media_shared_to_viewer_profile_grid?: boolean | null;
195
- is_third_party_downloads_eligible?: boolean | null;
196
- is_unified_video?: boolean | null;
197
- is_visual_reply_commenter_notice_enabled?: boolean | null;
198
- lat?: number | null;
199
- like_and_view_counts_disabled?: boolean | null;
200
- like_count?: number | null;
201
- lng?: number | null;
202
- location?: InstagramReelLocation | null;
203
- locations?: unknown[] | null;
204
- media_attributions_data?: unknown[] | null;
205
- media_cropping_info?: InstagramMediaCroppingInfo | null;
206
- media_overlay_info?: unknown | null;
207
- media_reposter_bottomsheet_enabled?: boolean | null;
208
- media_type?: number | null;
209
- media_ui_attributions_data?: unknown[] | null;
210
- media_ui_attributions_data_v2?: unknown[] | null;
211
- meta_ai_suggested_prompts?: unknown[] | null;
212
- mezql_token?: string | null;
213
- music_metadata?: unknown | null;
214
- number_of_qualities?: number | null;
215
- organic_tracking_token?: string | null;
216
- original_height?: number | null;
217
- original_lang_for_translations?: string | null;
218
- original_width?: number | null;
219
- photo_of_you?: boolean | null;
220
- pk?: number | string | null;
221
- play_count?: number | null;
222
- product_type?: string | null;
223
- profile_grid_control_enabled?: boolean | null;
224
- related_ads_pivots_media_info?: string | null;
225
- share_count_disabled?: boolean | null;
226
- sharing_friction_info?: InstagramSharingFrictionInfo | null;
227
- should_request_ads?: boolean | null;
228
- should_show_author_pog_for_tagged_media_shared_to_profile_grid?: boolean | null;
229
- strong_id__?: string | null;
230
- subscribe_cta_visible?: boolean | null;
231
- subtype_name_for_REST__?: string | null;
232
- taken_at?: number | null;
233
- timeline_pinned_user_ids?: (number | string)[] | null;
234
- translated_langs_for_autodub?: unknown[] | null;
235
- user?: InstagramAudioReelsPageReelUser | null;
236
- usertags?: InstagramReelUsertags | null;
237
- video_dash_manifest?: string | null;
238
- video_duration?: number | null;
239
- video_sticker_locales?: string[] | null;
240
- video_versions?: InstagramCarouselMediaVideoVersion[] | null;
241
- view_state_item_type?: number | null;
242
- }
243
- export interface InstagramAudioReelsPageReelClipsMetadata {
244
- achievements_info?: InstagramAchievementsInfo | null;
245
- additional_audio_info?: InstagramAdditionalAudioInfo | null;
246
- asset_recommendation_info?: unknown | null;
247
- audio_ranking_info?: InstagramAudioRankingInfo | null;
248
- audio_type?: string | null;
249
- branded_content_tag_info?: InstagramBrandedContentTagInfo | null;
250
- clips_creation_entry_point?: string | null;
251
- content_appreciation_info?: InstagramAudioReelsPageReelClipsMetadataContentAppreciationInfo | null;
252
- contextual_highlight_info?: unknown | null;
253
- cutout_sticker_info?: unknown[] | null;
254
- disable_use_in_clips_client_cache?: boolean | null;
255
- featured_label?: unknown | null;
256
- is_fan_club_promo_video?: unknown | null;
257
- is_public_chat_welcome_video?: boolean | null;
258
- is_shared_to_fb?: boolean | null;
259
- mashup_info?: InstagramAudioReelsPageReelClipsMetadataMashupInfo | null;
260
- music_canonical_id?: number | string | null;
261
- music_info?: InstagramAudioReelsPageReelClipsMetadataMusicInfo | null;
262
- nux_info?: unknown | null;
263
- original_sound_info?: InstagramAudioReelsPageReelClipsMetadataOriginalSoundInfo | null;
264
- originality_info?: unknown | null;
265
- professional_clips_upsell_type?: number | null;
266
- reels_on_the_rise_info?: unknown | null;
267
- reusable_text_attribute_string?: unknown | null;
268
- reusable_text_info?: unknown | null;
269
- shopping_info?: unknown | null;
270
- show_achievements?: boolean | null;
271
- template_info?: unknown | null;
272
- viewer_interaction_settings?: unknown | null;
273
- }
274
- export interface InstagramAudioReelsPageReelClipsMetadataContentAppreciationInfo {
275
- enabled?: boolean | null;
276
- entry_point_container?: InstagramEntryPointContainer | null;
277
- }
278
- export interface InstagramAudioReelsPageReelClipsMetadataMashupInfo {
279
- can_toggle_mashups_allowed?: boolean | null;
280
- formatted_mashups_count?: unknown | null;
281
- has_been_mashed_up?: boolean | null;
282
- has_nonmimicable_additional_audio?: boolean | null;
283
- is_creator_requesting_mashup?: boolean | null;
284
- is_light_weight_check?: boolean | null;
285
- is_light_weight_reuse_allowed_check?: boolean | null;
286
- is_pivot_page_available?: boolean | null;
287
- is_reuse_allowed?: boolean | null;
288
- mashup_type?: unknown | null;
289
- mashups_allowed?: boolean | null;
290
- non_privacy_filtered_mashups_media_count?: number | null;
291
- original_media?: unknown | null;
292
- privacy_filtered_mashups_media_count?: unknown | null;
107
+ export interface InstagramAddress {
108
+ city_id?: string | null;
109
+ street?: string | null;
110
+ city?: string | null;
111
+ postal_code?: string | null;
112
+ latitude?: number | null;
113
+ longitude?: number | null;
293
114
  }
294
- export interface InstagramAudioReelsPageReelClipsMetadataMusicInfo {
295
- music_asset_info?: InstagramAudioReelsPageReelClipsMetadataMusicInfoMusicAssetInfo | null;
296
- music_consumption_info?: InstagramAudioReelsPageReelClipsMetadataMusicInfoMusicConsumptionInfo | null;
115
+ export interface InstagramAttribution {
116
+ id?: string | null;
117
+ name?: string | null;
118
+ url?: string | null;
119
+ user?: InstagramUser | null;
120
+ type?: string | null;
297
121
  }
298
- export interface InstagramAudioReelsPageReelClipsMetadataMusicInfoMusicAssetInfo {
299
- allows_saving?: boolean | null;
300
- artist_id?: string | null;
301
- audio_asset_id?: number | string | null;
302
- audio_cluster_id?: string | null;
303
- cover_artwork_thumbnail_uri?: string | null;
304
- cover_artwork_uri?: string | null;
305
- dark_message?: unknown | null;
306
- dash_manifest?: string | null;
307
- display_artist?: string | null;
308
- duration_in_ms?: number | null;
309
- fast_start_progressive_download_url?: string | null;
310
- has_lyrics?: boolean | null;
311
- highlight_start_times_in_ms?: number[] | null;
312
- id?: number | string | null;
313
- ig_username?: string | null;
314
- is_eligible_for_audio_effects?: boolean | null;
315
- is_eligible_for_vinyl_sticker?: boolean | null;
316
- is_explicit?: boolean | null;
317
- licensed_music_subtype?: string | null;
318
- lyrics?: unknown | null;
319
- progressive_download_url?: string | null;
320
- reactive_audio_download_url?: unknown | null;
321
- sanitized_title?: unknown | null;
322
- song_monetization_info?: unknown | null;
323
- spotify_track_metadata?: InstagramSpotifyTrackMetadata | null;
324
- subtitle?: string | null;
122
+ export interface InstagramAudio {
123
+ id: string;
124
+ canonical_id?: string | null;
125
+ reporting_id?: string | null;
126
+ original_media_id?: string | null;
127
+ music_artist_id?: string | null;
128
+ spotify_track_id?: string | null;
129
+ cluster_id?: string | null;
325
130
  title?: string | null;
326
- web_30s_preview_download_url?: unknown | null;
327
- }
328
- export interface InstagramAudioReelsPageReelClipsMetadataMusicInfoMusicConsumptionInfo {
329
- allow_media_creation_with_music?: boolean | null;
330
- audio_asset_start_time_in_ms?: number | null;
331
- audio_filter_infos?: unknown[] | null;
332
- audio_muting_info?: InstagramAudioMutingInfo | null;
333
- contains_lyrics?: unknown | null;
334
- derived_content_id?: unknown | null;
335
- derived_content_start_time_in_composition_in_ms?: number | null;
336
- display_labels?: string[] | null;
337
- ig_artist?: InstagramUserPostsPageItemCoauthorProducer | null;
338
- is_bookmarked?: boolean | null;
339
- is_trending_in_clips?: boolean | null;
340
- overlap_duration_in_ms?: number | null;
341
- placeholder_profile_pic_url?: string | null;
342
- previous_trend_rank?: unknown | null;
343
- should_allow_music_editing?: boolean | null;
344
- should_mute_audio?: boolean | null;
345
- should_mute_audio_reason?: string | null;
346
- should_render_soundwave?: boolean | null;
347
- trend_rank?: unknown | null;
348
- }
349
- export interface InstagramAudioReelsPageReelClipsMetadataOriginalSoundInfo {
350
- allow_creator_to_rename?: boolean | null;
351
- audio_asset_id?: number | string | null;
352
- audio_asset_start_time_in_ms?: number | null;
353
- audio_filter_infos?: unknown | null;
354
- audio_parts?: unknown[] | null;
355
- audio_parts_by_filter?: unknown[] | null;
356
- can_remix_be_shared_to_fb?: boolean | null;
357
- can_remix_be_shared_to_fb_expansion?: boolean | null;
358
- consumption_info?: InstagramAudioReelsPageReelClipsMetadataOriginalSoundInfoConsumptionInfo | null;
359
- dash_manifest?: string | null;
360
- derived_content_start_time_in_composition_in_ms?: number | null;
361
- duration_in_ms?: number | null;
362
- fb_downstream_use_xpost_metadata?: InstagramFbDownstreamUseXpostMetadata | null;
363
- hide_remixing?: boolean | null;
364
- ig_artist?: InstagramUserPostsPageItemCoauthorProducer | null;
365
- is_audio_automatically_attributed?: boolean | null;
366
- is_eligible_for_audio_effects?: boolean | null;
367
- is_eligible_for_vinyl_sticker?: boolean | null;
368
- is_explicit?: boolean | null;
369
- is_original_audio_download_eligible?: boolean | null;
370
- is_reuse_disabled?: boolean | null;
371
- is_xpost_from_fb?: boolean | null;
372
- music_canonical_id?: number | string | null;
373
- oa_owner_is_music_artist?: boolean | null;
374
- original_audio_subtype?: string | null;
375
- original_audio_title?: string | null;
376
- original_media_id?: number | string | null;
377
- overlap_duration_in_ms?: number | null;
378
- progressive_download_url?: string | null;
379
- should_mute_audio?: boolean | null;
380
- time_created?: number | null;
381
- trend_rank?: unknown | null;
382
- xpost_fb_creator_info?: unknown | null;
383
- }
384
- export interface InstagramAudioReelsPageReelClipsMetadataOriginalSoundInfoConsumptionInfo {
385
- display_labels?: string[] | null;
386
- display_media_id?: unknown | null;
387
- is_bookmarked?: boolean | null;
388
- is_trending_in_clips?: boolean | null;
389
- should_mute_audio_reason?: string | null;
390
- }
391
- export interface InstagramAudioReelsPageReelImageVersions2 {
392
- additional_candidates?: InstagramAudioReelsPageReelImageVersions2AdditionalCandidate | null;
393
- candidates?: InstagramAudioReelsPageReelImageVersions2Candidate[] | null;
394
- scrubber_spritesheet_info_candidates?: InstagramScrubberSpritesheetInfoCandidates | null;
395
- smart_thumbnail_enabled?: unknown | null;
396
- }
397
- export interface InstagramAudioReelsPageReelImageVersions2AdditionalCandidate {
398
- first_frame?: InstagramAudioReelsPageReelImageVersions2Candidate | null;
399
- igtv_first_frame?: InstagramAudioReelsPageReelImageVersions2Candidate | null;
400
- smart_frame?: unknown | null;
401
- }
402
- export interface InstagramAudioReelsPageReelImageVersions2Candidate {
403
- estimated_scans_sizes?: number[] | null;
404
- height?: number | null;
405
- scans_profile?: string | null;
131
+ subtitle?: string | null;
406
132
  url?: string | null;
407
- width?: number | null;
408
- }
409
- export interface InstagramAudioReelsPageReelUser {
410
- account_badges?: unknown[] | null;
411
- account_type?: number | null;
412
- eligible_for_text_app_activation_badge?: boolean | null;
413
- fan_club_info?: InstagramAudioReelsPageReelUserFanClubInfo | null;
414
- fbid_v2?: number | string | null;
415
- feed_post_reshare_disabled?: boolean | null;
416
- full_name?: string | null;
417
- has_anonymous_profile_picture?: boolean | null;
418
- id?: number | string | null;
419
- interop_messaging_user_fbid?: number | string | null;
420
- is_embeds_disabled?: boolean | null;
421
- is_private?: boolean | null;
422
- is_unpublished?: boolean | null;
423
- is_verified?: boolean | null;
424
- pk?: number | string | null;
425
- pk_id?: string | null;
426
- profile_pic_id?: string | null;
427
- profile_pic_url?: string | null;
428
- show_account_transparency_details?: boolean | null;
429
- strong_id__?: string | null;
430
- third_party_downloads_enabled?: number | null;
431
- transparency_product_enabled?: boolean | null;
432
- username?: string | null;
433
- }
434
- export interface InstagramAudioReelsPageReelUserFanClubInfo {
435
- autosave_to_exclusive_highlight?: boolean | null;
436
- connected_member_count?: number | null;
437
- fan_club_id?: string | null;
438
- fan_club_name?: string | null;
439
- fan_consideration_page_revamp_eligiblity?: InstagramFanConsiderationPageRevampEligiblity | null;
440
- has_created_ssc?: unknown | null;
441
- has_enough_subscribers_for_ssc?: unknown | null;
442
- is_fan_club_gifting_eligible?: boolean | null;
443
- is_fan_club_referral_eligible?: boolean | null;
444
- is_free_trial_eligible?: boolean | null;
445
- largest_public_bc_id?: unknown | null;
446
- should_show_playlists_in_profile_tab?: unknown | null;
447
- subscriber_count?: number | null;
133
+ spotify_url?: string | null;
134
+ use_count?: number | null;
135
+ can_rename?: boolean | null;
136
+ is_muted?: boolean | null;
137
+ mute_reason?: string | null;
138
+ is_reuse_disabled?: boolean | null;
139
+ is_saving_allowed?: boolean | null;
140
+ created_at?: string | null;
141
+ artist?: InstagramUser | null;
142
+ artist_name?: string | null;
143
+ duration_seconds?: number | null;
144
+ subtype?: string | null;
145
+ start_time_seconds?: number | null;
146
+ overlap_duration_seconds?: number | null;
147
+ labels?: string[] | null;
148
+ is_original?: boolean | null;
149
+ is_explicit?: boolean | null;
150
+ is_download_eligible?: boolean | null;
151
+ is_trending?: boolean | null;
152
+ trend_rank?: number | null;
153
+ previous_trend_rank?: number | null;
154
+ is_automatically_attributed?: boolean | null;
155
+ artist_is_music_artist?: boolean | null;
156
+ has_lyrics?: boolean | null;
157
+ licensed_music_subtype?: string | null;
158
+ highlight_start_times_seconds?: number[] | null;
159
+ unavailable_message?: string | null;
160
+ artwork_urls?: string[] | null;
161
+ reactive_download_url?: string | null;
162
+ download_urls?: string[];
448
163
  }
449
164
  export interface InstagramAudioReelsResponse {
450
- cursor: string | null;
451
- has_more: boolean | null;
452
- reels: InstagramAudioReelsPageReel[] | null;
165
+ audio: InstagramAudio | null;
166
+ posts: InstagramPost[];
167
+ total_post_count: number | null;
168
+ is_restricted: boolean | null;
169
+ pagination: InstagramPagination;
453
170
  }
454
171
  export interface InstagramBasicProfileResponse {
455
- account_badges?: unknown[] | null;
456
- account_type?: number | null;
457
- address_street?: unknown | null;
458
- ai_agent_type?: unknown | null;
459
- aigm_account_label_info?: unknown | null;
460
- bio_links?: InstagramUpstreamProfilePageUserBioLink[] | null;
461
- biography?: string | null;
462
- biography_with_entities?: InstagramUpstreamBiographyWithEntities | null;
463
- category?: string | null;
464
- city_name?: unknown | null;
465
- external_lynx_url?: string | null;
466
- external_url?: string | null;
467
- fbid_v2?: number | string | null;
468
- follower_count?: number | null;
469
- following_count?: number | null;
470
- friendship_status?: unknown | null;
471
- full_name?: string | null;
472
- gating?: unknown | null;
473
- has_chaining?: unknown | null;
474
- has_longform_media?: boolean | null;
475
- has_profile_pic?: unknown | null;
476
- has_story_archive?: unknown | null;
477
- hd_profile_pic_url_info?: InstagramProfilePageUserHdProfilePicUrlInfo | null;
478
- hide_creator_marketplace_badge?: boolean | null;
479
- id?: number | string | null;
480
- is_business?: boolean | null;
481
- is_cannes?: boolean | null;
482
- is_coppa_enforced?: unknown | null;
483
- is_embeds_disabled?: boolean | null;
484
- is_memorialized?: boolean | null;
485
- is_private?: boolean | null;
486
- is_professional_account?: unknown | null;
487
- is_regulated_c18?: boolean | null;
488
- is_ring_creator?: unknown | null;
489
- is_unpublished?: boolean | null;
490
- is_verified?: boolean | null;
491
- latest_besties_reel_media?: unknown | null;
492
- latest_reel_media?: unknown | null;
493
- linked_fb_info?: unknown | null;
494
- live_broadcast_id?: unknown | null;
495
- live_broadcast_visibility?: unknown | null;
496
- media_count?: unknown | null;
497
- meta_verified_benefits_info?: InstagramUpstreamMetaVerifiedBenefitsInfo | null;
498
- mutual_followers_count?: unknown | null;
499
- pk: number | string | null;
500
- profile_context_facepile_users?: unknown | null;
501
- profile_context_links_with_user_ids?: unknown | null;
502
- profile_pic_genai_tool_info?: unknown[] | null;
503
- profile_pic_url?: string | null;
504
- pronouns?: unknown[] | null;
505
- reel_media_seen_timestamp?: unknown | null;
506
- regulated_news_in_locations?: unknown[] | null;
507
- remove_message_entrypoint?: unknown | null;
508
- ring_creator_metadata?: unknown | null;
509
- should_show_category?: boolean | null;
510
- show_account_transparency_details?: boolean | null;
511
- show_ring_award?: unknown | null;
512
- show_text_post_app_badge?: boolean | null;
513
- supervision_info?: unknown | null;
514
- text_post_app_badge_label?: string | null;
515
- total_clips_count?: number | null;
516
- transparency_label?: unknown | null;
517
- transparency_product?: unknown | null;
518
- username: string | null;
519
- zip?: unknown | null;
172
+ profile: InstagramProfile;
520
173
  }
521
174
  export interface InstagramBioLink {
522
- creation_source?: string | null;
523
- image_url?: string | null;
524
- is_pinned?: boolean | null;
525
- link_id?: string | null;
526
- link_type?: string | null;
527
- lynx_url?: string | null;
528
- media_accent_color_hex?: string | null;
529
- media_type?: string | null;
530
- title?: string | null;
531
- url?: string | null;
532
- }
533
- export interface InstagramBiographyWithEntities {
534
- entities?: unknown[] | null;
535
- }
536
- export interface InstagramBrandedContentTagInfo {
537
- can_add_tag?: boolean | null;
538
- }
539
- export interface InstagramBusinessAddressJSON {
540
- }
541
- export interface InstagramCarouselMedia {
542
- accessibility_caption?: string | null;
543
- caption?: InstagramReelCaption | null;
544
- carousel_parent_id?: string | null;
545
- commerciality_status?: string | null;
546
- creative_config?: unknown | null;
547
- display_uri?: string | null;
548
- explore_pivot_grid?: boolean | null;
549
- fb_user_tags?: InstagramFbUserTags | null;
550
- featured_products?: unknown[] | null;
551
- has_audio?: boolean | null;
552
- id?: number | string | null;
553
- image_versions2?: InstagramCarouselMediaImageVersions2 | null;
554
- is_dash_eligible?: number | null;
555
- media_overlay_info?: unknown | null;
556
- media_type?: number | null;
557
- number_of_qualities?: number | null;
558
- original_height?: number | null;
559
- original_width?: number | null;
560
- pk?: number | string | null;
561
- product_suggestions?: unknown[] | null;
562
- product_type?: string | null;
563
- sharing_friction_info?: InstagramSharingFrictionInfo | null;
564
- shop_routing_user_id?: unknown | null;
565
- strong_id__?: string | null;
566
- taken_at?: number | null;
567
- tappable_elements?: unknown[] | null;
568
- usertags?: InstagramCarouselMediaUsertags | null;
569
- video_codec?: string | null;
570
- video_dash_manifest?: string | null;
571
- video_duration?: number | null;
572
- video_versions?: InstagramCarouselMediaVideoVersion[] | null;
573
- }
574
- export interface InstagramCarouselMediaImageVersions2 {
575
- candidates?: InstagramUserPostsPageItemImageVersions2Candidate[] | null;
576
- scrubber_spritesheet_info_candidates?: InstagramScrubberSpritesheetInfoCandidates | null;
577
- }
578
- export interface InstagramCarouselMediaUsertags {
579
- in?: InstagramCarouselMediaUsertagsIn[] | null;
580
- }
581
- export interface InstagramCarouselMediaUsertagsIn {
582
- categories?: string[] | null;
583
- position?: number[] | null;
584
- show_category_of_user?: boolean | null;
585
- user?: InstagramCarouselMediaUsertagsInUser | null;
586
- }
587
- export interface InstagramCarouselMediaUsertagsInUser {
588
- full_name?: string | null;
589
- id?: number | string | null;
590
- is_private?: boolean | null;
591
- is_verified?: boolean | null;
592
- pk?: number | string | null;
593
- pk_id?: string | null;
594
- profile_pic_id?: string | null;
595
- profile_pic_url?: string | null;
596
- strong_id__?: string | null;
597
- username?: string | null;
598
- }
599
- export interface InstagramCarouselMediaVideoVersion {
600
- bandwidth?: number | null;
601
- fallback?: unknown | null;
602
- height?: number | null;
603
- id?: number | string | null;
604
- progressive_identifier?: string | null;
605
- type?: number | null;
606
- url?: string | null;
607
- url_expiration_timestamp_us?: unknown | null;
608
- width?: number | null;
609
- }
610
- export interface InstagramClipsDemotionControl {
611
- confirmation_body?: string | null;
612
- confirmation_icon?: string | null;
613
- confirmation_style?: string | null;
614
- confirmation_title?: string | null;
615
- confirmation_title_style?: string | null;
616
- enable_word_wrapping?: boolean | null;
617
- followup_options?: InstagramFollowupOption[] | null;
175
+ id?: string | null;
618
176
  title?: string | null;
619
- title_style?: string | null;
620
- undo_style?: string | null;
621
- }
622
- export interface InstagramClipsMusicAttributionInfo {
623
- artist_name?: string | null;
624
- audio_id?: string | null;
625
- should_mute_audio?: boolean | null;
626
- should_mute_audio_reason?: string | null;
627
- song_name?: string | null;
628
- uses_original_audio?: boolean | null;
177
+ url: string;
178
+ type?: string | null;
179
+ is_pinned?: boolean | null;
180
+ image_url?: string | null;
629
181
  }
630
- export interface InstagramCommentInformTreatment {
631
- action_type?: unknown | null;
632
- should_have_inform_treatment?: boolean | null;
182
+ export interface InstagramBiographyEntity {
633
183
  text?: string | null;
634
- url?: unknown | null;
635
- }
636
- export interface InstagramCommentUser {
637
- id?: number | string | null;
638
- is_unpublished?: boolean | null;
639
- is_verified?: boolean | null;
640
- pk?: number | string | null;
641
- profile_pic_url?: string | null;
642
- username?: string | null;
184
+ url?: string | null;
185
+ user?: InstagramUser | null;
186
+ type?: string | null;
187
+ start?: number | null;
188
+ end?: number | null;
189
+ }
190
+ export interface InstagramCaption {
191
+ id?: string | null;
192
+ author_id?: string | null;
193
+ media_id?: string | null;
194
+ text: string;
195
+ translated_text?: string | null;
196
+ status?: string | null;
197
+ created_at?: string | null;
198
+ hashtags?: string[];
199
+ mentions?: string[];
200
+ content_type?: string | null;
201
+ is_edited?: boolean | null;
202
+ has_translation?: boolean | null;
643
203
  }
644
- export interface InstagramCommentsPageComment {
645
- child_comment_count?: unknown | null;
646
- comment_like_count?: number | null;
204
+ export interface InstagramComment {
205
+ id: string;
206
+ parent_comment_id?: string | null;
207
+ text: string;
208
+ url: string;
209
+ like_count?: number | null;
210
+ reply_count?: number | null;
211
+ restriction_reason?: string | null;
647
212
  created_at?: string | null;
648
- id?: number | string | null;
649
- text?: string | null;
650
- user?: InstagramCommentUser | null;
213
+ author?: InstagramUser | null;
214
+ hashtags?: string[];
215
+ mentions?: string[];
216
+ has_translation?: boolean | null;
651
217
  }
652
218
  export interface InstagramCommentsResponse {
653
- comments: InstagramCommentsPageComment[] | null;
654
- cursor: string | null;
219
+ comments: InstagramComment[];
220
+ pagination: InstagramPagination;
655
221
  }
656
- export interface InstagramCoverMedia {
657
- thumbnail_src?: string | null;
658
- }
659
- export interface InstagramCoverMediaCroppedThumbnail {
660
- url?: string | null;
222
+ export interface InstagramDescription {
223
+ text: string | null;
224
+ source_urls: string[];
225
+ linked_terms: string[];
661
226
  }
662
- export interface InstagramCtaRenderingConfig {
663
- eligible_ctas?: string[] | null;
664
- enable_primary_swap_for_cdd?: boolean | null;
665
- enable_secondary_swap_for_cdd?: boolean | null;
666
- primary_cta?: InstagramPrimaryCta | null;
667
- primary_cta_type?: string | null;
227
+ export interface InstagramEmbedResponse {
228
+ html: string;
668
229
  }
669
- export interface InstagramDefault {
670
- file_size_kb?: number | null;
671
- max_thumbnails_per_sprite?: number | null;
672
- rendered_width?: number | null;
673
- sprite_height?: number | null;
674
- sprite_urls?: string[] | null;
675
- sprite_width?: number | null;
676
- thumbnail_duration?: number | null;
677
- thumbnail_height?: number | null;
678
- thumbnail_width?: number | null;
679
- thumbnails_per_row?: number | null;
680
- total_thumbnail_num_per_sprite?: number | null;
681
- video_length?: number | null;
230
+ export interface InstagramHighlight {
231
+ id: string;
232
+ cover_media_id?: string | null;
233
+ title?: string | null;
234
+ url: string;
235
+ story_count?: number | null;
236
+ created_at?: string | null;
237
+ latest_story_at?: string | null;
238
+ owner?: InstagramUser | null;
239
+ media_ids?: string[] | null;
240
+ type?: string | null;
241
+ is_archived?: boolean | null;
242
+ is_pinned?: boolean | null;
243
+ cover_image_url?: string | null;
682
244
  }
683
- export interface InstagramDemotionControl {
684
- confirmation_body?: string | null;
685
- confirmation_icon?: string | null;
686
- confirmation_style?: string | null;
687
- confirmation_title?: string | null;
688
- undo_style?: string | null;
245
+ export interface InstagramHighlightDetailResponse {
246
+ highlight: InstagramHighlight;
247
+ stories: InstagramStory[];
689
248
  }
690
- export interface InstagramDescription {
691
- linked_terms?: unknown[] | null;
692
- plain_text?: string | null;
693
- source_uris?: string[] | null;
249
+ export interface InstagramHighlightsResponse {
250
+ highlights: InstagramHighlight[];
694
251
  }
695
- export interface InstagramDimensions {
252
+ export interface InstagramImage {
253
+ url: string;
254
+ width?: number | null;
696
255
  height?: number | null;
256
+ }
257
+ export interface InstagramLocation {
258
+ id: string;
259
+ facebook_places_id?: string | null;
260
+ name?: string | null;
261
+ address?: string | null;
262
+ city?: string | null;
263
+ latitude?: number | null;
264
+ longitude?: number | null;
265
+ }
266
+ export interface InstagramMedia {
267
+ id: string;
268
+ shortcode?: string | null;
269
+ alt_text?: string | null;
270
+ commerciality_status?: string | null;
271
+ tagged_users?: InstagramTag[] | null;
272
+ type: InstagramMediaType;
697
273
  width?: number | null;
274
+ height?: number | null;
275
+ duration_seconds?: number | null;
276
+ has_audio?: boolean | null;
277
+ is_download_eligible?: boolean | null;
278
+ preview_placeholder?: string | null;
279
+ images: InstagramMediaImage[];
280
+ videos: InstagramVideo[];
281
+ audio_url?: string | null;
698
282
  }
699
- export interface InstagramEdgeFelixVideoTimelinePageInfo {
700
- end_cursor?: unknown | null;
701
- has_next_page?: boolean | null;
283
+ export interface InstagramMediaImage {
284
+ url: string;
285
+ width?: number | null;
286
+ height?: number | null;
287
+ is_spatial?: boolean | null;
288
+ estimated_scan_sizes?: number[] | null;
289
+ scan_profile?: string | null;
702
290
  }
703
- export interface InstagramEdgeM {
704
- count?: number | null;
705
- edges?: unknown[] | null;
291
+ export type InstagramMediaType = "image" | "video";
292
+ export interface InstagramMetrics {
293
+ like_count?: number | null;
294
+ comment_count?: number | null;
295
+ play_count?: number | null;
296
+ instagram_play_count?: number | null;
297
+ facebook_play_count?: number | null;
298
+ facebook_like_count?: number | null;
299
+ facebook_comment_count?: number | null;
300
+ view_count?: number | null;
301
+ repost_count?: number | null;
302
+ remix_count?: number | null;
303
+ premium_reaction_count?: number | null;
304
+ counts_hidden?: boolean | null;
706
305
  }
707
- export interface InstagramEdgeMediaComment {
708
- count?: number | null;
709
- edges?: InstagramEdgeMediaPreviewCommentEdge[] | null;
306
+ export interface InstagramPagination {
307
+ next_cursor: string | null;
308
+ has_more: boolean | null;
710
309
  }
711
- export interface InstagramEdgeMediaPreviewCommentEdge {
712
- node?: InstagramEdgeMediaPreviewCommentEdgeNode | null;
310
+ export interface InstagramPopularSearchResponse {
311
+ posts: InstagramPost[];
312
+ title: string | null;
313
+ description: InstagramDescription | null;
314
+ related_terms: string[] | null;
315
+ total_post_count: number | null;
316
+ total_post_count_is_estimated: boolean | null;
317
+ query: string;
318
+ pagination: InstagramPagination;
713
319
  }
714
- export interface InstagramEdgeMediaPreviewCommentEdgeNode {
715
- created_at?: number | null;
716
- edge_liked_by?: InstagramProfilePageDataUserEdgeFollowedBy | null;
717
- id?: number | string | null;
718
- owner?: InstagramXdtShortcodeMediaOwner | null;
719
- text?: string | null;
320
+ export interface InstagramPost {
321
+ id: string;
322
+ shortcode: string;
323
+ facebook_id?: string | null;
324
+ title?: string | null;
325
+ caption?: InstagramCaption | null;
326
+ accessibility_text?: string | null;
327
+ language?: string | null;
328
+ url: string;
329
+ metrics: InstagramMetrics;
330
+ restrictions?: InstagramRestrictions | null;
331
+ is_live?: boolean | null;
332
+ taken_at?: string | null;
333
+ author?: InstagramUser | null;
334
+ collaborators?: InstagramUser[] | null;
335
+ location?: InstagramLocation | null;
336
+ audio?: InstagramAudio | null;
337
+ topics?: InstagramTopic[] | null;
338
+ tagged_users?: InstagramTag[] | null;
339
+ facebook_tagged_users?: InstagramTag[] | null;
340
+ attributions?: InstagramAttribution[] | null;
341
+ type: InstagramPostType;
342
+ product_type?: string | null;
343
+ subtype?: string | null;
344
+ available_autodub_languages?: string[] | null;
345
+ sponsorship?: InstagramSponsorship | null;
346
+ ai_label?: string | null;
347
+ ai_detection_method?: string | null;
348
+ is_pinned?: boolean | null;
349
+ is_quiet?: boolean | null;
350
+ media: InstagramMedia[];
720
351
  }
721
- export interface InstagramEdgeMediaToCaption {
722
- edges?: InstagramEdgeMediaToCaptionEdge[] | null;
352
+ export interface InstagramPostCountResponse {
353
+ handle: string;
354
+ post_count: number;
355
+ is_estimated: boolean;
723
356
  }
724
- export interface InstagramEdgeMediaToCaptionEdge {
725
- node?: InstagramEdgeMediaToCaptionEdgeNode | null;
357
+ export interface InstagramPostPage {
358
+ posts: InstagramPost[];
359
+ pagination: InstagramPagination;
726
360
  }
727
- export interface InstagramEdgeMediaToCaptionEdgeNode {
728
- created_at?: string | null;
729
- id?: number | string | null;
730
- text?: string | null;
361
+ export interface InstagramPostResponse {
362
+ post: InstagramPost;
363
+ comments_preview: InstagramComment[] | null;
364
+ comments_preview_pagination?: InstagramPagination | null;
731
365
  }
732
- export interface InstagramEdgeOwnerToTimelineMedia {
733
- count?: number | null;
734
- edges?: InstagramEdgeOwnerToTimelineMediaEdge[] | null;
735
- page_info?: InstagramEdgeOwnerToTimelineMediaPageInfo | null;
366
+ export type InstagramPostType = "image" | "video" | "carousel";
367
+ export interface InstagramProfile {
368
+ id: string;
369
+ handle: string;
370
+ facebook_id?: string | null;
371
+ name?: string | null;
372
+ biography?: string | null;
373
+ external_url?: string | null;
374
+ external_redirect_url?: string | null;
375
+ bio_links?: InstagramBioLink[] | null;
376
+ follower_count?: number | null;
377
+ following_count?: number | null;
378
+ post_count?: number | null;
379
+ reel_count?: number | null;
380
+ highlight_count?: number | null;
381
+ longform_video_count?: number | null;
382
+ engagement_rate?: number | null;
383
+ is_private?: boolean | null;
384
+ is_verified?: boolean | null;
385
+ is_memorialized?: boolean | null;
386
+ is_embeds_disabled?: boolean | null;
387
+ is_country_blocked?: boolean | null;
388
+ has_active_story?: boolean | null;
389
+ latest_reel_at?: string | null;
390
+ biography_entities?: InstagramBiographyEntity[] | null;
391
+ address?: InstagramAddress | null;
392
+ related_profiles?: InstagramUser[] | null;
393
+ pronouns?: string[] | null;
394
+ category?: string | null;
395
+ business_category?: string | null;
396
+ contact_method?: string | null;
397
+ public_email?: string | null;
398
+ biography_emails?: string[] | null;
399
+ public_phone_number?: string | null;
400
+ account_type?: number | null;
401
+ account_label?: string | null;
402
+ badges?: unknown[] | null;
403
+ is_business?: boolean | null;
404
+ is_professional?: boolean | null;
405
+ is_unpublished?: boolean | null;
406
+ is_joined_recently?: boolean | null;
407
+ has_channel?: boolean | null;
408
+ has_longform_media?: boolean | null;
409
+ profile_images?: InstagramImage[];
410
+ recent_longform_videos?: InstagramPost[] | null;
736
411
  }
737
- export interface InstagramEdgeOwnerToTimelineMediaEdge {
738
- node?: InstagramEdgeOwnerToTimelineMediaEdgeNode | null;
412
+ export interface InstagramProfileResponse {
413
+ profile: InstagramProfile;
414
+ recent_posts: InstagramPostPage | null;
415
+ recent_posts_status: InstagramProfileResponseRecentPostsStatus;
739
416
  }
740
- export interface InstagramEdgeOwnerToTimelineMediaEdgeNode {
741
- __isXDTGraphMediaInterface?: string | null;
742
- __typename?: string | null;
743
- clips_metadata?: InstagramNodeClipsMetadata | null;
744
- clips_music_attribution_info?: InstagramClipsMusicAttributionInfo | null;
745
- coauthor_producers?: InstagramUserPostsPageItemCoauthorProducer[] | null;
746
- comment_count?: number | null;
417
+ export type InstagramProfileResponseRecentPostsStatus = "available" | "private" | "unavailable";
418
+ export interface InstagramRestrictions {
747
419
  comments_disabled?: boolean | null;
748
- created_at?: string | null;
749
- dimensions?: InstagramDimensions | null;
750
- display_resources?: InstagramResource[] | null;
751
- display_url?: string | null;
752
- edge_media_preview_comment?: InstagramEdgeM | null;
753
- edge_media_preview_like?: InstagramEdgeM | null;
754
- edge_media_to_caption?: InstagramEdgeMediaToCaption | null;
755
- edge_media_to_comment?: InstagramProfilePageDataUserEdgeFelixVideoTimeline | null;
756
- edge_media_to_parent_comment?: InstagramEdgeM | null;
757
- edge_media_to_tagged_user?: InstagramNodeEdgeMediaToTaggedUser | null;
758
- edge_sidecar_to_children?: InstagramNodeEdgeSidecarToChildren | null;
759
- has_audio?: boolean | null;
760
- id?: number | string | null;
420
+ sharing_restricted?: boolean | null;
421
+ media_unavailable_reason?: string | null;
422
+ deleted_reason?: number | null;
423
+ integrity_review_decision?: string | null;
424
+ }
425
+ export interface InstagramSponsorship {
426
+ sponsors?: InstagramUser[] | null;
761
427
  is_ad?: boolean | null;
762
428
  is_paid_partnership?: boolean | null;
763
- is_video?: boolean | null;
764
- like_and_view_counts_disabled?: boolean | null;
765
- location?: InstagramReelLocation | null;
766
- owner?: InstagramEdgeOwnerToTimelineMediaEdgeNodeOwner | null;
767
- product_type?: string | null;
429
+ }
430
+ export interface InstagramStory {
431
+ id: string;
768
432
  shortcode?: string | null;
769
- taken_at_timestamp?: number | null;
770
- thumbnail_resources?: InstagramResource[] | null;
771
- thumbnail_src?: string | null;
433
+ facebook_id?: string | null;
434
+ caption?: InstagramCaption | null;
435
+ accessibility_text?: string | null;
772
436
  url?: string | null;
773
- video_duration?: number | null;
774
- video_play_count?: number | null;
775
- video_url?: string | null;
437
+ links?: InstagramStoryLink[] | null;
438
+ restrictions?: InstagramRestrictions | null;
439
+ taken_at?: string | null;
440
+ expires_at?: string | null;
441
+ owner?: InstagramUser | null;
442
+ collaborators?: InstagramUser[] | null;
443
+ audio?: InstagramAudio | null;
444
+ mentions?: InstagramStoryMention[] | null;
445
+ attributions?: InstagramAttribution[] | null;
446
+ locations?: InstagramLocation[] | null;
447
+ stickers?: InstagramStorySticker[] | null;
448
+ sponsorship?: InstagramSponsorship | null;
449
+ product_type?: string | null;
450
+ is_edited?: boolean | null;
451
+ media?: InstagramMedia | null;
776
452
  }
777
- export interface InstagramEdgeOwnerToTimelineMediaEdgeNodeOwner {
778
- full_name?: string | null;
779
- id?: number | string | null;
780
- is_verified?: boolean | null;
781
- profile_pic_url?: string | null;
782
- username?: string | null;
453
+ export interface InstagramStoryLink {
454
+ text: string | null;
455
+ url: string;
783
456
  }
784
- export interface InstagramEdgeOwnerToTimelineMediaPageInfo {
785
- end_cursor?: string | null;
786
- has_next_page?: boolean | null;
457
+ export interface InstagramStoryMention {
458
+ id?: string | null;
459
+ user: InstagramUser;
460
+ x?: number | null;
461
+ y?: number | null;
462
+ width?: number | null;
463
+ height?: number | null;
464
+ rotation?: number | null;
465
+ is_pinned?: boolean | null;
787
466
  }
788
- export interface InstagramEdgeRelatedProfiles {
789
- edges?: unknown[] | null;
467
+ export interface InstagramStorySticker {
468
+ id?: string | null;
469
+ media_id?: string | null;
470
+ text?: string | null;
471
+ user?: InstagramUser | null;
472
+ type: string;
473
+ x?: number | null;
474
+ y?: number | null;
475
+ width?: number | null;
476
+ height?: number | null;
477
+ rotation?: number | null;
478
+ options?: InstagramStoryStickerOption[] | null;
790
479
  }
791
- export interface InstagramEmbedResponse {
792
- html: string;
480
+ export interface InstagramStoryStickerOption {
481
+ text: string;
482
+ vote_count?: number | null;
793
483
  }
794
- export interface InstagramEntryPointContainer {
795
- comment?: InstagramEntryPointContainerComment | null;
796
- overflow?: unknown | null;
797
- pill?: InstagramPill | null;
484
+ export interface InstagramTag {
485
+ user: InstagramUser;
486
+ x?: number | null;
487
+ y?: number | null;
798
488
  }
799
- export interface InstagramEntryPointContainerComment {
800
- action_type?: string | null;
489
+ export interface InstagramTopic {
490
+ id?: string | null;
491
+ name: string;
801
492
  }
802
- export interface InstagramExtensions {
803
- is_final?: boolean | null;
493
+ export interface InstagramUser {
494
+ id: string;
495
+ handle?: string | null;
496
+ facebook_id?: string | null;
497
+ messaging_facebook_id?: string | null;
498
+ name?: string | null;
499
+ subscriber_count?: number | null;
500
+ is_verified?: boolean | null;
501
+ is_private?: boolean | null;
502
+ is_embeds_disabled?: boolean | null;
503
+ is_unpublished?: boolean | null;
504
+ badges?: unknown[] | null;
505
+ profile_image_url?: string | null;
506
+ profile_image_id?: string | null;
507
+ profile_images?: InstagramImage[];
804
508
  }
805
- export interface InstagramFanConsiderationPageRevampEligiblity {
806
- should_show_content_preview?: boolean | null;
807
- should_show_social_context?: boolean | null;
509
+ export interface InstagramUserPostsResponse {
510
+ profile: InstagramProfile;
511
+ posts: InstagramPost[];
512
+ pagination: InstagramPagination;
808
513
  }
809
- export interface InstagramFbDownstreamUseXpostMetadata {
810
- downstream_use_xpost_deny_reason?: string | null;
514
+ export interface InstagramUserReelsResponse {
515
+ posts: InstagramPost[];
516
+ pagination: InstagramPagination;
811
517
  }
812
- export interface InstagramFbUserTags {
813
- in?: InstagramReelUsertagsIn[] | null;
814
- }
815
- export interface InstagramFollowupOption {
816
- data?: string | null;
817
- demotion_control?: InstagramDemotionControl | null;
818
- id?: number | string | null;
819
- show_icon?: boolean | null;
820
- style?: unknown | null;
821
- subtitle?: unknown | null;
822
- text?: string | null;
823
- }
824
- export interface InstagramFourByThreeCrop {
825
- crop_bottom?: number | null;
826
- crop_left?: number | null;
827
- crop_right?: number | null;
828
- crop_top?: number | null;
829
- }
830
- export interface InstagramFundraiserTag {
831
- has_standalone_fundraiser?: boolean | null;
832
- }
833
- export interface InstagramGenAIDetectionMethod {
834
- detection_method?: string | null;
835
- }
836
- export interface InstagramHighlight {
837
- __typename?: string | null;
838
- cover_media?: InstagramCoverMedia | null;
839
- cover_media_cropped_thumbnail?: InstagramCoverMediaCroppedThumbnail | null;
840
- id?: number | string | null;
841
- owner?: InstagramHighlightOwner | null;
842
- title?: string | null;
843
- }
844
- export interface InstagramHighlightDetailResponse {
845
- ad_expiry_timestamp_in_millis?: unknown | null;
846
- can_gif_quick_reply?: boolean | null;
847
- can_react_with_avatar?: boolean | null;
848
- can_reply?: boolean | null;
849
- can_reshare?: boolean | null;
850
- cover_media?: InstagramUpstreamCoverMedia | null;
851
- created_at?: number | null;
852
- disabled_reply_types?: string[] | null;
853
- highlight_reel_type?: string | null;
854
- id: string | null;
855
- is_added_to_main_grid?: boolean | null;
856
- is_archived?: boolean | null;
857
- is_cacheable?: boolean | null;
858
- is_converted_to_clips?: boolean | null;
859
- is_cta_sticker_available?: unknown | null;
860
- is_fit_green?: boolean | null;
861
- is_nux?: boolean | null;
862
- is_pinned_highlight?: boolean | null;
863
- items: InstagramUpstreamHighlightReelItem[] | null;
864
- latest_reel_media?: number | null;
865
- media_count?: number | null;
866
- media_ids?: string[] | null;
867
- pool_refresh_ttl_in_sec?: unknown | null;
868
- prefetch_count?: number | null;
869
- reel_type?: string | null;
870
- seen?: unknown | null;
871
- should_treat_link_sticker_as_cta?: unknown | null;
872
- show_expiration_tray_signal?: boolean | null;
873
- strong_id__?: string | null;
874
- title?: string | null;
875
- user?: InstagramUpstreamHighlightReelUser | null;
876
- }
877
- export interface InstagramHighlightOwner {
878
- __typename?: string | null;
879
- id?: number | string | null;
880
- profile_pic_url?: string | null;
881
- username?: string | null;
882
- }
883
- export interface InstagramHighlightsResponse {
884
- highlights: InstagramHighlight[] | null;
885
- }
886
- export interface InstagramIgArtist {
887
- id?: number | string | null;
888
- username?: string | null;
889
- }
890
- export interface InstagramItemAILabelInfo {
891
- attribution_label_text?: unknown | null;
892
- can_edit_self_disclosure?: boolean | null;
893
- content_sheet_sections?: unknown[] | null;
894
- gen_ai_detection_method?: string | null;
895
- is_self_disclosed?: boolean | null;
896
- should_read_attribution_label?: boolean | null;
897
- subtitle_text?: string | null;
898
- }
899
- export interface InstagramItemLocation {
900
- address?: string | null;
901
- city?: string | null;
902
- external_source?: string | null;
903
- facebook_places_id?: number | string | null;
904
- has_viewer_saved?: boolean | null;
905
- lat?: number | null;
906
- lng?: number | null;
907
- name?: string | null;
908
- pk?: number | string | null;
909
- short_name?: string | null;
910
- }
911
- export interface InstagramItemMashupInfo {
912
- can_toggle_mashups_allowed?: boolean | null;
913
- formatted_mashups_count?: unknown | null;
914
- has_been_mashed_up?: boolean | null;
915
- has_nonmimicable_additional_audio?: boolean | null;
916
- is_creator_requesting_mashup?: boolean | null;
917
- is_light_weight_check?: boolean | null;
918
- is_light_weight_reuse_allowed_check?: boolean | null;
919
- is_pivot_page_available?: boolean | null;
920
- is_reuse_allowed?: boolean | null;
921
- mashup_type?: unknown | null;
922
- mashups_allowed?: boolean | null;
923
- mashups_allowed_for_carousel?: boolean | null;
924
- non_privacy_filtered_mashups_media_count?: number | null;
925
- original_media?: unknown | null;
926
- privacy_filtered_mashups_media_count?: unknown | null;
927
- }
928
- export interface InstagramItemMedia {
929
- are_remixes_crosspostable?: boolean | null;
930
- basel_encoding_timeout?: number | null;
931
- boost_unavailable_identifier?: unknown | null;
932
- boost_unavailable_reason?: unknown | null;
933
- boost_unavailable_reason_v2?: unknown[] | null;
934
- can_see_insights_as_brand?: boolean | null;
935
- can_viewer_reshare?: boolean | null;
936
- can_viewer_save?: boolean | null;
937
- caption?: InstagramMediaCaption | null;
938
- caption_is_edited?: boolean | null;
939
- client_cache_key?: string | null;
940
- clips_demotion_control?: InstagramClipsDemotionControl | null;
941
- clips_metadata?: InstagramMediaClipsMetadata | null;
942
- clips_tab_pinned_user_ids?: unknown[] | null;
943
- coauthor_producer_can_see_organic_insights?: boolean | null;
944
- coauthor_producers?: InstagramUserPostsPageItemCoauthorProducer[] | null;
945
- code?: string | null;
946
- collaborator_edit_eligibility?: boolean | null;
947
- comment_count?: number | null;
948
- comment_inform_treatment?: InstagramCommentInformTreatment | null;
949
- commerce_integrity_review_decision?: string | null;
950
- created_at?: string | null;
951
- creative_config?: InstagramMediaCreativeConfig | null;
952
- creator_is_in_premium_reactions_alpha?: unknown | null;
953
- cta_rendering_config?: InstagramCtaRenderingConfig | null;
954
- cutout_sticker_info?: unknown[] | null;
955
- deleted_reason?: number | null;
956
- device_timestamp?: number | null;
957
- disable_caption_and_comment?: boolean | null;
958
- display_uri?: string | null;
959
- eligible_insights_entrypoints?: string | null;
960
- enable_media_notes_production?: boolean | null;
961
- fb_user_tags?: InstagramFbUserTags | null;
962
- fbid?: number | string | null;
963
- featured_products?: unknown[] | null;
964
- filter_type?: number | null;
965
- fundraiser_tag?: InstagramFundraiserTag | null;
966
- gen_ai_detection_method?: InstagramGenAIDetectionMethod | null;
967
- has_audio?: boolean | null;
968
- has_delayed_metadata?: boolean | null;
969
- has_liked?: boolean | null;
970
- has_privately_liked?: boolean | null;
971
- has_shared_to_fb?: number | null;
972
- has_tagged_users?: boolean | null;
973
- has_views_fetching?: boolean | null;
974
- hidden_likes_string_variant?: number | null;
975
- hide_stickers_for_original_language?: boolean | null;
976
- hide_view_all_comment_entrypoint?: boolean | null;
977
- id?: number | string | null;
978
- ig_media_sharing_disabled?: boolean | null;
979
- ig_play_count?: number | null;
980
- igbio_product?: unknown | null;
981
- image_versions2?: InstagramMediaImageVersions2 | null;
982
- integrity_review_decision?: string | null;
983
- invited_coauthor_producers?: unknown[] | null;
984
- is_affiliate_commission_eligible?: boolean | null;
985
- is_awaiting_distribution?: boolean | null;
986
- is_comments_gif_composer_enabled?: boolean | null;
987
- is_cutout_sticker_allowed?: boolean | null;
988
- is_dash_eligible?: number | null;
989
- is_educational?: unknown | null;
990
- is_eligible_content_for_post_roll_ad?: boolean | null;
991
- is_eligible_for_autodub?: boolean | null;
992
- is_eligible_for_autodub_upsell?: boolean | null;
993
- is_eligible_for_organic_eager_refresh?: boolean | null;
994
- is_eligible_for_poe?: boolean | null;
995
- is_eligible_for_poe_premium?: boolean | null;
996
- is_eligible_for_rta?: boolean | null;
997
- is_in_profile_grid?: boolean | null;
998
- is_meta_ai_invocation_blocked_by_author?: boolean | null;
999
- is_open_to_public_submission?: boolean | null;
1000
- is_organic_product_tagging_eligible?: boolean | null;
1001
- is_paid_partnership?: boolean | null;
1002
- is_photo_comments_composer_enabled_for_author?: boolean | null;
1003
- is_post_live_clips_media?: boolean | null;
1004
- is_quiet_post?: boolean | null;
1005
- is_reshare_of_text_post_app_media_in_ig?: boolean | null;
1006
- is_reuse_allowed?: boolean | null;
1007
- is_shared_from_basel?: boolean | null;
1008
- is_short_drama?: boolean | null;
1009
- is_social_ufi_disabled?: boolean | null;
1010
- is_third_party_downloads_eligible?: boolean | null;
1011
- is_visual_reply_commenter_notice_enabled?: boolean | null;
1012
- lat?: number | null;
1013
- like_and_view_counts_disabled?: boolean | null;
1014
- like_count?: number | null;
1015
- linked_media_data?: InstagramLinkedMediaData | null;
1016
- lng?: number | null;
1017
- location?: InstagramReelLocation | null;
1018
- locations?: unknown[] | null;
1019
- logging_info_token?: string | null;
1020
- media_attributions_data?: unknown[] | null;
1021
- media_cropping_info?: InstagramMediaCroppingInfo | null;
1022
- media_overlay_info?: unknown | null;
1023
- media_reposter_bottomsheet_enabled?: boolean | null;
1024
- media_type?: number | null;
1025
- media_ui_attributions_data?: unknown[] | null;
1026
- media_ui_attributions_data_v2?: unknown[] | null;
1027
- meta_ai_suggested_prompts?: unknown[] | null;
1028
- mezql_token?: string | null;
1029
- music_metadata?: unknown | null;
1030
- number_of_qualities?: number | null;
1031
- organic_tracking_token?: string | null;
1032
- original_height?: number | null;
1033
- original_lang_for_translations?: string | null;
1034
- original_media_has_visual_reply_media?: boolean | null;
1035
- original_width?: number | null;
1036
- photo_of_you?: boolean | null;
1037
- pk?: number | string | null;
1038
- play_count?: number | null;
1039
- premium_reaction_count?: number | null;
1040
- product_type?: string | null;
1041
- profile_grid_control_enabled?: boolean | null;
1042
- related_ads_pivots_media_info?: string | null;
1043
- share_count_disabled?: boolean | null;
1044
- sharing_friction_info?: InstagramSharingFrictionInfo | null;
1045
- shop_routing_user_id?: unknown | null;
1046
- should_request_ads?: boolean | null;
1047
- should_show_author_pog_for_tagged_media_shared_to_profile_grid?: boolean | null;
1048
- snippets_overlays?: InstagramSnippetsOverlay[] | null;
1049
- strong_id__?: string | null;
1050
- subscribe_cta_visible?: boolean | null;
1051
- subtype_name_for_REST__?: string | null;
1052
- taken_at?: number | null;
1053
- tappable_elements?: unknown[] | null;
1054
- teen_project_info?: unknown | null;
1055
- timeline_pinned_user_ids?: (number | string)[] | null;
1056
- translated_langs_for_autodub?: unknown[] | null;
1057
- tya_media_related_topics?: unknown[] | null;
1058
- url?: string | null;
1059
- user?: InstagramMediaUser | null;
1060
- usertags?: InstagramMediaUsertags | null;
1061
- video_codec?: string | null;
1062
- video_dash_manifest?: string | null;
1063
- video_duration?: number | null;
1064
- video_sticker_locales?: string[] | null;
1065
- video_versions?: InstagramCarouselMediaVideoVersion[] | null;
1066
- view_state_item_type?: number | null;
1067
- viewer_premium_reaction_asset_id?: unknown | null;
1068
- }
1069
- export interface InstagramItemOwner {
1070
- account_badges?: unknown[] | null;
1071
- account_type?: number | null;
1072
- can_see_quiet_post_attribution?: boolean | null;
1073
- eligible_for_text_app_activation_badge?: boolean | null;
1074
- fan_club_info?: InstagramOwnerFanClubInfo | null;
1075
- fbid_v2?: number | string | null;
1076
- feed_post_reshare_disabled?: boolean | null;
1077
- full_name?: string | null;
1078
- has_anonymous_profile_picture?: boolean | null;
1079
- id?: number | string | null;
1080
- is_private?: boolean | null;
1081
- is_unpublished?: boolean | null;
1082
- is_verified?: boolean | null;
1083
- pk?: number | string | null;
1084
- pk_id?: string | null;
1085
- profile_pic_id?: string | null;
1086
- profile_pic_url?: string | null;
1087
- show_account_transparency_details?: boolean | null;
1088
- strong_id__?: string | null;
1089
- third_party_downloads_enabled?: number | null;
1090
- transparency_product_enabled?: boolean | null;
1091
- username?: string | null;
1092
- }
1093
- export interface InstagramLinkedMediaData {
1094
- link_name?: string | null;
1095
- media?: InstagramLinkedMediaDataMedia | null;
1096
- }
1097
- export interface InstagramLinkedMediaDataMedia {
1098
- id?: number | string | null;
1099
- strong_id__?: string | null;
1100
- }
1101
- export interface InstagramMediaCaption {
1102
- bit_flags?: number | null;
1103
- content_type?: string | null;
1104
- created_at?: number | null;
1105
- created_at_utc?: number | null;
1106
- did_report_as_spam?: boolean | null;
1107
- is_covered?: boolean | null;
1108
- is_ranked_comment?: boolean | null;
1109
- media_id?: number | string | null;
1110
- pk?: number | string | null;
1111
- private_reply_status?: number | null;
1112
- share_enabled?: boolean | null;
1113
- status?: string | null;
1114
- strong_id__?: string | null;
1115
- text?: string | null;
1116
- text_translation?: string | null;
1117
- type?: number | null;
1118
- user?: InstagramMediaCaptionUser | null;
1119
- user_id?: number | string | null;
1120
- }
1121
- export interface InstagramMediaCaptionUser {
1122
- fbid_v2?: number | string | null;
1123
- full_name?: string | null;
1124
- id?: number | string | null;
1125
- is_private?: boolean | null;
1126
- is_unpublished?: boolean | null;
1127
- is_verified?: boolean | null;
1128
- pk?: number | string | null;
1129
- pk_id?: string | null;
1130
- profile_pic_id?: string | null;
1131
- profile_pic_url?: string | null;
1132
- strong_id__?: string | null;
1133
- username?: string | null;
1134
- }
1135
- export interface InstagramMediaClipsMetadata {
1136
- achievements_info?: InstagramAchievementsInfo | null;
1137
- additional_audio_info?: InstagramAdditionalAudioInfo | null;
1138
- asset_recommendation_info?: unknown | null;
1139
- audio_ranking_info?: InstagramAudioRankingInfo | null;
1140
- audio_type?: string | null;
1141
- basel_template_info_for_ig_app?: InstagramMediaClipsMetadataBaselTemplateInfoForIgApp | null;
1142
- branded_content_tag_info?: InstagramBrandedContentTagInfo | null;
1143
- breaking_content_info?: unknown | null;
1144
- breaking_creator_info?: unknown | null;
1145
- challenge_info?: unknown | null;
1146
- clips_creation_entry_point?: string | null;
1147
- content_appreciation_info?: InstagramNodeClipsMetadataContentAppreciationInfo | null;
1148
- contextual_highlight_info?: unknown | null;
1149
- cutout_sticker_info?: unknown[] | null;
1150
- disable_use_in_clips_client_cache?: boolean | null;
1151
- external_media_info?: unknown | null;
1152
- featured_label?: unknown | null;
1153
- is_fan_club_promo_video?: unknown | null;
1154
- is_public_chat_welcome_video?: boolean | null;
1155
- is_shared_to_fb?: boolean | null;
1156
- mashup_info?: InstagramItemMashupInfo | null;
1157
- may_have_template_info?: unknown | null;
1158
- merchandising_pill_info?: unknown | null;
1159
- music_canonical_id?: number | string | null;
1160
- music_info?: InstagramMediaClipsMetadataMusicInfo | null;
1161
- nux_info?: unknown | null;
1162
- original_sound_info?: InstagramMediaClipsMetadataOriginalSoundInfo | null;
1163
- originality_info?: unknown | null;
1164
- professional_clips_upsell_type?: number | null;
1165
- reels_on_the_rise_info?: unknown | null;
1166
- reusable_text_attribute_string?: unknown | null;
1167
- reusable_text_info?: unknown | null;
1168
- shopping_info?: unknown | null;
1169
- show_achievements?: boolean | null;
1170
- show_tips?: unknown | null;
1171
- template_info?: unknown | null;
1172
- viewer_interaction_settings?: unknown | null;
1173
- }
1174
- export interface InstagramMediaClipsMetadataBaselTemplateInfoForIgApp {
1175
- is_basel_template?: unknown | null;
1176
- original_template_media_id?: number | string | null;
1177
- should_show_reuse_setting_for_owner?: boolean | null;
1178
- use_template_deeplink?: unknown | null;
1179
- }
1180
- export interface InstagramMediaClipsMetadataMusicInfo {
1181
- music_asset_info?: InstagramMediaClipsMetadataMusicInfoMusicAssetInfo | null;
1182
- music_canonical_id?: number | string | null;
1183
- music_consumption_info?: InstagramMediaClipsMetadataMusicInfoMusicConsumptionInfo | null;
1184
- }
1185
- export interface InstagramMediaClipsMetadataMusicInfoMusicAssetInfo {
1186
- allows_saving?: boolean | null;
1187
- artist_id?: string | null;
1188
- audio_asset_id?: number | string | null;
1189
- audio_cluster_id?: string | null;
1190
- caption?: unknown | null;
1191
- cover_artwork_thumbnail_uri?: string | null;
1192
- cover_artwork_uri?: string | null;
1193
- dark_message?: unknown | null;
1194
- dash_manifest?: string | null;
1195
- display_artist?: string | null;
1196
- duration_in_ms?: number | null;
1197
- fast_start_progressive_download_url?: string | null;
1198
- has_lyrics?: boolean | null;
1199
- highlight_start_times_in_ms?: number[] | null;
1200
- id?: number | string | null;
1201
- ig_username?: string | null;
1202
- is_eligible_for_audio_effects?: boolean | null;
1203
- is_eligible_for_vinyl_sticker?: boolean | null;
1204
- is_explicit?: boolean | null;
1205
- licensed_music_subtype?: string | null;
1206
- lyrics?: unknown | null;
1207
- progressive_download_url?: string | null;
1208
- reactive_audio_download_url?: unknown | null;
1209
- related_audios?: unknown | null;
1210
- sanitized_title?: unknown | null;
1211
- song_monetization_info?: unknown | null;
1212
- spotify_track_metadata?: unknown | null;
1213
- subtitle?: string | null;
1214
- title?: string | null;
1215
- web_30s_preview_download_url?: string | null;
1216
- }
1217
- export interface InstagramMediaClipsMetadataMusicInfoMusicConsumptionInfo {
1218
- allow_media_creation_with_music?: boolean | null;
1219
- audio_asset_start_time_in_ms?: number | null;
1220
- audio_filter_infos?: unknown[] | null;
1221
- audio_muting_info?: InstagramAudioMutingInfo | null;
1222
- contains_lyrics?: unknown | null;
1223
- derived_content_id?: unknown | null;
1224
- derived_content_start_time_in_composition_in_ms?: unknown | null;
1225
- display_labels?: unknown | null;
1226
- display_labels_with_translations?: unknown | null;
1227
- formatted_clips_media_count?: unknown | null;
1228
- ig_artist?: InstagramUserPostsPageItemCoauthorProducer | null;
1229
- is_bookmarked?: boolean | null;
1230
- is_trending_in_clips?: boolean | null;
1231
- music_creation_restriction_reason?: unknown | null;
1232
- overlap_duration_in_ms?: number | null;
1233
- placeholder_profile_pic_url?: string | null;
1234
- previous_trend_rank?: unknown | null;
1235
- related_audios?: unknown | null;
1236
- should_allow_music_editing?: boolean | null;
1237
- should_mute_audio?: boolean | null;
1238
- should_mute_audio_reason?: string | null;
1239
- should_mute_audio_reason_type?: unknown | null;
1240
- should_render_soundwave?: boolean | null;
1241
- trend_rank?: unknown | null;
1242
- user_notes?: unknown | null;
1243
- }
1244
- export interface InstagramMediaClipsMetadataOriginalSoundInfo {
1245
- allow_creator_to_rename?: boolean | null;
1246
- attributed_custom_audio_asset_id?: unknown | null;
1247
- audio_asset_id?: number | string | null;
1248
- audio_asset_start_time_in_ms?: unknown | null;
1249
- audio_filter_infos?: unknown[] | null;
1250
- audio_parts?: unknown[] | null;
1251
- audio_parts_by_filter?: unknown[] | null;
1252
- can_remix_be_shared_to_fb?: boolean | null;
1253
- can_remix_be_shared_to_fb_expansion?: boolean | null;
1254
- consumption_info?: InstagramNodeClipsMetadataOriginalSoundInfoConsumptionInfo | null;
1255
- dash_manifest?: string | null;
1256
- derived_content_start_time_in_composition_in_ms?: unknown | null;
1257
- duration_in_ms?: number | null;
1258
- fb_downstream_use_xpost_metadata?: InstagramFbDownstreamUseXpostMetadata | null;
1259
- formatted_clips_media_count?: unknown | null;
1260
- hide_remixing?: boolean | null;
1261
- ig_artist?: InstagramUserPostsPageItemCoauthorProducer | null;
1262
- is_audio_automatically_attributed?: boolean | null;
1263
- is_eligible_for_audio_effects?: boolean | null;
1264
- is_eligible_for_vinyl_sticker?: boolean | null;
1265
- is_explicit?: boolean | null;
1266
- is_original_audio_download_eligible?: boolean | null;
1267
- is_reuse_disabled?: boolean | null;
1268
- is_xpost_from_fb?: boolean | null;
1269
- music_canonical_id?: number | string | null;
1270
- oa_owner_is_music_artist?: boolean | null;
1271
- original_audio_subtype?: string | null;
1272
- original_audio_title?: string | null;
1273
- original_media_id?: number | string | null;
1274
- overlap_duration_in_ms?: unknown | null;
1275
- previous_trend_rank?: unknown | null;
1276
- progressive_download_url?: string | null;
1277
- should_mute_audio?: boolean | null;
1278
- time_created?: number | null;
1279
- trend_rank?: unknown | null;
1280
- xpost_fb_creator_info?: unknown | null;
1281
- }
1282
- export interface InstagramMediaCreativeConfig {
1283
- attribution_user?: unknown | null;
1284
- capture_type?: string | null;
1285
- creation_tool_info?: InstagramMediaCreativeConfigCreationToolInfo[] | null;
1286
- effect_configs?: unknown | null;
1287
- effect_preview?: unknown | null;
1288
- face_effect_id?: unknown | null;
1289
- failure_reason?: unknown | null;
1290
- gen_ai_tool_info?: unknown | null;
1291
- }
1292
- export interface InstagramMediaCreativeConfigCreationToolInfo {
1293
- appearance_effect?: number | null;
1294
- camera_tool?: number | null;
1295
- color_filters?: string | null;
1296
- duration_selector_seconds?: number | null;
1297
- effect_filter_name?: string | null;
1298
- magic_cut_end_time?: number | null;
1299
- magic_cut_start_time?: number | null;
1300
- speed_selector?: number | null;
1301
- timer_selector_seconds?: number | null;
1302
- }
1303
- export interface InstagramMediaCroppingInfo {
1304
- four_by_three_crop?: InstagramFourByThreeCrop | null;
1305
- }
1306
- export interface InstagramMediaImageVersions2 {
1307
- additional_candidates?: InstagramUserPostsPageItemImageVersions2AdditionalCandidate | null;
1308
- candidates?: InstagramMediaImageVersions2Candidate[] | null;
1309
- scrubber_spritesheet_info_candidates?: InstagramScrubberSpritesheetInfoCandidates | null;
1310
- }
1311
- export interface InstagramMediaImageVersions2Candidate {
1312
- estimated_scans_sizes?: number[] | null;
1313
- height?: number | null;
1314
- is_spatial_image?: boolean | null;
1315
- scans_profile?: string | null;
1316
- url?: string | null;
1317
- width?: number | null;
1318
- }
1319
- export interface InstagramMediaUser {
1320
- account_badges?: unknown[] | null;
1321
- account_type?: number | null;
1322
- eligible_for_text_app_activation_badge?: boolean | null;
1323
- fan_club_info?: InstagramOwnerFanClubInfo | null;
1324
- fbid_v2?: number | string | null;
1325
- feed_post_reshare_disabled?: boolean | null;
1326
- full_name?: string | null;
1327
- has_anonymous_profile_picture?: boolean | null;
1328
- id?: number | string | null;
1329
- is_private?: boolean | null;
1330
- is_unpublished?: boolean | null;
1331
- is_verified?: boolean | null;
1332
- pk?: number | string | null;
1333
- pk_id?: string | null;
1334
- profile_pic_id?: string | null;
1335
- profile_pic_url?: string | null;
1336
- show_account_transparency_details?: boolean | null;
1337
- strong_id__?: string | null;
1338
- third_party_downloads_enabled?: number | null;
1339
- transparency_product_enabled?: boolean | null;
1340
- username?: string | null;
1341
- }
1342
- export interface InstagramMediaUsertags {
1343
- in?: InstagramMediaUsertagsIn[] | null;
1344
- }
1345
- export interface InstagramMediaUsertagsIn {
1346
- categories?: string[] | null;
1347
- position?: number[] | null;
1348
- show_category_of_user?: boolean | null;
1349
- user?: InstagramUserPostsPageItemCoauthorProducer | null;
1350
- }
1351
- export interface InstagramNodeClipsMetadata {
1352
- achievements_info?: unknown | null;
1353
- additional_audio_info?: InstagramAdditionalAudioInfo | null;
1354
- asset_recommendation_info?: unknown | null;
1355
- audio_ranking_info?: InstagramAudioRankingInfo | null;
1356
- audio_type?: string | null;
1357
- basel_template_info_for_ig_app?: InstagramNodeClipsMetadataBaselTemplateInfoForIgApp | null;
1358
- branded_content_tag_info?: InstagramBrandedContentTagInfo | null;
1359
- breaking_content_info?: unknown | null;
1360
- breaking_creator_info?: unknown | null;
1361
- challenge_info?: unknown | null;
1362
- clips_creation_entry_point?: string | null;
1363
- content_appreciation_info?: InstagramNodeClipsMetadataContentAppreciationInfo | null;
1364
- contextual_highlight_info?: unknown | null;
1365
- cutout_sticker_info?: unknown[] | null;
1366
- disable_use_in_clips_client_cache?: unknown | null;
1367
- external_media_info?: unknown | null;
1368
- featured_label?: unknown | null;
1369
- is_fan_club_promo_video?: unknown | null;
1370
- is_public_chat_welcome_video?: boolean | null;
1371
- is_shared_to_fb?: boolean | null;
1372
- mashup_info?: unknown | null;
1373
- may_have_template_info?: unknown | null;
1374
- merchandising_pill_info?: unknown | null;
1375
- music_canonical_id?: number | string | null;
1376
- music_info?: unknown | null;
1377
- nux_info?: unknown | null;
1378
- original_sound_info?: InstagramNodeClipsMetadataOriginalSoundInfo | null;
1379
- originality_info?: unknown | null;
1380
- professional_clips_upsell_type?: number | null;
1381
- reels_on_the_rise_info?: unknown | null;
1382
- reusable_text_attribute_string?: unknown | null;
1383
- reusable_text_info?: unknown | null;
1384
- shopping_info?: unknown | null;
1385
- show_achievements?: unknown | null;
1386
- show_tips?: unknown | null;
1387
- template_info?: unknown | null;
1388
- viewer_interaction_settings?: unknown | null;
1389
- }
1390
- export interface InstagramNodeClipsMetadataBaselTemplateInfoForIgApp {
1391
- is_basel_template?: unknown | null;
1392
- original_template_media_id?: number | string | null;
1393
- should_show_reuse_setting_for_owner?: boolean | null;
1394
- use_template_deeplink?: unknown | null;
1395
- }
1396
- export interface InstagramNodeClipsMetadataContentAppreciationInfo {
1397
- enabled?: boolean | null;
1398
- entry_point_container?: unknown | null;
1399
- }
1400
- export interface InstagramNodeClipsMetadataOriginalSoundInfo {
1401
- allow_creator_to_rename?: boolean | null;
1402
- attributed_custom_audio_asset_id?: unknown | null;
1403
- audio_asset_id?: number | string | null;
1404
- audio_asset_start_time_in_ms?: unknown | null;
1405
- audio_filter_infos?: unknown[] | null;
1406
- audio_parts?: unknown[] | null;
1407
- audio_parts_by_filter?: unknown[] | null;
1408
- can_remix_be_shared_to_fb?: boolean | null;
1409
- can_remix_be_shared_to_fb_expansion?: boolean | null;
1410
- consumption_info?: InstagramNodeClipsMetadataOriginalSoundInfoConsumptionInfo | null;
1411
- dash_manifest?: string | null;
1412
- derived_content_start_time_in_composition_in_ms?: unknown | null;
1413
- duration_in_ms?: number | null;
1414
- fb_downstream_use_xpost_metadata?: InstagramFbDownstreamUseXpostMetadata | null;
1415
- formatted_clips_media_count?: unknown | null;
1416
- hide_remixing?: boolean | null;
1417
- ig_artist?: InstagramUserPostsPageItemCoauthorProducer | null;
1418
- is_audio_automatically_attributed?: boolean | null;
1419
- is_eligible_for_audio_effects?: boolean | null;
1420
- is_eligible_for_vinyl_sticker?: boolean | null;
1421
- is_explicit?: boolean | null;
1422
- is_original_audio_download_eligible?: boolean | null;
1423
- is_reuse_disabled?: boolean | null;
1424
- is_xpost_from_fb?: boolean | null;
1425
- music_canonical_id?: number | string | null;
1426
- oa_owner_is_music_artist?: boolean | null;
1427
- original_audio_subtype?: string | null;
1428
- original_audio_title?: string | null;
1429
- original_media_id?: number | string | null;
1430
- overlap_duration_in_ms?: unknown | null;
1431
- previous_trend_rank?: unknown | null;
1432
- progressive_download_url?: string | null;
1433
- should_mute_audio?: boolean | null;
1434
- time_created?: number | null;
1435
- trend_rank?: unknown | null;
1436
- xpost_fb_creator_info?: unknown | null;
1437
- }
1438
- export interface InstagramNodeClipsMetadataOriginalSoundInfoConsumptionInfo {
1439
- display_labels?: unknown | null;
1440
- display_labels_with_translations?: unknown | null;
1441
- display_media_id?: unknown | null;
1442
- inline_audio_label?: unknown | null;
1443
- is_bookmarked?: boolean | null;
1444
- is_trending_in_clips?: boolean | null;
1445
- should_mute_audio_reason?: string | null;
1446
- should_mute_audio_reason_type?: unknown | null;
1447
- user_notes?: unknown | null;
1448
- }
1449
- export interface InstagramNodeEdgeMediaToTaggedUser {
1450
- edges?: InstagramNodeEdgeMediaToTaggedUserEdge[] | null;
1451
- }
1452
- export interface InstagramNodeEdgeMediaToTaggedUserEdge {
1453
- node?: InstagramNodeEdgeMediaToTaggedUserEdgeNode | null;
1454
- }
1455
- export interface InstagramNodeEdgeMediaToTaggedUserEdgeNode {
1456
- id?: number | string | null;
1457
- user?: InstagramEdgeOwnerToTimelineMediaEdgeNodeOwner | null;
1458
- x?: number | null;
1459
- y?: number | null;
1460
- }
1461
- export interface InstagramNodeEdgeSidecarToChildren {
1462
- edges?: InstagramNodeEdgeSidecarToChildrenEdge[] | null;
1463
- }
1464
- export interface InstagramNodeEdgeSidecarToChildrenEdge {
1465
- node?: InstagramNodeEdgeSidecarToChildrenEdgeNode | null;
1466
- }
1467
- export interface InstagramNodeEdgeSidecarToChildrenEdgeNode {
1468
- __typename?: string | null;
1469
- dimensions?: InstagramDimensions | null;
1470
- display_url?: string | null;
1471
- id?: number | string | null;
1472
- is_video?: boolean | null;
1473
- shortcode?: unknown | null;
1474
- video_url?: string | null;
1475
- }
1476
- export interface InstagramOwnerFanClubInfo {
1477
- autosave_to_exclusive_highlight?: unknown | null;
1478
- connected_member_count?: unknown | null;
1479
- fan_club_id?: unknown | null;
1480
- fan_club_name?: unknown | null;
1481
- fan_consideration_page_revamp_eligiblity?: unknown | null;
1482
- has_created_ssc?: unknown | null;
1483
- has_enough_subscribers_for_ssc?: unknown | null;
1484
- is_fan_club_gifting_eligible?: unknown | null;
1485
- is_fan_club_referral_eligible?: unknown | null;
1486
- is_free_trial_eligible?: unknown | null;
1487
- largest_public_bc_id?: unknown | null;
1488
- should_show_playlists_in_profile_tab?: unknown | null;
1489
- subscriber_count?: unknown | null;
1490
- }
1491
- export interface InstagramPagingInfo {
1492
- max_id?: string | null;
1493
- more_available?: boolean | null;
1494
- }
1495
- export interface InstagramPill {
1496
- action_type?: string | null;
1497
- priority?: number | null;
1498
- }
1499
- export interface InstagramPopularSearchResponse {
1500
- cursor: string | null;
1501
- description?: InstagramDescription | null;
1502
- has_more: boolean | null;
1503
- posts: InstagramPost[] | null;
1504
- query: string | null;
1505
- suggested_terms?: string[] | null;
1506
- title?: string | null;
1507
- total_media_count?: number | null;
1508
- }
1509
- export interface InstagramPost {
1510
- caption?: string | null;
1511
- display_url?: string | null;
1512
- id?: number | string | null;
1513
- owner?: InstagramPostOwner | null;
1514
- play_count?: number | null;
1515
- shortcode?: string | null;
1516
- type?: string | null;
1517
- url?: string | null;
1518
- video_url?: string | null;
1519
- }
1520
- export interface InstagramPostCountResponse {
1521
- handle: string;
1522
- is_estimated: boolean;
1523
- media_count: number;
1524
- }
1525
- export interface InstagramPostFullResponse {
1526
- data: InstagramPostPageData | null;
1527
- extensions: InstagramExtensions | null;
1528
- status: string | null;
1529
- xdt_shortcode_media?: InstagramPostPageXdtShortcodeMedia | null;
1530
- }
1531
- export interface InstagramPostOwner {
1532
- id?: number | string | null;
1533
- is_verified?: boolean | null;
1534
- profile_pic_url?: string | null;
1535
- username?: string | null;
1536
- }
1537
- export interface InstagramPostPageData {
1538
- xdt_shortcode_media?: InstagramPostPageDataXdtShortcodeMedia | null;
1539
- }
1540
- export interface InstagramPostPageDataXdtShortcodeMedia {
1541
- __isXDTGraphMediaInterface?: string | null;
1542
- __typename?: string | null;
1543
- clips_metadata?: InstagramXdtShortcodeMediaClipsMetadata | null;
1544
- clips_music_attribution_info?: InstagramClipsMusicAttributionInfo | null;
1545
- coauthor_producers?: InstagramXdtShortcodeMediaCoauthorProducer[] | null;
1546
- comment_count?: number | null;
1547
- created_at?: string | null;
1548
- display_url?: string | null;
1549
- edge_media_preview_comment?: InstagramEdgeMediaComment | null;
1550
- edge_media_preview_like?: InstagramEdgeM | null;
1551
- edge_media_to_caption?: InstagramEdgeMediaToCaption | null;
1552
- edge_media_to_parent_comment?: InstagramEdgeMediaComment | null;
1553
- edge_media_to_tagged_user?: InstagramXdtShortcodeMediaEdgeMediaToTaggedUser | null;
1554
- edge_sidecar_to_children?: InstagramXdtShortcodeMediaEdgeSidecarToChildren | null;
1555
- has_audio?: boolean | null;
1556
- id?: number | string | null;
1557
- is_ad?: boolean | null;
1558
- is_paid_partnership?: boolean | null;
1559
- is_video?: boolean | null;
1560
- like_and_view_counts_disabled?: boolean | null;
1561
- location?: InstagramXdtShortcodeMediaLocation | null;
1562
- owner?: InstagramXdtShortcodeMediaOwner | null;
1563
- product_type?: string | null;
1564
- shortcode?: string | null;
1565
- taken_at_timestamp?: number | null;
1566
- thumbnail_src?: string | null;
1567
- video_duration?: number | null;
1568
- video_play_count?: number | null;
1569
- video_url?: string | null;
1570
- }
1571
- export interface InstagramPostPageXdtShortcodeMedia {
1572
- __typename?: string | null;
1573
- clips_music_attribution_info?: InstagramClipsMusicAttributionInfo | null;
1574
- display_url?: string | null;
1575
- edge_media_preview_comment?: InstagramEdgeMediaComment | null;
1576
- edge_media_preview_like?: InstagramEdgeM | null;
1577
- edge_media_to_caption?: InstagramEdgeMediaToCaption | null;
1578
- edge_media_to_parent_comment?: InstagramEdgeMediaComment | null;
1579
- edge_sidecar_to_children?: InstagramXdtShortcodeMediaEdgeSidecarToChildren | null;
1580
- has_audio?: boolean | null;
1581
- id?: number | string | null;
1582
- is_ad?: boolean | null;
1583
- is_paid_partnership?: boolean | null;
1584
- is_video?: boolean | null;
1585
- location?: InstagramXdtShortcodeMediaLocation | null;
1586
- owner?: InstagramXdtShortcodeMediaOwner | null;
1587
- product_type?: string | null;
1588
- shortcode?: string | null;
1589
- taken_at_timestamp?: number | null;
1590
- thumbnail_src?: string | null;
1591
- video_duration?: number | null;
1592
- video_play_count?: number | null;
1593
- video_url?: string | null;
1594
- }
1595
- export type InstagramPostResponse = InstagramPostFullResponse | InstagramPostTrimResponse;
1596
- export interface InstagramPostTrimResponse {
1597
- data?: InstagramPostPageData | null;
1598
- extensions?: InstagramExtensions | null;
1599
- status?: string | null;
1600
- xdt_shortcode_media: InstagramPostPageXdtShortcodeMedia | null;
1601
- }
1602
- export interface InstagramPrimaryCta {
1603
- cta_type?: string | null;
1604
- cta_type_category?: string | null;
1605
- enable_swap_for_cdd?: boolean | null;
1606
- enable_swap_for_rap?: boolean | null;
1607
- }
1608
- export interface InstagramProfilePageData {
1609
- user?: InstagramProfilePageDataUser | null;
1610
- }
1611
- export interface InstagramProfilePageDataUser {
1612
- ai_agent_owner_username?: unknown | null;
1613
- ai_agent_type?: unknown | null;
1614
- bio_links?: InstagramBioLink[] | null;
1615
- biography?: string | null;
1616
- biography_with_entities?: InstagramBiographyWithEntities | null;
1617
- blocked_by_viewer?: boolean | null;
1618
- business_address_json?: InstagramBusinessAddressJSON | null;
1619
- business_category_name?: unknown | null;
1620
- business_contact_method?: string | null;
1621
- business_email?: unknown | null;
1622
- business_phone_number?: unknown | null;
1623
- category_enum?: unknown | null;
1624
- category_name?: unknown | null;
1625
- country_block?: boolean | null;
1626
- edge_felix_video_timeline?: InstagramProfilePageDataUserEdgeFelixVideoTimeline | null;
1627
- edge_follow?: InstagramProfilePageDataUserEdgeFollowedBy | null;
1628
- edge_followed_by?: InstagramProfilePageDataUserEdgeFollowedBy | null;
1629
- edge_media_collections?: InstagramProfilePageDataUserEdgeFelixVideoTimeline | null;
1630
- edge_mutual_followed_by?: InstagramEdgeM | null;
1631
- edge_owner_to_timeline_media?: InstagramEdgeOwnerToTimelineMedia | null;
1632
- edge_related_profiles?: InstagramEdgeRelatedProfiles | null;
1633
- edge_saved_media?: InstagramProfilePageDataUserEdgeFelixVideoTimeline | null;
1634
- eimu_id?: unknown | null;
1635
- external_url?: string | null;
1636
- external_url_linkshimmed?: string | null;
1637
- fb_profile_biolink?: unknown | null;
1638
- fbid?: number | string | null;
1639
- followed_by_viewer?: boolean | null;
1640
- follows_viewer?: boolean | null;
1641
- full_name?: string | null;
1642
- group_metadata?: unknown | null;
1643
- guardian_id?: unknown | null;
1644
- has_ar_effects?: boolean | null;
1645
- has_blocked_viewer?: boolean | null;
1646
- has_channel?: boolean | null;
1647
- has_clips?: boolean | null;
1648
- has_guides?: boolean | null;
1649
- has_onboarded_to_text_post_app?: boolean | null;
1650
- has_requested_viewer?: boolean | null;
1651
- hide_like_and_view_counts?: boolean | null;
1652
- highlight_reel_count?: number | null;
1653
- id?: number | string | null;
1654
- is_business_account?: boolean | null;
1655
- is_embeds_disabled?: boolean | null;
1656
- is_guardian_of_viewer?: boolean | null;
1657
- is_joined_recently?: boolean | null;
1658
- is_private?: boolean | null;
1659
- is_professional_account?: boolean | null;
1660
- is_regulated_c18?: boolean | null;
1661
- is_supervised_by_viewer?: boolean | null;
1662
- is_supervised_user?: boolean | null;
1663
- is_supervision_enabled?: boolean | null;
1664
- is_verified?: boolean | null;
1665
- is_verified_by_mv4b?: boolean | null;
1666
- overall_category_name?: unknown | null;
1667
- pinned_channels_list_count?: number | null;
1668
- profile_pic_url?: string | null;
1669
- profile_pic_url_hd?: string | null;
1670
- pronouns?: unknown[] | null;
1671
- remove_message_entrypoint?: boolean | null;
1672
- requested_by_viewer?: boolean | null;
1673
- restricted_by_viewer?: unknown | null;
1674
- should_show_category?: boolean | null;
1675
- should_show_public_contacts?: boolean | null;
1676
- show_account_transparency_details?: boolean | null;
1677
- show_text_post_app_badge?: boolean | null;
1678
- transparency_label?: unknown | null;
1679
- transparency_product?: unknown | null;
1680
- username?: string | null;
1681
- }
1682
- export interface InstagramProfilePageDataUserEdgeFelixVideoTimeline {
1683
- count?: number | null;
1684
- edges?: unknown[] | null;
1685
- page_info?: InstagramEdgeFelixVideoTimelinePageInfo | null;
1686
- }
1687
- export interface InstagramProfilePageDataUserEdgeFollowedBy {
1688
- count?: number | null;
1689
- }
1690
- export interface InstagramProfilePageUserHdProfilePicUrlInfo {
1691
- url?: string | null;
1692
- }
1693
- export interface InstagramProfileResponse {
1694
- data: InstagramProfilePageData | null;
1695
- status?: string | null;
1696
- }
1697
- export interface InstagramReelAILabelInfo {
1698
- attribution_label_text?: unknown | null;
1699
- content_sheet_sections?: unknown[] | null;
1700
- gen_ai_detection_method?: string | null;
1701
- should_read_attribution_label?: boolean | null;
1702
- subtitle_text?: string | null;
1703
- }
1704
- export interface InstagramReelCaption {
1705
- bit_flags?: number | null;
1706
- content_type?: string | null;
1707
- created_at?: number | null;
1708
- created_at_utc?: number | null;
1709
- did_report_as_spam?: boolean | null;
1710
- is_covered?: boolean | null;
1711
- is_ranked_comment?: boolean | null;
1712
- media_id?: number | string | null;
1713
- pk?: number | string | null;
1714
- private_reply_status?: number | null;
1715
- share_enabled?: boolean | null;
1716
- status?: string | null;
1717
- strong_id__?: string | null;
1718
- text?: string | null;
1719
- type?: number | null;
1720
- user?: InstagramReelCaptionUser | null;
1721
- user_id?: number | string | null;
1722
- }
1723
- export interface InstagramReelCaptionUser {
1724
- fbid_v2?: number | string | null;
1725
- full_name?: string | null;
1726
- id?: number | string | null;
1727
- is_private?: boolean | null;
1728
- is_unpublished?: boolean | null;
1729
- is_verified?: boolean | null;
1730
- pk?: number | string | null;
1731
- pk_id?: string | null;
1732
- profile_pic_id?: string | null;
1733
- profile_pic_url?: string | null;
1734
- strong_id__?: string | null;
1735
- username?: string | null;
1736
- }
1737
- export interface InstagramReelCreativeConfig {
1738
- attribution_user?: unknown | null;
1739
- capture_type?: string | null;
1740
- creation_tool_info?: InstagramReelCreativeConfigCreationToolInfo[] | null;
1741
- effect_configs?: unknown | null;
1742
- effect_preview?: unknown | null;
1743
- face_effect_id?: unknown | null;
1744
- gen_ai_tool_info?: unknown | null;
1745
- }
1746
- export interface InstagramReelCreativeConfigCreationToolInfo {
1747
- appearance_effect?: number | null;
1748
- camera_tool?: number | null;
1749
- color_filters?: string | null;
1750
- duration_selector_seconds?: number | null;
1751
- magic_cut_end_time?: number | null;
1752
- magic_cut_start_time?: number | null;
1753
- speed_selector?: number | null;
1754
- timer_selector_seconds?: number | null;
1755
- }
1756
- export interface InstagramReelLocation {
1757
- address?: string | null;
1758
- city?: string | null;
1759
- external_source?: string | null;
1760
- facebook_places_id?: number | string | null;
1761
- has_viewer_saved?: boolean | null;
1762
- lat?: number | null;
1763
- lng?: number | null;
1764
- name?: string | null;
1765
- pk?: number | string | null;
1766
- short_name?: string | null;
1767
- }
1768
- export interface InstagramReelUsertags {
1769
- in?: InstagramReelUsertagsIn[] | null;
1770
- }
1771
- export interface InstagramReelUsertagsIn {
1772
- position?: number[] | null;
1773
- show_category_of_user?: boolean | null;
1774
- user?: InstagramReelUsertagsInUser | null;
1775
- }
1776
- export interface InstagramReelUsertagsInUser {
1777
- full_name?: string | null;
1778
- has_onboarded_to_text_post_app?: unknown | null;
1779
- id?: number | string | null;
1780
- is_private?: boolean | null;
1781
- is_verified?: boolean | null;
1782
- pk?: number | string | null;
1783
- pk_id?: string | null;
1784
- profile_pic_id?: string | null;
1785
- profile_pic_url?: string | null;
1786
- strong_id__?: string | null;
1787
- username?: string | null;
1788
- }
1789
- export interface InstagramResource {
1790
- config_height?: number | null;
1791
- config_width?: number | null;
1792
- src?: string | null;
1793
- }
1794
- export interface InstagramScrubberSpritesheetInfoCandidates {
1795
- default?: InstagramDefault | null;
1796
- }
1797
- export interface InstagramSharingFrictionInfo {
1798
- bloks_app_url?: unknown | null;
1799
- sharing_friction_payload?: unknown | null;
1800
- should_have_sharing_friction?: boolean | null;
1801
- }
1802
- export interface InstagramSnippetsOverlay {
1803
- element?: InstagramSnippetsOverlayElement | null;
1804
- end_time_ms?: number | null;
1805
- height?: number | null;
1806
- rotation?: number | null;
1807
- start_time_ms?: number | null;
1808
- width?: number | null;
1809
- x?: number | null;
1810
- y?: number | null;
1811
- z?: number | null;
1812
- }
1813
- export interface InstagramSnippetsOverlayElement {
1814
- element_id?: number | string | null;
1815
- element_type?: string | null;
1816
- }
1817
- export interface InstagramSponsor {
1818
- follower_count?: number | null;
1819
- full_name?: string | null;
1820
- id?: number | string | null;
1821
- is_private?: boolean | null;
1822
- is_unpublished?: boolean | null;
1823
- is_verified?: boolean | null;
1824
- pk?: number | string | null;
1825
- pk_id?: string | null;
1826
- profile_pic_url?: string | null;
1827
- strong_id__?: string | null;
1828
- username?: string | null;
1829
- }
1830
- export interface InstagramSponsorTag {
1831
- is_pending?: boolean | null;
1832
- permission?: boolean | null;
1833
- sponsor?: InstagramSponsor | null;
1834
- sponsor_id?: unknown | null;
1835
- username?: unknown | null;
1836
- }
1837
- export interface InstagramSpotifyTrackMetadata {
1838
- spotify_listen_uri?: string | null;
1839
- spotify_track_id?: string | null;
1840
- }
1841
- export interface InstagramUpstreamBiographyWithEntities {
1842
- entities?: unknown[] | null;
1843
- }
1844
- export interface InstagramUpstreamCoverMedia {
1845
- crop_rect?: unknown | null;
1846
- cropped_image_version?: InstagramUpstreamCroppedImageVersion | null;
1847
- full_image_version?: unknown | null;
1848
- media_id?: number | string | null;
1849
- upload_id?: unknown | null;
1850
- }
1851
- export interface InstagramUpstreamCroppedImageVersion {
1852
- height?: number | null;
1853
- scans_profile?: string | null;
1854
- url?: string | null;
1855
- width?: number | null;
1856
- }
1857
- export interface InstagramUpstreamHighlightReelItem {
1858
- archive_story_deletion_ts?: number | null;
1859
- boost_unavailable_identifier?: unknown | null;
1860
- boost_unavailable_reason?: unknown | null;
1861
- boost_unavailable_reason_v2?: unknown[] | null;
1862
- can_extend_expiration?: unknown | null;
1863
- can_mention_back?: boolean | null;
1864
- can_play_spotify_audio?: boolean | null;
1865
- can_reply?: boolean | null;
1866
- can_reshare?: boolean | null;
1867
- can_see_insights_as_brand?: boolean | null;
1868
- can_send_prompt?: boolean | null;
1869
- can_viewer_save?: boolean | null;
1870
- caption?: unknown | null;
1871
- caption_is_edited?: boolean | null;
1872
- client_cache_key?: string | null;
1873
- coauthor_producers?: InstagramUpstreamUserFeedItemCoauthorProducer[] | null;
1874
- code?: string | null;
1875
- creative_config?: unknown | null;
1876
- cutout_sticker_info?: unknown[] | null;
1877
- deleted_reason?: number | null;
1878
- device_timestamp?: number | null;
1879
- fbid?: number | string | null;
1880
- filter_type?: number | null;
1881
- has_audio?: boolean | null;
1882
- has_privately_liked?: boolean | null;
1883
- has_translation?: boolean | null;
1884
- hide_view_all_comment_entrypoint?: boolean | null;
1885
- id?: number | string | null;
1886
- ig_media_sharing_disabled?: boolean | null;
1887
- image_versions2?: InstagramUpstreamHighlightReelItemImageVersions2 | null;
1888
- integrity_review_decision?: string | null;
1889
- is_affiliate_commission_eligible?: boolean | null;
1890
- is_arirang_prize?: boolean | null;
1891
- is_dash_eligible?: number | null;
1892
- is_first_take?: boolean | null;
1893
- is_from_ayt_clips_inspiration?: boolean | null;
1894
- is_from_discovery_surface?: boolean | null;
1895
- is_music_collection_story?: boolean | null;
1896
- is_open_to_public_submission?: boolean | null;
1897
- is_organic_product_tagging_eligible?: boolean | null;
1898
- is_paid_partnership?: boolean | null;
1899
- is_photo_mash_story?: boolean | null;
1900
- is_quicksnap_recap?: boolean | null;
1901
- is_reel_media?: boolean | null;
1902
- is_reshare_of_text_post_app_media_in_ig?: boolean | null;
1903
- is_rollcall_v2?: boolean | null;
1904
- is_story_edited?: boolean | null;
1905
- is_story_image_with_music?: boolean | null;
1906
- is_superlative?: boolean | null;
1907
- is_tagged_media_shared_to_viewer_profile_grid?: boolean | null;
1908
- is_terminal_video_segment?: boolean | null;
1909
- is_visual_reply_commenter_notice_enabled?: boolean | null;
1910
- media_attributions_data?: unknown[] | null;
1911
- media_overlay_info?: unknown | null;
1912
- media_type?: number | null;
1913
- media_ui_attributions_data_v2?: unknown[] | null;
1914
- mezql_token?: string | null;
1915
- music_metadata?: unknown | null;
1916
- number_of_qualities?: number | null;
1917
- organic_tracking_token?: string | null;
1918
- original_height?: number | null;
1919
- original_media_type?: number | null;
1920
- original_width?: number | null;
1921
- owner?: InstagramUpstreamOwner | null;
1922
- pk?: number | string | null;
1923
- product_type?: string | null;
1924
- reel_mentions?: InstagramUpstreamReelMention[] | null;
1925
- sharing_friction_info?: InstagramUpstreamSharingFrictionInfo | null;
1926
- shop_routing_user_id?: unknown | null;
1927
- should_request_ads?: boolean | null;
1928
- should_show_author_pog_for_tagged_media_shared_to_profile_grid?: boolean | null;
1929
- show_one_tap_fb_share_tooltip?: boolean | null;
1930
- story_highlight_reshare_stickers?: unknown[] | null;
1931
- strong_id__?: string | null;
1932
- subscribe_cta_visible?: boolean | null;
1933
- supports_reel_reactions?: boolean | null;
1934
- taken_at?: number | null;
1935
- trending_content_info?: unknown[] | null;
1936
- user?: InstagramUpstreamOwner | null;
1937
- video_dash_manifest?: string | null;
1938
- video_duration?: number | null;
1939
- video_versions?: InstagramUpstreamMediaVideoVersion[] | null;
1940
- voice_replies_enabled?: boolean | null;
1941
- wearable_shared_media_resolutions?: unknown[] | null;
1942
- wearables_creator_tools_info?: unknown[] | null;
1943
- }
1944
- export interface InstagramUpstreamHighlightReelItemImageVersions2 {
1945
- candidates?: InstagramUpstreamHighlightReelItemImageVersions2Candidate[] | null;
1946
- }
1947
- export interface InstagramUpstreamHighlightReelItemImageVersions2Candidate {
1948
- estimated_scans_sizes?: number[] | null;
1949
- height?: number | null;
1950
- is_spatial_image?: boolean | null;
1951
- scans_profile?: unknown | null;
1952
- url?: string | null;
518
+ export interface InstagramVideo {
519
+ url: string;
520
+ expires_at?: string | null;
1953
521
  width?: number | null;
1954
- }
1955
- export interface InstagramUpstreamHighlightReelUser {
1956
- account_badges?: unknown[] | null;
1957
- full_name?: string | null;
1958
- id?: number | string | null;
1959
- interop_messaging_user_fbid?: number | string | null;
1960
- is_private?: boolean | null;
1961
- is_screenshot_blocking_enabled?: boolean | null;
1962
- is_verified?: boolean | null;
1963
- pk?: number | string | null;
1964
- pk_id?: string | null;
1965
- profile_pic_id?: string | null;
1966
- profile_pic_url?: string | null;
1967
- strong_id__?: string | null;
1968
- transparency_product_enabled?: boolean | null;
1969
- username?: string | null;
1970
- }
1971
- export interface InstagramUpstreamIfNotGatedLoggedOutImageVersions2Candidate {
1972
522
  height?: number | null;
1973
- url?: string | null;
1974
- width?: number | null;
1975
- }
1976
- export interface InstagramUpstreamMediaVideoVersion {
1977
523
  bandwidth?: number | null;
1978
- fallback?: unknown | null;
1979
- height?: number | null;
1980
- id?: number | string | null;
1981
- progressive_identifier?: string | null;
1982
- type?: number | null;
1983
- url?: string | null;
1984
- url_expiration_timestamp_us?: unknown | null;
1985
- width?: number | null;
1986
- }
1987
- export interface InstagramUpstreamMetaVerifiedBenefitsInfo {
1988
- active_meta_verified_benefits?: unknown[] | null;
1989
- }
1990
- export interface InstagramUpstreamOwner {
1991
- account_badges?: unknown[] | null;
1992
- account_type?: number | null;
1993
- eligible_for_text_app_activation_badge?: boolean | null;
1994
- fbid_v2?: number | string | null;
1995
- full_name?: string | null;
1996
- hd_profile_pic_url_info?: InstagramUpstreamIfNotGatedLoggedOutImageVersions2Candidate | null;
1997
- hd_profile_pic_versions?: InstagramUpstreamIfNotGatedLoggedOutImageVersions2Candidate[] | null;
1998
- id?: number | string | null;
1999
- is_private?: boolean | null;
2000
- is_verified?: boolean | null;
2001
- pk?: number | string | null;
2002
- pk_id?: string | null;
2003
- profile_pic_id?: string | null;
2004
- profile_pic_url?: string | null;
2005
- strong_id__?: string | null;
2006
- username?: string | null;
2007
- }
2008
- export interface InstagramUpstreamProfilePageUserBioLink {
2009
- creation_source?: string | null;
2010
- image_url?: string | null;
2011
- is_pinned?: boolean | null;
2012
- link_id?: string | null;
2013
- link_type?: string | null;
2014
- lynx_url?: string | null;
2015
- media_accent_color_hex?: string | null;
2016
- media_type?: string | null;
2017
- title?: string | null;
2018
- url?: string | null;
2019
- }
2020
- export interface InstagramUpstreamReelMention {
2021
- custom_text_color?: unknown | null;
2022
- display_type?: string | null;
2023
- end_time_ms?: number | null;
2024
- height?: number | null;
2025
- id?: number | string | null;
2026
- is_fb_sticker?: number | null;
2027
- is_hidden?: number | null;
2028
- is_pinned?: number | null;
2029
- is_sticker?: number | null;
2030
- rotation?: number | null;
2031
- start_time_ms?: number | null;
2032
- user?: InstagramUpstreamReelMentionUser | null;
2033
- width?: number | null;
2034
- x?: number | null;
2035
- y?: number | null;
2036
- z?: number | null;
2037
- }
2038
- export interface InstagramUpstreamReelMentionUser {
2039
- full_name?: string | null;
2040
- id?: number | string | null;
2041
- is_private?: boolean | null;
2042
- is_verified?: boolean | null;
2043
- pk?: number | string | null;
2044
- pk_id?: string | null;
2045
- profile_pic_id?: string | null;
2046
- profile_pic_url?: string | null;
2047
- strong_id__?: string | null;
2048
- username?: string | null;
2049
- }
2050
- export interface InstagramUpstreamSharingFrictionInfo {
2051
- bloks_app_url?: unknown | null;
2052
- sharing_friction_payload?: unknown | null;
2053
- should_have_sharing_friction?: boolean | null;
2054
- }
2055
- export interface InstagramUpstreamUserFeedItemCoauthorProducer {
2056
- full_name?: string | null;
2057
- id?: number | string | null;
2058
- is_private?: boolean | null;
2059
- is_verified?: boolean | null;
2060
- pk?: number | string | null;
2061
- pk_id?: string | null;
2062
- profile_pic_id?: string | null;
2063
- profile_pic_url?: string | null;
2064
- strong_id__?: string | null;
2065
- username?: string | null;
2066
- }
2067
- export interface InstagramUserPostsPageItem {
2068
- accessibility_caption?: string | null;
2069
- ai_label_info?: InstagramItemAILabelInfo | null;
2070
- are_remixes_crosspostable?: boolean | null;
2071
- boost_unavailable_identifier?: unknown | null;
2072
- boost_unavailable_reason?: unknown | null;
2073
- boost_unavailable_reason_v2?: unknown[] | null;
2074
- can_modify_carousel?: boolean | null;
2075
- can_see_insights_as_brand?: boolean | null;
2076
- can_viewer_reshare?: boolean | null;
2077
- can_viewer_save?: boolean | null;
2078
- caption?: InstagramUserPostsPageItemCaption | null;
2079
- caption_is_edited?: boolean | null;
2080
- carousel_media?: InstagramCarouselMedia[] | null;
2081
- carousel_media_count?: number | null;
2082
- carousel_media_ids?: string[] | null;
2083
- carousel_media_pending_post_count?: number | null;
2084
- client_cache_key?: string | null;
2085
- clips_metadata?: InstagramNodeClipsMetadata | null;
2086
- clips_tab_pinned_user_ids?: unknown[] | null;
2087
- coauthor_producer_can_see_organic_insights?: boolean | null;
2088
- coauthor_producers?: InstagramUserPostsPageItemCoauthorProducer[] | null;
2089
- code?: string | null;
2090
- collaborator_edit_eligibility?: boolean | null;
2091
- comment_count?: number | null;
2092
- comment_inform_treatment?: InstagramCommentInformTreatment | null;
2093
- comment_likes_enabled?: boolean | null;
2094
- commenting_disabled_for_viewer?: boolean | null;
2095
- comments_disabled?: boolean | null;
2096
- commerce_integrity_review_decision?: string | null;
2097
- created_at?: string | null;
2098
- creative_config?: unknown | null;
2099
- creator_is_in_premium_reactions_alpha?: unknown | null;
2100
- cutout_sticker_info?: unknown[] | null;
2101
- deleted_reason?: number | null;
2102
- device_timestamp?: number | null;
2103
- disable_caption_and_comment?: boolean | null;
2104
- display_uri?: string | null;
2105
- eligible_insights_entrypoints?: string | null;
2106
- enable_media_notes_production?: boolean | null;
2107
- fb_user_tags?: InstagramFbUserTags | null;
2108
- fbid?: number | string | null;
2109
- featured_products?: unknown[] | null;
2110
- filter_type?: number | null;
2111
- fundraiser_tag?: InstagramFundraiserTag | null;
2112
- has_audio?: boolean | null;
2113
- has_delayed_metadata?: boolean | null;
2114
- has_liked?: boolean | null;
2115
- has_privately_liked?: boolean | null;
2116
- has_shared_to_fb?: number | null;
2117
- has_tagged_users?: boolean | null;
2118
- has_views_fetching?: boolean | null;
2119
- has_views_fetching_on_search_grid?: boolean | null;
2120
- hidden_likes_string_variant?: number | null;
2121
- hide_stickers_for_original_language?: boolean | null;
2122
- hide_view_all_comment_entrypoint?: boolean | null;
2123
- id?: number | string | null;
2124
- ig_media_sharing_disabled?: boolean | null;
2125
- ig_play_count?: number | null;
2126
- igbio_product?: unknown | null;
2127
- image_versions2?: InstagramUserPostsPageItemImageVersions2 | null;
2128
- integrity_review_decision?: string | null;
2129
- invited_coauthor_producers?: unknown[] | null;
2130
- is_affiliate_commission_eligible?: boolean | null;
2131
- is_comments_gif_composer_enabled?: boolean | null;
2132
- is_cutout_sticker_allowed?: boolean | null;
2133
- is_dash_eligible?: number | null;
2134
- is_eligible_content_for_post_roll_ad?: boolean | null;
2135
- is_eligible_for_autodub?: boolean | null;
2136
- is_eligible_for_autodub_upsell?: boolean | null;
2137
- is_eligible_for_organic_eager_refresh?: boolean | null;
2138
- is_eligible_for_poe?: boolean | null;
2139
- is_eligible_for_poe_premium?: boolean | null;
2140
- is_in_profile_grid?: boolean | null;
2141
- is_meta_ai_invocation_blocked_by_author?: boolean | null;
2142
- is_open_to_public_submission?: boolean | null;
2143
- is_organic_product_tagging_eligible?: boolean | null;
2144
- is_paid_partnership?: boolean | null;
2145
- is_photo_comments_composer_enabled_for_author?: boolean | null;
2146
- is_post_live_clips_media?: boolean | null;
2147
- is_quiet_post?: boolean | null;
2148
- is_reshare_of_text_post_app_media_in_ig?: boolean | null;
2149
- is_reuse_allowed?: boolean | null;
2150
- is_short_drama?: boolean | null;
2151
- is_social_ufi_disabled?: boolean | null;
2152
- is_tagged_media_shared_to_viewer_profile_grid?: boolean | null;
2153
- is_third_party_downloads_eligible?: boolean | null;
2154
- is_visual_reply_commenter_notice_enabled?: boolean | null;
2155
- lat?: number | null;
2156
- like_and_view_counts_disabled?: boolean | null;
2157
- like_count?: number | null;
2158
- lng?: number | null;
2159
- location?: InstagramItemLocation | null;
2160
- locations?: unknown[] | null;
2161
- mashup_info?: InstagramItemMashupInfo | null;
2162
- media_attributions_data?: unknown[] | null;
2163
- media_cropping_info?: InstagramMediaCroppingInfo | null;
2164
- media_level_comment_controls?: string | null;
2165
- media_overlay_info?: unknown | null;
2166
- media_reposter_bottomsheet_enabled?: boolean | null;
2167
- media_type?: number | null;
2168
- media_ui_attributions_data?: unknown[] | null;
2169
- media_ui_attributions_data_v2?: unknown[] | null;
2170
- meta_ai_suggested_prompts?: unknown[] | null;
2171
- mezql_token?: string | null;
2172
- music_metadata?: unknown | null;
2173
- number_of_qualities?: number | null;
2174
- open_carousel_show_follow_button?: boolean | null;
2175
- open_carousel_submission_state?: string | null;
2176
- organic_tracking_token?: string | null;
2177
- original_height?: number | null;
2178
- original_lang_for_translations?: string | null;
2179
- original_media_has_visual_reply_media?: boolean | null;
2180
- original_width?: number | null;
2181
- owner?: InstagramItemOwner | null;
2182
- photo_of_you?: boolean | null;
2183
- pk?: number | string | null;
2184
- play_count?: number | null;
2185
- premium_reaction_count?: number | null;
2186
- product_suggestions?: unknown[] | null;
2187
- product_type?: string | null;
2188
- profile_grid_control_enabled?: boolean | null;
2189
- profile_grid_thumbnail_fitting_style?: string | null;
2190
- related_ads_pivots_media_info?: string | null;
2191
- share_count_disabled?: boolean | null;
2192
- sharing_friction_info?: InstagramSharingFrictionInfo | null;
2193
- shop_routing_user_id?: unknown | null;
2194
- should_request_ads?: boolean | null;
2195
- should_show_author_pog_for_tagged_media_shared_to_profile_grid?: boolean | null;
2196
- sponsor_tags?: InstagramSponsorTag[] | null;
2197
- strong_id__?: string | null;
2198
- subscribe_cta_visible?: boolean | null;
2199
- subtype_name_for_REST__?: string | null;
2200
- taken_at?: number | null;
2201
- tappable_elements?: unknown[] | null;
2202
- timeline_pinned_user_ids?: (number | string)[] | null;
2203
- translated_langs_for_autodub?: unknown[] | null;
2204
- tya_media_related_topics?: unknown[] | null;
2205
- url?: string | null;
2206
- user?: InstagramItemOwner | null;
2207
- usertags?: InstagramCarouselMediaUsertags | null;
2208
- video_codec?: string | null;
2209
- video_dash_manifest?: string | null;
2210
- video_duration?: number | null;
2211
- video_sticker_locales?: string[] | null;
2212
- video_url?: string | null;
2213
- video_versions?: InstagramCarouselMediaVideoVersion[] | null;
2214
- }
2215
- export interface InstagramUserPostsPageItemCaption {
2216
- bit_flags?: number | null;
2217
524
  content_type?: string | null;
2218
- created_at?: number | null;
2219
- created_at_utc?: number | null;
2220
- did_report_as_spam?: boolean | null;
2221
- is_covered?: boolean | null;
2222
- is_ranked_comment?: boolean | null;
2223
- media_id?: number | string | null;
2224
- pk?: number | string | null;
2225
- private_reply_status?: number | null;
2226
- share_enabled?: boolean | null;
2227
- status?: string | null;
2228
- strong_id__?: string | null;
2229
- text?: string | null;
2230
- text_translation?: string | null;
2231
- type?: number | null;
2232
- user?: InstagramUserPostsPageItemCaptionUser | null;
2233
- user_id?: number | string | null;
2234
- }
2235
- export interface InstagramUserPostsPageItemCaptionUser {
2236
- fbid_v2?: number | string | null;
2237
- full_name?: string | null;
2238
- id?: number | string | null;
2239
- is_private?: boolean | null;
2240
- is_unpublished?: boolean | null;
2241
- is_verified?: boolean | null;
2242
- pk?: number | string | null;
2243
- pk_id?: string | null;
2244
- profile_pic_id?: string | null;
2245
- profile_pic_url?: string | null;
2246
- strong_id__?: string | null;
2247
- username?: string | null;
2248
- }
2249
- export interface InstagramUserPostsPageItemCoauthorProducer {
2250
- full_name?: string | null;
2251
- id?: number | string | null;
2252
- is_private?: boolean | null;
2253
- is_verified?: boolean | null;
2254
- pk?: number | string | null;
2255
- pk_id?: string | null;
2256
- profile_pic_id?: string | null;
2257
- profile_pic_url?: string | null;
2258
- strong_id__?: string | null;
2259
- username?: string | null;
2260
- }
2261
- export interface InstagramUserPostsPageItemImageVersions2 {
2262
- additional_candidates?: InstagramUserPostsPageItemImageVersions2AdditionalCandidate | null;
2263
- candidates?: InstagramUserPostsPageItemImageVersions2Candidate[] | null;
2264
- scrubber_spritesheet_info_candidates?: InstagramScrubberSpritesheetInfoCandidates | null;
2265
- }
2266
- export interface InstagramUserPostsPageItemImageVersions2AdditionalCandidate {
2267
- first_frame?: InstagramMediaImageVersions2Candidate | null;
2268
- igtv_first_frame?: InstagramMediaImageVersions2Candidate | null;
2269
- smart_frame?: unknown | null;
2270
- }
2271
- export interface InstagramUserPostsPageItemImageVersions2Candidate {
2272
- estimated_scans_sizes?: number[] | null;
2273
- height?: number | null;
2274
- is_spatial_image?: boolean | null;
2275
- scans_profile?: string | null;
2276
- url?: string | null;
2277
- width?: number | null;
2278
- }
2279
- export interface InstagramUserPostsPageUser {
2280
- full_name?: string | null;
2281
- id?: number | string | null;
2282
- is_active_on_text_post_app?: boolean | null;
2283
- is_private?: boolean | null;
2284
- is_verified?: boolean | null;
2285
- pk?: number | string | null;
2286
- pk_id?: string | null;
2287
- profile_grid_display_type?: string | null;
2288
- profile_pic_id?: string | null;
2289
- profile_pic_url?: string | null;
2290
- strong_id__?: string | null;
2291
- username?: string | null;
2292
- }
2293
- export interface InstagramUserPostsResponse {
2294
- auto_load_more_enabled?: boolean | null;
2295
- items: InstagramUserPostsPageItem[] | null;
2296
- more_available?: boolean | null;
2297
- next_max_id?: string | null;
2298
- num_results?: number | null;
2299
- pinned_profile_grid_items_ids?: unknown | null;
2300
- profile_grid_items?: unknown | null;
2301
- profile_grid_items_cursor?: unknown | null;
2302
- special_empty_state?: unknown | null;
2303
- status?: string | null;
2304
- user?: InstagramUserPostsPageUser | null;
2305
- }
2306
- export interface InstagramUserReelsPageItem {
2307
- caption?: InstagramMediaCaption | null;
2308
- code?: string | null;
2309
- comment_count?: number | null;
2310
- created_at?: string | null;
2311
- display_uri?: string | null;
2312
- id?: number | string | null;
2313
- ig_play_count?: number | null;
2314
- image_versions2?: InstagramMediaImageVersions2 | null;
2315
- like_count?: number | null;
2316
- media?: InstagramItemMedia | null;
2317
- play_count?: number | null;
2318
- taken_at?: number | null;
2319
- url?: string | null;
2320
- user?: InstagramMediaUser | null;
2321
- }
2322
- export interface InstagramUserReelsResponse {
2323
- items: InstagramUserReelsPageItem[] | null;
2324
- max_id?: string | null;
2325
- paging_info?: InstagramPagingInfo | null;
2326
- status?: string | null;
2327
- }
2328
- export interface InstagramXdtShortcodeMediaClipsMetadata {
2329
- music_info?: InstagramXdtShortcodeMediaClipsMetadataMusicInfo | null;
2330
- original_sound_info?: InstagramXdtShortcodeMediaClipsMetadataOriginalSoundInfo | null;
2331
- }
2332
- export interface InstagramXdtShortcodeMediaClipsMetadataMusicInfo {
2333
- music_asset_info?: InstagramXdtShortcodeMediaClipsMetadataMusicInfoMusicAssetInfo | null;
2334
- music_consumption_info?: InstagramXdtShortcodeMediaClipsMetadataMusicInfoMusicConsumptionInfo | null;
2335
- }
2336
- export interface InstagramXdtShortcodeMediaClipsMetadataMusicInfoMusicAssetInfo {
2337
- audio_cluster_id?: string | null;
2338
- display_artist?: string | null;
2339
- is_explicit?: boolean | null;
2340
- title?: string | null;
2341
- }
2342
- export interface InstagramXdtShortcodeMediaClipsMetadataMusicInfoMusicConsumptionInfo {
2343
- audio_filter_infos?: unknown[] | null;
2344
- is_trending_in_clips?: boolean | null;
2345
- should_mute_audio?: boolean | null;
2346
- should_mute_audio_reason?: string | null;
2347
- }
2348
- export interface InstagramXdtShortcodeMediaClipsMetadataOriginalSoundInfo {
2349
- audio_asset_id?: number | string | null;
2350
- audio_filter_infos?: unknown | null;
2351
- consumption_info?: InstagramXdtShortcodeMediaClipsMetadataOriginalSoundInfoConsumptionInfo | null;
2352
- ig_artist?: InstagramIgArtist | null;
2353
- is_explicit?: boolean | null;
2354
- original_audio_title?: string | null;
2355
- should_mute_audio?: boolean | null;
2356
- }
2357
- export interface InstagramXdtShortcodeMediaClipsMetadataOriginalSoundInfoConsumptionInfo {
2358
- is_trending_in_clips?: boolean | null;
2359
- should_mute_audio_reason?: string | null;
2360
- }
2361
- export interface InstagramXdtShortcodeMediaCoauthorProducer {
2362
- __typename?: string | null;
2363
- full_name?: string | null;
2364
- id?: number | string | null;
2365
- is_unpublished?: boolean | null;
2366
- is_verified?: boolean | null;
2367
- pk?: number | string | null;
2368
- profile_pic_url?: string | null;
2369
- username?: string | null;
2370
- }
2371
- export interface InstagramXdtShortcodeMediaEdgeMediaToTaggedUser {
2372
- edges?: InstagramXdtShortcodeMediaEdgeMediaToTaggedUserEdge[] | null;
2373
- }
2374
- export interface InstagramXdtShortcodeMediaEdgeMediaToTaggedUserEdge {
2375
- node?: InstagramXdtShortcodeMediaEdgeMediaToTaggedUserEdgeNode | null;
2376
- }
2377
- export interface InstagramXdtShortcodeMediaEdgeMediaToTaggedUserEdgeNode {
2378
- id?: number | string | null;
2379
- user?: InstagramXdtShortcodeMediaOwner | null;
2380
- x?: number | null;
2381
- y?: number | null;
2382
- }
2383
- export interface InstagramXdtShortcodeMediaEdgeSidecarToChildren {
2384
- edges?: InstagramXdtShortcodeMediaEdgeSidecarToChildrenEdge[] | null;
2385
- }
2386
- export interface InstagramXdtShortcodeMediaEdgeSidecarToChildrenEdge {
2387
- node?: InstagramXdtShortcodeMediaEdgeSidecarToChildrenEdgeNode | null;
2388
- }
2389
- export interface InstagramXdtShortcodeMediaEdgeSidecarToChildrenEdgeNode {
2390
- __typename?: string | null;
2391
- dimensions?: InstagramDimensions | null;
2392
- display_url?: string | null;
2393
- id?: number | string | null;
2394
- is_video?: boolean | null;
2395
- shortcode?: string | null;
2396
- video_url?: string | null;
2397
- }
2398
- export interface InstagramXdtShortcodeMediaLocation {
2399
- __typename?: string | null;
2400
- lat?: number | null;
2401
- lng?: number | null;
2402
- name?: string | null;
2403
- pk?: number | string | null;
2404
- profile_pic_url?: unknown | null;
2405
- }
2406
- export interface InstagramXdtShortcodeMediaOwner {
2407
- full_name?: string | null;
2408
- id?: number | string | null;
2409
- is_verified?: boolean | null;
2410
- profile_pic_url?: string | null;
2411
- username?: string | null;
525
+ codec?: string | null;
526
+ quality_code?: number | null;
2412
527
  }
2413
528
  export type PublicError = "blocked" | "concurrency_exceeded" | "timeout" | "extraction_failed" | "upstream_blocked" | "upstream_unavailable" | "upstream_response_invalid" | "invalid_url_scheme" | "invalid_url_host" | "unauthenticated" | "forbidden" | "resource_forbidden" | "not_found" | "rate_limited" | "invalid_request" | "invalid_cursor" | "insufficient_credits" | "internal_error";
2414
529
  export interface SearchPopularParams {
2415
- /** The `cursor` from the previous page. Omit it for the first page. */
2416
- cursor?: string | null;
2417
530
  /** The topic to look up, such as basketball. */
2418
531
  query: string;
532
+ /** The `cursor` from the previous page. Omit it for the first page. */
533
+ cursor?: string | null;
2419
534
  }
2420
535
  //# sourceMappingURL=types.d.ts.map