> ## 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.

# The Swarm: Theswarm Get Post Reactions

> Get reactions for a LinkedIn post URN. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Get reactions for a LinkedIn post URN.

<Info>
  Tool ID: `theswarm_get_post_reactions`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

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

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

### CLI

```bash theme={null}
deepline tools execute theswarm_get_post_reactions --input '{
  "urn": "example"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "results": [
      {
        "reaction_type": "example",
        "reactor": {
          "name": "Example",
          "headline": "example",
          "linkedin_num_id": 123
        }
      }
    ]
  }
}
```

Use `deepline tools get theswarm_get_post_reactions --json` for the latest machine-readable contract.

## Input reference

Fetch reactions on a LinkedIn post

| Name              | Type      | Required | Default | Details                                                                |
| ----------------- | --------- | -------- | ------- | ---------------------------------------------------------------------- |
| `payload.urn`     | `string`  | Yes      | —       | LinkedIn post URN                                                      |
| `payload.page`    | `integer` | No       | `1`     | Page number (1-indexed). Optional. Minimum: 1.                         |
| `payload.perPage` | `integer` | No       | `10`    | Number of items per page. Max 100. Optional. Minimum: 1. Maximum: 100. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Fetch reactions on a LinkedIn post",
    "properties": {
      "urn": {
        "type": "string",
        "description": "LinkedIn post URN"
      },
      "page": {
        "type": "integer",
        "description": "Page number (1-indexed). Optional.",
        "default": 1,
        "minimum": 1
      },
      "perPage": {
        "type": "integer",
        "description": "Number of items per page. Max 100. Optional.",
        "default": 10,
        "minimum": 1,
        "maximum": 100
      }
    },
    "required": [
      "urn"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                               | Type      | Required | Default | Details                                        |
| -------------------------------------------------- | --------- | -------- | ------- | ---------------------------------------------- |
| `result.data`                                      | `object`  | Yes      | —       | Provider response payload.                     |
| `result.data.results`                              | `array`   | Yes      | —       | —                                              |
| `result.data.results[].reaction_type`              | `string`  | No       | —       | —                                              |
| `result.data.results[].reactor`                    | `object`  | No       | —       | —                                              |
| `result.data.results[].reactor.name`               | `string`  | No       | —       | —                                              |
| `result.data.results[].reactor.headline`           | `string`  | No       | —       | —                                              |
| `result.data.results[].reactor.linkedin_num_id`    | `integer` | No       | —       | —                                              |
| `result.data.results[].reactor.linkedin_entity_id` | `string`  | No       | —       | —                                              |
| `result.data.results[].reactor.image`              | `string`  | No       | —       | —                                              |
| `result.data.results[].reactor.linkedin_id`        | `string`  | No       | —       | —                                              |
| `result.data.results[].reactor.linkedin_url`       | `string`  | No       | —       | —                                              |
| `result.data.pages`                                | `integer` | No       | —       | —                                              |
| `result.data.totalResults`                         | `integer` | No       | —       | —                                              |
| `result.meta`                                      | `object`  | No       | —       | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "reaction_type": {
                  "type": "string"
                },
                "reactor": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "headline": {
                      "type": "string"
                    },
                    "linkedin_num_id": {
                      "type": "integer"
                    },
                    "linkedin_entity_id": {
                      "type": "string"
                    },
                    "image": {
                      "type": "string"
                    },
                    "linkedin_id": {
                      "type": "string"
                    },
                    "linkedin_url": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            }
          },
          "pages": {
            "type": "integer"
          },
          "totalResults": {
            "type": "integer"
          }
        },
        "required": [
          "results"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [The Swarm provider guide](/docs/providers/theswarm/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
