> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# DiscoLike: Score

> Fetch DiscoLike scoring metadata for a single company domain. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Fetch DiscoLike scoring metadata for a single company domain.

> [!NOTE]
>
> Tool ID: `discolike_score`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'discolike_score',
  {
    "domain": "example.com"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute discolike_score --input '{
  "domain": "example.com"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "domain": "example.com",
    "score": 123
  }
}
```

Use `deepline describe discolike_score --json` for the latest machine-readable contract.

## Input reference

Returns the digital footprint score with parameter breakdown showing how the score was calculated.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.domain` | `string` | Yes | — | — |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns the digital footprint score with parameter breakdown showing how the score was calculated.",
    "properties": {
      "domain": {
        "type": "string"
      }
    },
    "required": [
      "domain"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Response from the /score endpoint. |
| `result.data.domain` | `string` | Yes | — | Normalized domain name (excluding any subdomain) |
| `result.data.score` | `integer` | Yes | — | Final calculated score (0-999, higher is better) |
| `result.data.parameters` | `object` | No | — | Score calculation parameters breakdown. |
| `result.data.parameters.base_score` | `number \| null` | No | — | The baseline score for the domain over 10 years (β) |
| `result.data.parameters.recency_multiplier` | `number \| null` | No | — | Decreases score if all certificates were created in the current year (ε) |
| `result.data.parameters.growth_boost` | `number \| null` | No | — | Increases/decreases score based on certificate generation trend (φ) |
| `result.data.parameters.lookback_360` | `integer \| null` | No | — | Number of certificates generated in the past 360 days (Ω360) |
| `result.data.parameters.lookback_720` | `integer \| null` | No | — | Number of certificates generated between 720 and 360 days (Ω720) |
| `result.data.parameters.expiration_penalty` | `number \| null` | No | — | Decreases score if average certificate expiration is less than threshold (λ) |
| `result.data.first_event` | `string \| null` | No | — | Date of first certificate registration event (YYYY-MM-DD) |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Response from the /score endpoint.",
        "properties": {
          "domain": {
            "type": "string",
            "description": "Normalized domain name (excluding any subdomain)"
          },
          "score": {
            "type": "integer",
            "description": "Final calculated score (0-999, higher is better)"
          },
          "parameters": {
            "type": "object",
            "description": "Score calculation parameters breakdown.",
            "properties": {
              "base_score": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The baseline score for the domain over 10 years (β)"
              },
              "recency_multiplier": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Decreases score if all certificates were created in the current year (ε)"
              },
              "growth_boost": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Increases/decreases score based on certificate generation trend (φ)"
              },
              "lookback_360": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Number of certificates generated in the past 360 days (Ω360)"
              },
              "lookback_720": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Number of certificates generated between 720 and 360 days (Ω720)"
              },
              "expiration_penalty": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Decreases score if average certificate expiration is less than threshold (λ)"
              }
            },
            "additionalProperties": false
          },
          "first_event": {
            "type": [
              "string",
              "null"
            ],
            "description": "Date of first certificate registration event (YYYY-MM-DD)"
          }
        },
        "required": [
          "domain",
          "score"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `provider_usage` (provider usage).
* Estimated Deepline credits: `2.1` per pricing unit.

## Related documentation

* [DiscoLike provider guide](https://deepline.com/docs/providers/discolike/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.