Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt

Use this file to discover all available pages before exploring further.

GET /v1/funds/nport/holdings

Return the latest SEC N-PORT holdings roster with explicit capability semantics and balance-unit metadata
Audience: application and coding agent.

Agent mode

Pass ?view=agent to receive the compact agent shape: fund identifiers (ticker, cik, fundName, form, filingDate, accessionNumber, holdingCount) + lifted filingUrl + nested holdings[] trimmed to 6 fields per holding (issuer, cusip, valueUsd, balance, balanceUnit, pctNetAssets). Title, isin, assetType, issuerType, country, currency, summaryMd, and metadata envelopes are dropped. Typical reduction: ~60%. See api conventions → response formats for the full ?view= contract.

Canonical metadata

  • requestId
  • traceparent

Example request

curl -X GET \
  -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  -H "omni-version: 2026-03-19" \
  "https://api.secapi.ai/v1/funds/nport/holdings"

Example response

{
  "requestId": "req_example_123",
  "traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01"
}

Give this prompt to your agent

Failure posture

  • treat non-2xx responses as contract-aware failures, not free-form errors
  • preserve requestId and traceparent in logs and downstream reports
  • if provenance or freshness metadata is present, return it unchanged so trust is not lost in the handoff