curl -H "X-API-Key: cdk_live_…" \
"https://cryptodataapi.com/api/v1/market-data/klines?symbol=PYUSDUSDT&interval=1d&limit=90"
Peg stability and supply for this stablecoin: how far it has drifted from its target and how the float has changed.
Market Sentiment →This coin is designed to stay worth about $1. Small wobbles are completely normal. The warning sign is a gap that stays open, especially if the total supply is shrinking at the same time — that suggests people are cashing out rather than trading.
Depeg arbitrage is the direct trade: buy below the peg and redeem at par, which is how the peg gets restored. More broadly, the stablecoin supply ratio (SSR) treats stablecoin float as dry powder — a growing supply is buying power waiting on the sidelines, which is why it is watched as a market-wide indicator.
Design a new strategy that uses PYUSD supply and peg data as its signal, read live from /api/v1/sentiment/stablecoins. Decide whether you are trading PYUSD itself on peg deviation or trading the wider market on supply growth, and justify the choice. Define entry, exit and risk limits. Validate on /api/v1/backtesting/snapshots?data_type=stablecoins plus /api/v1/backtesting/klines.
Supply and peg history live in /backtesting/snapshots?data_type=stablecoins, with a matching stablecoins block in the daily bundle. Use it to test supply growth as a market-wide dry-powder signal, not just this one coin's peg.
Using CryptoDataAPI, test PYUSD's peg stability and its supply as a market signal. Pull /api/v1/backtesting/snapshots?data_type=stablecoins for PYUSD supply and peg history, plus BTC daily bars from /api/v1/backtesting/klines. First, measure how often PYUSD deviated more than 0.5% from $1 and how long each episode lasted. Then compare forward 30d BTC returns following the fastest and slowest deciles of PYUSD supply growth. Report whether either relationship is strong enough to trade.
curl -H "X-API-Key: cdk_live_…" "https://cryptodataapi.com/api/v1/on-chain/exchange-flows/PYUSD"
Net movement of this coin on and off centralised exchanges, across every chain we index. Coins moving ONTO an exchange are being positioned to sell; coins moving OFF are going to self-custody or staking.
Exchange Flows & Liquidations →Coins moving ONTO an exchange usually means someone is getting ready to sell them. Coins moving OFF usually means they are being held for longer. One large move in a single hour is often just one person shuffling funds; the same direction repeating over days is the signal worth acting on.
Exchange netflow is a well-known on-chain indicator: sustained outflows shrink the supply available to sell and tend to precede strength, while sustained inflows do the opposite. Reserve depletion strategies take positions when exchange balances fall to multi-year lows. It is a slow signal — better for framing a position over weeks than for timing an entry.
Design a new swing strategy for PYUSD driven by exchange flows from /api/v1/on-chain/exchange-flows/PYUSD. This is a slow signal, so define a holding period in days or weeks and say what invalidates the trade rather than using a tight stop. Validate against the exchange_flows block of /api/v1/backtesting/daily-snapshots/{date} plus daily bars from /api/v1/backtesting/klines, and report whether the signal survives transaction costs.
Exchange flows are archived per chain in the exchange_flows block of /backtesting/daily-snapshots/{date}. It is a daily series rather than intraday, which suits the signal — netflow is a multi-day read, not an entry trigger.
Using CryptoDataAPI, test exchange netflow as a signal for PYUSD. Pull the exchange_flows block from /api/v1/backtesting/daily-snapshots/{date} across the archive and daily price bars from /api/v1/backtesting/klines. Compare forward 7d and 30d returns after sustained net outflows versus sustained net inflows. Report whether the difference is large enough to trade after costs.
curl -H "X-API-Key: cdk_live_…" "https://cryptodataapi.com/api/v1/on-chain/exchange-flows/PYUSD"
PayPal USD price, derivatives, on-chain flows and quant regimes — plus 180+ endpoints across the whole market. The free tier is real: 1,000 requests/day, no card required.
Add the MCP server in one line — then your agent answers crypto questions by calling the API for you. No endpoints to wire up, no keys to juggle. Just ask.
setup cryptodataapi-mcp