{"uid":"cap_Qa6cusuEb2UYyqRQfc3fG","slug":"claw402-macd-indicator-polygon-technical-analysis-07377cb2","name":"claw402 MACD Indicator — Polygon Technical Analysis","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/polygon/macd","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":{"limit":{"type":"string"},"order":{"type":"string"},"adjusted":{"type":"string"},"timespan":{"type":"string"},"timestamp":{"type":"string"},"long_window":{"type":"string"},"series_type":{"type":"string"},"stockTicker":{"type":"string"},"short_window":{"type":"string"},"signal_window":{"type":"string"},"expand_underlying":{"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_kfH6JosKEhIy6csNY9EmW","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":"Returns MACD (Moving Average Convergence Divergence) technical indicator data for a given stock ticker via Polygon.io, paid per-call with USDC over x402.","exampleAgentPrompt":"Can you get me the MACD indicator for AAPL using a 12-day short window, 26-day long window, and 9-day signal window on daily candles, closing price as the series type, most recent 10 results in descending order?","exampleUseCases":null,"resultDescription":"A JSON object with a code field (0 for success) and a data array containing MACD values including the MACD line, signal line, and histogram values with their corresponding timestamps, suitable for charting or algorithmic trading signals.","failureModes":["Invalid or unsupported stock ticker returns empty data array","Missing required query parameters may return error or empty response","Expired or invalid USDC payment returns 402 Payment Required","Unsupported timespan value results in error response","Rate limiting or upstream Polygon.io outage may cause failures","Malformed query parameters return code != 0 or empty data"],"whenToPreferThis":"Use this endpoint when you need MACD technical indicator data for a stock ticker without needing a Polygon.io API key, and you prefer micro-payment per-call billing via USDC over a subscription. Ideal for agents that need occasional technical analysis data on-demand with no registration overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:42:49.033Z","isFirstParty":false}