curl --request POST \
--url https://api.bigdata.com/v1/search/co-mentions/entities \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"query": {
"text": "Tariffs impact in China",
"filters": {
"timestamp": {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z"
},
"document_type": {
"mode": "INCLUDE",
"values": [
"NEWS"
]
},
"source": {
"mode": "INCLUDE",
"values": [
"ED68DC"
]
},
"category": {
"mode": "INCLUDE",
"values": [
"expert_interviews",
"news",
"research"
]
},
"keyword": {
"all_of": [],
"any_of": [],
"none_of": [
"operating"
],
"search_in": "HEADLINE"
},
"entity": {
"all_of": [],
"any_of": [
"228D42"
],
"none_of": [],
"search_in": "HEADLINE"
},
"sentiment": {
"ranges": [
{
"min": -1,
"max": -0.3
},
{
"min": 0.3,
"max": 1
}
],
"values": [
"positive",
"negative",
"neutral"
]
},
"reporting_entities": [
"228D42"
],
"reporting_periods": [
{
"fiscal_year": 2024,
"fiscal_quarter": 3
}
],
"topic": {
"all_of": [],
"any_of": [
"business,stock-prices,stock-price-volatility,down,"
],
"none_of": [],
"search_in": "HEADLINE"
},
"tag": {
"any_of": [
"research-report",
"any-tag"
]
}
},
"limit": 10
}
}
'{
"results": {
"places": [
{
"id": "13FF12",
"total_chunks_count": 92468,
"total_headlines_count": 24049
}
],
"companies": [
{
"id": "275B6C",
"total_chunks_count": 0,
"total_headlines_count": 105
}
],
"organizations": [
{
"id": "1BC945",
"total_chunks_count": 17812,
"total_headlines_count": 2427
}
],
"people": [
{
"id": "22C3AF",
"total_chunks_count": 29883,
"total_headlines_count": 22536
}
],
"products": [
{
"id": "<string>",
"total_chunks_count": 123,
"total_headlines_count": 123
}
],
"concepts": [
{
"id": "9DB5BD",
"total_chunks_count": 106720,
"total_headlines_count": 44591
}
]
},
"metadata": {
"request_id": "0f763fb3-4957-430a-acf6-5d4fc6b5109d",
"timestamp": "2025-10-02T15:25:28.214117+00:00"
},
"usage": {
"api_query_units": 1
}
}Explore entities co-mentioned with your keywords to reveal hidden connections, using powerful filtering tools.
curl --request POST \
--url https://api.bigdata.com/v1/search/co-mentions/entities \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"query": {
"text": "Tariffs impact in China",
"filters": {
"timestamp": {
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z"
},
"document_type": {
"mode": "INCLUDE",
"values": [
"NEWS"
]
},
"source": {
"mode": "INCLUDE",
"values": [
"ED68DC"
]
},
"category": {
"mode": "INCLUDE",
"values": [
"expert_interviews",
"news",
"research"
]
},
"keyword": {
"all_of": [],
"any_of": [],
"none_of": [
"operating"
],
"search_in": "HEADLINE"
},
"entity": {
"all_of": [],
"any_of": [
"228D42"
],
"none_of": [],
"search_in": "HEADLINE"
},
"sentiment": {
"ranges": [
{
"min": -1,
"max": -0.3
},
{
"min": 0.3,
"max": 1
}
],
"values": [
"positive",
"negative",
"neutral"
]
},
"reporting_entities": [
"228D42"
],
"reporting_periods": [
{
"fiscal_year": 2024,
"fiscal_quarter": 3
}
],
"topic": {
"all_of": [],
"any_of": [
"business,stock-prices,stock-price-volatility,down,"
],
"none_of": [],
"search_in": "HEADLINE"
},
"tag": {
"any_of": [
"research-report",
"any-tag"
]
}
},
"limit": 10
}
}
'{
"results": {
"places": [
{
"id": "13FF12",
"total_chunks_count": 92468,
"total_headlines_count": 24049
}
],
"companies": [
{
"id": "275B6C",
"total_chunks_count": 0,
"total_headlines_count": 105
}
],
"organizations": [
{
"id": "1BC945",
"total_chunks_count": 17812,
"total_headlines_count": 2427
}
],
"people": [
{
"id": "22C3AF",
"total_chunks_count": 29883,
"total_headlines_count": 22536
}
],
"products": [
{
"id": "<string>",
"total_chunks_count": 123,
"total_headlines_count": 123
}
],
"concepts": [
{
"id": "9DB5BD",
"total_chunks_count": 106720,
"total_headlines_count": 44591
}
]
},
"metadata": {
"request_id": "0f763fb3-4957-430a-acf6-5d4fc6b5109d",
"timestamp": "2025-10-02T15:25:28.214117+00:00"
},
"usage": {
"api_query_units": 1
}
}Show child attributes
Natural-language search string. It is not mandatory when filtering by entities or keywords with the filters below.
"Tariffs impact in China"
Show child attributes
Temporal filter to retrieve documents with a timestamp within a start and end date.
Document type filter to retrieve documents of specific types.
Show child attributes
Filter mode for document type selection.
INCLUDE, EXCLUDE "INCLUDE"
Array of document types to include or exclude based on the mode.
NEWS, TRANSCRIPT, FILING, TRANSCRIPT-PRESENTATION ["NEWS"]Source filter to retrieve documents from specific sources.
Category filter to retrieve documents from specific categories. This enables selecting a related set of sources without having to add a long list of source IDs.
Show child attributes
Filter mode for category selection.
INCLUDE, EXCLUDE "INCLUDE"
Array of categories to include or exclude based on the mode.
expert_interviews, filings, my_files, news, podcasts, research, transcripts ["expert_interviews", "news", "research"]Keyword filter to retrieve chunks based on keyword presence.
Show child attributes
Array of keywords that must all be present in the chunk.
[]Array of keywords where at least one must be present in the chunk.
[]Array of keywords that must not be present in the chunk.
["operating"]Specifies where to search for keywords: HEADLINE (only in headlines), BODY (only in body text), or ALL (both). Defaults to ALL if not provided.
HEADLINE, BODY, ALL "HEADLINE"
Entity filter to retrieve chunks where entities were identified.
Show child attributes
Array of entity IDs that must all be present in the chunk.
[]Array of entity IDs where at least one must be present in the chunk.
["228D42"]Array of entity IDs that must not be present in the document.
[]Specifies where to search for entities: HEADLINE (only in headlines), BODY (only in body text), or ALL (both). Defaults to ALL if not provided.
HEADLINE, BODY, ALL "HEADLINE"
Sentiment filter to retrieve chunks based on sentiment score. All chunks contain a sentiment score ranging from -1.00 to 1.00, indicating how that chunk might impact the market and whether it will have a positive or negative effect.
Show child attributes
Array of sentiment score ranges to filter by. Each range specifies a minimum and maximum sentiment score.
[
{ "min": -1, "max": -0.3 },
{ "min": 0.3, "max": 1 }
]Array of sentiment categories to filter by. Sunsetting: Use ranges instead for more precise sentiment filtering.
Sentiment categories: 'positive' (0.1 to 1.0), 'negative' (-0.1 to -1.0), 'neutral' (-0.1 to 0.1)
positive, negative, neutral ["positive", "negative", "neutral"]Select one or multiple companies for which the returned documents must have been reported by.
["228D42"]Specify one or multiple combinations of a year and a quarter (e.g., Q1 2024, Q4 2023).
[
{ "fiscal_year": 2024, "fiscal_quarter": 3 }
]Topic filter to retrieve chunks based on topic presence. Example: {"any_of": ["business,stock-prices,stock-price-volatility,down,"]} to find documents about stock price volatility.
Show child attributes
Array of topics that must all be present in the chunk.
[]Array of topics where at least one must be present in the chunk.
[
"business,stock-prices,stock-price-volatility,down,"
]Array of topics that must not be present in the chunk.
[]Specifies where to search for topics: HEADLINE (only in headlines), BODY (only in body text), or ALL (both). Defaults to ALL if not provided.
HEADLINE, BODY, ALL "HEADLINE"
Maximum number of entities to retrieve. It must be lower than or equal to 1000.
10
Entities co-mentions results
Object containing arrays of different entity types that are co-mentioned with the search query.
Show child attributes
Array of places (countries, cities, regions) co-mentioned with the search query.
Show child attributes
Array of companies co-mentioned with the search query.
Show child attributes
Unique entity identifier.
"275B6C"
Total number of chunks where this entity appears.
0
Total number of titles where this entity appears.
105
Array of organizations co-mentioned with the search query.
Show child attributes
Unique entity identifier.
"1BC945"
Total number of chunks where this entity appears.
17812
Total number of titles where this entity appears.
2427
Array of people co-mentioned with the search query.
Show child attributes
Array of products co-mentioned with the search query.
Array of concepts co-mentioned with the search query.
Show child attributes
Unique entity identifier.
"9DB5BD"
Total number of chunks where this entity appears.
106720
Total number of titles where this entity appears.
44591
Request metadata and timing information.
Was this page helpful?