Skip to content
Eden Engine

Instagram Account Post Grid with Total Post Count (First Page, by User ID)

omnial/instagram-account-post-grid

Given an Instagram account's numeric user ID, returns its total post count and the first page of its posts (12 in testing), newest first. Each post has its ID and shortcode, a media type (video, image or carousel), a product type for videos, its post time, video and audio flags, width and height, caption, comment count, the posting account's ID and handle, the tagged accounts' IDs, handles, display names and verified flags, and the co-author accounts' IDs, handles and verified flags.

activeper callv1

Price

Up to $0.00205 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Instagram

Data from Instagram.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/instagram-account-post-grid" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/instagram-account-post-grid" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/instagram-account-post-grid", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/instagram-account-post-grid", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.00205
Updated
Nov 6, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "user_id"
  ],
  "properties": {
    "user_id": {
      "type": "string",
      "minLength": 1,
      "description": "The Instagram account's numeric user ID (not the username)."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "user": {
          "type": "object",
          "properties": {
            "edge_owner_to_timeline_media": {
              "type": "object",
              "properties": {
                "count": {
                  "type": "number",
                  "description": "The account's total number of posts."
                },
                "edges": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "node": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "The post ID."
                          },
                          "owner": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "username": {
                                "type": "string"
                              }
                            },
                            "description": "The posting account."
                          },
                          "is_video": {
                            "type": "boolean"
                          },
                          "has_audio": {
                            "type": "boolean",
                            "description": "For a video, whether it has sound."
                          },
                          "shortcode": {
                            "type": "string",
                            "description": "The code used in the post's page address."
                          },
                          "__typename": {
                            "type": "string",
                            "description": "GraphVideo, GraphImage or GraphSidecar (a carousel)."
                          },
                          "dimensions": {
                            "type": "object",
                            "properties": {
                              "width": {
                                "type": "number"
                              },
                              "height": {
                                "type": "number"
                              }
                            }
                          },
                          "product_type": {
                            "type": "string",
                            "description": "For a video, its product type, such as clips (a reel)."
                          },
                          "coauthor_producers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "username": {
                                  "type": "string"
                                },
                                "is_verified": {
                                  "type": "boolean"
                                }
                              }
                            },
                            "description": "Co-author accounts of the post."
                          },
                          "taken_at_timestamp": {
                            "type": "number",
                            "description": "When it was posted, as Unix seconds."
                          },
                          "edge_media_to_caption": {
                            "type": "object",
                            "properties": {
                              "edges": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "node": {
                                      "type": "object",
                                      "properties": {
                                        "text": {
                                          "type": "string",
                                          "description": "The caption."
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "edge_media_to_comment": {
                            "type": "object",
                            "properties": {
                              "count": {
                                "type": "number",
                                "description": "Number of comments."
                              }
                            }
                          },
                          "edge_media_to_tagged_user": {
                            "type": "object",
                            "properties": {
                              "edges": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "node": {
                                      "type": "object",
                                      "properties": {
                                        "user": {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "username": {
                                              "type": "string"
                                            },
                                            "full_name": {
                                              "type": "string"
                                            },
                                            "is_verified": {
                                              "type": "boolean"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "description": "Accounts tagged in the post."
                          }
                        }
                      }
                    }
                  },
                  "description": "One entry per post on the first page, newest first."
                }
              }
            }
          }
        }
      }
    }
  },
  "description": "The account's post count and first page of posts."
}