cURL
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.
API Key to authenticate requests.
To access the API, include your API key in the x-api-token header. To obtain your API key, complete the form or contact us directly.
x-api-token
Type of event to discover available filters for
Available filters for the specified event type
The response is of type object.
object
Was this page helpful?