Binance P2P Trading Assistant for Openclaw

A specialized tool for querying Binance P2P market data and personal order history using natural language queries.

dexploarer
v1.0.0
Apr 1, 2026
0
639
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install binance-p2p

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install binance-p2p using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Binance P2P Trading Assistant?

This skill enables AI agents to interact directly with the Binance P2P (C2C) marketplace, facilitating seamless data retrieval for peer-to-peer trading. It allows users to query real-time buy and sell ads for various fiat and crypto pairs, such as USDT/CNY, while filtering by payment methods, merchant quality, and transaction limits.

By integrating this capability into Openclaw Skills, developers can provide users with deep market insights and personalized trading summaries without the manual overhead of navigating exchange interfaces. The skill handles the complexity of Binance SAPI signing and public market API calls, ensuring high-performance data access while maintaining a focus on security and read-only permissions.

Binance P2P Trading Assistant Use Cases

  • Checking live P2P buy or sell quotes for specific crypto and fiat pairs.
  • Searching for P2P advertisements filtered by specific payment methods like bank transfers or digital wallets.
  • Comparing the best available prices across different merchant limits and payment providers.
  • Reviewing personal P2P order history and calculating summary statistics for past trades.

How Binance P2P Trading Assistant Works

  1. The agent identifies the user intent, such as buying or selling a specific asset using a target fiat currency.
  2. The skill performs a version check to ensure compatibility with the Openclaw Skills framework.
  3. For public queries, it fetches valid payment method identifiers for the specified fiat to ensure accurate ad filtering.
  4. It queries the Binance MGS C2C Agent API to retrieve the most competitive advertisements or price quotes.
  5. If personal data is requested, it constructs a signed SAPI request using HMAC SHA256, maintaining strict parameter ordering.
  6. The retrieved data is processed, converting Unix timestamps into human-readable UTC+0 formats and presenting a structured summary to the user.

Binance P2P Trading Assistant Setup

To integrate this functionality into your environment, you must configure your Binance API credentials. It is highly recommended to use environment variables to keep your keys secure.

# Set your Binance API credentials
export BINANCE_API_KEY="your_api_key_here"
export BINANCE_SECRET_KEY="your_secret_key_here"

Ensure that your API key has only Enable Reading permissions. This skill is designed for data retrieval and does not require execution or withdrawal permissions. When using Openclaw Skills, verify that your .env file is included in your .gitignore to prevent accidental exposure of your secrets.

Binance P2P Trading Assistant Data Schema & Taxonomy

The skill organizes market and user data into structured formats to ensure clarity and actionable insights:

Component Data Fields
Market Ads adNo, price, merchant name, completion rate, limits, payment method identifiers
Order Records createTime (UTC format), trade type, asset/fiat pair, amount, total price, status
Price Quotes fiat symbol, best buy price (BUY), best sell price (SELL)
Payment Methods method identifier, display name, account requirements

Binance P2P Trading Assistant Advanced Features

  • Strict SAPI Signing Logic: Implements precise RFC 3986 percent-encoding and maintains insertion order for parameters to satisfy Binance's specialized security requirements.
  • Dynamic Payment Mapping: Automatically resolves local payment names to valid API identifiers via the trade-methods endpoint before searching ads.
  • Privacy-Centric Masking: Automatically redacts sensitive API and Secret keys in logs and outputs, showing only partial strings for verification.
  • Direct Ad Linking: Generates structured URLs that allow users to jump directly from the chat interface to a specific Binance P2P advertisement to complete a trade manually.
  • Real-time Versioning: Includes a specialized check-version hook to ensure the agent is always utilizing the latest logic provided by Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*