# app.didpic.actor.getProfile

> 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.getProfile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.getProfile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.getProfile/examples)

## Definitions

### `app.didpic.actor.getProfile`

**Type**: `query`

Get a profile by DID or handle.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` | Yes | DID or handle of the account to look up. |

#### Output

**Encoding**: `application/json`

#### Errors

- **ActorNotFound**

## Raw Schema

```json
{
  "id": "app.didpic.actor.getProfile",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "ActorNotFound"
        }
      ],
      "output": {
        "schema": {
          "ref": "app.didpic.actor.defs#profileView",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "description": "DID or handle of the account to look up."
          }
        }
      },
      "description": "Get a profile by DID or handle."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
