> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pubrio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 公司新闻检索

> 搜索与符合指定条件（如分类、地点和关键词）的公司相关的新闻文章。



## OpenAPI

````yaml cn-openapi POST /companies/news/search
openapi: 3.0.0
info:
  description: >-
    Pubrio API 提供市场扩张情报——实时捕捉企业进入新市场的信号，以及其底层的公司与人员数据。可搜索、查找并丰富账户与联系人信息，并订阅覆盖
    200+ 市场、带类型与日期的动向信号。
  version: 1.0.0
  title: Pubrio OpenAPI
  termsOfService: https://pubrio.com/zh-CN/terms-of-service
  contact:
    email: king.lai@pubrio.com
    name: King Lai
    url: https://pubrio.com/zh-CN/get-in-touch
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://api.pubrio.com
security:
  - pubrio_api_key: []
tags:
  - name: Profile
    description: 工作区配置信息和使用统计
  - name: Enrichment
    description: 通过详细的 B2B 数据丰富人员和公司记录
  - name: Lookalike
    description: 查找与指定公司相似的公司
  - name: Search
    description: 使用筛选条件搜索人员、公司、职位、新闻和广告
  - name: Lookup
    description: 查找特定人员、公司、职位、新闻、广告和技术的详细信息
  - name: LinkedIn
    description: 通过 LinkedIn 个人资料 URL 查找人员和公司数据
  - name: Redeem
    description: 兑换积分以解锁人员联系方式（单个和批量）
  - name: Channels
    description: 管理外展渠道模板（创建、更新、删除、列表）
  - name: Monitor
    description: 创建和管理数据监控，包括 Webhook、统计和处理
  - name: Filters
    description: 获取搜索参数的可用筛选值（技术、地点、垂直领域等）
  - name: API Keys
    description: 查看 API 密钥的请求日志和使用情况分析
  - name: Insights
    description: 公司的信号聚合洞察(招聘、新闻、广告)。
  - name: Export
    description: 批量数据导出(消耗积分)。
  - name: Expansion
    description: 公司市场扩张情报:信号、阶段、市场与导出。
externalDocs:
  description: Pubrio API 用于搜索、预览和增强联系人及账户信息。Pubrio 数据库提供丰富的 B2B 联系人和销售情报数据。
  url: https://docs.pubrio.com
paths:
  /companies/news/search:
    post:
      tags:
        - Search
      summary: 搜索公司新闻
      description: 搜索与符合指定条件（如分类、地点和关键词）的公司相关的新闻文章。
      operationId: companies_search_news
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                locations:
                  $ref: '#/components/schemas/locations'
                company_locations:
                  $ref: '#/components/schemas/company_locations'
                companies:
                  $ref: '#/components/schemas/companies'
                domains:
                  $ref: '#/components/schemas/domains'
                linkedin_urls:
                  $ref: '#/components/schemas/company_linkedin_urls'
                search_term:
                  $ref: '#/components/schemas/search_term'
                search_terms:
                  type: array
                  items:
                    type: string
                  example:
                    - Trump
                  description: >-
                    用于过滤新闻文章的关键词字符串数组。每个词与文章内容进行匹配。使用 `search_term` 传入单个字符串，或使用
                    `search_terms` 传入多个关键词。
                categories:
                  $ref: '#/components/schemas/news_categories'
                news_gallery_ids:
                  $ref: '#/components/schemas/news_gallery_ids'
                published_dates:
                  $ref: '#/components/schemas/published_dates'
                per_page:
                  $ref: '#/components/schemas/per_page'
                page:
                  $ref: '#/components/schemas/page'
                news_galleries:
                  type: array
                  items:
                    type: string
                  example:
                    - electronic-commerce
                  description: >-
                    用于按画廊过滤新闻的 `画廊 slug` 列表。要查找 slug，请调用过滤器选项卡下的 `news
                    galleries` 端点。
                news_languages:
                  type: array
                  items:
                    type: string
                  example:
                    - en
                  description: >-
                    用于按语言过滤新闻的 `locale_code` 值列表。要查找可用代码，请调用过滤器选项卡下的 `news
                    languages` 端点。
                profile_id:
                  $ref: '#/components/schemas/profile_id'
                is_expansion_signal_available:
                  $ref: '#/components/schemas/is_expansion_signal_available'
                expansion_signal_types:
                  $ref: '#/components/schemas/expansion_signal_types'
                expansion_signal_polarities:
                  $ref: '#/components/schemas/expansion_signal_polarities'
      responses:
        '200':
          description: 包含相关详细信息的成功响应。
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/data'
              example:
                data:
                  pagination:
                    page: 1
                    per_page: 25
                    total_entries: 351800
                    total_pages: 14072
                    is_timeout: false
                  news:
                    - news_id: 0b0f1c53-7a04-4a46-b5bc-3b17a7c4cfbd
                      news_search_id: 4110b929-17cd-42aa-a159-906ead0c9b56
                      country_codes:
                        - CN
                        - SG
                      company_country_codes:
                        - CN
                        - FR
                      domains:
                        - insead.edu
                        - digitalchina.com
                      companies:
                        - logo_url: >-
                            https://buckets.pubrio.com/company-logo/MjY5OTY5NDJpbnNlYWQuZWR1bGlua2VkaW5fcF9sb2dvMTU=.jpg
                          domain_search_id: dfbe6797-5311-46f9-9518-bf1a7c3d09bc
                          country_code: FR
                          company_name: Insead
                          linkedin_name: insead
                          domain: insead.edu
                        - logo_url: >-
                            https://buckets.pubrio.com/company-logo/NDA2NTQ5NTFkaWdpdGFsY2hpbmEuY29tbGlua2VkaW5fcF9sb2dvMTU=.jpg
                          domain_search_id: e13a9e24-a07d-4630-9b47-fceb778df74e
                          country_code: CN
                          company_name: Digital China
                          linkedin_name: digital-china
                          domain: digitalchina.com
                      news_galleries:
                        - slug: banking-financial-service
                          news_gallery_id: 7c8ec9cc-66c5-4153-82da-9c8f356c6c99
                          name: Banking/Financial Service
                      locations:
                        - Singapore
                        - China
                      expansion_signals:
                        - signal_type_slug: HIRE
                          signal_subtype_slug: null
                          signal_strength_slug: confirmed
                          polarity: expansion
                          country_code: SG
                          domain_search_id: bca54309-b804-48ac-b4f7-ff4d3796570c
                          event_date: '2025-06-01T08:00:00.000Z'
                      last_modified: '2025-06-01T08:15:23.945Z'
                      image_url: null
                      url: http://enold.prnasia.com/p/asia-story-125304015-0.shtml
                      published_at: '2025-06-01T08:00:00.000Z'
                      language: id
                      source: prnasia.com
                      category: launches
                      title: >-
                        Digital China's AI-driven transformation showcased at
                        INSEAD
                      summary: >-
                        Guo Wei, Chairman of Digital China, presented on AI-era
                        corporate management at INSEAD 2025 Asia AI Conference,
                        launching a case study on Digital China's AI
                        transformation journey.
                      news_category_name: Launches
                    - ...
        '400':
          $ref: '#/components/responses/general_error'
        '429':
          $ref: '#/components/responses/rate_limit_error'
        '500':
          $ref: '#/components/responses/server_error'
components:
  schemas:
    locations:
      type: array
      items:
        type: string
      example:
        - US
        - SG
        - CN
      description: ISO 3166-1 alpha-2（cca2）用于筛选地区。更多信息请参见筛选器标签下的 `location` 端点。
    company_locations:
      type: array
      items:
        type: string
      example:
        - US
        - SG
        - CN
      description: 公司总部所在地。更多信息请参见筛选器标签下的 `location` 端点。
    companies:
      type: array
      items:
        type: string
        format: uuid
      description: 用于公司和人员检索操作的一组唯一标识符（domain_search_id）列表。
    domains:
      type: array
      items:
        type: string
      example:
        - pubrio.com
      description: >-
        用于公司和人员检索操作的公司域名列表。如果收到的地址为 `www.pubrio.com` 或
        `https://docs.pubrio.com/`，系统会自动转换为 `pubrio.com` 进行处理。
    company_linkedin_urls:
      type: array
      items:
        type: string
      example:
        - https://www.linkedin.com/company/pubrio
      description: LinkedIn 公司主页的完整 URL。URL 需以 `http` 开头且包含 `linkedin.com/company/`。
    search_term:
      type: string
      example: pubrio
      description: 用于筛选结果的关键词字符串。
    news_categories:
      type: array
      items:
        type: string
      example:
        - launches
      description: '`category slugs` 列表，用于搜索特定新闻类别。要获取 slug，请调用筛选器标签下的 `news categories` 端点。'
    news_gallery_ids:
      type: array
      items:
        type: string
        format: uuid
      description: '`news_gallery_id` 列表，用于搜索特定新闻库。要获取ID，请调用筛选器标签下的 `news galleries` 端点。'
    published_dates:
      type: array
      items:
        type: string
      example:
        - '2025-01-01'
        - '2025-01-10'
      description: 发布时间的时间范围。最大值为当天。
    per_page:
      type: integer
      example: 25
      description: 每页应返回的搜索结果数量。限制每页结果数量可提升接口性能。
    page:
      type: integer
      example: 1
      description: 要检索的数据页码。
    profile_id:
      type: integer
      description: >-
        可选。发起请求的团队标识符。由于 API 密钥已包含您的工作区信息，此参数不再是必填项。如果提供，该 ID
        有助于将查找与特定团队（工作区）关联，实现数据检索和额度追踪。


        更多信息请参见团队标签下的 `user details` 端点。
    is_expansion_signal_available:
      type: boolean
      description: >-
        When `true`, attaches the resolved expansion signals
        (`expansion_signals`) to each news item and enables the
        `expansion_signal_types` / `expansion_signal_polarities` filters. Leave
        unset for the fastest search — the expansion join is only added when
        this flag is on.
    expansion_signal_types:
      type: array
      items:
        type: string
        enum:
          - AD
          - EVENT
          - NEWS
          - DNS
          - TECH
          - INFRA
          - IP
          - PARTNER
          - EVENT_PLUS
          - REG
          - ENTITY
          - EXEC
          - OFFICE
          - HIRE
          - SCALE
          - PRODUCT
      example:
        - HIRE
        - PARTNER
      description: >-
        Return only news that produced an expansion signal of one of these types
        (uppercase slugs). Requires `is_expansion_signal_available: true`.
        Unknown slugs are ignored.
    expansion_signal_polarities:
      type: array
      items:
        type: string
        enum:
          - expansion
          - contraction_leading
          - contraction_confirming
          - contraction_lagging
      example:
        - expansion
      description: >-
        Return only news whose expansion signal carries one of these polarities.
        Requires `is_expansion_signal_available: true`. Combined with
        `expansion_signal_types` as AND.
    data:
      type: object
      nullable: true
      description: 响应信息取决于具体接口。
  responses:
    general_error:
      description: 请求错误。请求格式不正确或包含无效参数。请检查错误代码和消息以获取详细信息。
      content:
        application/json:
          schema:
            required:
              - code
              - message
              - details
            type: object
            properties:
              code:
                example: 40001
                type: integer
              message:
                example: 错误及代码会根据不同场景有所不同，详情请参阅文档。
                type: string
              details:
                type: object
    rate_limit_error:
      description: 超出速率限制。在给定时间段内发送了过多请求。请在速率限制窗口重置后重试。
      content:
        application/json:
          schema:
            required:
              - error
            type: object
            properties:
              error:
                example: 请求频率超出限制。请稍后再试。
                type: string
    server_error:
      description: 内部服务器错误。服务器发生意外错误。如果错误持续存在，请联系支持团队。
      content:
        application/json:
          schema:
            required:
              - error
            type: object
            properties:
              error:
                example: 服务器在处理请求时遇到了未预料的异常。
                type: string
  securitySchemes:
    pubrio_api_key:
      type: apiKey
      name: pubrio-api-key
      description: >-
        一个唯一的 API 令牌，用于标识您通过 API 执行的操作以及相应的权限和操作。您可以在
        [设置](https://dashboard.pubrio.com/#/settings/) 部分创建该令牌。
      in: header

````