Skip to main content

Access Your Media Posts via the Public API

List and retrieve your Instagram media posts programmatically with Inrō's public API, for custom integrations or connecting AI tools.

You can read your Instagram media posts through Inrō's public API. Use it to build custom integrations, pull media data into your own tools, or let an AI assistant browse your content library, all without logging into Inrō by hand. These endpoints are read-only: they list and retrieve posts, they don't create or change them.

Before you start

You'll need a Pro or Trial account and your API token. See The Inrō Private API: Getting Started for auth.

Endpoints

  • List media posts: GET /api/v1/medias Returns a paginated list of your posts. Filter by status (published, scheduled, draft, pending) and search by caption.

  • Get a single media post: GET /api/v1/medias/:id Returns the full details of one post: caption, media type, URLs, like count, and publication status.

How to use it

  1. Open the account menu (bottom-left) and go to Integrations & API to copy your API token.

  2. Call the endpoints with your preferred HTTP client, passing the token as a Bearer token in the Authorization header.

  3. Use the status and search query parameters to narrow the results.

Via your AI agent (MCP)

These are also available as MCP tools, so Claude or ChatGPT can query your media library directly:

  • list_medias lists your posts (with the same status and search filters).

  • get_media fetches one post by its ID.

A common use is finding a post to share: ask your agent to list your recent Reels, then share one with a contact. See Send Rich Messages via API & MCP for the share message type.

🐾 Netsuke's Tips

  • The id returned here is the media_id you pass to a share message, so listing posts is usually the first step before sending one.

  • Filter by status to skip drafts and scheduled posts when you only want what's already live.

What's next?

Did this answer your question?