Skip to main content
The query-latest-stix endpoint returns the same threat data as query-latest but formatted as a STIX 2.1 bundle.
Subscription Required: This is a paid endpoint available to Researcher Pro and Enterprise users.
Use this endpoint to:
  • Ingest OSM data into your TIP: Import verified threat intelligence directly into a Threat Intelligence Platform using the ?format=v2 shape.
  • Automate STIX-based detections: Feed structured STIX indicators into SIEM or SOAR workflows that consume standardized threat intelligence.
  • Maintain up-to-date indicator sets: Poll on a schedule to keep your threat intelligence platform current with the latest verified OSM threats.
Anomali users should refer to the custom Anomali STIX endpoint.
Endpoint
Required header
Alternative: Pass API key as query parameter: ?apikey=osm_your_token
Pro Role Required This endpoint requires your user account to have the ‘pro’ role. Contact an administrator to request access if you receive a 403 error.

STIX 2.1 format

This endpoint returns threat data as a STIX 2.1 bundle. Content-Type: application/stix+json;version=2.1 The format query parameter controls the response shape. Omit it (or pass any value other than v2) to receive the legacy indicator-only bundle. Pass format=v2 to receive a bundle containing an identity, a TLP:WHITE marking-definition, an x-malicious-package Custom Object per threat, an indicator SDO, and a relationship SRO linking them — importable into Anomali ThreatStream as model_type=customtm. All indicators have 100% confidence. Patterns use STIX pattern syntax with CPE notation.

Query parameters

ecosystem is required. Package ecosystem (npm, pypi, rubygems, etc.) format is optional. Pass v2 for the Anomali-ready bundle shape. Omit for the legacy indicator-only bundle.

Response examples

Success (200) — default (legacy)

Success (200) — ?format=v2 (Anomali-ready)

Error responses

cURL examples

Default (legacy indicator-only bundle)
?format=v2 (Anomali ThreatStream compatible)