Modern .NET SDK for AudD generated from a locally maintained OpenAPI definition with AutoSDK.
Built from a local OpenAPI definition derived from AudD's public HTTP docs so the SDK stays close to the upstream API surface.
Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.
Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.
using AudD;
using var client = new AudDClient(apiToken);
var response = await client.Recognition.RecognizeByUrlAsync(
url: "https://audd.tech/example.mp3",
@return: "apple_music,spotify");dotnet tool install --global AudD.CLI --prerelease
aud-d api --helpBasic example showing how to identify a song from an audio URL.
var apiToken =
Environment.GetEnvironmentVariable("AUDD_API_TOKEN") is { Length: > 0 } tokenValue ? tokenValue :
Environment.GetEnvironmentVariable("AUDD_API_KEY") is { Length: > 0 } keyValue ? keyValue :
throw new AssertInconclusiveException("AUDD_API_TOKEN environment variable is not found.");
using var client = new AudDClient(apiToken);
// Recognize a short audio sample by URL. Additional providers such as
// Apple Music or Spotify can be requested with the return parameter.
var response = await client.Recognition.RecognizeByUrlAsync(
url: "https://audd.tech/example.mp3",
@return: "apple_music,spotify");Open an issue in tryAGI/AudD.
Use GitHub Discussions for design questions and usage help.
Join the tryAGI Discord for broader discussion across SDKs.
This project is supported by JetBrains through the Open Source Support Program.
