dev.cocore.account.getProfile

cocore.dev

Documentation

Full profile-page payload for one DID: account fields, machines they own, activity counts, and incoming-friends count, in a single round-trip. When the DID has not published a `dev.cocore.account.profile` record locally, handle/displayName/avatar are hydrated from the public Bluesky AppView.

main query

Full profile-page payload for one DID: account fields, machines they own, activity counts, and incoming-friends count, in a single round-trip. When the DID has not published a `dev.cocore.account.profile` record locally, handle/displayName/avatar are hydrated from the public Bluesky AppView.

Parameters

did string did Required

The account DID to fetch.

Output

Encodingapplication/json
profile unknown Required

Aggregated profile view (account fields, owned machines, activity counts, incoming-friends count).

Errors

InvalidRequest The `did` parameter is missing or not a DID.
NotFound No cocore footprint exists for this DID.
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
The account DID to fetch.
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "InvalidRequest",
      "description": "The `did` parameter is missing or not a DID."
    },
    {
      "name": "NotFound",
      "description": "No cocore footprint exists for this DID."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "profile"
      ],
      "properties": {
        "profile": {
          "type": "unknown",
          "description": "Aggregated profile view (account fields, owned machines, activity counts, incoming-friends count)."
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "did"
    ],
    "properties": {
      "did": {
        "type": "string",
        "format": "did",
        "description": "The account DID to fetch."
      }
    }
  },
  "description": "Full profile-page payload for one DID: account fields, machines they own, activity counts, and incoming-friends count, in a single round-trip. When the DID has not published a `dev.cocore.account.profile` record locally, handle/displayName/avatar are hydrated from the public Bluesky AppView."
}

Lexicon Garden

@