{"uid":"cap_j-QUUe9N7iMQpS0cdRiJg","slug":"x402stock-sma-indicator-simple-moving-average-for-us-stocks-b3026c0d","name":"x402stock SMA Indicator — Simple Moving Average for US Stocks","description":"US stock prices, snapshots, OHLC bars, fundamentals, corporate actions, technical indicators and news for AI agents. No API keys. No accounts. Pay per request in USDC via x402.","url":"https://x402stock.vercel.app/api/v1/indicators/sma/%7Bticker%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"count":2,"values":[{"value":275.2846,"timestamp":"2026-05-28T12:00:00.000Z"},{"value":274.0422,"timestamp":"2026-05-27T12:00:00.000Z"}],"indicator":"sma"},"as_of":"2026-05-28T12:00:00.000Z","source":"massive","ticker":"AAPL"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lshWCHDTw9Y_inUCuFWv4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 values for a given US stock ticker, with timestamped data points, paid per request via x402/USDC.","exampleAgentPrompt":"What's the simple moving average for AAPL right now? Pull the latest SMA values so I can see the trend.","exampleUseCases":[{"title":"Momentum check before trade","prompt":"Can you grab the SMA for NVDA so I can see if it's trending above or below its moving average before I make a move?"},{"title":"Algorithmic trading signal feed","prompt":"I need the latest SMA values for SPY to feed into my trading signal — can you pull those timestamped data points now?"},{"title":"Portfolio technical review","prompt":"What does the simple moving average look like for MSFT right now? I want to see the last couple of SMA data points and when they were recorded."}],"resultDescription":"Returns a JSON object containing the ticker symbol, indicator name ('sma'), an as-of timestamp, the data source, and an array of SMA value objects each with a numeric value and ISO 8601 timestamp, plus a count of returned data points.","failureModes":["Invalid or unrecognized ticker symbol returns an error or empty data","Ticker for a non-US-listed equity may return no data","Network or payment failure via x402 protocol results in 402 Payment Required or connection error","Requesting a period with insufficient historical data may return fewer data points than expected","Malformed ticker path parameter causes a 400 or 404 error"],"whenToPreferThis":"Choose this endpoint when you need SMA technical indicator data for a US-listed stock without setting up API keys or accounts, and you can pay micro-amounts per request in USDC. Ideal for AI agents doing real-time or on-demand technical analysis lookups, especially in automated trading, portfolio monitoring, or financial research workflows that need pay-as-you-go access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T14:11:26.267Z","isFirstParty":false,"canonicalSlug":"x402stock-sma-indicator-simple-moving-average-for-us-stocks-b3026c0d"}