HG Insights Mentions API

Company mentions time series data.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /data-api/v2/companies/mentions/time-series Mentions time series #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hg-insights:hg-insights-mentions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hg-insights-mentions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  license:
    name: HG Insights terms of service
    url: https://hginsights.com/contact-hg/terms-of-service
  title: HG Insights Mentions API
  version: ''
  description: Company mentions time series data.
servers:
- url: https://api.hginsights.com
  variables: {}
security:
- authorization: []
tags:
- description: Company mentions time series data.
  name: Mentions
paths:
  /data-api/v2/companies/mentions/time-series:
    post:
      callbacks: {}
      description: Single-company mentions time series.
      operationId: v2_mentions_time_series
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MentionsTimeSeriesRequest'
        description: Mentions time series parameters
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MentionsTimeSeriesResponse'
          description: Mentions time series results
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonErrorResponse'
          description: Unprocessable Entity
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableResponse'
          description: Service Unavailable
      summary: Mentions time series
      tags:
      - Mentions
components:
  schemas:
    TimeSeriesRange:
      additionalProperties: false
      properties:
        end_date:
          format: date
          type: string
          x-struct: null
          x-validate: null
        relative_range:
          default: last_24m
          enum:
          - last_6m
          - last_12m
          - last_24m
          - last_36m
          type: string
          x-struct: null
          x-validate: null
        start_date:
          format: date
          type: string
          x-struct: null
          x-validate: null
      title: TimeSeriesRange
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.TimeSeriesRange
      x-validate: Elixir.TalariaWeb.Schemas.V2.TimeSeriesRange
    HexId:
      description: Hexadecimal identifier (unsigned 128-bit base 16 integer)
      example: 1698C53EBC888758570396E0334965C1
      title: HexId
      type: string
      x-struct: Elixir.TalariaWeb.Schemas.V2.Id
      x-validate: Elixir.TalariaWeb.Schemas.V2.Id
    ServiceUnavailableResponse:
      properties:
        errors:
          items:
            properties:
              detail:
                example: Unable to verify credit availability. Please try again later. If the error persists, contact customersupport@hginsights.com.
                type: string
                x-struct: null
                x-validate: null
              source:
                type:
                - string
                - 'null'
                x-struct: null
                x-validate: null
              title:
                example: Service unavailable
                type: string
                x-struct: null
                x-validate: null
            required:
            - title
            - detail
            type: object
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      title: ServiceUnavailableResponse
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Error.ServiceUnavailableResponse
      x-validate: null
    MentionsTimeSeriesResponse:
      example:
        company:
          id: E48EDEB162A5FBFDAF2DCF707079F8F
          name: Walmart Inc.
        mentions:
        - current_intensity: 72
          data_points:
          - date: 2024-01
            intensity: 45
          - date: 2024-02
            intensity: null
          - date: 2024-03
            intensity: 51
          - date: 2024-04
            intensity: 72
          is_active: true
          mention_category_name: Container Orchestration
          mention_id: 100
          mention_name: Kubernetes
        time_range:
          end: 2025-07
          start: 2023-07
      properties:
        company:
          type: object
          x-struct: null
          x-validate: null
        mentions:
          items:
            $ref: '#/components/schemas/MentionsTimeSeriesMention'
          type: array
          x-struct: null
          x-validate: null
        time_range:
          type: object
          x-struct: null
          x-validate: null
      title: MentionsTimeSeriesResponse
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Mentions.TimeSeries.Response
      x-validate: null
    MentionsTimeSeriesDataPoint:
      example:
        date: 2024-01
        intensity: 72
      properties:
        date:
          description: YYYY-MM
          type: string
          x-struct: null
          x-validate: null
        intensity:
          type:
          - integer
          - 'null'
          x-struct: null
          x-validate: null
      title: MentionsTimeSeriesDataPoint
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Mentions.TimeSeries.DataPoint
      x-validate: null
    JsonErrorResponse:
      properties:
        errors:
          items:
            properties:
              detail:
                example: null value where string expected
                type: string
                x-struct: null
                x-validate: null
              source:
                properties:
                  pointer:
                    example: /data/attributes/petName
                    type: string
                    x-struct: null
                    x-validate: null
                required:
                - pointer
                type: object
                x-struct: null
                x-validate: null
              title:
                example: Invalid value
                type: string
                x-struct: null
                x-validate: null
            required:
            - title
            - source
            - detail
            type: object
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      required:
      - errors
      title: JsonErrorResponse
      type: object
      x-struct: Elixir.OpenApiSpex.JsonErrorResponse
      x-validate: null
    NotFoundResponse:
      properties:
        errors:
          items:
            properties:
              detail:
                type: 'null'
                x-struct: null
                x-validate: null
              source:
                type: 'null'
                x-struct: null
                x-validate: null
              title:
                example: Not Found
                type: string
                x-struct: null
                x-validate: null
            required:
            - title
            - detail
            type: object
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      title: NotFoundResponse
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Error.NotFoundResponse
      x-validate: null
    MentionsTimeSeriesMention:
      example:
        current_intensity: 72
        data_points:
        - date: 2024-01
          intensity: 45
        - date: 2024-02
          intensity: null
        - date: 2024-03
          intensity: 51
        - date: 2024-04
          intensity: 72
        is_active: true
        mention_category_name: Container Orchestration
        mention_id: 100
        mention_name: Kubernetes
      properties:
        country_code:
          description: ISO 3166-1 alpha-2 country code. Populated when granularity is "country", null when "global".
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        current_intensity:
          type: integer
          x-struct: null
          x-validate: null
        data_points:
          items:
            $ref: '#/components/schemas/MentionsTimeSeriesDataPoint'
          type: array
          x-struct: null
          x-validate: null
        is_active:
          type: boolean
          x-struct: null
          x-validate: null
        mention_category_name:
          type: string
          x-struct: null
          x-validate: null
        mention_id:
          type: integer
          x-struct: null
          x-validate: null
        mention_name:
          type: string
          x-struct: null
          x-validate: null
      title: MentionsTimeSeriesMention
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Mentions.TimeSeries.MentionResult
      x-validate: null
    MentionsTimeSeriesRequest:
      additionalProperties: false
      description: Single-company mentions time series. Returns monthly intensity per mention with dense arrays for charting.
      example:
        company:
          domain: walmart.com
        filters:
          mentions:
            ids:
            - 100
        max_mentions: 20
        time_range:
          relative_range: last_24m
      properties:
        company:
          $ref: '#/components/schemas/CompanyFilter'
        filters:
          $ref: '#/components/schemas/MentionsTimeSeriesFilters'
        max_mentions:
          default: 20
          maximum: 50
          minimum: 1
          type: integer
          x-struct: null
          x-validate: null
        time_range:
          $ref: '#/components/schemas/TimeSeriesRange'
      required:
      - company
      title: MentionsTimeSeriesRequest
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Mentions.TimeSeries.Request
      x-validate: null
    UnauthorizedResponse:
      properties:
        errors:
          items:
            properties:
              detail:
                example: The api key provided is not valid
                type: string
                x-struct: null
                x-validate: null
              source:
                type:
                - string
                - 'null'
                x-struct: null
                x-validate: null
              title:
                example: Unauthorized
                type: string
                x-struct: null
                x-validate: null
            required:
            - title
            - detail
            type: object
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      title: UnauthorizedResponse
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Error.UnauthorizedResponse
      x-validate: null
    MentionsTimeSeriesFilters:
      additionalProperties: false
      example:
        mentions:
          ids:
          - 100
      properties:
        categories:
          additionalProperties: false
          properties:
            ids:
              items:
                type: string
                x-struct: null
                x-validate: null
              type: array
              x-struct: null
              x-validate: null
          type: object
          x-struct: null
          x-validate: null
        country:
          additionalProperties: false
          properties:
            codes:
              description: ISO 3166-1 alpha-2 country codes to filter by
              items:
                maxLength: 2
                minLength: 2
                type: string
                x-struct: null
                x-validate: null
              type: array
              x-struct: null
              x-validate: null
          type: object
          x-struct: null
          x-validate: null
        granularity:
          description: Controls the shape of returned mentions. "country" returns one entry per mention per country with `country_code` populated. "global" returns deduplicated entries per mention with `country_code` null. Defaults to "global".
          enum:
          - global
          - country
          type: string
          x-struct: null
          x-validate: null
        mentions:
          additionalProperties: false
          properties:
            ids:
              items:
                type: integer
                x-struct: null
                x-validate: null
              type: array
              x-struct: null
              x-validate: null
          type: object
          x-struct: null
          x-validate: null
      title: MentionsTimeSeriesFilters
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Mentions.TimeSeries.Filters
      x-validate: null
    CompanyFilter:
      additionalProperties: false
      description: Company identifier. Provide exactly one of `id` or `domain`.
      example:
        domain: microsoft.com
      properties:
        domain:
          description: Company domain
          example: microsoft.com
          type: string
          x-struct: null
          x-validate: null
        id:
          $ref: '#/components/schemas/HexId'
      title: CompanyFilter
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.CompanyFilter
      x-validate: Elixir.TalariaWeb.Schemas.V2.CompanyFilter
  securitySchemes:
    authorization:
      bearerFormat: API_KEY
      scheme: bearer
      type: http