| Crates.io | intrinio-rs |
| lib.rs | intrinio-rs |
| version | 0.1.3 |
| created_at | 2026-01-09 22:09:01.742858+00 |
| updated_at | 2026-01-14 01:22:42.165118+00 |
| description | A Rust SDK for interacting with the Intrinio API |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2032977 |
| size | 8,273,793 |
A Rust SDK for interacting with the Intrinio API. This client library is automatically generated from the Intrinio OpenAPI specification using progenitor.
Intrinio is a financial data platform providing access to stock prices, fundamentals, SEC filings, ETF data, options, forex, crypto, and more. This SDK provides a type-safe Rust interface to interact with all Intrinio API endpoints.
Add this to your Cargo.toml:
[dependencies]
intrinio-rs = "0.1.0"
use intrinio_rs::Client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Create a new client with your API key
let client = Client::new("https://api-v2.intrinio.com", "YOUR_API_KEY");
// Get company information
let company = client
.get_company()
.identifier("AAPL")
.send()
.await?;
println!("Company: {:?}", company);
Ok(())
}
The Intrinio API requires an API key for authentication. Pass your API key to Client::new() and it will be automatically added to all requests:
use intrinio_rs::Client;
let client = Client::new("https://api-v2.intrinio.com", "YOUR_API_KEY");
// Only specify the parameters you need
let companies = client
.get_all_companies()
.sector("Technology")
.has_stock_prices(true)
.page_size(100)
.send()
.await?;
progenitor-client - Core client functionalityreqwest - HTTP clientserde / serde_json - Serializationchrono - Date/time handlingbytes / futures-core - Async streaming supportThe client is generated from Intrinio's OpenAPI specification. To regenerate:
./generate.sh
This script:
cargo build
cargo test
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
This is an unofficial SDK. For official Intrinio support, please visit Intrinio.