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

# /google/news/topics

> Get the Google News feed for a topic section. Accepts a named section (WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH) or an opaque Google News topic id. Returns the section's articles with title, source, source domain, publish date, snippet and link.

**Price:** 10 credits



## OpenAPI

````yaml /openapi/news-publishing.json post /api/google/news/topics
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/google/news/topics:
    post:
      tags:
        - /google/news
      summary: /google/news/topics
      description: >-
        Get the Google News feed for a topic section. Accepts a named section
        (WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE,
        HEALTH) or an opaque Google News topic id. Returns the section's
        articles with title, source, source domain, publish date, snippet and
        link.


        **Price:** 10 credits
      operationId: __api_google_news_topics_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleNewsTopicsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GoogleNewsArticle'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GoogleNewsTopicsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        hl:
          type: string
          minLength: 2
          default: en-US
        gl:
          type: string
          minLength: 2
          default: US
        ceid:
          type: string
          minLength: 2
          default: US:en
        topic:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - topic
        - count
    GoogleNewsArticle:
      properties:
        '@type':
          type: string
          default: GoogleNewsArticle
        web_url:
          anyOf:
            - type: string
            - type: 'null'
        source:
          anyOf:
            - type: string
            - type: 'null'
        source_url:
          anyOf:
            - type: string
            - type: 'null'
        published_at:
          anyOf:
            - type: string
            - type: 'null'
        snippet:
          anyOf:
            - type: string
            - type: 'null'
        guid:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````