{"uid":"cap_MH277sF2BvYbsv6FySioc","slug":"alpha-vantage-macd-3774b051","name":"Alpha Vantage MACD","description":"Moving Average Convergence/Divergence — trend-following momentum indicator.","url":"https://alphavantage.mpp.paywithlocus.com/alphavantage/macd?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["symbol","interval","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"},"fastperiod":{"type":"number","description":"Fast period (default 12)"},"slowperiod":{"type":"number","description":"Slow period (default 26)"},"series_type":{"type":"string","description":"Price type: close, open, high, low"},"signalperiod":{"type":"number","description":"Signal period (default 9)"}},"additionalProperties":true},"responseSchema":null,"example":{"request":{"symbol":"AAPL","datatype":"json","interval":"daily","fastperiod":12,"slowperiod":26,"series_type":"close","signalperiod":9},"response":{"_bytes":262144,"_preview":"{\"success\":true,\"data\":{\"Meta Data\":{\"1: Symbol\":\"AAPL\",\"2: Indicator\":\"Moving Average Convergence/Divergence (MACD)\",\"3: Last Refreshed\":\"2026-06-05\",\"4: Interval\":\"daily\",\"5.1: Fast Period\":12,\"5.2: Slow Period\":26,\"5.3: Signal Period\":9,\"6: Series Type\":\"close\",\"7: Time Zone\":\"US/Eastern\"},\"Technical Analysis: MACD\":{\"2026-06-05\":{\"MACD\":\"8.5123\",\"MACD_Signal\":\"9.4502\",\"MACD_Hist\":\"-0.9378\"},\"2026-06-04\":{\"MACD\":\"9.2049\",\"MACD_Signal\":\"9.6846\",\"MACD_Hist\":\"-0.4797\"},\"2026-06-03\":{\"MACD\":\"9.5589\",\"MACD_Signal\":\"9.8046\",\"MACD_Hist\":\"-0.2457\"},\"2026-06-02\":{\"MACD\":\"9.9704\",\"MACD_Signal\":\"9.8660\",\"MACD_Hist\":\"0.1044\"},\"2026-06-01\":{\"MACD\":\"9.8477\",\"MACD_Signal\":\"9.8399\",\"MACD_Hist\":\"0.0078\"},\"2026-05-29\":{\"MACD\":\"10.4530\",\"MACD_Signal\":\"9.8379\",\"MACD_Hist\":\"0.6151\"},\"2026-05-28\":{\"MACD\":\"10.4880\",\"MACD_Signal\":\"9.6841\",\"MACD_Hist\":\"0.8039\"},\"2026-05-27\":{\"MACD\":\"10.3344\",\"MACD_Signal\":\"9.4832\",\"MACD_Hist\":\"0.8513\"},\"2026-05-26\":{\"MACD\":\"10.1571\",\"MACD_Signal\":\"9.2703\",\"MACD_Hist\":\"0.8867\"},\"2026-05-22\":{\"MACD\":\"10.0395\",\"MACD_Signal\":\"9.0487\",\"MACD_Hist\":\"0.9909\"},\"2026-05-21\":{\"MACD\":\"9.6936\",\"MACD_Signal\":\"8.8009\",\"MACD_Hist\":\"0.8926\"},\"2026-05-20\":{\"MACD\":\"9.5010\",\"MACD_Signal\":\"8.5778\",\"MACD_Hist\":\"0.9232\"},\"2026-05-19\":{\"MACD\":\"9.3959\",\"MACD_Signal\":\"8.3470\",\"MACD_Hist\":\"1.0489\"},\"2026-05-18\":{\"MACD\":\"9.4592\",\"MACD_Signal\":\"8.0847\",\"MACD_Hist\":\"1.3744\"},\"2026-05-15\":{\"MACD\":\"9.5173\",\"MACD_Signal\":\"7.7411\",\"MACD_Hist\":\"1.7762\"},\"2026-05-14\":{\"MACD\":\"9.2098\",\"MACD_Signal\":\"7.2971\",\"MACD_Hist\":\"1.9127\"},\"2026-05-13\":{\"MACD\":\"8.8890\",\"MACD_Signal\":\"6.8189\",\"MACD_Hist\":\"2.0701\"},\"2026-05-12\":{\"MACD\":\"8.2831\",\"MACD_Signal\":\"6.3014\",\"MACD_Hist\":\"1.9817\"},\"2026-05-11\":{\"MACD\":\"7.8036\",\"MACD_Signal\":\"5.8060\",\"MACD_Hist\":\"1.9976\"},\"2026-05-08\":{\"MACD\":\"7.2939\",\"MACD_Signal\":\"5.3066\",\"MACD_Hist\":\"1.9873\"},\"2026-05-07\":{\"MACD\":\"6.4996\",\"MACD_Signal\":\"4.8098\",\"MACD_Hist\":\"1.6899\"},\"2026-05-06\":{\"MACD\":\"5.9895\",\"MACD_Signal\":\"4.3873\",\"MACD_Hist\":\"1.6022\"},\"2026-05-05\":{\"MACD\"","_truncated":true,"_contentType":"application/json; charset=utf-8"}},"exampleRequest":{"symbol":"AAPL","datatype":"json","interval":"daily","fastperiod":12,"slowperiod":26,"series_type":"close","signalperiod":9},"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_GLbXEJiPg1iDp2EtQnk8L","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Alpha Vantage","brandSlug":"alpha-vantage","brandBaseUrl":"https://www.alphavantage.co","brandDocsUrl":"https://www.alphavantage.co/documentation/","whatItDoes":"Returns Moving Average Convergence/Divergence (MACD) technical indicator values for a given stock, forex pair, or crypto symbol over a specified time interval.","exampleAgentPrompt":"Can you pull the daily MACD values for AAPL using the default settings — fast period 12, slow period 26, signal period 9 — based on closing prices?","exampleUseCases":null,"resultDescription":"Returns a time-series of MACD indicator data points, each containing the MACD line value, the signal line value, and the MACD histogram value for the specified symbol and interval. The response is structured as a JSON object (or CSV if requested) with timestamps as keys.","failureModes":["Invalid or unsupported symbol returns an error or empty data","Unsupported interval value causes a 400-level error","Missing required fields (symbol, interval, series_type) returns a validation error","Rate limit exceeded returns an error message","Invalid month format for intraday requests causes a parsing error"],"whenToPreferThis":"Use this endpoint when you need MACD technical indicator data for stocks, forex pairs, or crypto assets, particularly when building trading signals, momentum analysis, or chart overlays. Prefer this over SMA or EMA endpoints when you specifically need convergence/divergence momentum signals. Best suited when you need both MACD and signal line values together along with the histogram.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:48:30.032Z","isFirstParty":false,"canonicalSlug":"alpha-vantage-macd-3774b051"}