{"uid":"cap_I7_Ry0OM06zkc_EiBRrOj","slug":"botsmith-instagram-recent-posts-11bb8bf4","name":"botsmith Instagram Recent Posts","description":"Instagram Recent Posts ($0.006/call): Fetch up to 12 recent posts from a public Instagram account by username: permalink, caption, like and comment counts, ISO timestamp, video flag, as clean JSON. One call resolves the username and returns the posts. No Instagram account or API key needed.","url":"https://x402.botsmith.dev/ig/posts","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["username"],"properties":{"username":{"type":"string","pattern":"^[A-Za-z0-9._]{1,30}$","description":"Instagram username, without the leading @"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["username","count","posts"],"properties":{"count":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Number of posts returned (max 12)"},"posts":{"type":"array","items":{"type":"object","required":["code","url","caption","likes","comments","takenAt","isVideo"],"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Post permalink"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Instagram shortcode"},"likes":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"isVideo":{"type":"boolean"},"takenAt":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO 8601"},"comments":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}]}},"additionalProperties":false}},"username":{"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NoyizTUHZ1baOIJ32IK30","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetch up to 12 recent posts from a public Instagram account by username, returning permalink, caption, like/comment counts, timestamp, and video flag as clean JSON","exampleAgentPrompt":"Grab the last 12 posts from the Instagram account @natgeo — I want the captions, like counts, comment counts, timestamps, and links for each post.","exampleUseCases":[{"title":"Influencer engagement audit","prompt":"Pull the most recent posts from Instagram user 'kyliejenner' and tell me which ones got the most likes and comments."},{"title":"Brand content monitoring","prompt":"Check what @nike has posted on Instagram recently — I need the captions and timestamps for their last 12 posts so I can see their content cadence."},{"title":"Competitor social analysis","prompt":"Fetch the latest Instagram posts from the account 'glossier' and give me the permalink, caption, and engagement numbers for each so I can compare them to our own."}],"resultDescription":"A JSON object containing the resolved username, the number of posts returned (up to 12), and an array of post objects each with: Instagram shortcode, post permalink URL, caption text, like count, comment count, ISO 8601 timestamp, and a boolean indicating whether the post is a video.","failureModes":["Private or nonexistent Instagram account returns an empty posts array or error","Username pattern validation failure (invalid characters or length > 30) returns a 400-level error","Instagram rate limiting or anti-scraping measures may cause intermittent failures or empty results","Recently created accounts with no posts return a count of 0 and an empty posts array","Network timeout if Instagram is slow to respond"],"whenToPreferThis":"Choose this endpoint when you need recent post content and engagement metrics from a public Instagram account without requiring an Instagram developer account or API credentials. It is ideal for quick one-shot lookups of up to 12 posts, influencer research, brand monitoring, or social analytics pipelines where OAuth setup is impractical. Prefer a direct Instagram Graph API integration if you need more than 12 posts, need private account data with user consent, or require real-time webhook-based updates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-08-28T14:12:25.076Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:45:47.812Z","isFirstParty":false}