# app.didpic.actor.getProfilePublic

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.getProfilePublic)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.getProfilePublic/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.getProfilePublic/examples)

## Definitions

### `app.didpic.actor.getProfilePublic`

**Type**: `query`

Unauthenticated profile view for public web landings. Omits viewer-relative fields.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` | Yes | DID or handle. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `pds` | `string` (uri) | No | Authoritative PDS endpoint. Use to construct blob URLs (com.atproto.sync.getBlob). |
| `handle` | `string` (handle) | No |  |
| `labels` | `array` | No |  |
| `location` | `string` | No |  |
| `pronouns` | `string` | No |  |
| `avatarCid` | `string` (cid) | No |  |
| `bannerCid` | `string` (cid) | No |  |
| `indexedAt` | `string` (datetime) | No |  |
| `likesCount` | `integer` | No |  |
| `postsCount` | `integer` | No |  |
| `description` | `string` | No |  |
| `displayName` | `string` | No |  |
| `followsCount` | `integer` | No |  |
| `followersCount` | `integer` | No |  |

#### Errors

- **ProfileNotFound**

## Raw Schema

```json
{
  "id": "app.didpic.actor.getProfilePublic",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "ProfileNotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "did"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did"
            },
            "pds": {
              "type": "string",
              "format": "uri",
              "description": "Authoritative PDS endpoint. Use to construct blob URLs (com.atproto.sync.getBlob)."
            },
            "handle": {
              "type": "string",
              "format": "handle"
            },
            "labels": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "location": {
              "type": "string",
              "maxLength": 640,
              "maxGraphemes": 64
            },
            "pronouns": {
              "type": "string",
              "maxLength": 640,
              "maxGraphemes": 64
            },
            "avatarCid": {
              "type": "string",
              "format": "cid"
            },
            "bannerCid": {
              "type": "string",
              "format": "cid"
            },
            "indexedAt": {
              "type": "string",
              "format": "datetime"
            },
            "likesCount": {
              "type": "integer",
              "minimum": 0
            },
            "postsCount": {
              "type": "integer",
              "minimum": 0
            },
            "description": {
              "type": "string",
              "maxLength": 2560,
              "maxGraphemes": 256
            },
            "displayName": {
              "type": "string",
              "maxLength": 640,
              "maxGraphemes": 64
            },
            "followsCount": {
              "type": "integer",
              "minimum": 0
            },
            "followersCount": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "description": "DID or handle."
          }
        }
      },
      "description": "Unauthenticated profile view for public web landings. Omits viewer-relative fields."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
