Skip to content

GET/v1/users/{user}/posts

Get a public account's recent posts, newest first: link, date, type (photo, video or carousel), caption, and like, comment and view counts.

GEThttps://api.handlehaul.com/v1/users/{user}/posts

Cost: 1 credit per page (free from cache). About 12 posts a page. Naming the account by a username we have to look up adds 1 credit; send the numeric id to skip it (details).

Try itsandbox data · no key needed

Every example on this page follows what you type here.

GET /v1/users/natgeo/posts

Sample data in the live schema. Use private_x, ghost_x or hidden_x to see errors.

Parameters

userpathrequired
Numeric user id (cheapest) or username. A username we have to look up costs 1 extra credit (why). All digits = an id; write @12345 for an all-digit username.
byqueryoptional
Optional. username or id: says which one user is, instead of guessing from the digits.
cursorqueryoptional
pagination.next_cursor from the previous page.
freshqueryoptional
true skips the cache.

Response

counts.views is set for videos and null otherwise. A count Instagram hides comes back as null.

FAQ

How do I get an Instagram account's latest posts with an API?

Call GET /v1/users/{username}/posts. Posts come newest first with URL, date, caption and engagement counts.

↑↓ to move↵ to open