Soenneker.Firecrawl.OpenApiClientUtil 11.0.269

Prefix Reserved
dotnet add package Soenneker.Firecrawl.OpenApiClientUtil --version 11.0.269
                    
NuGet\Install-Package Soenneker.Firecrawl.OpenApiClientUtil -Version 11.0.269
                    
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="Soenneker.Firecrawl.OpenApiClientUtil" Version="11.0.269" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Firecrawl.OpenApiClientUtil" Version="11.0.269" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Firecrawl.OpenApiClientUtil" />
                    
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 Soenneker.Firecrawl.OpenApiClientUtil --version 11.0.269
                    
#r "nuget: Soenneker.Firecrawl.OpenApiClientUtil, 11.0.269"
                    
#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 Soenneker.Firecrawl.OpenApiClientUtil@11.0.269
                    
#: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=Soenneker.Firecrawl.OpenApiClientUtil&version=11.0.269
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Firecrawl.OpenApiClientUtil&version=11.0.269
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Firecrawl.OpenApiClientUtil

Provides a scope-cached Kiota client over the long-lived authenticated Firecrawl HTTP client.

Installation

dotnet add package Soenneker.Firecrawl.OpenApiClientUtil

Registration

using Soenneker.Firecrawl.OpenApiClientUtil.Registrars;

services.AddFirecrawlOpenApiClientUtilAsScoped();

The scoped utility intentionally depends on a singleton IFirecrawlOpenApiHttpClient. Disposing a utility scope releases its generated-client state while leaving the HTTP transport available to later scopes. A singleton utility registrar is also available when that is the desired application lifetime.

Configuration

{
  "Firecrawl": {
    "ApiKey": "your-firecrawl-key"
  }
}

The HTTP client package owns authentication and base-address configuration. Firecrawl:ApiKey is required; ClientBaseUrl, AuthHeaderName, and AuthHeaderValueTemplate are optional overrides. Keep the key in secret storage.

Usage

public sealed class PageScraper(IFirecrawlOpenApiClientUtil clientUtil)
{
    public async Task<ScrapeResponse?> Scrape(
        string url,
        CancellationToken cancellationToken)
    {
        FirecrawlOpenApiClient client = await clientUtil.Get(cancellationToken);
        return await client.Scrape.PostAsync(
            new ScrapePostRequestBody { Url = url },
            cancellationToken: cancellationToken);
    }
}

Get() creates at most one generated client per utility instance. The underlying HttpClient already contains the configured authentication header, so the Kiota adapter does not add a duplicate Authorization value.

The container owns injected utilities; do not dispose them manually. Applying URL allowlists, preventing private-network targets, controlling forwarded headers, and managing Firecrawl credit usage remain application responsibilities.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.269 53 11/21/2026
11.0.268 50 11/19/2026
11.0.266 51 11/18/2026
11.0.265 83 11/17/2026
11.0.264 76 11/17/2026
11.0.263 91 11/15/2026
11.0.262 85 11/15/2026
11.0.261 96 11/15/2026
11.0.260 89 11/13/2026
11.0.259 94 11/12/2026
11.0.258 91 11/11/2026
11.0.256 89 11/11/2026
11.0.255 85 11/11/2026
11.0.254 86 11/11/2026
11.0.253 82 11/10/2026
11.0.252 98 11/5/2026
11.0.251 92 11/3/2026
11.0.250 96 11/3/2026
11.0.249 92 11/3/2026
11.0.248 99 11/3/2026
Loading failed

Update dependency Soenneker.Firecrawl.OpenApiClient to 11.0.119 (#385)