{"uid":"cap_1ugJyhFjnVRE75rQ5gP-u","slug":"x402-quantitative-technical-indicators-e2c7fc70","name":"X402 Quantitative Technical Indicators","description":"Pay-per-request data tools for AI agents.","url":"https://x402.feld-feder.at/v1/quant/indicators","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","title":"QuantIndicatorsRequest","required":["closes"],"properties":{"closes":{"type":"array","items":{"type":"number","maximum":1000000000000,"exclusiveMinimum":0},"title":"Closes","maxItems":2000,"minItems":3},"rsi_period":{"type":"integer","title":"Rsi Period","default":14,"maximum":200,"minimum":2},"sma_periods":{"type":"array","items":{"type":"integer"},"title":"Sma Periods","default":[20,50],"maxItems":8,"minItems":1},"momentum_periods":{"type":"array","items":{"type":"integer"},"title":"Momentum Periods","default":[20,60],"maxItems":8,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"ResponseEnvelope[QuantIndicatorsResult]","required":["data"],"properties":{"ok":{"type":"boolean","const":true,"title":"Ok","default":true},"data":{"type":"object","title":"QuantIndicatorsResult","required":["observations","latest_close","simple_moving_averages","rsi","momentum_pct","annualized_volatility_pct","max_drawdown_pct","disclaimer"],"properties":{"rsi":{"type":"number","title":"Rsi"},"disclaimer":{"type":"string","title":"Disclaimer"},"latest_close":{"type":"number","title":"Latest Close"},"momentum_pct":{"type":"object","title":"Momentum Pct","additionalProperties":{"type":"number"}},"observations":{"type":"integer","title":"Observations"},"max_drawdown_pct":{"type":"number","title":"Max Drawdown Pct"},"simple_moving_averages":{"type":"object","title":"Simple Moving Averages","additionalProperties":{"type":"number"}},"annualized_volatility_pct":{"type":"number","title":"Annualized Volatility Pct"}}},"cache":{"anyOf":[{"type":"object","title":"CacheInfo","required":["hit"],"properties":{"hit":{"type":"boolean","title":"Hit"},"age_seconds":{"type":"integer","title":"Age Seconds","default":0,"minimum":0}}},{"type":"null"}],"default":null},"source":{"anyOf":[{"type":"object","title":"SourceInfo","required":["requested_url","final_url","retrieved_at"],"properties":{"final_url":{"type":"string","title":"Final Url"},"status_code":{"anyOf":[{"type":"integer","maximum":599,"minimum":100},{"type":"null"}],"title":"Status Code","default":null},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash","default":null},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type","default":null},"retrieved_at":{"type":"string","title":"Retrieved At","format":"date-time"},"requested_url":{"type":"string","title":"Requested Url"},"redirect_count":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Redirect Count","default":null}}},{"type":"null"}],"default":null},"_payment":{"anyOf":[{"type":"object","title":"PaymentInfo","required":["amount_usdc","network"],"properties":{"network":{"type":"string","title":"Network"},"amount_usdc":{"anyOf":[{"type":"number","minimum":0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Usdc"},"transaction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction","default":null}}},{"type":"null"}],"default":null},"warnings":{"type":"array","items":{"type":"object","title":"WarningInfo","required":["code","message"],"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}}},"title":"Warnings"},"provenance":{"type":"array","items":{"type":"string"},"title":"Provenance"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"rsi":80,"disclaimer":"Deterministic research output only; not financial advice or an order signal.","latest_close":106,"momentum_pct":{"3":3.921569,"5":6},"observations":6,"max_drawdown_pct":0.980392,"simple_moving_averages":{"3":103.666667,"5":102.8},"annualized_volatility_pct":31.5}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2IaN7SjXh_BUI08DdvHcz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes quantitative technical indicators (RSI, momentum, moving averages, volatility, max drawdown) for a price series, pay-per-request via x402 micropayment.","exampleAgentPrompt":"Compute technical indicators — RSI, momentum, simple moving averages, max drawdown, and annualized volatility — for these closing prices: [100, 102, 101, 104, 106, 106].","exampleUseCases":[{"title":"RSI check for crypto prices","prompt":"I have the last 6 daily closing prices for Bitcoin: 28000, 28500, 28200, 29000, 29800, 30000. Can you calculate the RSI, momentum, and moving averages for me?"},{"title":"Volatility screening for equities","prompt":"Run the quant indicators on these AAPL closing prices — 170, 172, 169, 175, 178, 177 — and tell me the annualized volatility and max drawdown."},{"title":"Momentum check before rebalancing","prompt":"Before I rebalance my portfolio, can you compute the 3-period and 5-period moving averages and momentum percentage for this ETF price series: 50, 51, 52, 53, 54, 55?"}],"resultDescription":"Returns a JSON object containing: RSI value, latest close price, momentum percentage for multiple lookback windows, simple moving averages for multiple windows, annualized volatility percentage, max drawdown percentage, number of observations, and a research disclaimer. All values are deterministic calculations based on the submitted price series.","failureModes":["Insufficient data points in price series — RSI and moving averages require a minimum number of observations","Invalid or malformed price array — non-numeric values cause computation failure","Payment failure or insufficient USDC balance — x402 micropayment rejected, request not processed","Empty price series submitted — endpoint returns error with no indicators computed","Network timeout or service unavailability at x402.feld-feder.at"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-use quantitative technical indicator computation without subscribing to a heavyweight financial data platform. It is ideal for AI agents that need on-demand RSI, momentum, SMA, volatility, and drawdown metrics from a user-supplied or agent-gathered price series, and when micropayment via x402/USDC is acceptable. Prefer this over broker APIs or Bloomberg-style feeds when you already have the price data and simply need the derived indicators computed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T15:27:55.163Z","isFirstParty":false}