Search the API docs
Full-text search over platforms, endpoints, guidance, recipes and error codes, with ranked snippets and links.
GET /v1/utility/docs-searchBeta0 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/utility/docs-search?query=pagination",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 0 credits{ "query": "pagination", "results": [ { "kind": "endpoint", "id": "bluesky.user.similar", "title": "Accounts similar to a Bluesky account (bluesky.user.similar)", "url": "https://groundsocial.dev/docs/platforms/bluesky#bluesky.user.similar", "score": 1, "snippet": "…one (app.bsky.graph.getSuggestedFollowsByActor): a quick way to map a niche. No pagination." }, { "kind": "endpoint", "id": "telegram.channel.posts", "title": "Posts of a Telegram channel (telegram.channel.posts)", "url": "https://groundsocial.dev/docs/platforms/telegram#telegram.channel.posts", "score": 1, "snippet": "…, voice, document, sticker), poll, link preview, forward origin and reply. Pass pagination.next_cursor as after for old…" }, "… 8 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
queryquery | string | Words to look for. Example: pagination cursor. |
qquery | string | Same as query. |
platformquery | string | A platform id (reddit, x, tiktok…) to narrow to. Example: reddit. |
limitquery | integer | Default 10. |
Status codes
| Status | Meaning |
|---|---|
200 | Ranked doc snippets. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No such endpoint, recipe or platform. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Utility is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Does it cost anything?
No. Discovery endpoints are free and need no API key, so an agent can look around before it signs up.
Reddit, X and every other platform named here are trademarks of their owners. We are not affiliated with or endorsed by any of them.