HG Insights Scoring API
AI scoring models and company scores.
AI scoring models and company scores.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/hg-insights:hg-insights-scoring-api"
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.
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: 3.2.0
info:
license:
name: HG Insights terms of service
url: https://hginsights.com/contact-hg/terms-of-service
title: HG Insights Scoring API
version: ''
description: AI scoring models and company scores.
servers:
- url: https://api.hginsights.com
variables: {}
security:
- authorization: []
tags:
- description: AI scoring models and company scores.
name: Scoring
paths:
/data-api/v2/scoring/models:
get:
callbacks: {}
description: 'The live AI scoring models available to your organization. Draft models are not returned.
Use a returned `model_id` with `POST /v2/companies/score`. It is stable across re-publish;
`model_version_id` identifies the published version that would score today.'
operationId: list_scoring_models_v2
parameters: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ScoringModelsResponse'
description: Scoring Models Response
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: Unauthorized
summary: List AI scoring models
tags:
- Scoring
/data-api/v2/companies/score:
post:
callbacks: {}
description: 'Scores up to 25 companies against up to 6 of your organization''s live AI scoring models.
Identify companies by `ids` or `domains`, exactly as `companies/enrich` does. Returns one
row per company per model; a company that is not scored by a model comes back with null
scores rather than failing the request.
Each row carries `fit_score_details`, `need_score_details` and `intent_score_details`, the
dimension-by-dimension breakdown of each pillar score, and `disqualification_reason`, the
disqualifiers behind a `DQ` tier. Set `include_score_details: false` to leave them out.'
operationId: score_companies_v2
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CompaniesScoreRequest'
description: Score Request
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CompaniesScoreResponse'
description: Score Response
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: Unauthorized
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
summary: Score Companies
tags:
- Scoring
components:
schemas:
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
CompaniesFilter:
additionalProperties: false
description: Filter companies by IDs or domains (mutually exclusive)
example:
ids:
- E48EDEB162A5FBFDAF2DCF707079F8F
- 1698C53EBC888758570396E0334965C1
properties:
domains:
description: Array of company domains (e.g., example.com)
items:
type: string
x-struct: null
x-validate: null
maxItems: 25
minItems: 1
type: array
x-struct: null
x-validate: null
ids:
description: Array of hex-encoded company IDs
items:
$ref: '#/components/schemas/HexId'
maxItems: 25
minItems: 1
type: array
x-struct: null
x-validate: null
title: CompaniesFilter
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Enrich.CompaniesFilter
x-validate: Elixir.TalariaWeb.Schemas.V2.Companies.Enrich.CompaniesFilter
CompanyScoreDetails:
description: Breakdown of one pillar score. Null when the model does not score the pillar or the company was not scored.
example:
dimensions:
firmographics:
aggregate: sum
max_points: 50
score: 45
sub_dimensions:
employee_count:
max_points: 25
reasons:
- label: Employees 10,000+
points: 25
rule: 0
score: 25
normalization:
max_points: 50
raw: 45
properties:
dimensions:
additionalProperties:
properties:
aggregate:
description: How sub-dimension scores combine
type: string
x-struct: null
x-validate: null
max_points:
type: integer
x-struct: null
x-validate: null
score:
type:
- integer
- 'null'
x-struct: null
x-validate: null
sub_dimensions:
additionalProperties:
properties:
max_points:
type: integer
x-struct: null
x-validate: null
reasons:
description: The rules that contributed points
items:
properties:
label:
description: Human-readable reason
type: string
x-struct: null
x-validate: null
points:
type: number
x-struct: null
x-validate: null
rule:
description: The rule's index in the sub-dimension, or its catalog id for id-based rules
type: integer
x-struct: null
x-validate: null
type: object
x-struct: null
x-validate: null
type: array
x-struct: null
x-validate: null
score:
type:
- integer
- 'null'
x-struct: null
x-validate: null
type: object
x-struct: null
x-validate: null
description: Keyed by sub-dimension
type: object
x-struct: null
x-validate: null
type: object
x-struct: null
x-validate: null
description: Keyed by dimension. Each has its score, cap, aggregate and sub-dimensions.
type: object
x-struct: null
x-validate: null
normalization:
description: The pillar score is `raw` over `max_points`, scaled to 0-100
properties:
max_points:
description: Sum of the dimension caps
type: integer
x-struct: null
x-validate: null
raw:
description: Sum of the dimension scores
type: integer
x-struct: null
x-validate: null
type: object
x-struct: null
x-validate: null
title: CompanyScoreDetails
type:
- object
- 'null'
x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Score.ScoreDetails
x-validate: null
CompaniesScoreRequest:
additionalProperties: false
description: Score companies against one or more of the organization's live AI scoring models.
example:
companies:
ids:
- E48EDEB162A5FBFDAF2DCF707079F8F
model_ids:
- 7e347cba
properties:
companies:
$ref: '#/components/schemas/CompaniesFilter'
include_score_details:
default: true
description: Include `fit_score_details`, `need_score_details` and `intent_score_details` on each row. Also includes `disqualification_reason`. Set to false for a lighter response with only the scores.
type: boolean
x-struct: null
x-validate: null
model_ids:
description: Model ids from GET /v2/scoring/models. Omit to score against every live model; if the organization has more than 6, naming them is required.
items:
type: string
x-struct: null
x-validate: null
maxItems: 6
minItems: 1
type: array
x-struct: null
x-validate: null
required:
- companies
title: CompaniesScoreRequest
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Score.Request
x-validate: null
CompanyScoreResult:
description: One company's score under one model. Nulls mean the company was not scored by that model.
example:
company_name: Cisco Systems
domain: null
fit_score: 90
hg_id: 3AB6196C456CE3313A04A57BA6FA7BE3
intent_score: 60
is_disqualified: false
model_id: 7e347cba
model_name: Enterprise ICP
model_version_id: b1c2d3e4
need_score: 72
tier: A
total_score: 87
properties:
company_name:
description: Company name
type:
- string
- 'null'
x-struct: null
x-validate: null
disqualification_reason:
description: The disqualifiers that put the company in tier DQ. Null when it was not disqualified or not scored.
items:
properties:
label:
description: Human-readable reason
type: string
x-struct: null
x-validate: null
pillar:
description: Pillar the disqualifier belongs to
enum:
- fit
- need
type: string
x-struct: null
x-validate: null
type:
description: Disqualifier type, e.g. threshold or product_installed
type: string
x-struct: null
x-validate: null
type: object
x-struct: null
x-validate: null
type:
- array
- 'null'
x-struct: null
x-validate: null
domain:
description: The domain the caller sent; null when the request used ids
type:
- string
- 'null'
x-struct: null
x-validate: null
fit_score:
description: Firmographic fit
type:
- integer
- 'null'
x-struct: null
x-validate: null
fit_score_details:
$ref: '#/components/schemas/CompanyScoreDetails'
hg_id:
description: HG company identifier
type:
- string
- 'null'
x-struct: null
x-validate: null
intent_score:
description: Research + buyer activity
type:
- integer
- 'null'
x-struct: null
x-validate: null
intent_score_details:
$ref: '#/components/schemas/CompanyScoreDetails'
is_disqualified:
description: True when tier is DQ
type:
- boolean
- 'null'
x-struct: null
x-validate: null
model_id:
description: Scoring model identifier
type: string
x-struct: null
x-validate: null
model_name:
description: Current name of the model
type:
- string
- 'null'
x-struct: null
x-validate: null
model_version_id:
description: Published version that produced this score
type: string
x-struct: null
x-validate: null
need_score:
description: Technographic need
type:
- integer
- 'null'
x-struct: null
x-validate: null
need_score_details:
$ref: '#/components/schemas/CompanyScoreDetails'
tier:
description: Score tier; null when not scored
enum:
- A
- B
- C
- D
- F
- DQ
- null
type:
- string
- 'null'
x-struct: null
x-validate: null
total_score:
description: Weighted blend of Fit + Need + Intent
type:
- integer
- 'null'
x-struct: null
x-validate: null
title: CompanyScoreResult
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Score.ScoreResult
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
ScoringModel:
description: A live AI scoring model available to the calling organization.
example:
model_id: 7e347cba
model_name: Enterprise ICP
model_version_id: b1c2d3e4
version: 3
properties:
model_id:
description: Stable model identifier. Pass this to /v2/companies/score.
type: string
x-struct: null
x-validate: null
model_name:
description: Current name of the model
type:
- string
- 'null'
x-struct: null
x-validate: null
model_version_id:
description: The published version that would score today. Changes on every re-publish.
type: string
x-struct: null
x-validate: null
version:
description: Per-model version sequence number
type:
- integer
- 'null'
x-struct: null
x-validate: null
title: ScoringModel
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Scoring.Models.Model
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
ScoringModelsResponse:
description: The live scoring models available to the calling organization.
example:
count: 1
models:
- model_id: 7e347cba
model_name: Enterprise ICP
model_version_id: b1c2d3e4
version: 3
properties:
count:
description: Number of live models returned
type: integer
x-struct: null
x-validate: null
models:
items:
$ref: '#/components/schemas/ScoringModel'
type: array
x-struct: null
x-validate: null
required:
- models
- count
title: ScoringModelsResponse
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Scoring.Models.Response
x-validate: null
CompaniesScoreResponse:
description: One row per requested company per model.
example:
count: 0
scores: []
properties:
count:
description: Number of rows returned
type: integer
x-struct: null
x-validate: null
scores:
items:
$ref: '#/components/schemas/CompanyScoreResult'
type: array
x-struct: null
x-validate: null
required:
- scores
- count
title: CompaniesScoreResponse
type: object
x-struct: Elixir.TalariaWeb.Schemas.V2.Companies.Score.Response
x-validate: null
securitySchemes:
authorization:
bearerFormat: API_KEY
scheme: bearer
type: http