{"uid":"cap_IsMiym7FTbLqrxO9Y5_fV","slug":"twelvex-sma-simple-moving-average-endpoint-b4724458","name":"TwelveX SMA (Simple Moving Average) Endpoint","description":"Premium financial data API — 25 endpoints for stocks, forex, crypto, and technical analysis. Powered by Twelve Data.","url":"https://twelv1x402.vercel.app/api/sma/%7Bsymbol%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"interval":{"type":"string"},"time_period":{"type":"string","description":"Default: 20"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UsJi1yLjKTJs_-wg0yebL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the Simple Moving Average (SMA) technical indicator for a given financial symbol, interval, and time period, powered by Twelve Data.","exampleAgentPrompt":"Can you get the 50-period simple moving average for AAPL on a daily interval using TwelveX?","exampleUseCases":null,"resultDescription":"Returns SMA indicator values for the requested symbol, including computed moving average data points with timestamps, suitable for charting or trading signal analysis.","failureModes":["Invalid or unsupported symbol returns an error response","Unsupported interval string causes API rejection","Missing required symbol path parameter results in 404","Payment failure (x402) blocks access if USDC payment is not settled","Rate limiting or quota exhaustion from underlying Twelve Data provider","Malformed time_period value may return default (20) or error"],"whenToPreferThis":"Use this endpoint when you need SMA technical indicator data for stocks, forex, or crypto, especially when you want a pay-per-call model without a subscription and need reliable data backed by Twelve Data. Prefer over alternatives when working in an x402-compatible payment environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:48:43.295Z","isFirstParty":false}