Instagram/Hashtag

Hashtag

GET
https://api.shofo.ai/instagram/hashtag

Get posts for an Instagram hashtag.

Pricing

Base cost: $0.0001 per post

  • + Transcript: $0.0001/post (if available)
  • + Video file: $0.0001/post

Parameters

ParameterTypeRequiredDescription
keywordstring
Required
Hashtag keyword (without #)
countinteger
Required
Number of posts to retrieve
feed_typestring
Optional
Feed type: "top", "recent", or "reels"Default: top

Feed Types

  • top - Most popular posts for the hashtag (default)
  • recent - Most recent posts in chronological order
  • reels - Only reels/video content for the hashtag

Response Format

{
  "success": true,
  "data": {
    "hashtag": {
      "keyword": "photography",
      "feed_type": "top"
    },
    "posts": [
      {
        "id": "CxYz123...",
        "caption": "Amazing sunset #photography #nature",
        "like_count": 5000,
        "comment_count": 120,
        "created_at": "2024-01-15T18:00:00Z",
        "media_type": "image",
        "media_url": "https://..."
      }
    ],
    "total_fetched": 10,
    "api_calls": 1,
    "addons": {
      "transcripts": null,
      "video_files": null
    }
  },
  "cost": "$0.0010",
  "request_id": "req_abc123"
}

Try It

GET
https://api.shofo.ai/instagram/hashtag
$0.0001

Send a request to see the response