Apitally 0.6.2

dotnet add package Apitally --version 0.6.2
                    
NuGet\Install-Package Apitally -Version 0.6.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Apitally" Version="0.6.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Apitally" Version="0.6.2" />
                    
Directory.Packages.props
<PackageReference Include="Apitally" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Apitally --version 0.6.2
                    
#r "nuget: Apitally, 0.6.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Apitally@0.6.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Apitally&version=0.6.2
                    
Install as a Cake Addin
#tool nuget:?package=Apitally&version=0.6.2
                    
Install as a Cake Tool

<p align="center"> <a href="https://apitally.io" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://assets.apitally.io/logos/logo-horizontal-new-dark.png"> <source media="(prefers-color-scheme: light)" srcset="https://assets.apitally.io/logos/logo-horizontal-new-light.png"> <img alt="Apitally logo" src="https://assets.apitally.io/logos/logo-horizontal-new-light.png" width="220"> </picture> </a> </p> <p align="center"><b>API monitoring & analytics made simple</b></p> <p align="center" style="color: #ccc;">Metrics, logs, traces, and alerts for your APIs — with just a few lines of code.</p> <br> <p> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://assets.apitally.io/screenshots/overview-dark.png"> <source media="(prefers-color-scheme: light)" srcset="https://assets.apitally.io/screenshots/overview-light.png"> <img alt="Apitally dashboard" src="https://assets.apitally.io/screenshots/overview-light.png"> </picture> </p> <br>

Apitally SDK for .NET

Tests Codecov

Apitally is a simple API monitoring and analytics tool that makes it easy to understand API usage, monitor performance, and troubleshoot issues. Get started in minutes by just adding a few lines of code. No infrastructure changes required, no dashboards to build.

Learn more about Apitally on our 🌎 website or check out the 📚 documentation.

Key features

API analytics

Track traffic, error and performance metrics for your API, each endpoint and individual API consumers, allowing you to make informed, data-driven engineering and product decisions.

Request logs

Drill down from insights to individual API requests or use powerful search and filters to find specific requests. View correlated application logs and traces for a complete picture of each request, making troubleshooting faster and easier.

Error tracking

Understand which validation rules in your endpoints cause client errors. Capture error details and stack traces for 500 error responses, and have them linked to Sentry issues automatically.

API monitoring & alerts

Get notified immediately if something isn't right using custom alerts, synthetic uptime checks and heartbeat monitoring. Alert notifications can be delivered via email, Slack and Microsoft Teams.

Supported frameworks

This SDK supports ASP.NET Core on .NET 6, 7, 8, and 9.

Apitally also supports many other web frameworks in JavaScript, Python, Go, and Java via our other SDKs.

Getting started

If you don't have an Apitally account yet, first sign up here. Create an app in the Apitally dashboard and select ASP.NET Core as your framework. You'll see detailed setup instructions with code snippets you can copy and paste. These also include your client ID.

Install the NuGet package:

dotnet add package Apitally

Then add Apitally to your ASP.NET Core application by registering the required services and middleware in your Program.cs file:

using Apitally;

var builder = WebApplication.CreateBuilder(args);

// Add Apitally services
builder.Services.AddApitally(options =>
{
    options.ClientId = "your-client-id";
    options.Env = "dev"; // or "prod" etc.

    // Optional: Configure request logging
    options.RequestLogging.Enabled = true;
    options.RequestLogging.IncludeRequestHeaders = true;
    options.RequestLogging.IncludeRequestBody = true;
    options.RequestLogging.IncludeResponseBody = true;
    options.RequestLogging.CaptureLogs = true;
    options.RequestLogging.CaptureTraces = true;
});

var app = builder.Build();

// Add Apitally middleware
app.UseApitally();

// ... rest of your middleware configuration

For further instructions, see our setup guide for ASP.NET Core.

See the SDK reference for all available configuration options, including how to mask sensitive data, customize request logging, and more.

Getting help

If you need help please create a new discussion on GitHub or email us at support@apitally.io. We'll get back to you as soon as possible.

License

This library is licensed under the terms of the MIT license.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.6.2 98 3/30/2026
0.6.1 114 1/21/2026
0.6.0 104 1/20/2026
0.5.0 716 12/1/2025
0.4.1 363 8/25/2025
0.4.0 284 8/25/2025
0.3.1 623 7/8/2025
0.3.0 186 6/25/2025
0.2.0 704 3/14/2025
0.1.1 250 3/10/2025
0.1.0 269 3/4/2025