{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"20000","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"01b4b52a-a025-4ca2-9557-a7fac1339498","catalogType":"api","categories":["finance","market-data","data"],"dataPlatform":"Financial Datasets","dataPlatformLogoUrl":"https://www.financialdatasets.ai/apple-touch-icon.png","dataPlatformTranslations":{"ar":"Financial Datasets","ja":"Financial Datasets","zh":"Financial Datasets"},"dataProduct":"prices","description":"Retrieve historical stock OHLCV prices via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Financial Datasets, pass parameters such as end_date, interval, start_date, and retrieve structured data including opening price, closing price, and reported trading volume for price chart, and historical comparison, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"استرجع أسعار الأسهم التاريخية عبر OpenAny REST باستخدام Financial Datasets، بتقديم الرمز والفاصل الزمني ونطاق التاريخ للحصول على الافتتاح والأعلى والأدنى والإغلاق والحجم. استخدم الأسعار والطوابع الزمنية لإعداد شاشات السوق أو بيانات المقارنة، مع الاحتفاظ بهوية الأصل ووقت المشاهدة عند دمج النتائج في تطبيقك، وافحص مثال الطلب والمعلمات المدعومة وتسعير التنفيذ المحدد قبل الاستدعاء.","ja":"OpenAny REST 経由で Financial Datasets の株価履歴を取得し、ティッカー、時間単位、日付範囲から始値、高値、安値、終値、出来高を確認できます。 返された価格と時刻を市場画面や比較用データに利用できます。アプリで結果を結合する際は資産の識別情報と観測時刻を保持し、リクエスト例、対応パラメータ、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 使用 Financial Datasets 获取历史股价，提供代码、时间粒度及日期范围，读取开盘、最高、最低、收盘价和成交量。 可使用返回的价格与时间戳构建市场界面或对比数据集，合并结果时保留资产标识及观测时间；调用前请查看请求示例、支持的参数及所选实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"2fefa12d-ac2b-4d49-89ff-94074ad472ef","includedContentHtml":"","inputs":[{"description":"The stock ticker symbol (e.g. AAPL, MSFT).","location":"query","name":"ticker","nullable":false,"required":true,"type":"string"},{"description":"The time interval for the price data.","enum_values":["day","week","month","year"],"location":"query","name":"interval","nullable":false,"required":true,"type":"string"},{"description":"The start date for the price data (format: YYYY-MM-DD).","format":"date","location":"query","name":"start_date","nullable":false,"required":true,"type":"string"},{"description":"The end date for the price data (format: YYYY-MM-DD).","format":"date","location":"query","name":"end_date","nullable":false,"required":true,"type":"string"},{"description":"Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.","location":"query","name":"cursor","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://www.financialdatasets.ai/apple-touch-icon.png","method":"GET","name":"Financial Datasets — Get historical stock price data","nameTranslations":{"ar":"Financial Datasets — الحصول على بيانات أسعار الأسهم التاريخية","ja":"Financial Datasets — 過去の株価データを取得","zh":"Financial Datasets — 获取历史股票价格数据"},"overviewHtml":"\u003ch2\u003eFinancial Datasets Price History API\u003c/h2\u003e\n\u003cp\u003eProvide ticker, interval, start_date and end_date. interval accepts day, week, month or year; prices contains OHLCV records with time. The interval and date range belong to the requested history and should remain consistent while traversing pagination.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired query: ticker, interval, start_date, end_date; optional: cursor.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003efinancialdatasets · Financial Datasets — Get historical stock price data\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003ePrice chart\u003c/strong\u003e: Render OHLCV data at the requested interval.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eHistorical comparison\u003c/strong\u003e: Prepare price observations for a fixed ticker and date range.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprices[].time\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrice observation date or time\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprices[].open\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOpening price\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprices[].high\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eHighest price in the interval\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprices[].low\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eLowest price in the interval\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprices[].close\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eClosing price\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprices[].volume\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported trading volume\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/financialdatasets/prices \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data-urlencode end_date=2025-01-05 \\\n  --data-urlencode interval=day \\\n  --data-urlencode start_date=2025-01-02 \\\n  --data-urlencode ticker=AAPL\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference; values may be historical or illustrative, and the request is an independent calling template. Match returned company, period or series identities to your query before using the data.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/2fefa12d-ac2b-4d49-89ff-94074ad472ef\"\u003ePublished Financial Datasets Price History API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich intervals are accepted?\u003c/h3\u003e\n\u003cp\u003eUse day, week, month or year. This implementation does not expose an intraday interval.\u003c/p\u003e\n\u003ch3\u003eAre both date boundaries required?\u003c/h3\u003e\n\u003cp\u003eYes. start_date and end_date are required along with ticker and interval.\u003c/p\u003e\n\u003ch3\u003eCan I request an arbitrary page size?\u003c/h3\u003e\n\u003cp\u003eNo limit input is exposed by this implementation. Use the available cursor to continue longer histories.\u003c/p\u003e\n\u003ch3\u003eHow do I continue through the results?\u003c/h3\u003e\n\u003cp\u003eUse the opaque cursor from the pagination response on this same OpenAny endpoint, retaining required inputs. Keep the original query scope when continuing; a new filter selection starts a new request without that cursor.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eReview the pricing area for the selected API implementation before calling. Follow its billing unit and terms; retrieving additional pages requires additional requests.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/financial-datasets/financial-datasets-get-forward-guidance\"\u003eFinancial Datasets — Get forward guidance\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/financial-datasets/financial-datasets-get-beneficial-ownership\"\u003eFinancial Datasets — Get beneficial ownership\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/financial-datasets/financial-datasets-get-activist-stakes\"\u003eFinancial Datasets — Get activist stakes\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/financial-datasets/financial-datasets-get-historical-stock-price-data?offering=2fefa12d-ac2b-4d49-89ff-94074ad472ef","providerId":"financialdatasets","publicPath":"/v1/agent-apis/financialdatasets/prices","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Official example (abridged; HTTP assumed)","request":{"body":null,"headers":{},"path":{},"query":{"end_date":"2025-01-05","interval":"day","start_date":"2025-01-02","ticker":"AAPL"}},"response_body":{"prices":[{"close":243.36,"high":244.15,"low":241.91,"open":243.85,"ticker":"AAPL","time":"2025-01-02","volume":40230800},{"close":245.0,"high":245.55,"low":242.8,"open":243.36,"ticker":"AAPL","time":"2025-01-03","volume":38420500}]}}],"seoDescription":"Retrieve historical stock OHLCV prices via REST or MCP powered by Financial Datasets. Pay per call, no subscription. Built for price chart workflows.","updatedAt":"2026-12-03T02:49:07.543Z","usageInstructionsHtml":""}}