DatabentoDotNet.Reference
0.9.0
Prefix Reserved
See the version list below for details.
dotnet add package DatabentoDotNet.Reference --version 0.9.0
NuGet\Install-Package DatabentoDotNet.Reference -Version 0.9.0
<PackageReference Include="DatabentoDotNet.Reference" Version="0.9.0" />
<PackageVersion Include="DatabentoDotNet.Reference" Version="0.9.0" />
<PackageReference Include="DatabentoDotNet.Reference" />
paket add DatabentoDotNet.Reference --version 0.9.0
#r "nuget: DatabentoDotNet.Reference, 0.9.0"
#:package DatabentoDotNet.Reference@0.9.0
#addin nuget:?package=DatabentoDotNet.Reference&version=0.9.0
#tool nuget:?package=DatabentoDotNet.Reference&version=0.9.0
DatabentoDotNet.Reference
Databento reference data for .NET: security master, corporate actions, and
adjustment factors. A port of databento-rs's reference client.
0.9.0 is a beta. The code is complete and tested; what is not yet settled is whether the public surface is the right shape. 1.0.0 undertakes not to break it, so the beta is when that undertaking is worth contesting — if something here is awkward to call, an issue now is much cheaper than a major version later.
using DatabentoDotNet;
using DatabentoDotNet.Dbn;
using DatabentoDotNet.Reference;
using NodaTime;
await using var client = new ReferenceClient
{
ApiKey = new ApiKey(Environment.GetEnvironmentVariable("DATABENTO_API_KEY")!),
};
await foreach (var record in client.SecurityMaster.GetRangeAsync(new SecurityMasterGetRangeParams
{
Symbols = Symbols.From(["AAPL"]),
StypeIn = SType.RawSymbol,
DateTimeRange = ReferenceDateTimeRange.Between(
Instant.FromUtc(2024, 1, 1, 0, 0, 0), Instant.FromUtc(2024, 2, 1, 0, 0, 0)),
}))
{
Console.WriteLine($"{record.Symbol} {record.SecurityType}");
}
Entitlement
Reference data is a separate subscription from live and historical access. A key with full
historical entitlement is still answered 403 license_reference_dataset_no_subscription on these
endpoints — that is an account matter, not a client error, and the client surfaces it as such.
AllocateIsins defaults to true on the endpoints that accept it, and on an ISIN-limited plan that
can create new allocations against your quota. Set it deliberately.
Dependencies
NodaTime for ReferenceDateTimeRange, whose Start and End are Instants
because a DateTimeOffset cannot round-trip a nanosecond start;
Microsoft.Extensions.Logging.Abstractions for the optional LoggerFactory; and
DatabentoDotNet.Historical, whose transport these endpoints share — which is how upstream builds it
too, the reference API being the historical transport with a different set of slugs.
Documentation
The API reference is the XML documentation shipped inside this package. Guides and troubleshooting are in the wiki.
Source, issues, and roadmap: https://github.com/jerbersoft/databentodotnet.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- DatabentoDotNet.Historical (>= 0.9.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- NodaTime (>= 3.3.3)
- ZstdSharp.Port (>= 0.8.8)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DatabentoDotNet.Reference:
| Package | Downloads |
|---|---|
|
DatabentoDotNet.Extensions.Hosting
Databento for ASP.NET Core and the .NET generic host: IServiceCollection registration for the historical, reference and live clients, IConfiguration binding, and a hosted live-streaming service with bounded reconnection, health checks and metrics. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.10.0 | 113 | 9/1/2026 |
| 0.9.1 | 102 | 8/31/2026 |
| 0.9.0 | 104 | 8/30/2026 |
| 0.1.0-alpha | 95 | 8/29/2026 |