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

# Particle: Get Sponsor Co Occurrence

> Get pairs of podcast sponsors that frequently advertise in the same episodes. filter by sponsor_id or company_id (resolve company slugs first).

Get pairs of podcast sponsors that frequently advertise in the same episodes. filter by sponsor\_id or company\_id (resolve company slugs first).

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

## 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(
  'particle_get_sponsor_co_occurrence',
  {
    "limit": 25,
    "cursor": "cursor_123",
    "sponsor_id": "sponsor_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute particle_get_sponsor_co_occurrence --input '{
  "limit": 25,
  "cursor": "cursor_123",
  "sponsor_id": "sponsor_123"
}' --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": {
    "data": [
      {
        "shared_episodes": 123,
        "sponsor_a": {
          "id": "id_123",
          "name": "Example"
        },
        "sponsor_b": {
          "id": "id_123",
          "name": "Example"
        }
      }
    ],
    "has_more": true
  }
}
```

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

## Input reference

Returns pairs of sponsors that frequently appear together in the same podcast episodes.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.limit` | `integer` | No | `25` | Results per page Format: `int64`. Minimum: 1. Maximum: 100. |
| `payload.cursor` | `string` | No | — | Opaque pagination cursor from previous response |
| `payload.sponsor_id` | `string` | No | — | Filter to pairs involving this sponsor ID |
| `payload.company_id` | `string` | No | — | Filter by company ID, domain, or entity slug |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns pairs of sponsors that frequently appear together in the same podcast episodes.",
    "properties": {
      "limit": {
        "type": "integer",
        "description": "Results per page",
        "default": 25,
        "minimum": 1,
        "maximum": 100,
        "format": "int64"
      },
      "cursor": {
        "type": "string",
        "description": "Opaque pagination cursor from previous response"
      },
      "sponsor_id": {
        "type": "string",
        "description": "Filter to pairs involving this sponsor ID"
      },
      "company_id": {
        "type": "string",
        "description": "Filter by company ID, domain, or entity slug"
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.cursor` | `string` | No | — | Pass to next request for more results |
| `result.data.data` | `array` | Yes | — | List of results |
| `result.data.data[].shared_episodes` | `integer` | Yes | — | Number of episodes where both sponsors appear Format: `int64`. |
| `result.data.data[].sponsor_a` | `object` | Yes | — | — |
| `result.data.data[].sponsor_a.company` | `object` | No | — | — |
| `result.data.data[].sponsor_a.company.description` | `string` | No | — | Short company description, when known. |
| `result.data.data[].sponsor_a.company.domain` | `string` | No | — | Primary website domain (e.g. 'nvidia.com'), when known. |
| `result.data.data[].sponsor_a.company.id` | `string` | Yes | — | Company identifier (domain, slug, or encoded ID) |
| `result.data.data[].sponsor_a.company.image_url` | `string` | No | — | Company logo or image URL |
| `result.data.data[].sponsor_a.company.name` | `string` | Yes | — | Company name |
| `result.data.data[].sponsor_a.company.slug` | `string` | No | — | Stable human-readable handle (the linked knowledge-graph slug, e.g. 'nvidia'), when known. Companies have no slug of their own. prefer this for display and pass it (or id) to /v1/companies. |
| `result.data.data[].sponsor_a.company.ticker` | `string` | No | — | Primary stock ticker symbol, when listed. |
| `result.data.data[].sponsor_a.id` | `string` | Yes | — | Unique identifier |
| `result.data.data[].sponsor_a.name` | `string` | Yes | — | Sponsor name |
| `result.data.data[].sponsor_b` | `object` | Yes | — | — |
| `result.data.data[].sponsor_b.company` | `object` | No | — | — |
| `result.data.data[].sponsor_b.company.description` | `string` | No | — | Short company description, when known. |
| `result.data.data[].sponsor_b.company.domain` | `string` | No | — | Primary website domain (e.g. 'nvidia.com'), when known. |
| `result.data.data[].sponsor_b.company.id` | `string` | Yes | — | Company identifier (domain, slug, or encoded ID) |
| `result.data.data[].sponsor_b.company.image_url` | `string` | No | — | Company logo or image URL |
| `result.data.data[].sponsor_b.company.name` | `string` | Yes | — | Company name |
| `result.data.data[].sponsor_b.company.slug` | `string` | No | — | Stable human-readable handle (the linked knowledge-graph slug, e.g. 'nvidia'), when known. Companies have no slug of their own. prefer this for display and pass it (or id) to /v1/companies. |
| `result.data.data[].sponsor_b.company.ticker` | `string` | No | — | Primary stock ticker symbol, when listed. |
| `result.data.data[].sponsor_b.id` | `string` | Yes | — | Unique identifier |
| `result.data.data[].sponsor_b.name` | `string` | Yes | — | Sponsor name |
| `result.data.has_more` | `boolean` | Yes | — | Whether more results exist |
| `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": "Provider response payload.",
        "properties": {
          "cursor": {
            "type": "string",
            "description": "Pass to next request for more results"
          },
          "data": {
            "type": "array",
            "description": "List of results",
            "items": {
              "type": "object",
              "properties": {
                "shared_episodes": {
                  "type": "integer",
                  "description": "Number of episodes where both sponsors appear",
                  "format": "int64"
                },
                "sponsor_a": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string",
                          "description": "Short company description, when known."
                        },
                        "domain": {
                          "type": "string",
                          "description": "Primary website domain (e.g. 'nvidia.com'), when known."
                        },
                        "id": {
                          "type": "string",
                          "description": "Company identifier (domain, slug, or encoded ID)"
                        },
                        "image_url": {
                          "type": "string",
                          "description": "Company logo or image URL"
                        },
                        "name": {
                          "type": "string",
                          "description": "Company name"
                        },
                        "slug": {
                          "type": "string",
                          "description": "Stable human-readable handle (the linked knowledge-graph slug, e.g. 'nvidia'), when known. Companies have no slug of their own; prefer this for display and pass it (or id) to /v1/companies."
                        },
                        "ticker": {
                          "type": "string",
                          "description": "Primary stock ticker symbol, when listed."
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "id": {
                      "type": "string",
                      "description": "Unique identifier"
                    },
                    "name": {
                      "type": "string",
                      "description": "Sponsor name"
                    }
                  },
                  "required": [
                    "id",
                    "name"
                  ],
                  "additionalProperties": false
                },
                "sponsor_b": {
                  "type": "object",
                  "properties": {
                    "company": {
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string",
                          "description": "Short company description, when known."
                        },
                        "domain": {
                          "type": "string",
                          "description": "Primary website domain (e.g. 'nvidia.com'), when known."
                        },
                        "id": {
                          "type": "string",
                          "description": "Company identifier (domain, slug, or encoded ID)"
                        },
                        "image_url": {
                          "type": "string",
                          "description": "Company logo or image URL"
                        },
                        "name": {
                          "type": "string",
                          "description": "Company name"
                        },
                        "slug": {
                          "type": "string",
                          "description": "Stable human-readable handle (the linked knowledge-graph slug, e.g. 'nvidia'), when known. Companies have no slug of their own; prefer this for display and pass it (or id) to /v1/companies."
                        },
                        "ticker": {
                          "type": "string",
                          "description": "Primary stock ticker symbol, when listed."
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "id": {
                      "type": "string",
                      "description": "Unique identifier"
                    },
                    "name": {
                      "type": "string",
                      "description": "Sponsor name"
                    }
                  },
                  "required": [
                    "id",
                    "name"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "sponsor_a",
                "sponsor_b",
                "shared_episodes"
              ],
              "additionalProperties": false
            }
          },
          "has_more": {
            "type": "boolean",
            "description": "Whether more results exist"
          }
        },
        "required": [
          "data",
          "has_more"
        ],
        "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

* [Particle provider guide](https://deepline.com/docs/providers/particle/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.