OpenDexter

Dexterai@dexterai

OpenDexter plugin for OpenClaw — search, price-check, and pay for any x402 API with automatic USDC settlement across Solana, Base, Polygon, Arbitrum, Optimism, and Avalanche.

Skills

Readme

Dexter

@dexterai/opendexter-plugin

OpenDexter plugin for OpenClaw — search, price-check, and pay for x402 APIs with automatic USDC settlement.

npm Node ClawHub Marketplace


What It Does

Gives any OpenClaw agent access to the x402 API marketplace. The agent can discover paid APIs, preview pricing, and call endpoints with automatic USDC payment — no API keys or subscriptions needed for the endpoints themselves.

ToolPurpose
x402_searchSearch the OpenDexter marketplace for paid APIs
x402_checkProbe an endpoint for pricing without paying
x402_fetchCall any x402 API with automatic payment
x402_payAlias for x402_fetch
x402_walletShow wallet configuration and status

Payments work across Solana, Base, Polygon, Arbitrum, Optimism, and Avalanche. The plugin auto-selects the best-funded chain.


Install

From ClawHub

bash
openclaw plugins install @dexterai/opendexter-plugin

From npm

bash
npm install @dexterai/opendexter-plugin

Configuration

Set wallet keys in the OpenClaw plugin config or as environment variables:

Config KeyEnv VarDescription
svmPrivateKeySVM_PRIVATE_KEYSolana wallet (base58)
evmPrivateKeyEVM_PRIVATE_KEYEVM wallet (hex, 0x...)
defaultNetworkDEFAULT_NETWORKPreferred chain (default: auto)
maxPaymentUSDCMAX_PAYMENT_USDCPer-call spending limit (default: $0.50)
facilitatorUrlFACILITATOR_URLSettlement processor (default: https://x402.dexter.cash)
marketplaceUrlMARKETPLACE_URLMarketplace API endpoint

At minimum, configure one wallet key (Solana or EVM) and fund it with USDC.


How It Works

text
User: "Find me a sentiment analysis API"
  → x402_search("sentiment analysis")
  → Shows results with prices and quality scores

User: "How much does that one cost?"
  → x402_check(url)
  → Shows per-chain pricing

User: "Call it"
  → x402_fetch(url, params)
  → Signs USDC payment, calls endpoint, returns data + receipt

Settlement goes through the Dexter facilitator — zero fees, zero gas for the caller.


Pinata Agent Template

This plugin powers the OpenDexter Agent template for Pinata. Deploy a fully configured x402 agent in one click.


Built By

Dexter Intelligence — the payment, discovery, and monetization layer for the agent economy.