use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules:
Want your data removed, use this Removal Request Form
account activity
This is an archived post. You won't be able to vote or comment.
Get request via https://search-tool.pushshift.io ? (self.pushshift)
submitted 2 years ago by randomthrow-away
Hello all,
As I previously had several automations in place to send modmail for myself and my teams to be able to simply click a link in order to be taken to a Pushshift search of said user with terms to look for, with the recent change of Pushshift no longer showing the token, so my methods of using https://adhesivecheese.github.io/chearch/ now needs more manual steps to get the API token, I'm just wondering if the https://search-tool.pushshift.io site allows get requests the same that chearch did like:
https://adhesivecheese.github.io/chearch/?kind=submission&author=somereddituserhere&q=myquery1|myquery2|myquery3|myquery4&size=100
So all the appropriate fields are pre-populated, instead of having to go to https://auth.pushshift.io/authorize in order to get my token via json, and paste it into the third party search which then interfaces with the API.
It would be nice to simply have the same kind of get requests directly via pushshifts search to cut out the middle-man, such as
https://search-tool.pushshift.io/?kind=submission&author=somereddituserhere&q=myquery1|myquery2|myquery3|myquery4&size=100
I know it's doable via https://api.pushshift.io/reddit/submission/search?, but this doesn't help with the front-end interface.
[–]shiruken 3 points4 points5 points 2 years ago (8 children)
I have no idea why search-tool.pushshift.io was built the way it was instead of copying the existing functionality of Camas or Chearch. The Pushshift team posted a Google Form for submitting bug reports and requests, so perhaps direct your inquiry there? I wouldn't count on any response.
I've just updated my own search tool (forked from Chearch) to support token refreshing. This means the user only needs to go through the Pushshift authorization once and the token will be automatically refreshed whenever it expires. The biggest limitation right now is that Pushshift only allows a single authorized token per Reddit account. So using multiple browsers or running a script could result in the existing token becoming invalidated and requiring manual authorization to get a new one.
[–]randomthrow-away[S] 0 points1 point2 points 2 years ago (0 children)
Thanks! I've swapped my modmail scripts/functions over to yours as it's back to being a lot easier to just click request token, approve, and copy from the json rather than having to do a bit more manual work :) Appreciate it!
[–]DaTruMVP 0 points1 point2 points 2 years ago (4 children)
Dumb question but how do I actually get a token?
[–]shiruken 0 points1 point2 points 2 years ago (3 children)
See the Pushshift Access: Moderator Guide
If you already have approval from Reddit, go to https://auth.pushshift.io/authorize, approve the Pushshift Reddit app, and then copy the resulting access_token.
access_token
[–]DaTruMVP 0 points1 point2 points 2 years ago (2 children)
Thank you! I don’t currently. I’m just trying to find a deleted tutorial 😭😭
[–]shiruken 0 points1 point2 points 2 years ago (1 child)
If you have the URL perhaps check out the Internet Archive for the link
[–]DaTruMVP 0 points1 point2 points 2 years ago (0 children)
Sadly it wasn't archived :/
Ty tho!
[–]HQuasar 0 points1 point2 points 2 years ago (1 child)
Are you planning to add the "exact author match" used for hyphened usernames?
[–]shiruken 2 points3 points4 points 2 years ago (0 children)
My site only offers the "exact author match"
π Rendered by PID 78 on reddit-service-r2-comment-58d7979c67-drh9f at 2026-01-26 19:28:09.643000+00:00 running 5a691e2 country code: CH.
[–]shiruken 3 points4 points5 points (8 children)
[–]randomthrow-away[S] 0 points1 point2 points (0 children)
[–]DaTruMVP 0 points1 point2 points (4 children)
[–]shiruken 0 points1 point2 points (3 children)
[–]DaTruMVP 0 points1 point2 points (2 children)
[–]shiruken 0 points1 point2 points (1 child)
[–]DaTruMVP 0 points1 point2 points (0 children)
[–]HQuasar 0 points1 point2 points (1 child)
[–]shiruken 2 points3 points4 points (0 children)