OneStopAntibot 0.2.1

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

OneStop C# SDK

C# client for the OneStop Antibot API. The SDK calls /generate and returns typed results; your application fetches the target pages and scripts and sends the generated payloads.

Products: Akamai (sensor, SBSD, Pixel, sec-cpt), DataDome (tags, interstitial, slider), Cloudflare (WAF, Turnstile, JSD, precursor), Kasada (p.js, /tl, CD header), Imperva (reese84, utmvc).

Install

dotnet add package OneStopAntibot

Requires .NET 8+. Package: NuGet.

Quick start

var client = new OneStopClient(new OneStopOptions
{
    ApiKey = "YOUR_API_KEY",
    Identifier = "YOUR_IDENTIFIER", // your identifier or account name
});
var ip = await client.GetIpAsync(); // set OneStopOptions.IpHttpClient to your proxy so this is the proxy's IP
var session = client.Session(new SessionOptions
{
    Site = pageUrl, Referer = pageUrl, UserAgent = userAgent, AcceptLanguage = "en-US,en;q=0.9", Ip = ip,
});
var res = await session.AkamaiSensorAsync(new AkamaiSensorCall { Abck = abck, Bmsz = bmsz, Script = script, ScriptUrl = scriptUrl });
// POST res.Payload as sensor_data; send res.Context on the next call.

Header order

Copy each request's header names, values and order from a browser recording (DevTools, powhttp, Charles) of that request, and set the order explicitly in your TLS client; the examples' headers only show how:

// TlsClient
var request = new RequestBuilder().WithUrl(url).WithMethod(HttpMethod.Get)
    .WithHeader("user-agent", userAgent).WithHeader("accept", "*/*")
    .WithHeaderOrder(["user-agent", "accept"]);

// HttpCloak
session.RequestBinary("GET", url, [], new Dictionary<string, string> { ["user-agent"] = userAgent, ["accept"] = "*/*" },
    headerOrder: ["user-agent", "accept"]);

See examples/ for full flows per product and TLS client.

Documentation: onestopantibot.com/dashboard/docs

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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.2.1 119 10/19/2026
0.2.0 117 10/18/2026