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
<PackageReference Include="Soenneker.Firecrawl.OpenApiClientUtil" Version="11.0.269" />
<PackageVersion Include="Soenneker.Firecrawl.OpenApiClientUtil" Version="11.0.269" />
<PackageReference Include="Soenneker.Firecrawl.OpenApiClientUtil" />
paket add Soenneker.Firecrawl.OpenApiClientUtil --version 11.0.269
#r "nuget: Soenneker.Firecrawl.OpenApiClientUtil, 11.0.269"
#:package Soenneker.Firecrawl.OpenApiClientUtil@11.0.269
#addin nuget:?package=Soenneker.Firecrawl.OpenApiClientUtil&version=11.0.269
#tool nuget:?package=Soenneker.Firecrawl.OpenApiClientUtil&version=11.0.269
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Firecrawl.HttpClients (>= 11.0.185)
- Soenneker.Firecrawl.OpenApiClient (>= 11.0.119)
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 |
Update dependency Soenneker.Firecrawl.OpenApiClient to 11.0.119 (#385)