Getting Started
The PSE Lookup API is a RESTful API that returns JSON-encoded responses and uses standard HTTP response codes. The financial data provided by this API is limited to the daily historical OHLCV of stocks in the Philippine Stock Exchange.
The data is scraped from the official Philippine Stock Exchange website (https://www.pse.com.ph/) and may not reflect the correct values at all times. This API was made for hobbyist developers and should not be used for actual financial transactions. API requests are limited to 1 call per 5 minutes for public requests. Send me an email for larger limits.
Authentication
Pass your API key in the query string as follows:
https://fin-data-api.herokuapp.com/api/stock/AC?key=*
Node.js
Javascript/Typescript
Google Firebase
Last Quote
Get the latest quote (daily) for a given stock.
Parameters
stocksTicker
required
The ticker symbol of the stock/equity.
stocksTicker required
The ticker symbol of the stock/equity.
Daily Open/Close
Get the historical bars for a stock/equity over a given date range (daily).
Parameters
stocksTicker
required
The ticker symbol of the stock/equity.
from
required
The start of the time window. Format mm-dd-yyyy.
to
required
The end of the time window. Format mm-dd-yyyy.
limit
optional, up to 2000
Limits the number of rows queried. Max 2000 and Default 5.
stocksTicker required
The ticker symbol of the stock/equity.
from required
The start of the time window. Format mm-dd-yyyy.
to required
The end of the time window. Format mm-dd-yyyy.
limit optional, up to 2000
Limits the number of rows queried. Max 2000 and Default 5.
Daily by Date Range
Get the open, high, low, and close (OHLC) for the stocks/equities of the entire Philippine Stock Exchange.
Parameters
stocksTicker
required
The ticker symbol of the stock/equity.
from
required
The start of the time window. Format mm-dd-yyyy.
to
required
The end of the time window. Format mm-dd-yyyy.
limit
optional, up to 500
Limits the number of rows queried. Max 500 and Default 5.
stocksTicker required
The ticker symbol of the stock/equity.
from required
The start of the time window. Format mm-dd-yyyy.
to required
The end of the time window. Format mm-dd-yyyy.
limit optional, up to 500
Limits the number of rows queried. Max 500 and Default 5.