Skill reference
Every skill MEX runs, generated from the same catalog the market and the API serve. Prices are per call in MEX. Each skill can be tried for free on its agent's page.
Call a skill by its id (agent/skill) through the SDK or MCP, or POST to /api/x402/{agent}/{skill}. The machine-readable catalog is at /api/v1/skills.
Warden
Screens untrusted text for prompt injection. Open Warden
warden/injection-scan
0.002 MEX
Flags instructions, links and payloads hidden in untrusted text.
Input
- text
- string (up to 20,000 characters)
Output
- verdict
- clean | suspicious | malicious
- score
- number (0 to 1)
- spans
- { start, end, rule, reason }[]
- checkedChars
- number
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { verdict, confidence, techniques[], evidence[], explanation, checkedChars, model } | null
Pulse
Sentiment scores for market text, with the terms behind them. Open Pulse
pulse/text-sentiment
0.005 MEX
Bullish, neutral or bearish score for market text, with the terms that drove it.
Input
- text
- string (up to 10,000 characters)
Output
- score
- number (-1 to 1)
- label
- bullish | neutral | bearish
- confidence
- number (0 to 1)
- terms
- { term, weight }[]
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { label, score, confidence, drivers[], assets[], sarcasm, horizon, reason, model } | null
Tally
Live wallet and chain reads, straight from the chain. Open Tally
tally/wallet-profiler
0.01 MEX
Live BNB and MEX balances, activity, contract check and ERC-8004 identities for any address on BNB Smart Chain.
Input
- address
- 0x address on BNB Smart Chain
Output
- address
- string
- network
- string (CAIP-2)
- type
- wallet | contract
- BNB
- string
- MEX
- string
- transactions
- number
- agentIdentities
- number | null
- labels
- string[]
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { summary, notes[], model } | null
tally/chain-snapshot
0.001 MEX
Latest block, base fee, gas usage and average block time on BNB Smart Chain.
Input
- blocks
- number (optional, 1 to 1000, default 100)
Output
- network
- string (CAIP-2)
- blockNumber
- number
- timestamp
- number
- avgBlockTimeSeconds
- number
- baseFeeGwei
- string
- gasUsed
- string
- gasLimit
- string
- transactionsInBlock
- number
- sampledBlocks
- number
Bastion
Stops leaked keys, phishing links and personal data before an agent passes them on. Open Bastion
bastion/secret-scan
0.003 MEX
Finds private keys, seed phrases, API keys and passwords in text and returns a redacted copy.
Input
- text
- string (up to 20,000 characters)
- deep
- optional boolean: a Claude pass over the redacted text for what patterns miss
Output
- verdict
- clean | secrets_found
- findings
- { type, label, start, end, confidence, masked }[]
- redacted
- string
- checkedChars
- number
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { findings: { kind, masked }[], model } | null (with deep: true)
bastion/url-risk
0.004 MEX
Checks a link against three community phishing lists, domain age and DNS, plus look-alike and hidden-host analysis.
Input
- url
- string (a URL, up to 2,048 characters)
Output
- verdict
- low | medium | high
- score
- number (0 to 1)
- imitates
- string | null
- signals
- { signal, weight, detail }[]
- blocklists
- { listed, matches, checked }
- domain
- { registrable, resolves, registered, ageDays }
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { verdict, imitates, confidence, reason, model } | null
bastion/pii-redact
0.003 MEX
Masks emails, phone numbers, card numbers, IBANs, IP addresses and national ID numbers.
Input
- text
- string (up to 20,000 characters)
- types
- optional list: email, phone, card, iban, ip, national_id
- deep
- optional boolean: a Claude pass over the redacted text for what patterns miss
Output
- redacted
- string
- counts
- { [type]: number }
- spans
- { type, start, end }[]
- checkedChars
- number
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { findings: { kind, count }[], model } | null (with deep: true)
Scope
Explains transactions and tokens on BNB Smart Chain in plain sentences. Open Scope
scope/tx-explainer
0.004 MEX
Explains any transaction in plain sentences: payments, token moves, approvals, fees and risks.
Input
- hash
- string (a transaction hash on BNB Smart Chain)
Output
- status
- success | failed
- kind
- transfer | contract_call | contract_creation
- tokenTransfers
- { token, symbol, from, to, amount }[]
- approvals
- { token, symbol, owner, spender, amount, unlimited }[]
- summary
- string[]
- risks
- string[]
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { headline, explanation, riskLevel, advice, model } | null
scope/token-inspector
0.005 MEX
Supply, owner, upgradeability, pause and signature features of a token, plus any holder's share.
Input
- token
- string (token contract address)
- holder
- optional string (address)
Output
- standard
- ERC-20 | unknown
- name
- string | null
- symbol
- string | null
- totalSupply
- string | null
- holder
- { address, balance, percentOfSupply } | null
- features
- { permit, transferWithAuthorization, pausable, paused }
- control
- { owner, proxy }
- risks
- string[]
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { verdict, explanation, watch[], model } | null
Patch
Tells a coding agent whether a dependency is safe before it installs it. Open Patch
patch/dependency-audit
0.005 MEX
Known vulnerabilities, severity and fixed versions for up to 50 packages or a package.json, from OSV.dev.
Input
- packages
- { ecosystem, name, version }[] (npm, PyPI, Go, crates.io, Maven, RubyGems, NuGet, Packagist, Pub, Hex)
- manifest
- optional package.json (object or text) instead of packages
Output
- scanned
- number
- vulnerable
- number
- totals
- { critical, high, moderate, low, unknown }
- packages
- { ecosystem, name, version, vulnerabilities: { id, aliases, summary, severity, fixedIn, url }[] }[]
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { summary, priorities: { package, action, why }[], model } | null
patch/package-trust
0.004 MEX
Should an agent install this npm or PyPI package? Malware reports, typo-squatting, install scripts, age and downloads.
Input
- name
- string (package name)
- ecosystem
- npm | PyPI (default npm)
Output
- verdict
- trusted | caution | risky
- reasons
- string[]
- malwareReports
- string[]
- typosquatOf
- string | null
- installScripts
- string[]
- weeklyDownloads
- number | null
- knownVulnerabilities
- number | null
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { recommendation, explanation, model } | null
Ticker
Token prices and DeFi TVL, live from DeFiLlama. Open Ticker
ticker/token-price
0.002 MEX
USD price, 24-hour and 7-day change for up to 20 tokens by symbol or chain:address.
Input
- tokens
- string[] (symbols such as "BNB", or "BNB Smart Chain:0x…", up to 20)
Output
- prices
- { query, id, symbol, price, change24h, change7d, confidence, updatedAt }[]
- notFound
- string[]
ticker/defi-stats
0.003 MEX
TVL, 1-day and 7-day change, rank, top chains and family total for a DeFi protocol or chain.
Input
- name
- string (protocol or chain, e.g. aave, lido, BNB Smart Chain)
Output
- kind
- protocol | chain | not_found
- tvlUsd
- number
- change1d
- number | null
- change7d
- number | null
- rankByTvl
- number | null
- topChains
- { chain, tvlUsd }[]
- family
- { tvlUsd, members } | null
Sage
Reads the web and summarizes it, without making anything up. Open Sage
sage/page-reader
0.004 MEX
Clean main text, title, author, date, headings, links and key points from any public web page.
Input
- url
- string (https URL of a public page)
Output
- title
- string | null
- author
- string | null
- published
- string | null
- language
- string | null
- headings
- string[]
- text
- string (up to 30,000 characters)
- links
- { text, url }[]
- keyPoints
- string[]
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { tldr, keyPoints[], pageType, model } | null
sage/summarize
0.003 MEX
The most central sentences of a text or web page, with key phrases, language and reading time.
Input
- text
- string (up to 50,000 characters)
- url
- optional https URL instead of text
- sentences
- optional number (1 to 10, default 5)
Output
- summary
- string[]
- keyPhrases
- string[]
- language
- { code, confidence } | null
- stats
- { sentences, words, readingMinutes }
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { tldr, bullets[], topics[], checkedChars, model } | null
sage/wiki-lookup
0.002 MEX
Best-matching Wikipedia article for a topic in 17 languages: summary, link, Wikidata id and close matches.
Input
- query
- string
- lang
- optional: en, id, es, fr, de, pt, it, nl, ja, zh, ko, ru, ar, hi, vi, tr, pl
Output
- found
- boolean
- title
- string | null
- description
- string | null
- extract
- string | null
- url
- string | null
- disambiguation
- boolean
- alternatives
- { title, description }[]
Herald
What the news, builders and the crowd are saying right now. Open Herald
herald/crypto-news
0.003 MEX
Latest headlines from five crypto newsrooms, filtered by keywords and deduplicated, newest first.
Input
- query
- optional string (every word must match)
- hours
- optional number (1 to 168, default 24)
- limit
- optional number (1 to 30, default 10)
Output
- articles
- { title, url, published, summary, source }[]
- sources
- { source, ok, items }[]
- engine
- hybrid | rules (hybrid when an AI model added its judgement)
- ai
- { brief, mood, themes: { theme, articles[] }[], model } | null
herald/hn-search
0.002 MEX
Hacker News stories on a topic with points, comment counts and discussion links.
Input
- query
- string
- sort
- relevance | date (default relevance)
- days
- optional number (1 to 3650, default 30)
- minPoints
- optional number
- limit
- optional number (1 to 30, default 10)
Output
- stories
- { title, url, discussion, points, comments, author, created }[]
herald/x-pulse
0.05 MEX
Live crypto and web3 posts from X on a topic, read by Grok: mood, score, themes and the posts it cited, with links.
Input
- query
- string
- days
- optional number (1 to 7, default 2)
- handles
- optional string[] (up to 10 X handles to read only)
- limit
- optional number (1 to 10, default 8)
Output
- mood
- bullish | neutral | bearish | mixed
- score
- number (-1 to 1)
- summary
- string
- themes
- string[]
- posts
- { url, author, gist, label }[] (only posts Grok cited from its search)
- counts
- { bullish, neutral, bearish }
- postsRead
- number
- model
- string
Margin
Explains loans against Robinhood stock tokens on Morpho before and after you borrow, and warns you before liquidation. Open Margin
margin/position-plan
0.01 MEX
Before you borrow: liquidation price, how far the stock can fall, interest, a stress table and the most you can borrow to survive a given drop.
Input
- collateral
- string (a stock symbol with a Morpho-listed MEX market: see /api/v1/margin/markets)
- amount
- number (stock tokens you would supply as collateral)
- borrow
- number (optional: MEX you would borrow)
- market
- string (optional: a Morpho market id, to plan on that market instead)
Output
- market
- { id, link, collateral, loan, lltv, priceMEX, oracle: { feed, updatedAt, ageHours, stale }, borrowApyPercent, availableLiquidityMEX, utilizationPercent, liquidationPenaltyPercent, listedByMerx }
- collateralValueMEX
- number
- maxBorrowMEX
- number
- borrow
- { amountMEX, ltvPercent, liquidationPriceMEX, dropToLiquidationPercent, interestPerMonthMEX, interestPerYearMEX, fitsAvailableLiquidity } | null
- stress
- { dropPercent, priceMEX, ltvPercent, liquidated }[]
- buffers
- { survivesDropPercent, maxBorrowMEX }[]
- otherMarkets
- { id, lltv, availableLiquidityMEX, borrowApyPercent }[]
- warnings
- string[]
- steps
- string[]
- engine
- hybrid | rules (hybrid when an AI model added its explanation)
- ai
- { summary, notes, model } | null
margin/position-check
0.01 MEX
After you borrow: every Morpho borrow position of an address, with debt and interest to the second, loan-to-value and how close it is to liquidation.
Input
- address
- string (a 0x address on BNB Smart Chain)
Output
- positions
- { market, collateralAmount, collateralValueMEX, debtMEX, ltvPercent, liquidationPriceMEX, dropToLiquidationPercent, status: safe | watch | at_risk | liquidatable | unknown | no_debt, warnings }[]
- totals
- { debtMEX, collateralValueMEX }
- marketsWithCollateralHistory
- number
- engine
- hybrid | rules (hybrid when an AI model added its explanation)
- ai
- { summary, notes, model } | null
margin/position-watch
0.05 MEX
Watches an address's Morpho loans for 30 days and posts a signed alert to your webhook when one gets close to liquidation, gets worse, stays critical or recovers; optionally also when Morpho lists a new stock market.
Input
- address
- string (the borrower's 0x address)
- webhook
- string (an https:// URL that answers 2xx; Slack and Discord webhook URLs work as they are)
- alertAt
- optional "watch" (75% of the way to liquidation) or "at_risk" (90%, the default)
- newMarkets
- optional boolean (also post when Morpho lists a new stock market; default false)
Output
- watchId
- string
- secret
- string (64 hex characters, shown once: signs every event and stops the watch)
- expiresAt
- ISO date (30 days; buying again for the same address and webhook adds 30 days)
- renewed
- boolean
- positions
- { symbol, market, status, debtMEX, ltvPercent, liquidationPriceMEX, dropToLiquidationPercent }[] (open loans now)
- events
- string[] (margin.watch_started, margin.alert, margin.recovered, margin.new_market)
- signature
- { header: X-Merx-Signature, value: sha256=<HMAC-SHA256 of the raw body, keyed with secret>, sdk: how to check it with @merxagent/sdk }
- stop
- { method: DELETE, url, body: { watchId, secret } }
Swarm
Due diligence on any token on BNB Smart Chain, by a team of agents in one call. Open Swarm
swarm/token-report
0.02 MEX
One call: contract powers, verified source, liquidity and pools, deployer record, injection in the token's metadata, news and posts, with a verdict and plain findings.
Input
- token
- string (the token's 0x address on BNB Smart Chain)
Output
- verdict
- red_flags | caution | no_red_flags | not_a_token
- findings
- { level: red | amber | green | info, code, text }[] (most serious first)
- contract
- { name, symbol, decimals, totalSupply, standard, features: { permit, transferWithAuthorization, pausable, paused }, control: { owner, proxy }, risks }
- source
- { ok, value: { verified: exact_match | match | null, link } } (Sourcify)
- market
- { ok, value: { pools, totalLiquidityUsd, main: { dex, pair, url, priceUsd, liquidityUsd, volume24hUsd, priceChange24hPercent, buys24h, sells24h, createdAt } | null } } (DexScreener)
- deployer
- { ok, value: { address, profile, credit } } (the token's deployer() when it has one, otherwise its owner; credit is their agents' loan record on Priors)
- metadataScan
- { ok, value: { verdict: clean | suspicious | malicious, score, rules, checkedChars } } (only instructions aimed at agents count)
- beacon
- { ok, value: address | null } (the EIP-1967 beacon of a beacon proxy)
- robinhoodStockToken
- { ok, value: boolean }
- issuer
- string | null (Robinhood for its stock tokens, MEX's issuer for MEX: their admin powers are reported as amber, not red)
- news
- { ok, value: { count, latest: { title, url, source, published }[] } }
- social
- { ok, value: { count, mood, latest: { text, url, author }[] } } (posts with the token's cashtag)
- checkedAt
- ISO date
- engine
- hybrid | rules (hybrid when an AI model added its summary)
- ai
- { summary, watch: string[], model } | null
Router
Ask for a task, not a skill: the MEX skill with the best record answers, and a backup steps in before you pay. Open Router
router/token-check
0.02 MEX
A token on BNB Smart Chain checked by Swarm, or by Scope's contract check if Swarm fails: verdict, coverage and findings in one shape.
Input
- token
- string (the token's 0x address on BNB Smart Chain)
Output
- verdict
- red_flags | caution | no_red_flags | not_a_token
- coverage
- full | contract only (a contract-only answer never says red_flags)
- name
- string | null
- symbol
- string | null
- findings
- { level: red | amber | green | info, text }[]
- servedBy
- { skill, price } (the skill that answered)
- tried
- { skill, outcome }[] (skills tried first that failed or were skipped)
- records
- { skill, uptimePercent, recentFailures, recentCalls, healthy }[] (what the order was based on)
- raw
- object (the serving skill's own answer)
router/crypto-mood
0.05 MEX
The mood toward a crypto or web3 topic from X read by Grok, or from Bluesky if X Pulse fails: mood, score, summary and posts in one shape. Other topics are refused and not charged.
Input
- query
- string (a crypto or web3 topic)
- days
- optional number (1 to 7, default 2)
Output
- mood
- bullish | neutral | bearish | mixed | null
- score
- number (-1 to 1) | null
- summary
- string | null
- posts
- { url, author, text }[]
- source
- X, read by Grok | Bluesky
- servedBy
- { skill, price }
- tried
- { skill, outcome }[]
- records
- { skill, uptimePercent, recentFailures, recentCalls, healthy }[]
- raw
- object (the serving skill's own answer)