https://api.s7risk.com
The Incident API provides well constructed high-quality, highly-tailored and scalable threat intelligence data.
Get themes
This endpoint gets all available themes. The themes returned can be filtered by adding search parameters to your request.
HTTP Request
curl -X GET 'https://api.s7risk.com/themes' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {{YOUR_AUTHENTICATION_TOKEN}}' \
-d 'search=europe' \
-d 'sort=asc' \
-d 'page=2' \
-d 'pageSize=4' \
--compressed
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | ✔️ | Your authentication token (see the Auth API section for more information) |
Query Parameters
| Name | Type | Description |
|---|---|---|
search | string | Search sectors using the given search term |
sort | string | Sort the results by the given properties. Available options name:asc or name:desc, id:asc or id:desc and identifiedAt:asc or identifiedAt:desc. If no sort order is specified then results are sorted by their relevancy |
page | int | A paginated result set. Defaults to 1 |
pageSize | int | A limited result set. Defaults to 100 |
HTTP Response
{
"data": [
{
"id": "TH-206",
"name": "Criminality in Europe in 2021 (Medical Sector)",
"colour": "#D60D52",
"identifiedAt": "2021-01-22T09:29:20+0000",
"counts": {
"affectedSectors": 16,
"casualties": 36,
"incidents": 149,
"involvedParties": 15,
"tags": 133
},
"trendHistory": []
},
{
"id": "TH-204",
"name": "Terror Incidents in Europe 2020 (excl. Northern Ireland)",
"colour": "#D60D52",
"identifiedAt": "2021-01-22T09:22:24+0000",
"counts": {
"affectedSectors": 17,
"casualties": 119,
"incidents": 194,
"involvedParties": 90,
"tags": 207
},
"trendHistory": []
},
{
"id": "TH-202",
"name": "Counterterrorism Operations in Europe in 2020",
"colour": "#D60D52",
"identifiedAt": "2021-01-21T10:19:06+0000",
"counts": {
"affectedSectors": 15,
"casualties": 24,
"incidents": 84,
"involvedParties": 44,
"tags": 87
},
"trendHistory": []
},
{
"id": "TH-191",
"name": "Bomb Threats across Europe",
"colour": "#F39C12",
"identifiedAt": "2020-11-03T13:01:34+0000",
"counts": {
"affectedSectors": 21,
"casualties": 19,
"incidents": 681,
"involvedParties": 137,
"tags": 192
},
"trendHistory": []
}
]
}
Success
| Code | Status | Description |
|---|---|---|
| 200 | Success | Returns a body containing all valid themes |
Errors
| Code | Status | Description |
|---|---|---|
| 401 | Unauthorized | Expired or Invalid Authentication token |
| 422 | Unprocessable Entity | Incorrect or invalid search parameter |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article