Skip to content
Eden Engine

Threads Latest Posts Search (by Keyword, Newest First)

omnial/threads-web-search-recent

Given a search keyword, returns the most recent Threads posts that match it, newest first. Results are grouped in threads, usually one post each, sometimes a short reply chain. Each post comes with its ID and short code, its text (with http and www links removed), its publish time, a media type code, its like, reply, repost and quote counts, whether it is a reply (and to which handle), its topic tag when it has one, and the author's user ID, handle and verification label.

activeper callv1

Price

Up to $0.0041 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

Threads

Data from Threads.

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/threads-web-search-recent" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/threads-web-search-recent" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/threads-web-search-recent", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/threads-web-search-recent", 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.0041
Updated
Oct 14, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "The word or phrase to search recent Threads posts for, in plain text."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "searchResults": {
      "type": "object",
      "properties": {
        "edges": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "node": {
                "type": "object",
                "properties": {
                  "thread": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "description": "The numeric ID of the thread's first post."
                      },
                      "thread_items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "post": {
                              "type": "object",
                              "properties": {
                                "pk": {
                                  "type": "string",
                                  "description": "The post's numeric ID."
                                },
                                "code": {
                                  "type": "string",
                                  "description": "The post's short code, as used in its link."
                                },
                                "user": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "The author's numeric user ID."
                                    },
                                    "username": {
                                      "type": "string",
                                      "description": "The author's public handle."
                                    },
                                    "is_verified": {
                                      "type": "boolean",
                                      "description": "Whether the author carries a verification label."
                                    }
                                  },
                                  "description": "The post's author."
                                },
                                "caption": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "text": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "description": "The post's text, with http and www links removed."
                                    }
                                  },
                                  "description": "The post's text; absent or null when it has none."
                                },
                                "taken_at": {
                                  "type": "number",
                                  "description": "When the post was published, Unix seconds."
                                },
                                "like_count": {
                                  "type": "number",
                                  "description": "Likes on the post."
                                },
                                "media_type": {
                                  "type": "number",
                                  "description": "Threads' numeric code for the kind of media attached."
                                },
                                "text_post_app_info": {
                                  "type": "object",
                                  "properties": {
                                    "is_reply": {
                                      "type": "boolean",
                                      "description": "Whether the post is a reply."
                                    },
                                    "tag_header": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "display_name": {
                                          "type": "string",
                                          "description": "The topic tag's name."
                                        }
                                      },
                                      "description": "The post's topic tag; absent or null when it has none."
                                    },
                                    "quote_count": {
                                      "type": "number",
                                      "description": "Quotes of the post."
                                    },
                                    "repost_count": {
                                      "type": "number",
                                      "description": "Reposts of the post."
                                    },
                                    "reply_to_author": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "description": "That account's numeric user ID."
                                        },
                                        "username": {
                                          "type": "string",
                                          "description": "That account's public handle."
                                        }
                                      },
                                      "description": "The account a reply answers; absent or null on a post that is not a reply."
                                    },
                                    "direct_reply_count": {
                                      "type": "number",
                                      "description": "Replies to the post."
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "description": "The thread's posts, in order."
                      }
                    }
                  }
                }
              }
            }
          },
          "description": "One entry per matching thread, newest first."
        }
      }
    }
  },
  "description": "The most recent matching posts, as returned after shaping."
}