{"uid":"cap_e1wKyhpMQDVXPvVS65dsa","slug":"claw402-twelvedata-sma-indicator-via-x402-94ab5dd2","name":"claw402 TwelveData SMA Indicator via x402","description":"Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.","url":"https://claw402.ai/api/v1/twelvedata/indicator/sma","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":{"symbol":{"type":"string"},"interval":{"type":"string"},"outputsize":{"type":"string"},"time_period":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"code":0,"data":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_NumIXVGcV6wlJQvD47avO","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":"Fetches the Simple Moving Average (SMA) technical indicator for a given stock symbol and interval, paid per-call with USDC via the x402 protocol.","exampleAgentPrompt":"Can you get me the 20-period simple moving average for AAPL on a daily interval using TwelveData — I need the last 30 data points?","exampleUseCases":[{"title":"Real-time stock momentum analysis for trading","prompt":"I'm watching TSLA right now — can you grab the 50-period SMA on an hourly interval so I can see if it's gaining or losing momentum?"},{"title":"Multi-timeframe technical indicator comparison","prompt":"Pull the 10-day and 30-day simple moving averages for NVDA on daily candles — I want to compare where the price sits relative to both of them."},{"title":"Automated entry signal detection for swing trading","prompt":"Check the 200-period SMA for BTC on the daily chart and let me know if the current price is above or below it — that'll help me decide on my entry point."}],"resultDescription":"Returns a JSON object with a code field and a data array containing SMA values for the requested symbol, interval, and time period — suitable for technical analysis or charting.","failureModes":["Payment not received — 402 response if USDC payment is not completed","Invalid symbol — returns error code if the ticker is not recognized by TwelveData","Invalid interval — returns error if the interval string is not supported","Empty data array — if no data is available for the requested parameters","Network timeout — upstream TwelveData API may be unavailable"],"whenToPreferThis":"Use this endpoint when you need SMA technical indicator data and want to pay per-call in USDC without API keys or registration, leveraging the x402 micropayment protocol — ideal for agentic workflows that require on-demand financial data without managing subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:27.812Z","isFirstParty":false}