---
url: "https://polytoolhub.com/tools/polymarket-cli/"
publisher: "Polytoolhub"
dateModified: "2026-11-03"
---

[← CLI tools](<https://polytoolhub.com/polymarket-cli-tools/>) 

![Polymarket CLI logo](<https://polytoolhub.com/assets/icon-logo-tool-polymarket-gamma-api-f6a03cf91e60-32-a8fd12b110824dad.webp>)

SDK

# Polymarket CLI

Browse markets, query books and script Polymarket operations from a Rust command-line client with table or JSON output.

[**3.5**/ 5Editorial rating](<https://polytoolhub.com/tools/polymarket-cli/#reviews>) [0 user reviews](<https://polytoolhub.com/tools/polymarket-cli/#reviews>) 

[View repository](<https://github.com/polymarket/polymarket-cli>) github.com

**Available on:** CLI, Rust, JSON

**Pricing:** The public CLI has no listed subscription

[Screenshots](<https://polytoolhub.com/tools/polymarket-cli/#screenshots>) [Explore alternatives](<https://polytoolhub.com/tools/polymarket-cli/#alternatives>) 

[CLI tools](<https://polytoolhub.com/polymarket-cli-tools/>) [Official developer tools](<https://polytoolhub.com/polymarket-official-tools/>) 

## Screenshots and interface

Product preview1 / 2

Official CLI installation and public market examples.

## What is Polymarket CLI?

Polymarket CLI wraps market discovery, price reads and account operations in terminal commands. Public commands work without a wallet, and scripts can read its JSON output. Configured account commands cover orders, approvals and supported conditional-token operations.

### Who it is for

-   Developers scripting market discovery and price queries
-   Terminal users who want quick contract inspection
-   Operators integrating explicit commands into account workflows

## Features and coverage

**Available on:** CLI, Rust, JSON

**Markets & venues:** Polymarket

-   **Market discovery**
    
    List and search markets, events, tags and series.
    
-   **Public metadata**
    
    Read comments, profiles and sports metadata.
    
-   **Book queries**
    
    Retrieve books, side prices, midpoint, spread and last trade.
    
-   **Batch reads**
    
    Query several outcome tokens in a single command.
    
-   **Machine-readable output**
    
    Use JSON with exit codes for scripts.
    
-   **Order management**
    
    Create, inspect and cancel configured account orders.
    
-   **On-chain commands**
    
    Access supported approval, split, merge and redemption operations.
    

## Workflows with Polymarket CLI

### Create a research script

Search markets, retain outcome-token IDs and request books as JSON. Parse the error object and process exit status explicitly.

### Inspect a trade candidate

Read the exact market, tick size, fee rate and ask or bid before constructing an order command.

### Operate an account from the terminal

Inspect the configured wallet and signature type, then use narrowly scoped order and cancellation commands.

## Pricing and total cost

The public CLI has no listed subscription. Venue fees and applicable on-chain transaction costs are separate.

## Getting started

1.  Install through the official repository’s supported package or build route.
2.  Run a small public market listing.
3.  Use -o json for scripting.
4.  Resolve the correct outcome token before book or order commands.
5.  Configure wallet identity only for account actions.
6.  Check the installed release against current official wallet and client conventions.

## Useful links

### What to check

-   Market IDs, condition IDs and outcome-token IDs serve different commands.
-   A limit order size is a share count, while a market-buy amount is a spend amount.
-   The README’s wallet examples use older proxy, EOA and Safe conventions; verify support for the account type in the installed version.
-   JSON errors appear on stdout with a nonzero exit status.
-   Approval and conditional-token commands submit transactions.

A closer look

## Ratings & reviews

[Write a review](<https://polytoolhub.com/tools/polymarket-cli/#write-review>) 

Editorial rating

**3.5**/ 5

0 user reviews

Polytoolhub editorial

### Our take on Polymarket CLI

Table and JSON output make discovery and scripted reads convenient. Older wallet examples and distinct order-size conventions need checking before enabling account commands.

Based on documented features, setup and access terms. [How we rate](<https://polytoolhub.com/methodology/>) 

### User reviews 0

The main score switches to user ratings after 5 published reviews.

**Be the first to share your experience**

A specific example helps the next person choose the right tool.

Write a review

### How was your experience with Polymarket CLI?

Share what you used, what worked and what could be better. We confirm your email and review the submission before publishing.

To submit a review, email [info@polytoolhub.com](<mailto:info@polytoolhub.com>)  with the tool name, your rating and your experience. Enable JavaScript to prepare a draft here.

## Related tools

[Browse category](<https://polytoolhub.com/polymarket-cli-tools/>) 

![Polymarket CLOB API: Official price and order-book query documentation.](<https://polytoolhub.com/assets/cover-polymarket-clob-api-39f988b081351d90-400.webp>)

![Polymarket CLOB API logo](<https://polytoolhub.com/assets/logo-tool-polymarket-clob-api-765ba4cc040b.webp>)[Polymarket CLOB API](<https://polytoolhub.com/tools/polymarket-clob-api/>) 

Data API**4.0**Editorial

Read Polymarket prices and order books or build authenticated order placement, cancellation and account-order management.

-   Data coverage Prices · Order books
-   Access API

Underlying book and execution interface.

![Polymarket Python SDK: Official Python SDK installation and quickstart.](<https://polytoolhub.com/assets/cover-polymarket-python-sdk-abdc8e68d81b53bc-400.webp>)

![Polymarket Python SDK logo](<https://polytoolhub.com/assets/logo-tool-polymarket-python-sdk-765ba4cc040b.webp>)[Polymarket Python SDK](<https://polytoolhub.com/tools/polymarket-python-sdk/>) 

SDK**4.0**Editorial

The official Python client for typed Polymarket data, sync or async account workflows, streaming and notebook-friendly analysis.

-   Language Python

Use a Python library inside a larger application.

![Polygate: Research and account tool scope with connection options.](<https://polytoolhub.com/assets/cover-polygate-5af9adec76a2e7c9-400.webp>)

[Polygate](<https://polytoolhub.com/tools/polygate/>) 

SDK**3.5**Editorial

Connect an MCP-capable AI client to Polymarket research, live market reads and optionally your account’s order tools.

-   Language Python
-   Access CLI · MCP

Expose similar operations through MCP.

## Frequently asked questions about Polymarket CLI

### Can I use it without a wallet?

Yes. Public market, price and book queries work without credentials.

### How do scripts detect an error?

Check the nonzero exit code and JSON error output.

### Is price the same as midpoint?

No. Side-specific prices refer to the bid or ask; midpoint is a separate query.

### Does the CLI include cancellation?

Yes. Commands cover individual, grouped, market-scoped and all-order cancellation.

In this profile
