# technology.agave.marketplace.getProfile

> Published by [catalogue.agave.technology](https://lexicon.garden/identity/did:plc:jgjchylj237en76b3hi2xu4g)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jgjchylj237en76b3hi2xu4g/technology.agave.marketplace.getProfile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jgjchylj237en76b3hi2xu4g/technology.agave.marketplace.getProfile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jgjchylj237en76b3hi2xu4g/technology.agave.marketplace.getProfile/examples)

## Definitions

### `technology.agave.marketplace.getProfile`

**Type**: `query`

A publisher's technology.agave.profile and the marketplace's counts for them. An account the marketplace never indexed has counts of zero and no profile fields.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` (at-identifier) | Yes |  |

#### Output

**Encoding**: `application/json`

#### Errors

- **ActorNotFound**: The actor's handle does not resolve.

### `technology.agave.marketplace.getProfile#profileView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `blocksCount` | `integer` | Yes | Slugs with a published version. |
| `description` | `string` | No |  |
| `did` | `string` (did) | Yes |  |
| `displayName` | `string` | No |  |
| `followersCount` | `integer` | Yes |  |
| `followsCount` | `integer` | Yes |  |
| `handle` | `string` (handle) | Yes |  |
| `link` | `string` (uri) | No |  |
| `usesCount` | `integer` | Yes | The uses of every slug of theirs, summed. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A publisher's technology.agave.profile and the marketplace's counts for them. An account the marketplace never indexed has counts of zero and no profile fields.",
      "errors": [
        {
          "description": "The actor's handle does not resolve.",
          "name": "ActorNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#profileView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "at-identifier",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "profileView": {
      "properties": {
        "blocksCount": {
          "description": "Slugs with a published version.",
          "minimum": 0,
          "type": "integer"
        },
        "description": {
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "followersCount": {
          "minimum": 0,
          "type": "integer"
        },
        "followsCount": {
          "minimum": 0,
          "type": "integer"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "link": {
          "format": "uri",
          "type": "string"
        },
        "usesCount": {
          "description": "The uses of every slug of theirs, summed.",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "did",
        "handle",
        "blocksCount",
        "followersCount",
        "followsCount",
        "usesCount"
      ],
      "type": "object"
    }
  },
  "id": "technology.agave.marketplace.getProfile",
  "lexicon": 1
}
```
