{"uid":"cap_uptty-GHsKHwZ5P2mlhwv","slug":"alpha-vantage-sma-932c6817","name":"Alpha Vantage SMA (Simple Moving Average)","description":"Simple Moving Average technical indicator for a given equity.","url":"https://alphavantage.mpp.paywithlocus.com/alphavantage/sma?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["symbol","interval","time_period","series_type"],"properties":{"month":{"type":"string","description":"Specific month (YYYY-MM) for intraday intervals"},"symbol":{"type":"string","description":"Stock ticker symbol"},"datatype":{"type":"string","description":"\"json\" (default) or \"csv\""},"interval":{"type":"string","description":"Time interval: 1min, 5min, 15min, 30min, 60min, daily, weekly, monthly"},"series_type":{"type":"string","description":"Price type: close, open, high, low"},"time_period":{"type":"number","description":"Number of data points for calculation (e.g., 20, 50, 200)"}},"additionalProperties":true},"responseSchema":null,"example":{"request":{"symbol":"AAPL","interval":"daily","series_type":"close","time_period":50},"response":{"_truncated":true,"_originalSize":204565}},"exampleRequest":{"symbol":"AAPL","interval":"daily","series_type":"close","time_period":50},"tags":["finance","stocks","forex","crypto","market-data","technical-analysis","data"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.008/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cul8cNN6E9rdMNnqDzeBN","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"Alpha Vantage","brandSlug":"alpha-vantage","brandBaseUrl":"https://www.alphavantage.co","brandDocsUrl":"https://www.alphavantage.co/documentation/","whatItDoes":"Calculates the Simple Moving Average (SMA) technical indicator for a given stock, forex, or crypto symbol over a specified time period and interval.","exampleAgentPrompt":"Can you get me the 50-period simple moving average for AAPL using daily closing prices so I can check the trend?","exampleUseCases":null,"resultDescription":"Returns a time-series of SMA values keyed by timestamp, with each data point representing the simple moving average calculated over the specified number of periods (e.g. 50-day SMA) for the given symbol and price type (e.g. close).","failureModes":["Invalid or unknown ticker symbol returns an error message or empty data","Unsupported interval value causes a validation error","time_period of 0 or negative value is rejected","Requesting intraday data without specifying a valid month may return limited results","Rate limit exceeded returns HTTP 429 or API-level rate limit message","Symbol not available for the requested asset class (e.g. crypto vs equities mismatch)"],"whenToPreferThis":"Use this endpoint when you need a classic Simple Moving Average indicator for technical analysis of stocks, forex pairs, or crypto assets. Prefer SMA over EMA when you want equal weighting across all data points in the window. Best for trend identification, support/resistance level analysis, and crossover strategies (e.g. golden cross with 50/200-day SMA).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:41:32.926Z","isFirstParty":false,"canonicalSlug":"alpha-vantage-sma-932c6817"}