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.

Go SDK

The Go SDK is deliberately thin. It mirrors the canonical REST contract and stays useful when you want explicit request control without building a generated client jungle.

Status

Bootstrap client

A lightweight Go client is available in packages/sdk-go.

REST parity

The Go surface mirrors the public wire format instead of inventing Go-only semantics.

Backend fit

Best for services that want typed helpers and explicit control over retries and logging.

First useful path

1

Set the key

Export OMNI_DATASTREAM_API_KEY.
2

Verify one market or entity call

Confirm auth and connectivity before adding more surface area.
3

Move to a filing or ownership workflow

The value is in real investor tasks, not just a single ping.

Example

client := sdkgo.NewClient(os.Getenv("OMNI_DATASTREAM_API_KEY"))
client.BaseURL = "https://api.secapi.ai"

calendar, err := client.MarketCalendar(map[string]string{
  "market": "XNYS",
  "duration": "5",
})

Smoke path

bun run smoke:sdk-go

API Reference

Check the literal calls behind the Go helpers.

Operations

Use the release verification and readiness checks before shipping a backend integration.