{"uid":"cap_2KD5dS_g1IISbcum94ky_","slug":"crypto-ema-technical-indicators-x402-1acd9f5d","name":"Crypto EMA & Technical Indicators (x402)","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/v1/indicators/ema?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"limit":{"type":"integer","maximum":500,"minimum":10,"description":"Number of candles (default 100)"},"symbol":{"type":"string","examples":["BTC","ETH","SOLUSDT"],"description":"Base asset or pair (default BTC); quote is USDT"},"interval":{"enum":["1m","5m","15m","1h","4h","1d"],"type":"string","description":"Candle size (default 1h)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"n":100,"last":80436.6,"source":"binance","symbol":"BTCUSDT","candles":[{"c":80305.21,"h":80418.67,"l":79916,"o":80058.01,"t":"2026-10-29T13:00:00Z","v":792.98}],"interval":"1h","change_pct":1.8,"indicators":{"zone":{"low":79900.9,"high":80519.9,"in_zone":true},"atr14":412.7,"ema20":80210.4,"ema50":79880.1,"rsi14":58.3,"trend":"up","atr14_pct":0.51},"updated_at":"2026-10-29T14:20:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0PH3eN9S-nbwKkHRvd5PV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns EMA, RSI, ATR, trend zone, and candlestick data for a crypto asset over a chosen interval, paid per-call via x402 USDC micropayment.","exampleAgentPrompt":"Can you pull the 1-hour EMA20, EMA50, RSI14, and trend zone for BTC using the last 100 candles so I can decide whether to enter a long position?","exampleUseCases":[{"title":"Momentum check before trade entry","prompt":"What's the current RSI and EMA trend for ETH on the 4-hour chart over 200 candles — is it overbought or in a bullish uptrend?"},{"title":"Support zone detection for stop-loss placement","prompt":"Fetch the ATR and support/resistance zone for SOL on the 1-hour timeframe so I can figure out where to set my stop-loss."},{"title":"Automated trading signal generation","prompt":"Get me the EMA20, EMA50, RSI14, and trend direction for BTCUSDT on the 15-minute chart with 100 candles so my trading bot can decide whether to buy or hold."}],"resultDescription":"Returns a JSON object with: last price, symbol, interval, number of candles, percent change, source exchange (Binance), array of OHLCV candles, and a nested indicators object containing EMA20, EMA50, RSI14, ATR14, ATR14 as percentage, trend direction (up/down/sideways), and a support/resistance zone (low, high, in_zone boolean). Also includes an updated_at timestamp.","failureModes":["Invalid symbol returns an error or empty data","Interval not in allowed enum (1m,5m,15m,1h,4h,1d) returns a 400 error","Limit outside 10-500 range returns a validation error","Payment failure or insufficient USDC balance returns 402 Payment Required","Binance data source downtime may cause stale or missing candle data"],"whenToPreferThis":"Choose this endpoint when an AI trading agent needs lightweight, pay-per-call technical indicator data (EMA, RSI, ATR, trend) without API key setup, especially in automated or low-volume agentic workflows where a subscription model is wasteful. Ideal for agents already operating on Base/USDC via x402. Prefer over full-service charting APIs when you only need computed indicators and recent candlestick data for a single symbol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:15.505Z","isFirstParty":false,"canonicalSlug":"crypto-ema-technical-indicators-x402-1acd9f5d"}