Soenneker.Polymarket.HttpClients 11.0.109

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

Provides one HttpClient that routes generated requests across Polymarket's Gamma, Data, CLOB, Bridge, Perpetuals, RFQ, and Relayer APIs.

Installation

dotnet add package Soenneker.Polymarket.HttpClients

Usage

using Soenneker.Polymarket.HttpClients.Abstract;
using Soenneker.Polymarket.HttpClients.Registrars;

services.AddPolymarketOpenApiHttpClientAsSingleton();

IPolymarketOpenApiHttpClient polymarket = serviceProvider
    .GetRequiredService<IPolymarketOpenApiHttpClient>();

HttpClient client = await polymarket.Get(cancellationToken);
HttpResponseMessage response = await client.GetAsync(
    "gamma/events?limit=5",
    cancellationToken);
response.EnsureSuccessStatusCode();

The first path segment selects the API host and is removed before the request is sent. For example, gamma/events targets https://gamma-api.polymarket.com/events, while clob/book targets https://clob.polymarket.com/book.

Override individual hosts with Polymarket:BaseUrls:Gamma, Data, Clob, Bridge, Perps, CombosRfq, or Relayer. Public market-data endpoints require no credentials; callers must add the headers and signatures required by private trading or relayer endpoints.

The provider owns the cached routing client. Scoped provider instances receive separate cache entries, so disposing one scope does not invalidate another scope's client.

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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.Polymarket.HttpClients:

Package Downloads
Soenneker.Polymarket.OpenApiClientUtil

Provides a cached client that routes requests across Polymarket's APIs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.109 98 11/19/2026
11.0.108 80 11/19/2026
11.0.107 88 11/18/2026
11.0.105 81 11/18/2026
11.0.102 139 11/15/2026
11.0.101 101 11/15/2026
11.0.99 119 11/11/2026
11.0.98 103 11/11/2026
11.0.97 98 11/11/2026
11.0.96 95 11/11/2026
11.0.95 92 11/11/2026
11.0.94 167 11/3/2026
11.0.93 119 11/3/2026
11.0.92 104 11/3/2026
11.0.91 99 11/3/2026
11.0.90 105 11/3/2026
11.0.89 175 10/27/2026
11.0.88 118 10/27/2026
11.0.87 122 10/26/2026
11.0.86 102 10/26/2026
Loading failed

Updated Multiple NuGet packages