HG Insights Intent API

The Intent API from HG Insights, for intent.

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 2

POST /data-api/v2/intent/enrich/estimate Estimate Credits for Company Intent Signals #
POST /data-api/v2/intent/enrich Get Company Intent Signals #

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-intent-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-intent-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 Intent API
  version: ''
servers:
- url: https://api.hginsights.com
  variables: {}
security:
- authorization: []
tags:
- name: Intent
paths:
  /data-api/v2/intent/enrich/estimate:
    post:
      callbacks: {}
      description: 'Returns a credits estimate for an intent enrich request without consuming credits.

        Provides a breakdown by topics and activities.'
      operationId: intent_enrich_estimate
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntentRequest'
        description: Intent Estimate Request
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntentEstimateResponse'
          description: Intent Estimate Response
        '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: Estimate Credits for Company Intent Signals
      tags:
      - Intent
  /data-api/v2/intent/enrich:
    post:
      callbacks: {}
      description: 'Returns intent signals for a known company. Combines HG topic-based intent

        and TrustRadius buyer-intent activities. Provide the company by `id`

        (hex-encoded) or `domain`. All filters are optional.'
      operationId: intent_enrich
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntentRequest'
        description: Intent Request
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntentResponse'
          description: Intent Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
          description: Unauthorized
        '402':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentRequiredResponse'
          description: Payment Required
        '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: Get Company Intent Signals
      tags:
      - Intent
components:
  schemas:
    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
    IntentActivitiesSection:
      description: TrustRadius buyer intent activities with total count.
      properties:
        count:
          description: Total matching activities (before pagination)
          type: integer
          x-struct: null
          x-validate: null
        data:
          items:
            $ref: '#/components/schemas/IntentActivity'
          type: array
          x-struct: null
          x-validate: null
      required:
      - data
      - count
      title: IntentActivitiesSection
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.ActivitiesSection
      x-validate: null
    IntentActivity:
      description: A TrustRadius buyer intent activity.
      properties:
        activity_date:
          description: Activity date
          format: date
          type: string
          x-struct: null
          x-validate: null
        activity_label:
          description: Activity label
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        activity_type:
          description: Activity type
          type: string
          x-struct: null
          x-validate: null
        city_name:
          description: Visitor city name
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        country_name:
          description: Visitor country name
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        daily_views:
          description: Daily views
          type:
          - integer
          - 'null'
          x-struct: null
          x-validate: null
        intent_signal_url:
          description: Intent signal URL
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        products:
          description: Product names referenced by the activity
          items:
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
        state_name:
          description: Visitor state or province name
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        vendors:
          description: Vendor names referenced by the activity
          items:
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      title: IntentActivity
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.ActivityItem
      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
    IntentResponse:
      description: Intent signals for a single company, combining HG topics and TrustRadius activities.
      example:
        activities:
          count: 3
          data:
          - activity_date: '2025-06-10'
            activity_label: Compare CRMs
            activity_type: PAGE_VIEW
            daily_views: 3
            intent_signal_url: https://trustradius.com/x
            products:
            - Salesforce CRM
            vendors:
            - Salesforce
        company:
          domain: microsoft.com
          id: 1698C53EBC888758570396E0334965C1
          name: Microsoft
        summary:
          active_topics_count: 5
          high_signal_topics_count: 2
          latest_signal_date: '2025-06-15'
          sources:
            hg: 5
            trustradius: 3
          top_context_types:
            Displacement: 3
            Whitespace: 1
        topics:
          count: 5
          data:
          - buyers_journey_name: Evaluating
            context_dispositions:
            - POSITIVE
            context_type_names:
            - Displacement
            id: T1
            last_seen_at: '2025-06-15'
            name: Cloud Computing
            product_names:
            - EC2
            score: 90
            signal_level: HIGH
            source: hg
            trend: 1.2
            vendor_names:
            - AWS
      properties:
        activities:
          allOf:
          - $ref: '#/components/schemas/IntentActivitiesSection'
          type:
          - object
          - 'null'
          x-struct: null
          x-validate: null
        company:
          $ref: '#/components/schemas/IntentCompany'
        summary:
          allOf:
          - $ref: '#/components/schemas/IntentSummary'
          type:
          - object
          - 'null'
          x-struct: null
          x-validate: null
        topics:
          allOf:
          - $ref: '#/components/schemas/IntentTopicsSection'
          type:
          - object
          - 'null'
          x-struct: null
          x-validate: null
      required:
      - company
      title: IntentResponse
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.Response
      x-validate: null
    IntentTopicsFilters:
      additionalProperties: false
      description: Filters that apply only to the topics (HG intent signals) section.
      properties:
        buyers_journey_names:
          description: Filter by buyer's journey names (HG topics only)
          example:
          - Evaluating
          items:
            enum:
            - Evaluating
            - Researching
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
        context_type_names:
          description: Filter by context type names (HG topics only)
          example:
          - Displacement
          items:
            enum:
            - Displacement
            - Whitespace
            - Expansion
            - Complementary
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
        granularity:
          default: state
          description: Controls row grouping for topics. "global" = one row per topic, "region" = per topic x region, "country" = per topic x country, "state" = per topic x state (default, current behavior). At non-state levels, buyers_journey_names (array) is populated and buyers_journey_name is null. location_count replaces location_strength for non-state levels.
          enum:
          - global
          - region
          - country
          - state
          type: string
          x-struct: null
          x-validate: null
        signal_level:
          description: Filter by signal level (HG topics only)
          example:
          - HIGH
          items:
            enum:
            - HIGH
            - MEDIUM
            - LOW
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
        topic_ids:
          description: Filter by specific intent topic IDs
          example:
          - 1698C53EBC888758570396E0334965C1
          items:
            $ref: '#/components/schemas/HexId'
          type: array
          x-struct: null
          x-validate: null
      title: IntentTopicsFilters
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.TopicsFilters
      x-validate: null
    SignalDateFilter:
      additionalProperties: false
      description: Filter by signal date range (inclusive).
      example:
        max: '2026-12-31'
        min: '2023-01-01'
      properties:
        max:
          description: Only include signals on or before this date (inclusive), e.g. 2026-12-31
          format: date
          type: string
          x-struct: null
          x-validate: null
        min:
          description: Only include signals on or after this date (inclusive), e.g. 2023-01-01
          format: date
          type: string
          x-struct: null
          x-validate: null
      title: SignalDateFilter
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.SignalDateFilter
      x-validate: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.SignalDateFilter
    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
    IntentCompany:
      additionalProperties: false
      description: Resolved company information.
      properties:
        domain:
          description: Company domain
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        id:
          description: HG company ID (hex-encoded)
          example: 1698C53EBC888758570396E0334965C1
          type: string
          x-struct: null
          x-validate: null
        name:
          description: Company name
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
      title: IntentCompany
      type:
      - object
      - 'null'
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.Company
      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
    IntentFilters:
      additionalProperties: false
      description: Optional filters to narrow intent results.
      example:
        activities:
          product_category_ids:
          - 27B2ABE74F4C890C51B3552F493C59
        signal_date:
          max: '2026-12-31'
          min: '2023-01-01'
        topics:
          buyers_journey_names:
          - Evaluating
          context_type_names:
          - Displacement
          signal_level:
          - HIGH
        vendor_ids:
        - 311
      properties:
        activities:
          $ref: '#/components/schemas/IntentActivitiesFilters'
        product_ids:
          description: Filter by product IDs
          example:
          - 814
          - 805
          items:
            type: integer
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
        signal_date:
          $ref: '#/components/schemas/SignalDateFilter'
        topics:
          $ref: '#/components/schemas/IntentTopicsFilters'
        vendor_ids:
          description: Filter by vendor IDs
          example:
          - 311
          - 466
          items:
            type: integer
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      title: IntentFilters
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.Filters
      x-validate: null
    IntentTopic:
      description: An HG topic intent signal.
      properties:
        buyers_journey_name:
          description: Buyer's journey name
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        buyers_journey_names:
          description: Deduped buyer's journey names (populated when granularity is set, null otherwise)
          items:
            type: string
            x-struct: null
            x-validate: null
          type:
          - array
          - 'null'
          x-struct: null
          x-validate: null
        context_dispositions:
          description: Context dispositions
          items:
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
        context_type_names:
          description: Context type names
          items:
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
        country_name:
          description: Country name
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        id:
          description: Topic ID
          type: string
          x-struct: null
          x-validate: null
        last_seen_at:
          description: Last seen date
          format: date
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        location_count:
          description: Number of distinct locations with signal (populated at global/region/country granularity, null otherwise)
          type:
          - integer
          - 'null'
          x-struct: null
          x-validate: null
        location_strength:
          description: Location-based signal strength score
          type:
          - integer
          - 'null'
          x-struct: null
          x-validate: null
        name:
          description: Topic display name
          type: string
          x-struct: null
          x-validate: null
        product_names:
          description: Product names
          items:
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
        region_name:
          description: Geographic region name
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        score:
          description: Signal score
          type: number
          x-struct: null
          x-validate: null
        signal_level:
          description: Signal level (HIGH/MEDIUM/LOW)
          type: string
          x-struct: null
          x-validate: null
        source:
          description: Source of the signal
          enum:
          - hg
          type: string
          x-struct: null
          x-validate: null
        state_name:
          description: US state name
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        trend:
          description: Signal trend
          type:
          - number
          - 'null'
          x-struct: null
          x-validate: null
        vendor_names:
          description: Vendor names
          items:
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      title: IntentTopic
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.TopicItem
      x-validate: null
    PaymentRequiredResponse:
      properties:
        errors:
          items:
            properties:
              detail:
                example: Your organization has exhausted its available credits. Contact customersupport@hginsights.com.
                type: string
                x-struct: null
                x-validate: null
              source:
                type:
                - string
                - 'null'
                x-struct: null
                x-validate: null
              title:
                example: Credits exhausted
                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: PaymentRequiredResponse
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Error.PaymentRequiredResponse
      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
    IntentActivitiesFilters:
      additionalProperties: false
      description: Filters that apply only to the activities (TrustRadius buyer intent) section.
      properties:
        product_category_ids:
          description: Filter by product category IDs (TrustRadius activities only)
          example:
          - 27B2ABE74F4C890C51B3552F493C59
          items:
            $ref: '#/components/schemas/HexId'
          type: array
          x-struct: null
          x-validate: null
      title: IntentActivitiesFilters
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.ActivitiesFilters
      x-validate: null
    IntentSummary:
      description: Aggregate summary computed from the fetched signals.
      properties:
        active_topics_count:
          description: Number of HG topics with active signals
          type: integer
          x-struct: null
          x-validate: null
        high_signal_topics_count:
          description: Number of HG topics with HIGH signal level
          type: integer
          x-struct: null
          x-validate: null
        latest_signal_date:
          description: Most recent signal date across both sources
          format: date
          type:
          - string
          - 'null'
          x-struct: null
          x-validate: null
        sources:
          additionalProperties:
            type: integer
            x-struct: null
            x-validate: null
          description: Count of signals per source (HG, TRUSTRADIUS)
          type: object
          x-struct: null
          x-validate: null
        top_context_types:
          additionalProperties:
            type: integer
            x-struct: null
            x-validate: null
          description: Frequency of top context types
          type: object
          x-struct: null
          x-validate: null
      title: IntentSummary
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.Summary
      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
    IntentTopicsSection:
      description: HG topic intent signals with total count.
      properties:
        count:
          description: Total matching topics (before pagination)
          type: integer
          x-struct: null
          x-validate: null
        data:
          items:
            $ref: '#/components/schemas/IntentTopic'
          type: array
          x-struct: null
          x-validate: null
      required:
      - data
      - count
      title: IntentTopicsSection
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.TopicsSection
      x-validate: null
    IntentRequest:
      additionalProperties: false
      description: Retrieve intent signals (HG topics + TrustRadius activities) for a known company. Provide the company by `id` or `domain`.
      example:
        company:
          domain: microsoft.com
        fields:
        - summary
        - topics
        - activities
        filters:
          signal_date:
            max: '2026-12-31'
            min: '2023-01-01'
          topics:
            signal_level:
            - HIGH
          vendor_ids:
          - 311
        limit: 50
        offset: 0
      properties:
        company:
          $ref: '#/components/schemas/CompanyFilter'
        fields:
          default:
          - summary
          - topics
          - activities
          description: Which response sections to include.
          items:
            enum:
            - summary
            - topics
            - activities
            type: string
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
        filters:
          $ref: '#/components/schemas/IntentFilters'
        limit:
          default: 50
          description: Maximum number of records per section
          maximum: 200
          minimum: 1
          type: integer
          x-struct: null
          x-validate: null
        offset:
          default: 0
          description: Number of records to skip per section
          minimum: 0
          type: integer
          x-struct: null
          x-validate: null
      required:
      - company
      title: IntentRequest
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.Request
      x-validate: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.Request
    IntentEstimateResponse:
      description: Estimated credit cost for an intent enrich request.
      example:
        available_credits: 1000
        credits_estimate: 15
        details:
          activities:
            credits: 5
          topics:
            credits: 10
        sufficient_credits: true
      properties:
        available_credits:
          description: Credits currently available to the organization
          type: integer
          x-struct: null
          x-validate: null
        credits_estimate:
          description: Estimated credits required to fulfill the request
          format: double
          type: number
          x-struct: null
          x-validate: null
        details:
          description: Per-section credit breakdown
          properties:
            activities:
              properties:
                credits:
                  format: double
                  type: number
                  x-struct: null
                  x-validate: null
              type: object
              x-struct: null
              x-validate: null
            topics:
              properties:
                credits:
                  format: double
                  type: number
                  x-struct: null
                  x-validate: null
              type: object
              x-struct: null
              x-validate: null
          type:
          - object
          - 'null'
          x-struct: null
          x-validate: null
        sufficient_credits:
          description: Whether available credits cover the estimate
          type: boolean
          x-struct: null
          x-validate: null
      required:
      - credits_estimate
      - available_credits
      - sufficient_credits
      title: IntentEstimateResponse
      type: object
      x-struct: Elixir.TalariaWeb.Schemas.V2.Intent.Enrich.EstimateResponse
      x-validate: null
  securitySchemes:
    authorization:
      bearerFormat: API_KEY
      scheme: bearer
      type: http