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

# ZoomInfo: Enrich News

> Get recent news articles about a company from its ID, name or website. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Get recent news articles about a company from its ID, name or website.

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

## 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(
  'zoominfo_enrich_news',
  {
    "data": {
      "type": "NewsEnrich",
      "attributes": {
        "companyId": 123,
        "categories": [
          "example"
        ],
        "url": [
          "https://example.com"
        ]
      }
    }
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoominfo_enrich_news --input '{
  "data": {
    "type": "NewsEnrich",
    "attributes": {
      "companyId": 123,
      "categories": [
        "example"
      ],
      "url": [
        "https://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": {
    "data": [
      {
        "id": "id_123",
        "type": "News",
        "attributes": {
          "domain": "example.com",
          "title": "VP of Engineering",
          "url": "https://example.com"
        }
      }
    ]
  }
}
```

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

## Input reference

News enrich request.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.page` | `object` | No | — | Page number for the results. |
| `payload.data` | `object` | Yes | — | News enrich request resource. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "News enrich request.",
    "properties": {
      "page": {
        "type": "object",
        "description": "Page number for the results.",
        "properties": {
          "number": {
            "type": "integer",
            "description": "Page number for the results.",
            "minimum": 1,
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "description": "Number of records to return per page. Default is 25.",
            "minimum": 1,
            "maximum": 100,
            "format": "int32"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "data": {
        "type": "object",
        "description": "News enrich request resource.",
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of the resource",
            "default": "NewsEnrich",
            "pattern": "NewsEnrich"
          },
          "attributes": {
            "type": "object",
            "description": "Request attributes for news enrich.",
            "properties": {
              "companyId": {
                "type": "integer",
                "description": "Unique ZoomInfo identifier for the company.",
                "format": "int64"
              },
              "categories": {
                "type": "array",
                "description": "Category of news articles. Accepts an Array of String. See the 'News Categories' lookup endpoint for values.",
                "items": {
                  "type": "string"
                }
              },
              "url": {
                "type": "array",
                "description": "News URL strings. Accepts an Array of String. Minimum of 5 characters per input",
                "items": {
                  "type": "string"
                }
              },
              "pageDateMin": {
                "type": "string",
                "description": "Specify the earliest publishing date for news articles returned. Uses YYYY-MM-DD format (e.g., 2020-01-01 will return all news articles published on or after Jan 1, 2020).",
                "format": "date"
              },
              "pageDateMax": {
                "type": "string",
                "description": "Specify the latest publishing date for news articles articles. Uses YYYY-MM-DD format (e.g., 2020-01-31 will return all new articles published on or before Jan 31, 2020).",
                "format": "date"
              },
              "companyName": {
                "type": "string",
                "description": "Company name used to identify the company."
              },
              "companyWebsite": {
                "type": "string",
                "description": "Company website used to identify the company."
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "type",
          "attributes"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | A list of News that match the criteria specified in the request |
| `result.data.data` | `array` | Yes | — | The primary data of the document |
| `result.data.data[].id` | `string` | Yes | — | The unique identifier for the resource |
| `result.data.data[].type` | `string` | Yes | `"News"` | The type of the resource Pattern: `News`. |
| `result.data.data[].attributes` | `object` | Yes | — | Attributes of a single news result. |
| `result.data.data[].attributes.domain` | `string` | No | — | Domain name of the news source. |
| `result.data.data[].attributes.title` | `string` | No | — | Title of the news article. |
| `result.data.data[].attributes.url` | `string` | No | — | Full URL of the article. |
| `result.data.data[].attributes.imageUrl` | `string` | No | — | URL of the article image. |
| `result.data.data[].attributes.pageDate` | `string` | No | — | Publish date of the article. Format: `date-time`. |
| `result.data.data[].attributes.categories` | `array` | No | — | Categories assigned to the article. |
| `result.data.data[].attributes.description` | `string` | No | — | Summary or body of the article. |
| `result.data.data[].attributes.company` | `array` | No | — | Companies mentioned in the article. |
| `result.data.data[].attributes.company[].id` | `integer` | Yes | — | Unique ZoomInfo identifier for the company. Format: `int64`. |
| `result.data.data[].attributes.company[].name` | `string` | Yes | — | Company name. |
| `result.data.meta` | `object` | No | — | Metadata including paging information and the total number of records in the result set |
| `result.data.meta.totalResults` | `integer` | Yes | — | The total number of results based on the specified filters Format: `uint32`. |
| `result.data.meta.page` | `object` | Yes | — | Meta information related to the current page and total number of pages |
| `result.data.meta.page.total` | `integer` | Yes | — | The total number of pages within the current result set Format: `uint32`. |
| `result.data.meta.page.number` | `integer` | Yes | — | The current page number of the results Format: `uint32`. |
| `result.data.links` | `object` | No | — | Helpful links for fetching different pages of data from the current result set. When using these links, please provide the exact same request body between requests |
| `result.data.links.first` | `string` | No | — | A link to the first page of data Format: `uri`. |
| `result.data.links.last` | `string` | No | — | A link to the last page of data Format: `uri`. |
| `result.data.links.prev` | `string` | No | — | A link to the previous page of data Format: `uri`. |
| `result.data.links.next` | `string` | No | — | A link to the next page of data Format: `uri`. |
| `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": "A list of News that match the criteria specified in the request",
        "properties": {
          "data": {
            "type": "array",
            "description": "The primary data of the document",
            "items": {
              "type": "object",
              "description": "News",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The unique identifier for the resource"
                },
                "type": {
                  "type": "string",
                  "description": "The type of the resource",
                  "default": "News",
                  "pattern": "News"
                },
                "attributes": {
                  "type": "object",
                  "description": "Attributes of a single news result.",
                  "properties": {
                    "domain": {
                      "type": "string",
                      "description": "Domain name of the news source."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title of the news article."
                    },
                    "url": {
                      "type": "string",
                      "description": "Full URL of the article."
                    },
                    "imageUrl": {
                      "type": "string",
                      "description": "URL of the article image."
                    },
                    "pageDate": {
                      "type": "string",
                      "description": "Publish date of the article.",
                      "format": "date-time"
                    },
                    "categories": {
                      "type": "array",
                      "description": "Categories assigned to the article.",
                      "items": {
                        "type": "string"
                      }
                    },
                    "description": {
                      "type": "string",
                      "description": "Summary or body of the article."
                    },
                    "company": {
                      "type": "array",
                      "description": "Companies mentioned in the article.",
                      "items": {
                        "type": "object",
                        "description": "Company related to the news article.",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "description": "Unique ZoomInfo identifier for the company.",
                            "format": "int64"
                          },
                          "name": {
                            "type": "string",
                            "description": "Company name."
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "type",
                "attributes"
              ],
              "additionalProperties": false
            }
          },
          "meta": {
            "type": "object",
            "description": "Metadata including paging information and the total number of records in the result set",
            "properties": {
              "totalResults": {
                "type": "integer",
                "description": "The total number of results based on the specified filters",
                "format": "uint32"
              },
              "page": {
                "type": "object",
                "description": "Meta information related to the current page and total number of pages",
                "properties": {
                  "total": {
                    "type": "integer",
                    "description": "The total number of pages within the current result set",
                    "format": "uint32"
                  },
                  "number": {
                    "type": "integer",
                    "description": "The current page number of the results",
                    "format": "uint32"
                  }
                },
                "required": [
                  "total",
                  "number"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "totalResults",
              "page"
            ],
            "additionalProperties": false
          },
          "links": {
            "type": "object",
            "description": "Helpful links for fetching different pages of data from the current result set. When using these links, please provide the exact same request body between requests",
            "properties": {
              "first": {
                "type": "string",
                "description": "A link to the first page of data",
                "format": "uri"
              },
              "last": {
                "type": "string",
                "description": "A link to the last page of data",
                "format": "uri"
              },
              "prev": {
                "type": "string",
                "description": "A link to the previous page of data",
                "format": "uri"
              },
              "next": {
                "type": "string",
                "description": "A link to the next page of data",
                "format": "uri"
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "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

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