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

# Meta audiences: List Pages

> List connected Facebook Pages and their read-only metadata for audience planning. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

List connected Facebook Pages and their read-only metadata for audience planning.

<Info>
  Tool ID: `meta_audiences_list_pages`
</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(
  'meta_audiences_list_pages',
  {},
);

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

### CLI

```bash theme={null}
deepline tools execute meta_audiences_list_pages --input '{}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "pages": [
      {
        "id": "id_123",
        "name": "Example",
        "link": "example",
        "category": "example",
        "fan_count": 1,
        "followers_count": 1
      }
    ]
  }
}
```

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

## Input reference

This action does not require input fields.

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {},
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name                                  | Type             | Required | Default | Details |
| ------------------------------------- | ---------------- | -------- | ------- | ------- |
| `result.data`                         | `object`         | Yes      | —       | —       |
| `result.data.pages`                   | `array`          | Yes      | —       | —       |
| `result.data.pages[].id`              | `string`         | Yes      | —       | —       |
| `result.data.pages[].name`            | `string`         | Yes      | —       | —       |
| `result.data.pages[].link`            | `string \| null` | Yes      | —       | —       |
| `result.data.pages[].category`        | `string \| null` | Yes      | —       | —       |
| `result.data.pages[].fan_count`       | `number \| null` | Yes      | —       | —       |
| `result.data.pages[].followers_count` | `number \| null` | Yes      | —       | —       |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "data": {
        "type": "object",
        "properties": {
          "pages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "link": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "category": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fan_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "followers_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "link",
                "category",
                "fan_count",
                "followers_count"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "pages"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.

## Related documentation

* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
