Sonic Search Explorer API v7

Server-side API. All logic runs on this server. Open console (F12) on this page to use.

Step 1 — Get your token from ChatGPT

1
Go to chatgpt.com, open console (F12), run:
copy((await(await fetch('/api/auth/session')).json()).accessToken)
2
Token is now in your clipboard.

Step 2 — Use the API from this page's console

3
Come back here, open console (F12), run:
sonic.auth("PASTE_TOKEN_HERE")
4
Then run any command:
sonic.search("query")
sonic.news("query")
sonic.all("query")
sonic.classify("query")
sonic.diff("query")
sonic.ask("query")
sonic.ranking("convId")
sonic.citations("convId")
sonic.beta()
sonic.features()
sonic.limits()
sonic.conversations()
sonic.safetyTest()
sonic.help()