$ man market-rates-pack
/market-rates-pack
PRICE / CALL
$0.04
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
composeCATEGORY
uncategorized
STATUS
● live
NAME
market-rates-pack — merges fx rates, perp funding, and hyperliquid mark price into one call
SYNOPSIS
POST https://x402.agentutility.ai/market-rates-pack
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Merges FX rates, perp funding, and Hyperliquid mark price into one call. Composite: one call runs exchange-rates + funding-rates + hyperliquid-market in parallel, merging ECB fiat FX rates for a chosen base currency, Binance USD-M perpetual funding (current rate, mark/index price, next funding time, 24h history), and Hyperliquid perp market data (mark price, max leverage, size decimals) for a chosen crypto symbol. Data-only market data merge; no advice. Use it as a cross-market rates bundle: ECB exchange rates + Binance funding + perps data.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| symbol | string | Crypto symbol for perp components: 'BTC', 'ETH', 'SOL', or Binance form 'BTCUSDT'. Default 'BTC'. | optional |
| base | string | ISO 4217 fiat base for FX rates, e.g. 'USD' (default), 'EUR'. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| symbol | string | — |
| base | string | — |
| fx | string | — |
| funding | string | — |
| hyperliquid | string | — |
| note | string | — |
| composed_of | string | — |
| components | string | — |
| degraded | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/market-rates-pack \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the market-rates-pack tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- composemarketratespackmarket-rates-pack
- methods
- POST
- cluster
- compose
- price
- $0.04 USDC per call
ADJACENT — other endpoints in compose
| endpoint | description | price |
|---|---|---|
| article-brief | Analyzes a news article from its URL into a summary, named entities, and sentiment in one call. | $0.04 |
| company-verify-pack | Checks that a company exists and its public signals are consistent, in one call: profile, registrar, domain age, and TLS. | $0.04 |
| content-quality-pack | Runs the standard pre-publish content checks on text in one call: AI-detection, PII scan, moderation, and sentiment. | $0.04 |
| contract-trust-pack | Gathers smart-contract due-diligence data in one call: source verification, honeypot simulation, and LP lock check. | $0.04 |
| defi-protocol-dossier | Profiles a DeFi protocol's TVL and yield pools in one call using DeFiLlama data. | $0.04 |
| domain-dossier | Builds a full domain report in one call: WHOIS, DNS, TLS, age, risk, and DMARC. | $0.04 |
| image-caption-localize | Captions an image and translates the caption into any of 100+ languages in one call. | $0.04 |
| image-intel-pack | Analyzes an image in one call: description, brand logo detection, and content moderation. | $0.04 |
SEE ALSO