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

# Akta: Social Posts

> Retrieving company social posts, classifications, and engagement metrics. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Retrieving company social posts, classifications, and engagement metrics.

<Info>
  Tool ID: `akta_social_posts`
</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(
  'akta_social_posts',
  {
    "company": "Example Corp"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute akta_social_posts --input '{
  "company": "Example Corp"
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "data": {},
    "count": 123,
    "limit": 123
  }
}
```

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

## Input reference

Fetches social media posts published by a company, including content type, text, publish date, paid/repost flags, an AI classification, and detailed engagement metrics.

| Name              | Type      | Required | Default | Details                                                                                                     |
| ----------------- | --------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------- |
| `payload.company` | `string`  | Yes      | —       | Company website (e.g. 'canva.com') or a company UUID. The UUID can be obtained from the Company Search API. |
| `payload.limit`   | `integer` | No       | `10`    | Maximum number of posts to return.                                                                          |
| `payload.offset`  | `integer` | No       | `0`     | Number of posts to skip before returning records.                                                           |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Fetches social media posts published by a company, including content type, text, publish date, paid/repost flags, an AI classification, and detailed engagement metrics.",
    "properties": {
      "company": {
        "type": "string",
        "description": "Company website (e.g. 'canva.com') or a company UUID. The UUID can be obtained from the Company Search API."
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of posts to return.",
        "default": 10
      },
      "offset": {
        "type": "integer",
        "description": "Number of posts to skip before returning records.",
        "default": 0
      }
    },
    "required": [
      "company"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                 | Type      | Required | Default | Details                                        |
| -------------------- | --------- | -------- | ------- | ---------------------------------------------- |
| `result.data`        | `object`  | Yes      | —       | Provider response payload.                     |
| `result.data.data`   | `record`  | No       | —       | —                                              |
| `result.data.count`  | `integer` | No       | —       | —                                              |
| `result.data.limit`  | `integer` | No       | —       | —                                              |
| `result.data.offset` | `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": {
          "data": {
            "type": "object"
          },
          "count": {
            "type": "integer"
          },
          "limit": {
            "type": "integer"
          },
          "offset": {
            "type": "integer"
          }
        },
        "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: `0.03` per pricing unit.

## Related documentation

* [Akta provider guide](/docs/providers/akta/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)
