# com.atiproto.repo.profile.get

> Published by [atiproto.com](https://lexicon.garden/identity/did:plc:4x5dcv6u4wlkjcssto7f22nu)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atiproto.repo.profile.get)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atiproto.repo.profile.get/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atiproto.repo.profile.get/examples)

## Definitions

### `com.atiproto.repo.profile.get`

**Type**: `query`

Look up public profile information for any user

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | DID of the user to look up |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | User's DID |
| `profile` | `ref` → `com.atiproto.profile#view` | Yes | Public profile data |

## Raw Schema

```json
{
  "id": "com.atiproto.repo.profile.get",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "did",
            "profile"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did",
              "description": "User's DID"
            },
            "profile": {
              "ref": "com.atiproto.profile#view",
              "type": "ref",
              "description": "Public profile data"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "DID of the user to look up"
          }
        }
      },
      "description": "Look up public profile information for any user"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
