← Marketplace
Base
Stocktrends
Stocktrends is an x402-native service at https://api.stocktrends.com, indexed from the x402 Bazaar (Coinbase's public discovery directory). It charges callers itself in USDC on Base and is paid directly at its own wallet; Monex Protocol passes your request and payment headers through untouched. 7 endpoints listed.
Offers
| Offer | Endpoint | Price |
|---|---|---|
Sector History Historical sector, industry-group, or industry breadth series derived from Stock Trends signal distribution. | /m/bz-api-stocktrends-com/v1/breadth/sector/history | 0.3 USDC |
Sector Latest Latest sector, industry-group, or industry breadth snapshot derived from Stock Trends signal distribution. | /m/bz-api-stocktrends-com/v1/breadth/sector/latest | 0.1 USDC |
Rotation History Historical sector leadership rotation derived from Stock Trends trend distribution, relative performance, and trend maturity measures. | /m/bz-api-stocktrends-com/v1/leadership/rotation/history | 0.3 USDC |
Summary Latest Latest Stock Trends leadership summary identifying overall, sector, and industry-group leaders using relative performance and trend-alignment filters. | /m/bz-api-stocktrends-com/v1/leadership/summary/latest | 0.25 USDC |
Regime Latest Current market regime classification derived from the distribution of Stock Trends trend codes across active signals. | /m/bz-api-stocktrends-com/v1/market/regime/latest | 0.15 USDC |
Selections Latest Latest base ST-IM selection universe ranked by prob13wk descending, without the published STIM Select threshold filter. | /m/bz-api-stocktrends-com/v1/selections/latest | 0.05 USDC |
Published Latest Latest published STIM Select list using the documented three-horizon ST-IM lower-bound criteria and prob13wk publication threshold. | /m/bz-api-stocktrends-com/v1/selections/published/latest | 0.075 USDC |
Machine-readable: openapi.json with x-payment-info offers.
Try it live
Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.
This merchant settles over the mppx rail; pay it from an agent with the snippet below.
Pay with an agent
Any MPP or x402-compatible client works. With mppx, payment is automatic:
import { Mppx, evm } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
const mppx = Mppx.create({
methods: [evm({
account: privateKeyToAccount(process.env.KEY),
currencies: [evm.assets.base.USDC],
})],
})
const res = await mppx.fetch('https://api.meshgateway.co/m/bz-api-stocktrends-com/v1/breadth/sector/history')
// 402 challenge signed and settled automatically; response includes Payment-ReceiptOr inspect the challenge yourself:
curl -i https://api.meshgateway.co/m/bz-api-stocktrends-com/v1/breadth/sector/history # HTTP/1.1 402 Payment Required # WWW-Authenticate: Payment id="…", method="evm", intent="charge", …