curl --request GET \
--url https://events.newscatcherapi.xyz/api/events_info/get_event_fields \
--header 'x-api-token: <api-key>'{
"message": "Success",
"count": 12,
"fields": {
"company_name": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"event_date": {
"type": "<string>",
"usage_example": {
"event_date": {
"lte": "now",
"gte": "now-30d"
}
}
},
"extraction_date": {
"type": "<string>",
"usage_example": {
"event_date": {
"lte": "now",
"gte": "now-30d"
}
}
},
"data_breach.data": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"data_breach.data_type": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"data_breach.impacted": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"data_breach.summary": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"data_breach.title": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
}
}
}Returns available filters for specified event type.
curl --request GET \
--url https://events.newscatcherapi.xyz/api/events_info/get_event_fields \
--header 'x-api-token: <api-key>'{
"message": "Success",
"count": 12,
"fields": {
"company_name": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"event_date": {
"type": "<string>",
"usage_example": {
"event_date": {
"lte": "now",
"gte": "now-30d"
}
}
},
"extraction_date": {
"type": "<string>",
"usage_example": {
"event_date": {
"lte": "now",
"gte": "now-30d"
}
}
},
"data_breach.data": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"data_breach.data_type": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"data_breach.impacted": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"data_breach.summary": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
},
"data_breach.title": {
"type": "<string>",
"usage_example": {
"company_name": "Tesla"
}
}
}
}Type of event to discover available filters for
Available filters for the specified event type
Status message indicating success or providing additional context
"Success"
Total number of available filters returned
12
Map of field names to their type definitions and usage examples
Show child attributes
Name of the company affected by the data breach.
Date when the data breach occurred.
Show child attributes
Indicates this field accepts date values
Shows how to use date ranges in search queries.
Supports both absolute (YYYY-MM-DD) and relative (now-30d) date formats.
{
"event_date": { "lte": "now", "gte": "now-30d" }
}Date when the event was extracted from news sources.
Show child attributes
Indicates this field accepts date values
Shows how to use date ranges in search queries.
Supports both absolute (YYYY-MM-DD) and relative (now-30d) date formats.
{
"event_date": { "lte": "now", "gte": "now-30d" }
}Type of data that was compromised.
Show child attributes
Classification of compromised data.
Show child attributes
Indicates this field accepts string values
Type of entities affected by the breach.
Show child attributes
Indicates this field accepts string values
Summary text of the data breach event.
Show child attributes
Title of the data breach event.
Show child attributes
Was this page helpful?