py-builder-relayer-client
Python client library for interacting with the Polymarket Relayer infrastructure
Decision gist · record as of 2026-08-14
Yes, if you are building on Polymarket and need to relay transactions through their infrastructure. The library has low install friction, active maintenance, MIT licensing, and no known vulnerabilities. It is narrow in scope—designed specifically for Polymarket Relayer interaction—so install only if that is your use case. The early version number (0.0.2) and small repository suggests it may still be evolving.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; credentials must be provided via environment variables or constructor parameters (RELAYER_URL, CHAIN_ID, PK, BUILDER_API_KEY, BUILDER_SECRET, BUILDER_PASS_PHRASE).
- Low friction install with seven runtime dependencies including eth-account, eth-utils, and requests.
- Active maintenance with a recent commit on 2026-05-29 and no archived status.
License · maintenance · safety
permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most deployment contexts.
last release 2026-05-29 (77 days) · last repo commit 2026-05-29 · 42 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 140,061 downloads/mo, #11,279 on PyPI
Alternatives
Verify before relying
pip install py-builder-relayer-client
from py_builder_relayer_client import RelayerClient
client = RelayerClient(
relayer_url="https://relayer-v2-staging.polymarket.dev/",
chain_id=80002,
private_key="your_private_key",
api_key="your_api_key",
api_secret="your_api_secret",
passphrase="your_passphrase"
)- Specific API methods and transaction types supported by the relayer client beyond basic submission.
- Error handling and retry behavior for failed relay submissions.
- Rate limiting or quota constraints imposed by the Polymarket Relayer service.
- Whether the library supports multiple blockchain networks or only Polygon (chain 80002).
What it is and what it does
py-builder-relayer-client is a thin Python wrapper around the Polymarket Relayer API, designed to simplify submitting transactions to Polymarket's infrastructure from Python applications. It handles Ethereum account management and signing via eth-account and eth-abi, manages API authentication with Builder credentials, and abstracts HTTP communication through requests.
The library is intended for developers building applications on Polymarket who need to relay transactions through Polymarket's infrastructure rather than submitting directly to the blockchain. It requires Python 3.9 or later and depends on a working Ethereum signing setup, making it most useful in contexts where you already have private keys and Builder API credentials configured.
Use it for
- Submit prediction market orders to Polymarket via the relayer without managing raw HTTP requests.
- Automate transaction signing and relay submission in trading bots or market-making applications.
- Integrate Polymarket transaction submission into larger Python applications with minimal boilerplate.
- Test relayer integration during development using the staging relayer endpoint.
- Manage multiple transaction submissions with consistent authentication and error handling.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on Polymarket and need to relay transactions through their infrastructure.
The library has low install friction, active maintenance, MIT licensing, and no known vulnerabilities. It is narrow in scope—designed specifically for Polymarket Relayer interaction—so install only if that is your use case. The early version number (0.0.2) and small repository suggests it may still be evolving.
Install
py-builder-relayer-client on PyPI
Before you install
Low friction install with seven runtime dependencies including eth-account, eth-utils, and requests. Active maintenance with a recent commit on 2026-05-29 and no archived status.
Requires Python 3.9 or later; credentials must be provided via environment variables or constructor parameters (RELAYER_URL, CHAIN_ID, PK, BUILDER_API_KEY, BUILDER_SECRET, BUILDER_PASS_PHRASE).
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most deployment contexts.
Quickstart
pip install py-builder-relayer-client
from py_builder_relayer_client import RelayerClient
client = RelayerClient(
relayer_url="https://relayer-v2-staging.polymarket.dev/",
chain_id=80002,
private_key="your_private_key",
api_key="your_api_key",
api_secret="your_api_secret",
passphrase="your_passphrase"
)
Verify before relying
- Specific API methods and transaction types supported by the relayer client beyond basic submission.
- Error handling and retry behavior for failed relay submissions.
- Rate limiting or quota constraints imposed by the Polymarket Relayer service.
- Whether the library supports multiple blockchain networks or only Polygon (chain 80002).
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packageseth-accounteth-abieth-utilshexbytespython-dotenvrequestspy-builder-signing-sdk |
| Maintenance | Actively maintained 77 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 140,061 / month, #11,279 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: py_builder_relayer_client-0.0.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “polymarket relayer client”
- py-builder-relayer-clientA Python client library for submitting transactions and interacting…
- polymarket-clientOfficial Python SDK for Polymarket that provides a unified interface…
- py-clob-client-v2Python client library for placing and managing orders on Polymarket's…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also polymarket-client · py-builder-signing-sdk · py-clob-client-v2 · web3 · py-order-utils · py-clob-client · etherscan-python · xrpl-py · cdp-sdk · signalwire