GET
/
api
/
events_info
/
get_event_fields
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"
      }
    }
  }
}

Authorizations

x-api-token
string
header
required

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.

Query Parameters

event_type
string
required

Type of event to discover available filters for

Response

200
application/json
Available filters for the specified event type

The response is of type object.