Instagram
Instagram posts API
Call the Instagram posts API to get code, text, hashtags, mentions, created at and likes, as JSON or markdown. 1 credit per 12 items, at least 1 credit.
POST
Get a profile's posts and reels
- Endpoint:
instagram.posts - Returns:
datahasposts. - Cost: 1 credit per 12 items, at least 1 credit. Failed calls cost nothing.
- Paging: Yes. Send the
cursorfrom the response to get the next page. See Paging.
Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Available options:
all, reels, videos, photos Required range:
1 <= x <= 100Pattern:
^(?:\d{1,4}~(?:\d+_\d+)?|(?:\d+_\d+))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$