Feed
Find public posts through a connected account and reply to them.
Feed searches public posts on a platform through one of your connected accounts, then lets that account reply.
What can be searched
GET /feed/sources says what each platform can search and where replies are possible, with the current X prices.
| Platform | mode | Reply |
|---|---|---|
| Threads | keyword, tag | Yes |
account (q = username of a professional account), hashtag | No | |
| Facebook Page | page (q = Page username or id) | No |
| YouTube | keyword | Yes, as a comment |
| X | keyword (X search syntax) | Yes, paid from the balance |
Search
curl "https://socmed.growpaces.com/api/v1/accounts/6b1e…/feed/search?mode=keyword&q=coffee%20beans&sort=recent" \
-H "Authorization: Bearer gs_..."sort is top (default) or recent; media_type narrows to text, image or video; limit defaults to 25. The same search within 5 minutes is answered from cache. Instagram allows 30 different hashtags per account in 7 days. On X each post returned is paid from the workspace owner's balance.
For a Threads reply found by search, GET /accounts/{id}/feed/posts/{postId}/thread gives the top post of its thread and the post it answers.
Reply
POST /accounts/{id}/feed/posts/{postId}/reply with text. The post must have come from a search of that account. To keep accounts safe, replies are limited to 20 an hour and 150 a day per account, one reply per post, and the same text cannot go to another post within a day (422 with code: duplicate_reply).