{"uid":"cap_NzniII0mHbBcm6GkxHM34","slug":"coincap-simple-moving-average-sma-ad46421f","name":"CoinCap Simple Moving Average (SMA)","description":"Simple moving average (SMA) for an asset slug.","url":"https://rest.coincap.io/v3/agentFriendly/ta/bitcoin/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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["slug"],"properties":{"slug":{"type":"string"}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KH_bjdYIt7VFBtkgxuTsp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","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 cryptocurrency asset slug.","exampleAgentPrompt":"What is the current simple moving average (SMA) for bitcoin according to CoinCap?","exampleUseCases":[{"title":"Bitcoin trend direction check","prompt":"Can you pull the SMA for bitcoin from CoinCap so I can see whether it's trending up or down right now?"},{"title":"Ethereum trading signal research","prompt":"Get me the simple moving average for ethereum — I want to know if the price is currently above or below the SMA before I make a trade."},{"title":"Altcoin momentum screening","prompt":"Fetch the SMA for solana from CoinCap so I can assess whether it's showing bullish momentum this week."}],"resultDescription":"Returns computed SMA data for the requested asset slug, including the SMA value(s) and associated time/period metadata, enabling assessment of price trend direction relative to historical averages.","failureModes":["Invalid or unrecognized asset slug returns an error or empty result","Network timeout or service unavailability","Insufficient historical data for the requested asset to compute SMA","Rate limiting if too many requests are made in a short period","Payment failure if x402 micropayment is not properly handled"],"whenToPreferThis":"Use this endpoint when you need a Simple Moving Average (SMA) specifically for a cryptocurrency asset — it is purpose-built for crypto TA via the CoinCap agent-friendly API. Prefer it over generic financial data APIs when you are already working in the CoinCap ecosystem (e.g. alongside its EMA, MACD, or RSI endpoints) or need a lightweight, pay-per-call technical indicator without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:20.464Z","isFirstParty":false}