{"agent":{"expose":"search","prompt":"Use Crawl4AI to get posts of an Instagram account."},"also":["posts of an account","account feed","recent posts","photos of a user"],"beta":true,"call":{"aliases":["POST /recipes/instagram-posts"],"method":"POST","path":"/tools/instagram-posts"},"categories":["social"],"cost":{"cases":[{"price":"0.5 credit","when":"A post, 1 at least"},{"price":"3 credits","when":"A post from the second source"},{"price":"free","when":"A run with no row"}],"rule":"0.5 credit a post, 1 at least · 3 credits a post from the second source · a run with no row is free","text":"1 to 15 cr"},"description":"The latest posts of one Instagram account, newest first, one row per post: code, URL, caption (first 500 characters), likes, comments, time posted, kind (photo, video, reel, carousel), image, video URL, owner. `username` is the account (@name or an instagram.com URL). Without `session`: the 12 latest posts of a public account, about 3 to 8 s (a larger `limit` gives those 12, marked partial). With `session` (your `sessionid` and `csrftoken` cookies from the Crawl4AI Session extension, used once, never stored) it is read as you, up to 48.","docs":"/tools/instagram-posts","essential":false,"essential_order":null,"examples":[{"answer":{"body":{"request_id":"req_…","rows":[{"caption":"While observing the universe, @NASAHubble caught a galaxy cluster smi…","code":"DeVqBdUl4kC","comments":1738,"image":"https://scontent-dfw6-2.cdninstagram.com/v/t51.82787-15/843397823_186…","kind":"photo","likes":259447,"owner":"nasa","taken_at":"2026-10-11T16:30:01Z","url":"https://www.instagram.com/p/DeVqBdUl4kC/","video_url":null},{"caption":"POV: you're watching the Earth set\n\nWe just released hundreds of new …","code":"DeTUk4sDSp-","comments":5593,"image":"https://scontent-dfw6-2.cdninstagram.com/v/t51.82787-15/842191580_186…","kind":"reel","likes":581089,"owner":"nasa","taken_at":"2026-10-10T15:15:02Z","url":"https://www.instagram.com/p/DeTUk4sDSp-/","video_url":"https://scontent-dfw5-1.cdninstagram.com/o1/v/t2/f2/m86/AQNUvreb47JFA…"}],"took_ms":5587,"tool":"instagram-posts","usage":{"credits":1}},"credits":1,"more":4,"rows":6,"took_ms":5587},"input":{"limit":12,"username":"nasa"},"label":"nasa, 12"}],"id":"instagram-posts","input_schema":{"additionalProperties":true,"properties":{"limit":{"default":12,"description":"Without `session`: the 12 latest posts of a public account, about 3 to 8 s (a larger `limit` gives those 12, marked partial).","type":"integer"},"session":{"description":"Without `session`: the 12 latest posts of a public account, about 3 to 8 s (a larger `limit` gives those 12, marked partial).","type":"string"},"username":{"description":"`username` is the account (@name or an instagram.com URL).","type":"string"}},"required":["username"],"type":"object"},"inputs":[{"example":"nasa","help":"`username` is the account (@name or an instagram.com URL).","name":"username","required":true,"type":"string"},{"advanced":true,"default":12,"example":12,"help":"Without `session`: the 12 latest posts of a public account, about 3 to 8 s (a larger `limit` gives those 12, marked partial).","name":"limit","type":"integer"},{"advanced":true,"help":"Without `session`: the 12 latest posts of a public account, about 3 to 8 s (a larger `limit` gives those 12, marked partial).","name":"session","secret":true,"type":"string"}],"kind":"sites","name":{"lead":"Instagram","rest":"posts"},"output":{"fields":[{"meaning":"Instagram's short code of the post, the part after /p/ in its URL.","name":"code","type":"string"},{"meaning":"The post's URL, https://www.instagram.com/p/<code>/.","name":"url","type":"string"},{"meaning":"The post's text, cut to its first 500 characters; null when it has none.","name":"caption","type":"string"},{"meaning":"How many likes the post has, an integer; null when the account hides the count.","name":"likes","type":"integer"},{"meaning":"How many comments the post has, an integer.","name":"comments","type":"integer"},{"meaning":"When the post was published, ISO 8601 UTC.","name":"taken_at","type":"string"},{"meaning":"photo, video, reel or carousel (several photos or videos in one post).","name":"kind","type":"string"},{"meaning":"The URL of the post's image or video cover; it expires after some days, as Instagram signs it.","name":"image","type":"string"},{"meaning":"The URL of the video for a video or reel; null for a photo or carousel. It expires like the image.","name":"video_url","type":"string"},{"meaning":"The username of the post's author; for a post made together with another account it can be that account.","name":"owner","type":"string"}],"row_is":"","view":"rows"},"related":[{"id":"instagram-comments","why":"Author, author verified, text, likes, replies, created at"},{"id":"instagram-hashtag","why":"Caption, likes, comments, taken at, author, media type"},{"id":"facebook-event","why":"Name, starts at, ends at, when, place, host, description, categories"}],"run":"both","source":"instagram","status":"verified","summary":"Caption, likes, comments, taken at, owner","synonyms":["account","instagram","posts","posts of an account","account feed","recent posts","photos of a user","captions and likes"],"typical":"4.2 s","version":4,"visibility":"public"}