Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@pmxt/cli

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pmxt/cli

Command-line interface for PMXT prediction market APIs

Source
npmnpm
Version
2.48.4
Version published
Weekly downloads
1.3K
-34.43%
Maintainers
1
Weekly downloads
 
Created
Source

@pmxt/cli

Command-line interface for PMXT.

Install

npm install -g @pmxt/cli

Or run without installing globally:

npx @pmxt/cli polymarket markets --query Trump --limit 5

Usage

PMXT uses hosted mode when an API key is configured. Without hosted auth, commands use a local PMXT instance.

pmxt auth login --api-key pmxt_...

Use exchange-first commands for day-to-day work:

pmxt polymarket markets --query Trump --limit 5
pmxt polymarket fetchMarkets --query Trump --limit 5
pmxt polymarket orderbook <outcome-id> --limit 20
pmxt polymarket trades <outcome-id> --limit 25

The explicit flag form is equivalent:

pmxt markets --exchange polymarket --query Trump --limit 5

Auth

pmxt auth login --api-key pmxt_...
pmxt auth status
pmxt polymarket auth set-exchange --private-key 0x...
pmxt polymarket auth status

You can also use environment variables or one-shot flags:

PMXT_API_KEY=pmxt_... pmxt markets --limit 5
pmxt markets --hosted --pmxt-api-key pmxt_... --limit 5

Local usage is explicit when you want to force it:

npm install -g pmxt-core
pmxt server status
pmxt markets --local --limit 5

Use --base-url only for custom PMXT deployments.

Keywords

prediction-markets

FAQs

Package last updated on 02 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts