# Search public posts (/growsocmed/docs/api-reference/feed/search-feed)

Find public posts through a connected account: Threads keyword/tag, Instagram account (by username) or hashtag, Facebook Page, YouTube keyword, X keyword. Same search within 5 minutes is cached. X searches are paid from the owner's balance per post returned.

GET /accounts/{id}/feed/search

```json
{
  "tags": [
    "Feed"
  ],
  "summary": "Search public posts",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "uuid"
      },
      "required": true,
      "name": "id",
      "in": "path"
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "keyword",
          "tag",
          "account",
          "hashtag",
          "page"
        ],
        "default": "keyword"
      },
      "required": false,
      "name": "mode",
      "in": "query"
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 512
      },
      "required": true,
      "name": "q",
      "in": "query"
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "top",
          "recent"
        ],
        "default": "top"
      },
      "required": false,
      "name": "sort",
      "in": "query"
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "text",
          "image",
          "video"
        ]
      },
      "required": false,
      "name": "media_type",
      "in": "query"
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 25
      },
      "required": false,
      "name": "limit",
      "in": "query"
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {}
        }
      }
    }
  },
  "operationId": "search-feed",
  "description": "Find public posts through a connected account: Threads keyword/tag, Instagram account (by username) or hashtag, Facebook Page, YouTube keyword, X keyword. Same search within 5 minutes is cached. X searches are paid from the owner's balance per post returned."
}
```