Skip to content
Eden Engine

Instagram Hashtag Recent and Top Posts (by Hashtag, First Page)

omnial/instagram-fetch-hashtag-posts

Given an Instagram hashtag (without the #), returns the hashtag's ID, name and total post count, the first page of its most recent posts (newest first) and its top posts. For each post: its ID, shortcode, post type (photo, video or album), post time, comment count, caption text with links removed and the posting account's numeric ID.

activeper callv1

Price

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

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

Instagram

Data from Instagram.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/instagram-fetch-hashtag-posts" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/instagram-fetch-hashtag-posts" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/instagram-fetch-hashtag-posts", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/instagram-fetch-hashtag-posts", 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
Oct 14, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "hashtag"
  ],
  "properties": {
    "hashtag": {
      "type": "string",
      "minLength": 1,
      "description": "The hashtag to look up, as a word without the leading # sign."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "hashtag": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "description": "The hashtag's ID."
            },
            "name": {
              "type": "string",
              "description": "The hashtag, without the # sign."
            },
            "edge_hashtag_to_media": {
              "type": "object",
              "properties": {
                "count": {
                  "type": "number",
                  "description": "Total number of posts that use the hashtag."
                },
                "edges": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "node": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "The post's media ID."
                          },
                          "owner": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "The posting account's numeric ID."
                              }
                            }
                          },
                          "shortcode": {
                            "type": "string",
                            "description": "The post's shortcode, used in its own page address."
                          },
                          "__typename": {
                            "type": "string",
                            "description": "The post type, e.g. GraphImage (photo), GraphVideo (video) or GraphSidecar (album)."
                          },
                          "taken_at_timestamp": {
                            "type": "number",
                            "description": "When the post was published, Unix seconds."
                          },
                          "edge_media_to_caption": {
                            "type": "object",
                            "properties": {
                              "edges": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "node": {
                                      "type": "object",
                                      "properties": {
                                        "text": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "description": "The caption text with links and markup removed; null if it cannot be cleaned."
                                        }
                                      }
                                    }
                                  }
                                },
                                "description": "The caption; empty when the post has none."
                              }
                            }
                          },
                          "edge_media_to_comment": {
                            "type": "object",
                            "properties": {
                              "count": {
                                "type": "number",
                                "description": "Total comments on the post."
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "description": "One page of the most recent posts, newest first."
                }
              },
              "description": "The hashtag's recent posts."
            },
            "edge_hashtag_to_top_posts": {
              "type": "object",
              "properties": {
                "edges": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "node": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "The post's media ID."
                          },
                          "owner": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "The posting account's numeric ID."
                              }
                            }
                          },
                          "shortcode": {
                            "type": "string",
                            "description": "The post's shortcode, used in its own page address."
                          },
                          "__typename": {
                            "type": "string",
                            "description": "The post type, e.g. GraphImage (photo), GraphVideo (video) or GraphSidecar (album)."
                          },
                          "taken_at_timestamp": {
                            "type": "number",
                            "description": "When the post was published, Unix seconds."
                          },
                          "edge_media_to_caption": {
                            "type": "object",
                            "properties": {
                              "edges": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "node": {
                                      "type": "object",
                                      "properties": {
                                        "text": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "description": "The caption text with links and markup removed; null if it cannot be cleaned."
                                        }
                                      }
                                    }
                                  }
                                },
                                "description": "The caption; empty when the post has none."
                              }
                            }
                          },
                          "edge_media_to_comment": {
                            "type": "object",
                            "properties": {
                              "count": {
                                "type": "number",
                                "description": "Total comments on the post."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "description": "The hashtag's top posts."
            }
          }
        }
      }
    }
  },
  "description": "The hashtag with one page of its recent posts and its top posts."
}