{"uid":"cap_uWadb6zjA74uaY-8RHMCr","slug":"api-stocktrends-com-f6b7c345","name":"Stock Trends Latest Weekly Price","description":"Latest weekly price row for a Stock Trends symbol, including adjusted close, weekly high/low, volume (actual shares traded), trades, and price change.","url":"https://api.stocktrends.com/v1/prices/latest","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":["symbol_exchange"],"properties":{"symbol":{"type":"string"},"cs_only":{"type":"boolean","default":true},"exchange":{"enum":["N","Q","A","B","T","I"],"type":"string"},"symbol_exchange":{"type":"string","pattern":"^[A-Z0-9.]+-[A-Z]$"}},"additionalProperties":false}},"additionalProperties":false},"title":{"type":"string"},"family":{"type":"string"},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"format":{"type":"string"},"example":{}},"description":"Latest weekly price, adjusted close, high/low, volume (actual shares traded), trades, split factor, and price change.","additionalProperties":true},"category":{"type":"string"},"schemaUrl":{"type":"string"},"description":{"type":"string"},"metadataUrl":{"type":"string"},"tools_manifest":{"type":"string"},"pricing_catalog":{"type":"string"}},"additionalProperties":true},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"symbol_exchange":"AAPL-Q"}}},"response":{"type":"CS","price":308.82,"symbol":"AAPL","trades":0,"volume":2015917,"exchange":"Q","weekdate":"2026-05-22","adj_close":308.82,"pr_change":2.9,"pr_week_hi":311.4,"pr_week_lo":294.91,"request_id":"988539fa-11d3-4175-98e6-9e6fc0914a78","split_fact":1,"currency_code":"USD","symbol_exchange":"AAPL-Q"}},"exampleRequest":{"symbol_exchange":"AAPL-Q"},"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VtmJvmEmko6HTAqn-y1qE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the most recent weekly price row for a given stock symbol, including adjusted close, weekly high/low, volume, trades, and price change.","exampleAgentPrompt":"What's the latest weekly price data for AAPL on Nasdaq — give me the adjusted close, weekly high and low, volume, and price change from the most recent completed week.","exampleUseCases":[{"title":"Dashboard stock price snapshot","prompt":"Pull up the latest weekly price data for MSFT — I need the adjusted close, weekly high and low, and volume so I can update my portfolio dashboard with the most current numbers."},{"title":"Stock split detection alert","prompt":"Check the most recent weekly price row for TSLA, including the split factor and adjusted close — I want to know if there's been any stock split activity reflected in the latest data."},{"title":"Weekly momentum decision trigger","prompt":"What was last week's price change and trade volume for NVDA? I'm trying to decide whether the momentum is strong enough to add to my position before the market opens Monday."}],"resultDescription":"A JSON object containing the latest weekly price row for the requested symbol, including adjusted close price, weekly high, weekly low, volume, number of trades, split factor, and price change for the most recent week available in the Stock Trends dataset.","failureModes":["Invalid or unsupported symbol_exchange format (must match pattern ^[A-Z0-9.]+-[A-Z]$) returns a 400 or validation error","Symbol not tracked by Stock Trends returns a 404 or empty result","Invalid exchange code (not one of N, Q, A, B, T, I) returns a validation error","Payment failure (x402) if USDC balance is insufficient","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Use this endpoint when you need the single most recent weekly price snapshot for a specific stock symbol tracked by Stock Trends — particularly when you want split-adjusted close prices alongside volume and trade count in a single call. Prefer this over historical series endpoints when only the latest data point is needed. Best suited for quick lookups feeding dashboards, alerts, or decision logic that depends on current price state.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:53:18.331Z","isFirstParty":false}