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.

Rust SDK

The Rust SDK is for async, performance-sensitive services that still want the Datastream contract to look like Datastream, not like a bespoke Rust dialect.

Status

Bootstrap client

A starter Rust client is available in packages/sdk-rust.

Async-first

Built around reqwest and serde for async service workloads.

REST parity

It mirrors the canonical API so freshness, provenance, and materialization stay visible.
1

Add the client

Bring the Rust package into your service and set the Datastream API key through the environment.
2

Exercise one fast path

Start with a volatility or entity lookup to confirm the runtime wiring.
3

Exercise one structured workflow

Move to filings, statements, or ownership so you are validating the real contract shape.

Example

let client = omni_datastream_sdk_rust::OmniDatastreamClient::new(
    std::env::var("OMNI_DATASTREAM_API_KEY").ok(),
);
let signal = client.volatility_signal(&[("ticker", "AAPL")]).await?;

Smoke path

bun run smoke:sdk-rust

API Reference

Open the underlying REST calls for exact request and response details.

Libraries & SDKs

Compare the Rust surface with the other runtime options.