web3-polymarket

Automate Polymarket prediction market trading on Polygon with order placement and WebSocket subscriptions.

180|22|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/Polymarket/agent-skills --skill web3-polymarket
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web3-polymarket
Source: https://github.com/Polymarket/agent-skills/tree/main
Command: npx skills add https://github.com/Polymarket/agent-skills --skill web3-polymarket

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @polymarket/clob-client, ethers, py-clob-client, rs-clob-client, @polymarket/builder-relayer-client, @polymarket/builder-signing-sdk, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of trading prediction markets on Polygon, making it accessible for both beginners and experienced users.

Core Features & Use Cases

  • Authentication: Offers robust L1/L2 authentication methods and API key generation.
  • Order Placement: Supports limit and market orders with various types and options.
  • Market Data: Provides access to real-time data, orderbook information, and price history.
  • WebSocket Subscriptions: Allows real-time updates on markets, orders, and trades.
  • Token Operations: Enables splitting, merging, and redeeming tokens for outcomes.
  • Bridge Operations: Facilitates cross-chain transactions and asset bridging.
  • Gasless Transactions: Enables gas-free transactions through the relayer infrastructure.
  • Use Case: If you're building a platform that integrates with Polymarket, this Skill can automate authentication, order management, and data retrieval.

Quick Start

Use the web3-polymarket skill to create a new order on the 'FEDDecisionInOctober' market with a limit price of $1.00 and size of 10.

Frequently Asked Questions about web3-polymarket

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate prediction market trading on Polygon?

You can automate prediction market trading on Polygon by integrating with Polymarket APIs to handle authentication, order placement, market data retrieval, and WebSocket subscriptions. This automation supports limit and market orders, token operations, and gasless transactions via relayer infrastructure.

Does Polymarket API support gasless transactions and relayer infrastructure?

Yes, gasless transactions are supported through the Polymarket relayer infrastructure. This enables you to execute trades and manage orders without directly paying gas fees, streamlining the process of interacting with prediction markets on the Polygon network.

What authentication methods are available for the Polymarket API?

The Polymarket API offers robust L1/L2 authentication methods and API key generation. This ensures secure access for automating order management, retrieving real-time market data, and subscribing to WebSocket updates on the Polygon blockchain.

How do I get real-time market data and orderbook information from Polymarket?

You can retrieve real-time market data, orderbook information, and price history by integrating with Polymarket APIs. The system also supports WebSocket subscriptions, allowing you to receive continuous real-time updates on markets, orders, and trades.

Can I manage outcome token operations like splitting and merging on Polymarket?

Yes, you can manage outcome token operations on Polymarket. The API supports splitting, merging, and redeeming tokens for prediction market outcomes, and also facilitates cross-chain transactions and asset bridging operations.

What are the limitations of using relayer infrastructure for Polymarket trades?

Using relayer infrastructure for Polymarket trades requires network access to both Polymarket and the Polygon RPC. While it enables gasless transactions, users must ensure their environment maintains a stable connection to these external services to avoid execution failures.