How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Signal AI Affinity API

The Affinity API endpoints allow API users to leverage the power of the SignalAI Knowledge Graph, derived from billions of documents and updated regularly.The Signal AI Knowledge Graph consists of:* **nodes** which represent concepts such as entities and topics* **edges** represent connections describing relationships between these conceptsUsing the Affinity API, users can retrieve data for hundreds of thousands ofentities and topics. The sole relationship type currently accessible via theAffinity API is proximity.## ProximityProximity represents how closely entities and topics are associated in the newsand other types of content processed by Signal AI.### What is proximity?The proximity between an entity (e.g. Tesla) and a topic (e.g. Product recall) is a measure of how they are related over a period of time (e.g. a certain month) as perceived in the news (almost all sources we ingest into the Signal platform). It reflects the likelihood of the entity and topic in question being mentioned together, with 0 meaning the two are very unlikely to appear together, and 1 meaning they are most likely to appear together (NB: the scale is not linear.) We measure this by observing the mentions of the topic, the (salient) mentions of the entity and their (salient) co-mentions. As opposed to relying only on the volume of co-mentions, the proximity score captures how significant these co-mentions are based on the overall volume of coverage for both the entity and the topic. **For example, if the entity has a high number of co-mentions with a topic, but the topic is very common (e.g Social Media), we may assign a low proximity score. On the other hand if there are only a few co-mentions with a very niche topic, we may assign a high proximity score.**The proximity score is based on the normalized Google Distance (from Information distance theory) and it has a value between 0 and 1:- A score of 0 means the two concepts are not related and never or rarely co-mentioned together;- The higher the score is, the more related the concepts are and the higher the chance is of observing significant co-mentions.- A proximity close to 1 means that if one of the concepts is mentioned in an article, it is most likely that the other concept will also be mentioned in the article.To illustrate how proximity is implemented, consider this conceptual representation of the Signal AI Knowledge Graph below:![](/assets/img/affinity_example.svg)In this graph, we see four nodes: two organizations (PepsiCo and American Chemical Society) and two topics (Food and Beverage and Chemicals).We also see three edges each representing a proximity relationship: (PepsiCo and Food and Beverage), (PepsiCo and Chemicals) and (American Chemical Society and Chemicals). We can infer from these edges that PepsiCo has a closer association to Food and Beverage than Chemicals. Also we can infer that American Chemical Society has a stronger connection to Chemicals than PepsiCo.### Using the proximity scoreThe proximity score can be used in different ways:#### 1. DiscoveryWe can identify the closest topics to an entity by ranking them according to their proximity score. Note that if we simply use the volume of co-mentions to rank topics, we will end up with the common topics (which might be considered noise).Likewise, we can do the opposite and identify the organizations (or any other type of entities) that are closest to a certain topic. Note, if we simply use the volume of co-mentions to rank organizations, we will end up with the common ones which are often mentioned in news articles, e.g. BBC, NASDAQ, UK, US#### 2. Comparison- **Comparing Entities**: We can compare two entities on how they are related to certain topics, ie. which one is more related. A higher proximity score means more relatedness to a topic. Note that this is different from comparing them based on the volume (number of articles on topic). For example one big company may have way more articles on a topic than a smaller company, but the smaller company may have a higher proximity. This is because it has way fewer mentions than the big company overall and a few articles on the topic contribute to a higher proximity score.- **Comparing Topics**: Likewise, we can compare two topics on how they are related to certain entities. A higher proximity score means more relatedness to an entity.- **Comparison over time**: We can say if the proximity between an entity and topic has increased or decreased from one month to another by comparing their proximity score in those months.NB: While the proximity scores are ordered, they are not linear. *This means you can't easily interpret the difference between proximity scores i.e. the difference between 0 and 0.1 proximity is not the same as the difference between 0.4 and 0.5 proximity.*### Proximity metadataEach proximity relationship returned contains the following metadata:- `proximity-score`: the proximity score in the range `[0..1]` as described above- `sentiment-score`: for a proximity relationship between an entity and a topic, this score represents the sentiment towards the entity with regards to its relationship to the topic. The sentiment score ranges between `[-1..1]` and is computed as follows (taking into account salient entity mentions only: ``` #(positive entity/topic co-mentions) - #(negative entity/topic co-mentions) / #(entity/topic co-mentions) ```### Using proximityUsing proximity relationships, one can uncover unknowns and insights on a large scale. The API offers one endpoint to allow the users to query and explore proximity relationships.Please note that only the last 15 months of data can be queried.

Signal AI Affinity API is one of 11 APIs that Signal AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Affinity. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 1 operation across 1 path, and defines 9 schemas. It is described by OpenAPI 3.2.0, at version v1.3.

Requests are made against a single base URL, https://api.signal-ai.com.

1 operations 1 paths 9 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1.3
Base URL
https://api.signal-ai.com
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Signal AI Affinity API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the clientCredentials flow, exposing 6 scopes. By default, every request must be authenticated.

  • OAuth2 — To obtain the Bearer Token using the Client ID / Secret pair provided to you: bash curl -X POST \ -d 'granttype=clientcredentials' \ -d 'clientid=YOURCLIENTID'…

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Affinity 1

The Affinity API endpoints allow API users to leverage the power of the Signal AI Knowledge Graph, derived from billions of documents and updated regularly. The Signal AI Knowledg…

POST
/affinity
Explore concept connections (powered by the Signal AI Knowledge Graph)
post-affinity body → 200

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are Concept (3 properties), PostAffinityQuery (3 properties), PostAffinityResponse (2 properties), ConceptIdsObject (1 property). Each schema is shown below with its type and property counts.

ConceptIdsObject
object
1 property 1 required
RelationshipType
string
YearMonth
string
A year and month encoded as YYYY-MM (e.g. 2023-01)
IntervalType
string
Concept
object
3 properties 3 required
ResourceId
string
PostAffinityResponse
object
2 properties 2 required
ConceptTypeEnum
string
PostAffinityQuery
object
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

signal-ai-affinity-api-openapi.yml Raw ↑

Other APIs Signal AI publishes across the network.

Signal AI Categories API
Signal AI Content Metrics API
Signal AI Content Search API
Signal AI Entities API
Signal AI Events API
Signal AI Openapi.json API
Signal AI Publication sources API
Signal AI Risk Events API
Signal AI Topics API
Signal AI Organisation API
Where this information came from

This is an independent, third-party profile of Signal AI Affinity API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.