dev.cocore.account.listAccounts

cocore.dev

Documentation

Discovery directory of every signed-up DID (any DID with a record under `dev.cocore.*`), joined with profile + provider counts so a card grid can render without further fan-out. DIDs without a local profile record are hydrated from the public Bluesky AppView.

main query

Discovery directory of every signed-up DID (any DID with a record under `dev.cocore.*`), joined with profile + provider counts so a card grid can render without further fan-out. DIDs without a local profile record are hydrated from the public Bluesky AppView.

Parameters

excludeViewerFriends boolean Optional

With `viewerDid`, also omits DIDs the viewer has already published a friend record for.

limit integer Optional

No description available.

offset integer Optional

No description available.

providersOnly boolean Optional

No description available.

q string Optional

Case-insensitive substring on profile handle and/or DID. A leading @ is ignored.

sortBy string Optional

`recent` = last activity descending; `newest` = signup order.

viewerDid string did Optional

Excludes the caller's own DID from results.

Output

Encodingapplication/json
accounts array Required

No description available.

excludeViewerFriends boolean Required

No description available.

limit integer Required

No description available.

offset integer Required

No description available.

providersOnly boolean Required

No description available.

q string Optional

No description available.

sortBy string Required

No description available.

total integer Required

No description available.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
With `viewerDid`, also omits DIDs the viewer has already published a friend record for.
Case-insensitive substring on profile handle and/or DID. A leading @ is ignored.
`recent` = last activity descending; `newest` = signup order.
Excludes the caller's own DID from results.
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "accounts",
        "total",
        "limit",
        "offset",
        "sortBy",
        "providersOnly",
        "excludeViewerFriends"
      ],
      "properties": {
        "q": {
          "type": "string"
        },
        "limit": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        },
        "sortBy": {
          "enum": [
            "recent",
            "newest"
          ],
          "type": "string"
        },
        "accounts": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "did"
            ],
            "properties": {
              "did": {
                "type": "string",
                "format": "did"
              },
              "handle": {
                "type": "string"
              },
              "avatarUrl": {
                "type": "string"
              },
              "displayName": {
                "type": "string"
              },
              "providerCount": {
                "type": "integer"
              },
              "lastActivityAt": {
                "type": "string",
                "format": "datetime"
              }
            }
          }
        },
        "providersOnly": {
          "type": "boolean"
        },
        "excludeViewerFriends": {
          "type": "boolean"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "properties": {
      "q": {
        "type": "string",
        "description": "Case-insensitive substring on profile handle and/or DID. A leading @ is ignored."
      },
      "limit": {
        "type": "integer",
        "default": 24,
        "maximum": 100,
        "minimum": 1
      },
      "offset": {
        "type": "integer",
        "default": 0,
        "minimum": 0
      },
      "sortBy": {
        "enum": [
          "recent",
          "newest"
        ],
        "type": "string",
        "default": "recent",
        "description": "`recent` = last activity descending; `newest` = signup order."
      },
      "viewerDid": {
        "type": "string",
        "format": "did",
        "description": "Excludes the caller's own DID from results."
      },
      "providersOnly": {
        "type": "boolean",
        "default": false
      },
      "excludeViewerFriends": {
        "type": "boolean",
        "default": false,
        "description": "With `viewerDid`, also omits DIDs the viewer has already published a friend record for."
      }
    }
  },
  "description": "Discovery directory of every signed-up DID (any DID with a record under `dev.cocore.*`), joined with profile + provider counts so a card grid can render without further fan-out. DIDs without a local profile record are hydrated from the public Bluesky AppView."
}

Lexicon Garden

@