Skip to main content

Welcome to the Ocean Security API

The Ocean Security API provides programmatic access to threat detection data, security metrics, and email protection insights for your organization. Prefer to work from the spec directly? Download the OpenAPI spec to generate clients, import into Postman, or explore in your tool of choice.

Threats API

Retrieve and analyze detected email threats

Metrics API

Access security analytics and ROI metrics

SONAR API

Manage phishing reports and response analytics

MCP Server

Connect AI agents (Claude Code, Copilot, Cursor) via MCP

Authentication

All API endpoints require authentication using an API key passed via the X-Api-Key header.
Keep your API key secure and never expose it in client-side code or public repositories.
The MCP server accepts the same API key, but OAuth 2.1 is the recommended way to authenticate an MCP client — see MCP authentication.

Base URL

All API requests should be made to:

Rate Limiting

API requests are rate limited to ensure fair usage. If you need higher limits, please contact support.

Response Format

All responses are returned in JSON format with a consistent structure:
For paginated endpoints, the response includes pagination information:

Error Handling

When an error occurs, the API returns an appropriate HTTP status code along with an error message: