{"id":50727030,"url":"https://github.com/secapi-ai/secapi-rust","last_synced_at":"2026-06-10T05:01:01.156Z","repository":{"id":359331526,"uuid":"1245149518","full_name":"secapi-ai/secapi-rust","owner":"secapi-ai","description":"Official Rust SDK for SEC API","archived":false,"fork":false,"pushed_at":"2026-05-21T00:48:48.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-21T19:35:07.886Z","etag":null,"topics":["financial-data","rust","sdk","sec-api","sec-edgar"],"latest_commit_sha":null,"homepage":"https://docs.secapi.ai","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/secapi-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-21T00:47:32.000Z","updated_at":"2026-05-21T00:49:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/secapi-ai/secapi-rust","commit_stats":null,"previous_names":["secapi-ai/secapi-rust"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/secapi-ai/secapi-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secapi-ai%2Fsecapi-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secapi-ai%2Fsecapi-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secapi-ai%2Fsecapi-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secapi-ai%2Fsecapi-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secapi-ai","download_url":"https://codeload.github.com/secapi-ai/secapi-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secapi-ai%2Fsecapi-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34137570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["financial-data","rust","sdk","sec-api","sec-edgar"],"created_at":"2026-06-10T05:00:40.881Z","updated_at":"2026-06-10T05:01:01.145Z","avatar_url":"https://github.com/secapi-ai.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SEC API Rust SDK\n\nBootstrap async Rust client for SEC API.\n\n## Representative workflows\n\n- canonical entity resolution and search\n- filing lookup, accession reads, and section reads\n- all-statements bundle\n- offerings, market calendar, and volatility signal utilities\n- MCP info discovery\n\n## Example\n\nMethods return `Result\u003cserde_json::Value, OmniDatastreamError\u003e`: HTTP failures, non-2xx API responses (with parsed JSON body when possible), JSON decode errors, and invalid `x-api-key` header values are surfaced instead of being ignored.\n\n```rust\nuse sec_api_sdk_rust::SecApiClient;\n\n#[tokio::main]\nasync fn main() {\n    let api_key = std::env::var(\"SECAPI_API_KEY\")\n        .or_else(|_| std::env::var(\"OMNI_DATASTREAM_API_KEY\"))\n        .ok();\n    let client = SecApiClient::new(api_key);\n    let entity = client.resolve_entity(\u0026[(\"ticker\", \"AAPL\")]).await.unwrap();\n    let filing = client.latest_filing(\u0026[(\"ticker\", \"AAPL\"), (\"form\", \"10-K\")]).await.unwrap();\n    let section = client.latest_section(\"item_1a\", \u0026[(\"ticker\", \"AAPL\"), (\"form\", \"10-K\"), (\"mode\", \"compact\")]).await.unwrap();\n    println!(\"{} {} {}\", entity[\"name\"], filing[\"id\"], section[\"title\"]);\n}\n```\n\n`OmniDatastreamClient` remains available for existing integrations.\n\n## Environment variables\n\n| Variable | Description |\n|---|---|\n| `SECAPI_API_KEY` | Preferred SEC API key variable |\n| `OMNI_DATASTREAM_API_KEY` | Legacy fallback for existing integrations |\n| `SECAPI_BASE_URL` | Preferred API base URL override |\n| `OMNI_DATASTREAM_BASE_URL` | Legacy base URL override fallback |\n\n## Release path\n\n- crate metadata lives in `packages/sdk-rust/Cargo.toml`\n- smoke command: `bun run smoke:sdk-rust`\n- package verification command: `cargo test --examples` or `cargo run --example basic`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecapi-ai%2Fsecapi-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecapi-ai%2Fsecapi-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecapi-ai%2Fsecapi-rust/lists"}