Ocean Security
  1. Metrics
Ocean Security
  • Metrics
    • Get top highlighted threats
      GET
    • Get hours saved metric
      GET
    • Get prevented financial loss metric (USD)
      GET
    • Get protected inboxes count
      GET
    • Get threats over time metric
      GET
    • Get top targeted entities
      GET
    • Get top threat types
      GET
  • Threats
    • List recent threats
      GET
    • Get threat by ID
      GET
    • Get threats by Internet Message ID
      GET
  1. Metrics

Get top threat types

GET
https://api.ocean.security/api/v1/api/v1/metrics/top_threat_types
Returns a list of the top 5 threat types and their counts within the specified time period.

Request

Query Params

Header Params

Responses

🟢200OK
application/json
List of top threat types and their counts
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.ocean.security/api/v1/api/v1/metrics/top_threat_types' \
--header 'X-Api-Key;'
Response Response Example
200 - Example 1
{
    "results": {
        "items": [
            {
                "count_threats": 0,
                "type": "string"
            }
        ]
    },
    "status": 0
}
Modified at 2025-07-27 09:03:30
Previous
Get top targeted entities
Next
List recent threats
Built with