{"uid":"cap_-A1mz1NBZs_Ib8ClX-upk","slug":"alpha-vantage-macd-via-locus-x402-27e21bcd","name":"Alpha Vantage MACD via Locus x402","description":"Financial market data — stock prices, forex, crypto, commodities, economic indicators, technical analysis, and news sentiment.","url":"https://alphavantage.x402.paywithlocus.com/alphavantage/macd","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"month":{"type":"string"},"symbol":{"type":"string"},"datatype":{"type":"string"},"interval":{"type":"string"},"fastperiod":{"type":"number"},"slowperiod":{"type":"number"},"series_type":{"type":"string"},"signalperiod":{"type":"number"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CdGG5pN9zuWq86ltll-ev","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Moving Average Convergence Divergence (MACD) technical indicator for a given stock symbol and interval, returning MACD line, signal line, and histogram values.","exampleAgentPrompt":"Can you get the MACD indicator for AAPL on a daily interval, using the default fast period of 12, slow period of 26, and signal period of 9 based on closing prices?","exampleUseCases":[{"title":"Momentum trading signal detection","prompt":"Grab the daily MACD for NVDA using close prices with the default 12/26/9 settings — I want to see if there's a bullish crossover forming."},{"title":"Intraday scalping strategy analysis","prompt":"Pull the 15-minute MACD for SPY for this month (2024-11), using fast period 8, slow period 21, and signal period 5 on closing prices so I can assess short-term momentum."},{"title":"Weekly trend confirmation for swing trading","prompt":"Get me the weekly MACD for MSFT with default fast period 12, slow period 26, signal period 9, based on closing prices — I'm trying to confirm a longer-term uptrend."}],"resultDescription":"Returns a JSON object containing timestamped MACD data points including the MACD line value, the signal line value, and the histogram (MACD minus signal) for each period, along with payment settlement details and request metadata.","failureModes":["Invalid or unrecognized ticker symbol returns an error or empty data object","Unsupported interval string causes a validation error","Payment failure or insufficient USDC balance prevents the request from completing","Missing required 'symbol' field results in a bad request error","Requesting data for a very recent intraday month with no data yet may return empty results"],"whenToPreferThis":"Choose this endpoint when you need MACD technical indicator data specifically, computed server-side via Alpha Vantage's standardized methodology, and you want to pay per-call in USDC via the x402 micropayment protocol without needing an Alpha Vantage API key directly. Prefer this over raw price endpoints when you want pre-computed momentum signals rather than raw OHLCV data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:19.326Z","isFirstParty":false}