{"uid":"cap_ZvGdR9HfojaMcXj8lMtHT","slug":"gloom-market-bars-api-df3a1408","name":"Gloom Market Bars API","description":"Gloom is a free, open-source finance terminal for desktop and TUI with charts, news, filings, portfolios, alerts, and plugins.","url":"https://api.gloom.sh/v1/market/bars?utm_source=zero.xyz","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","required":["symbols"],"properties":{"symbols":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[{"date":"2026-09-14","symbol":"AAPL","values":{"price":105.82,"volume":2069454},"derived":false,"observedAt":null,"publishedAt":"2026-09-14"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.12","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.12/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ofw39UXop64QBumZo2s02","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.12","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches OHLCV-style market bar data (price and volume) for one or more stock symbols","exampleAgentPrompt":"Pull the latest market bar data for AAPL and MSFT from Gloom — I need the price and volume for each.","exampleUseCases":[{"title":"Portfolio price snapshot for rebalancing","prompt":"Get me the latest price and volume bars for AAPL, MSFT, TSLA, and AMZN — I'm checking my portfolio before deciding whether to rebalance today."},{"title":"Algorithmic trading signal check","prompt":"Fetch the most recent market bars for SPY and QQQ from Gloom so I can run them through my momentum indicator."},{"title":"Finance dashboard data refresh","prompt":"Pull current price and volume data for NVDA and AMD — I want to update my finance terminal dashboard with the latest market bars."}],"resultDescription":"Returns a JSON array of market bar objects, each containing the symbol, date, price, volume, a derived flag, and publishedAt timestamp. Example: {\"data\":[{\"date\":\"2026-09-14\",\"symbol\":\"AAPL\",\"values\":{\"price\":105.82,\"volume\":2069454},\"derived\":false,\"observedAt\":null,\"publishedAt\":\"2026-09-14\"}]}","failureModes":["Missing required 'symbols' query parameter returns an error","Invalid or unrecognized ticker symbol may return empty data array","Payment failure (insufficient USDC balance) blocks the request under x402 protocol","Rate limiting if too many symbols are requested at once","Network timeout for very broad symbol queries"],"whenToPreferThis":"Choose this endpoint when you need lightweight price and volume bar data for specific stock tickers, especially within an AI agent workflow that can handle per-call micropayments via x402. Prefer this over heavyweight financial data providers when you need a simple, cost-effective GET call for equity market bars without complex authentication setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:41.080Z","isFirstParty":false,"canonicalSlug":"gloom-market-bars-api-df3a1408"}