Your Ultimate Stock API Service for Real-Time Market Data

Powered by 30+ exchange rate data sources, the Insight Ease API delivering real-time stock exchange rate data for 30+ Countries and 25,000+ Stocks. The Insight Ease provides different API endpoints, each serving a different data response. Insight Ease provides the latest price for all or a specific pair of stock, retrieving historical stocks data for one or multiple stocks, technical indicators for market analyzing, and stock performance includes company income, cash flow, earnings, and financial reporting.

In this document, you will learn how to use API with its parameters, potential unwanted errors and some code examples. After this document, if you face difficulty to understand API structure, you can contact us any time and our team will be happy to help out.

API Request Credit Usage

Most of the APIs endpoint count 1 credit for every URL request. But 3 endpoint count 1 credit per 100 record return. Each API request count 1 credit. But some endpoint count by response, e.g: Latest price API.

If you enter 100 different IDs in parameter and API return 100 currencies prices, it will count 1 request.
If you enter 200 different IDs in parameter and API return 200 currencies prices, it will count 2 request. and so on.

Your Plan

You're not logged in.

Get Started

Insight Ease is designed to quickly access tools. Use any programming language to hit on API URL, you will get a response in standard JSON format.
Use Javascript (Ajax), PHP (Curl or file_get_content), Java OR android (Http URL Connection), C# (http Web Request) or CURL from command line

API Key

You need an access key in order to access our database. Your access Key is the unique key that is passed into the API base URL's api_key parameter in order to authenticate with the Insight Ease API

Pass your API key in the query string like follows:
https://api.insightease.com/stock/Your-select-function/?api_key=Your_API_Key

Indices

Explore the wealth of indices available in your preferred country! Easily access a comprehensive list of supported indices tailored to your interests. Simply provide the name of your desired country, and unlock access to all the indices it offers. These indices are your gateway to valuable insights, so dive in and discover more with the "All Stocks List" API. Let's get started!

Parameters:
  • api_key = Your_API_Key
  • country

    When you're utilizing the 'All Stocks list' API, it's necessary to specify your chosen country to receive a comprehensive list of stocks available from that region. The API supports selections from up to 30 different countries. Default: none
    Valid Values: brazil, canada, china, denmark, finland, france, germany, hong-kong, india, indonesia, ireland, japan, malaysia, mexico, netherlands, pakistan, philippines, russia, saudi-arabia, singapore, south-africa, south-korea, spain, sweden, switzerland, thailand, turkey, united-arab-emirates, united-kingdom, united-states

    Note:

    You have the option to input one or multiple country names, separated by commas, to retrieve stocks from various countries.

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

API:
https://api.insightease.com/stock/indices?country=indonesia&api_key=Your_API_Key
Response Attributes:

After making a request to the API, it will respond with data in JSON format, which you can customize according to your requirements.

status: boolean

The status of this request's response.

code: integer

The code of this request's response.

msg: string

The massage of this request's response.

response: array
index_id: integer

ID assigned by the indicies ID.

s: string

Indicies name / Short name.

n: string

Full name.

c: integer

Country name.

info: array
server_time: string

A result of server time.

credit_count: integer

Total credit count API.

Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    {
      "index_id": 1113,
      "s": "IDX Composite",
      "n": "Jakarta Stock Exchange Composite Ind",
      "c": "indonesia"
    },
    {
      "index_id": 1114,
      "s": "IDX Kompas 100",
      "n": "IDX Kompas 100",
      "c": "indonesia"
    },
  ],
  "info": {
      "server_time": "2023-09-06 21:53:51 UTC",
      "credit_count": 1
  }
}

Supported Stock List

You'll find a complete list of the stocks we support, including their names, IDs, abbreviated names, and the countries they belong to.

Parameters:
  • api_key = Your_API_Key
  • country

    When you're utilizing the 'All Stocks list' API, it's necessary to specify your chosen country to receive a comprehensive list of stocks available from that region. The API supports selections from up to 30 different countries. Default: none
    Valid Values: brazil, canada, china, denmark, finland, france, germany, hong-kong, india, indonesia, ireland, japan, malaysia, mexico, netherlands, pakistan, philippines, russia, saudi-arabia, singapore, south-africa, south-korea, spain, sweden, switzerland, thailand, turkey, united-arab-emirates, united-kingdom, united-states

    Note:

    You have the option to input one or multiple country names, separated by commas, to retrieve stocks from various countries.

  • indices_id any valid indices id as shown in "Indices" API (country will ignore)

    If you're looking to gather all the stocks or components from particular indices, just include indices_id={indices_id} in the URL parameter.

    Note:

    You can specify one or more index IDs to retrieve stocks from multiple indices. Simply separate the IDs with commas.

  • sector You'll see the available sector values in the "stock list API" response.

    You have the option to refine your list of stocks by exchange. You can input multiple values separated by commas to filter them accordingly.

  • exchange You'll see the available exchange values in the "stock list API" response.

    You have the option to refine your list of stocks by exchange. You can input multiple values separated by commas to filter them accordingly.

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

List by country:
https://api.insightease.com/stock/list?country=united-states&api_key=Your_API_Key
List by sector:
https://api.insightease.com/stock/list?sector=services,energy&api_key=Your_API_Key
List by specific exchange:
https://api.insightease.com/stock/list?exchange=nasdaq&sector=services&api_key=Your_API_Key
List by indices id:
https://api.insightease.com/stock/list?indices_id=1,2,3&api_key=Your_API_Key
Response Attributes:

After making a request to the API, it will respond with data in JSON format, which you can customize according to your requirements.

status: boolean

The status of this request's response.

code: integer

The code of this request's response.

msg: string

The massage of this request's response.

response: array
id: integer

ID assigned by the stock

n: string

Full name

s: string

The name of symbol/short name

ccy: integer

Stock currency

exch: integer

Stock exchange

sec: integer

Stock sector

info: array
server_time: string

A result of server time.

credit_count: integer

Total credit count API.

Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    {
      "id": 1,
      "n": "Boeing",
      "s": "BA",
      "c": "united-states"
      "ccy": "USD",
      "exch": "NYSE",
      "sec": "Industrials"
    }
  ],
  "info": {
      "server_time": "2023-09-06 21:53:51 UTC",
      "credit_count": 1
  }
}

Profile Details

Find out everything you need to know about a company, including where they're located, how many people they employ, what type of equity they have, what sector they operate in, and which country they originated from. You can get details for one or multiple stocks at once. Just add the stock symbols/IDs you're interested in as a comma-separated list to your API request.


Request Credit Usage:

You earn one credit for every 100 events you receive, rounding up if needed.

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below.

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

Requrest by ID's'

https://api.insightease.com/stock/profile?id=1&api_key=Your_API_Key

Requrest by short name

https://api.insightease.com/stock/profile?symbol=TSLA,MSFT,FB,AAPL&api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    {
      "symbol": "BA",
      "full_name": "Boeing Co",
      "country": "united-states",
      "sector": "Industrials",
      "industry": "Aerospace & Defense",
      "equity_type": "ORD",
      "no_of_employee": 156000,
      "isin": "",
      "available_history": "1m, 5m, 15m, 30m, 1h, 2h, 4h, 5h, 1d, 1w, month",
      "coins": "5 francs, 10 centimes, 2 francs, 1 ⁄ 2 francs, 20 centimes, 1 francs, 5 centimes",
      "id": 1,
      "exch": "NYSE",
      "ccy": "USD"
    }
  ],
  "info": {
      "server_time": "2023-03-18 12:15:11 UTC",
      "credit_count": 1
  }
}

Stock Latest Price

If you're using an API, one of the most frequent tasks is fetching the latest stock prices. With this API, you can easily retrieve the current price of one or several stocks simultaneously. Just include the stock ID or symbol in your API request, separated by commas if you're querying multiple stocks.


Note:

Prices update in every 30 seconds


Request Credit Usage:

You earn one credit for every 100 events you receive, rounding up if needed.

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • indices_id any valid indices id as shown in "Indices" API (It will ignore ID/Symbol parameter)

    If you're looking to gather all the stocks or components from particular indices, just include indices_id={indices_id} in the URL parameter.

    Note:

    You can specify one or more index IDs to retrieve stocks from multiple indices. Simply separate the IDs with commas.

  • country It will ignore ID/Symbol parameter

    When you're utilizing the 'All Stocks list' API, it's necessary to specify your chosen country to receive a comprehensive list of stocks available from that region. The API supports selections from up to 30 different countries. Default: none
    Valid Values: brazil, canada, china, denmark, finland, france, germany, hong-kong, india, indonesia, ireland, japan, malaysia, mexico, netherlands, pakistan, philippines, russia, saudi-arabia, singapore, south-africa, south-korea, spain, sweden, switzerland, thailand, turkey, united-arab-emirates, united-kingdom, united-states

    Note:

    You have the option to input one or multiple country names, separated by commas, to retrieve stocks from various countries.

  • sector You'll see the available sector values in the "stock list API" response.

    You have the option to refine your list of stocks by exchange. You can input multiple values separated by commas to filter them accordingly.

  • exchange You'll see the available exchange values in the "stock list API" response.

    You have the option to refine your list of stocks by exchange. You can input multiple values separated by commas to filter them accordingly.

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

Requrest by ID's' Multiple or Single

https://api.insightease.com/stock/latest?id=1,2,3&api_key=Your_API_Key

Requrest by symbol Multiple or Single

https://api.insightease.com/stock/latest?symbol=AMD,AAPL,MSFT,FB&api_key=Your_API_Key

Get Apple stock from specific exchange

https://api.insightease.com/stock/latest?symbol=AAPL&exchange=nasdaq,mexico&api_key=Your_API_Key
Response Attributes:

After making a request to the API, it will respond with data in JSON format, which you can customize according to your requirements.

status: boolean

The status of this request's response.

code: integer

The code of this request's response.

msg: string

The massage of this request's response.

response: array
id: integer

ID assigned by the symbol

h: integer

Market high price

l: integer

Market low price

c: integer

Market close/current price

cty: string

Country name

ccy: string

Currency symbole

exch: string

Stock exchange name

ch: integer

Change price

cp: string

Change in percentage

t: integer

When update last time Time Unix Format (UTC)

s: string

The name of symbol

tm: string

When update last time (UTC)

info: array
server_time: string

A result of server time.

credit_count: integer

Total credit count API.

Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    {
      "id": 1,
      "h": 1.06856,
      "l": 1.06057,
      "c": 1.06687,
      "cty": "united-states",
      "ccy": "USD",
      "exch": "NYSE",
      "ch": +0.00617,
      "cp": "+0.58%",
      "t": 1679086794,
      "s": "BA",
      "tm": "2023-03-17 20:59:54"
    }
  ],
  "info": {
      "server_time": "2023-03-18 13:01:45 UTC",
      "credit_count": 1
  }
}

Indices Latest Price

You can retrieve prices for one or multiple indices simultaneously. Just include the index ID parameter in your API request and specify one or more indices by separating them with commas.


Request Credit Usage:

You earn one credit for every 100 events you receive, rounding up if needed.

Parameters:
  • api_key = Your_API_Key
  • id = (It will ignore ID parameter)

    To get all list of Stock ID's or Symbols use "List API" below

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

Requrest by ID's' Multiple or Single

https://api.insightease.com/stock/indices_latest?id=1&api_key=Your_API_Key

Requrest by country Multiple or Single

https://api.insightease.com/stock/indices_latest?country=Japan,Turkey&api_key=Your_API_Key
Response Attributes:

After making a request to the API, it will respond with data in JSON format, which you can customize according to your requirements.

status: boolean

The status of this request's response.

code: integer

The code of this request's response.

msg: string

The massage of this request's response.

response: array
id: integer

ID assigned by the symbol

h: integer

Market high price

l: integer

Market low price

c: integer

Market close/current price

cty: string

Country name

name: string

Index name

ch: integer

Change price

cp: string

Change in percentage

t: integer

When update last time Time Unix Format (UTC)

tm: string

When update last time (UTC)

info: array
server_time: string

A result of server time.

credit_count: integer

Total credit count API.

Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    {
      "id": 1,
      "h": 1.06856,
      "l": 1.06057,
      "c": 1.06687,
      "cty": "united-states",
      "name": "Dow Jones",
      "ch": +0.00617,
      "cp": "+0.58%",
      "t": 1679086794,
      "tm": "2023-03-17 20:59:54"
    }
  ],
  "info": {
      "server_time": "2023-03-18 13:01:45 UTC",
      "credit_count": 1
  }
}

Historical Price

Get historical price data for a particular stock. You can access historical rates for most stocks going back to when the stock first started trading. Just add a date (in the format YYYY-MM-DD) to the base URL and specify the time period (options include: 5m, 15m, 30m, 1h, 2h, 4h, 5h, 1d, 1w, or month).

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below.

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • period = Any supported time period

    You'll need to include this in certain API endpoints when requesting candle prices, historical data, signals, moving average lines, or pivot points. This helps specify the timeframe for the data you're interested in.
    Default: 1h
    Valid Values: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 5h, 1d, 1w, month

  • from = Any supported format

    When you access history API and you are looking for any historical data from a specific date, you need to specify date between from/to date by using (from,to) parameter
    Default: none
    Valid Format 1: YYYY-MM-DD E.g: 2018-01-01
    Valid Format 2: YYYY-MM-DD E.g: 1661990400 // Unix format
    Valid Format 3: YYYY-MM-DDTHour:Min E.g: 2018-01-01T12:30

    Note:

    When you not set FROM and TO parameters, then it will return latest 300 candles.
    What is T in date format!!! It is nothing, we use it to remove space between time. It has no use and no validation.

  • to = Same as from
  • level = Any supported format

    when you want more history candles in 1 request.
    Default: 1
    Valid Values: 1, 2, and 3

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

Note:

Our API currently doesn't allow multiple IDs to be included in the URL as a parameter. For each request, please ensure you send only one ID or symbol name at a time. Additionally, when requesting 2-hour or 4-hour intervals, the API returns a maximum of 300 candles in a single request


Request Credit Usage:

You earn one credit for every 300 events you receive, rounding up if needed.

Quick Latest 900 Candles History

We offer a user-friendly historical API that provides access to the most recent 900 candles, making it convenient to monitor the latest market trends. You can easily control the number of candles returned using the 'Level' parameter. For instance, setting 'level=1' will return 300 candles, 'level=2' will return 600 candles, and 'level=3' will provide the full 900 candles. This flexibility allows you to tailor your data retrieval according to your specific needs.

Latest 300 candles

https://api.insightease.com/stock/history?id=1&period=1d&api_key=Your_API_Key
Do not use FROM and TO parameter

If you always need the latest history upto 900 candles, then you must have to take care of From/To parameter, that should not be assigned and remove them from URL, Then it will work better

Between Specific Date-Time

https://api.insightease.com/stock/history?symbol=IBM&from=2022-09-01&to=2023-03-17&period=1d&api_key=Your_API_Key
Response Attributes:

After making a request to the API, it will respond with data in JSON format, which you can customize according to your requirements.

status: boolean

The status of this request's response.

code: integer

The code of this request's response.

msg: string

The massage of this request's response.

response: array
o: integer

Market open price

h: integer

Market high price

l: integer

Market low price

c: integer

Market close/current price

v: integer

Market volume

t: integer

When update last time Time Unix Format (UTC)

tm: string

When update last time (UTC)

info: array
id: integer

ID assigned by the symbol

symbol: string

The name of symbol

period: string

Time frames data you want

server_time: string

A result of server time.

credit_count: integer

Total credit count API.

Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": {
    "1679050800": {
      "o": 1.06335,
      "h": 1.064,
      "l": 1.0616,
      "c": 1.063,
      "v": 1,
      "t": 1679050800,
      "tm": "2023-03-17 11:00:00"
    }
  },
  "info": {
      "id": 1,
      "symbol": "BA",
      "period": "1d",
      "server_time": "2023-03-18 16:06:36 UTC",
      "credit_count": 1
  }
}

Indices History

When you're seeking historical data for indices, remember to use the 'indices_id' parameter instead of 'id'. Everything else remains the same for retrieving historical price data

Parameters:
  • api_key = Your_API_Key
  • indices_id any valid indices id as shown in "Indices" API

    If you're looking to gather all the stocks or components from particular indices, just include indices_id={indices_id} in the URL parameter.

  • period = Any supported time period

    You'll need to include this in certain API endpoints when requesting candle prices, historical data, signals, moving average lines, or pivot points. This helps specify the timeframe for the data you're interested in.
    Default: 1h
    Valid Values: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 5h, 1d, 1w, month

  • from = Any supported format

    When you access history API and you are looking for any historical data from a specific date, you need to specify date between from/to date by using (from,to) parameter
    Default: none
    Valid Format 1: YYYY-MM-DD E.g: 2018-01-01
    Valid Format 2: YYYY-MM-DD E.g: 1661990400 // Unix format
    Valid Format 3: YYYY-MM-DDTHour:Min E.g: 2018-01-01T12:30

    Note:

    When you not set FROM and TO parameters, then it will return latest 300 candles.
    What is T in date format!!! It is nothing, we use it to remove space between time. It has no use and no validation.

  • to = Same as from
  • level = Any supported format

    when you want more history candles in 1 request.
    Default: 1
    Valid Values: 1, 2, and 3

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

Note:

Our API currently doesn't allow multiple IDs to be included in the URL as a parameter. For each request, please ensure you send only one ID or symbol name at a time. Additionally, when requesting 2-hour or 4-hour intervals, the API returns a maximum of 300 candles in a single request


Request Credit Usage:

You earn one credit for every 300 events you receive, rounding up if needed.

Quick Latest 900 Candles History

We offer a user-friendly historical API that provides access to the most recent 900 candles, making it convenient to monitor the latest market trends. You can easily control the number of candles returned using the 'Level' parameter. For instance, setting 'level=1' will return 300 candles, 'level=2' will return 600 candles, and 'level=3' will provide the full 900 candles. This flexibility allows you to tailor your data retrieval according to your specific needs.

Latest 300 candles

https://api.insightease.com/stock/history?indices_id=1&period=1d&api_key=Your_API_Key
Do not use FROM and TO parameter

If you always need the latest history upto 900 candles, then you must have to take care of From/To parameter, that should not be assigned and remove them from URL, Then it will work better

Between Specific Date-Time

https://api.insightease.com/stock/history?indices_id=1&from=2022-09-01&to=2023-03-17&period=1d&api_key=Your_API_Key
Response Attributes:

After making a request to the API, it will respond with data in JSON format, which you can customize according to your requirements.

status: boolean

The status of this request's response.

code: integer

The code of this request's response.

msg: string

The massage of this request's response.

response: array
o: integer

Market open price

h: integer

Market high price

l: integer

Market low price

c: integer

Market close/current price

v: integer

Market volume

t: integer

When update last time Time Unix Format (UTC)

tm: string

When update last time (UTC)

info: array
id: integer

ID assigned by the symbol

symbol: string

The name of symbol

period: string

Time frames data you want

server_time: string

A result of server time.

credit_count: integer

Total credit count API.

Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": {
    "1679050800": {
      "o": 39972.44,
      "h": 39977.69,
      "l": 39864.67,
      "c": 39879.16,
      "v": "",
      "t": 1679050800,
      "tm": "2023-03-17 11:00:00"
    }
  },
  "info": {
      "id": 1,
      "symbol": "",
      "period": "1d",
      "server_time": "2023-03-18 16:06:36 UTC",
      "credit_count": 1
  }
}

Dividens

You can retrieve both current and historical dividend data with a single API request. Just include the stock ID or symbol in your query.

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below.

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

API

https://api.insightease.com/stock/dividend?id=1&api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    "id": 1,
    "symbol": "BA",
    "data": {
      "1581552000": {
        "dividend_date": "2020-02-13",
        "dividend": "2.055",
        "type": "Quarterly",
        "payment_date": "2020-03-06",
        "yield": "2.37%",
        "type_short": "3M"
      }
    }
  ],
  "info": {
      "server_time": "2023-03-18 16:06:36 UTC",
      "credit_count": 1
  }
}

Performance

Get stock performance, when and how much stock price performs.

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below.

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • indices_id any valid indices id as shown in "Indices" API (It will ignore ID/Symbol parameter)

    If you're looking to gather all the stocks or components from particular indices, just include indices_id={indices_id} in the URL parameter.

    Note:

    You can specify one or more index IDs to retrieve stocks from multiple indices. Simply separate the IDs with commas.

  • country It will ignore ID/Symbol parameter

    When you're utilizing the 'All Stocks list' API, it's necessary to specify your chosen country to receive a comprehensive list of stocks available from that region. The API supports selections from up to 30 different countries. Default: none
    Valid Values: brazil, canada, china, denmark, finland, france, germany, hong-kong, india, indonesia, ireland, japan, malaysia, mexico, netherlands, pakistan, philippines, russia, saudi-arabia, singapore, south-africa, south-korea, spain, sweden, switzerland, thailand, turkey, united-arab-emirates, united-kingdom, united-states

    Note:

    You have the option to input one or multiple country names, separated by commas, to retrieve stocks from various countries.

  • index_id Get only specific index data
  • sector You'll see the available sector values in the "stock list API" response.

    You have the option to refine your list of stocks by exchange. You can input multiple values separated by commas to filter them accordingly.

  • exchange You'll see the available exchange values in the "stock list API" response.

    You have the option to refine your list of stocks by exchange. You can input multiple values separated by commas to filter them accordingly.

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

Performance by id

https://api.insightease.com/stock/performance?id=1&api_key=Your_API_Key

Performance by symbol

https://api.insightease.com/stock/performance?symbol=TSLA,MSFT,FB&api_key=Your_API_Key

Performance by country

https://api.insightease.com/stock/performance?country=germany&sector=technology&api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    {
      "id": 1,
      "symbol": "BA",
      "exch": "NYSE",
      "ccy": "USD",
      "daily": 1.11,
      "week": 3.64,
      "month": 8.9,
      "ytd": -29.16,
      "year": -9.98,
      "year3": -18.74
    }
  ],
  "info": {
      "server_time": "2023-03-18 16:06:36 UTC",
      "credit_count": 1
  }
}

Fundamental

Get stock fundamental to track stock performance for screening.

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below.

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • indices_id any valid indices id as shown in "Indices" API (It will ignore ID/Symbol parameter)

    If you're looking to gather all the stocks or components from particular indices, just include indices_id={indices_id} in the URL parameter.

    Note:

    You can specify one or more index IDs to retrieve stocks from multiple indices. Simply separate the IDs with commas.

  • country It will ignore ID/Symbol parameter

    When you're utilizing the 'All Stocks list' API, it's necessary to specify your chosen country to receive a comprehensive list of stocks available from that region. The API supports selections from up to 30 different countries. Default: none
    Valid Values: brazil, canada, china, denmark, finland, france, germany, hong-kong, india, indonesia, ireland, japan, malaysia, mexico, netherlands, pakistan, philippines, russia, saudi-arabia, singapore, south-africa, south-korea, spain, sweden, switzerland, thailand, turkey, united-arab-emirates, united-kingdom, united-states

    Note:

    You have the option to input one or multiple country names, separated by commas, to retrieve stocks from various countries.

  • index_id Get only specific index data
  • sector You'll see the available sector values in the "stock list API" response.

    You have the option to refine your list of stocks by exchange. You can input multiple values separated by commas to filter them accordingly.

  • exchange You'll see the available exchange values in the "stock list API" response.

    You have the option to refine your list of stocks by exchange. You can input multiple values separated by commas to filter them accordingly.

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

Fundamental by id

https://api.insightease.com/stock/fundamental?id=1&api_key=Your_API_Key

Fundamental by symbol

https://api.insightease.com/stock/fundamental?symbol=TSLA,MSFT,FB&api_key=Your_API_Key

Fundamental by country

https://api.insightease.com/stock/fundamental?country=germany&sector=technology&api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    {
      "id": 1,
      "symbol": "BA",
      "exch": "NYSE",
      "ccy": "USD",
      "avg_vol_3m": "7.73M",
      "market_cap": "111.1M",
      "revenue": "76.4B",
      "pe_ratio": -29.16,
      "beta": 1.98
    }
  ],
  "info": {
      "server_time": "2023-03-18 16:06:36 UTC",
      "credit_count": 1
  }
}

Finance

Finance is the backbone of the stock market. Here, you can access all current and historical data on a stock's income, balance sheet, and cash flow.


Note:

Below API does not support multiple ids in URL as a parameter. Send only 1 ID/Symbol name at a time with API request.

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below.

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • duration = any valid value

    Default: annual
    Valid Values: annual, interim

  • type = any valid value

    Default: income
    Valid Values: income, balance, cash, earning

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

Fundamental by id

https://api.insightease.com/stock/finance?id=1&api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    "id": 1,
    "symbol": "BA",
    "type": "Income",
    "duration": "Annual",
    "data": {...}
    }
  ],
  "info": {
      "server_time": "2023-03-18 16:06:36 UTC",
      "credit_count": 1
  }
}

Pivot Points

A pivot point is like a guiding star in the world of trading. It's derived from crucial prices observed during a previous trading period on an exchange. This magical number helps us gauge potential resistance and support levels in stock trading. We calculate our pivot point, along with resistance and support points, based on the highs, opens, and closes from before. It's like having a map that shows us where the market might hit roadblocks or find a helping hand.


Note:

The API mentioned doesn't allow for multiple IDs to be included in the URL parameter. Please make sure to send only one ID or symbol name with each API request.

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below.

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • period = Any supported time period

    You'll need to include this in certain API endpoints when requesting candle prices, historical data, signals, moving average lines, or pivot points. This helps specify the timeframe for the data you're interested in.
    Default: 1h
    Valid Values: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 5h, 1d, 1w, month

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

API

https://api.insightease.com/stock/pp?id=1&period=1d&api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": {
    "pivot_point": {
      "classic": {
          "pp": 1.0746,
          "R1": 1.0758,
          "R2": 1.077,
          "R3": 1.0782,
          "S1": 1.0734,
          "S2": 1.0722,
          "S3": 1.071
      },
      "fibonacci": {...},
      "camarilla": {...},
      "woodie": {...},
      "demark": {...}
    },
    "overall": {
      "summary": "Neutral",
      "msg": "summary based on all SMA,EMA,Pivot Points and indicators"
    },
  },
  "info": {
      "id": 1,
      "decimal": 4,
      "symbol": "BA",
      "period": "1d",
      "disclaimer": "...",
      "update": "18 seconds ago",
      "update_time": "2024-05-09 10:12:01 UTC",
      "server_time": "2024-05-09 10:12:19 UTC",
      "credit_count": 1
  }
}

Moving Averages

Think of Moving-Average (MA) as a guide to market trends. It looks back at the values of previous candles (typically 5, 10, 20, 50, 100, or 200), whether you're analyzing a 5-minute window or a 7-day span. Just make sure to include the period parameter in the URL to specify your chosen time frame.
The response includes values for both the Simple Moving Average (SMA) and the Exponential Moving Average (EMA).


Note:

The API mentioned doesn't allow for multiple IDs to be included in the URL parameter. Please make sure to send only one ID or symbol name with each API request.

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below.

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • period = Any supported time period

    It is required in a few endpoints API request, when you request for candle prices, history, signals, moving average lines, Moving Averages. So you need to specify which time frames data you want.
    Default: 1h
    Valid Values: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 5h, 1d, 1w, month

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

API

https://api.insightease.com/stock/ma?id=1&period=1d&api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": {
    "count": {
      "Total_Buy": 4,
      "Total_Sell": 6,
      "Total_Neutral": 2
    },
    "ma_avg": {
      "SMA": {
        "MA5": {
          "v": 0.95641,
          "s": "Buy"
        },
        "MA10": {
          "v": 0.95591,
          "s": "Buy"
        },
        "MA20": {...},
        "MA50": {...},
        "MA100": {...},
        "MA200": {...}
      },
      "EMA": {...},
      "summary": "Neutral"
    },
    "overall": {
      "summary": "Neutral",
      "msg": "summary based on all SMA,EMA,Pivot Points and indicators"
    }
  },
  "info": {
      "id": 2,
      "decimal": 4,
      "symbol": "BA",
      "period": "1d",
      "disclaimer": "...",
      "update": "just now",
      "update_time": "2023-08-30 18:46:14 UTC",
      "server_time": "2023-08-30 18:46:14 UTC",
      "credit_count": 1
  }
}

Technical Indicator

We use various tools like moving averages (MA), relative strength index (RSI), stochastic oscillators (STOCH), average true range (ATR), and others to analyze market trends. In exchange, you get insights based on these indicators. Essentially, these indicators help us predict the future movement of currency pairs in the market.


Note:

The API mentioned doesn't allow for multiple IDs to be included in the URL parameter. Please make sure to send only one ID or symbol name with each API request.

Parameters:
  • api_key = Your_API_Key
  • id = any valid ID

    To get all list of Stock ID's or Symbols use "List API" below.

  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • period = Any supported time period

    It is required in a few endpoints API request, when you request for candle prices, history, signals, moving average lines, Technical Indicator. So you need to specify which time frames data you want.
    Default: 1h
    Valid Values: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 5h, 1d, 1w, month

  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

API

https://api.insightease.com/stock/ti?id=1&api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": {
    "count": {
      "Total_Buy": 7,
      "Total_Sell": 0,
      "Total_Neutral": 0
    },
    "indicators": {
      "RSI14": {
        "v": 51.9678,
        "s": "Buy"
      },
      "STOCH9_6": {
        "v": 43.0012,
        "s": "Buy"
      },
      "STOCHRSI14": {...},
      "MACD12_26": {...},
      "WilliamsR": {...},
      "CCI14": {...},
      "ATR14": {...},
      "UltimateOscillator": {...},
      "ROC": {...},
      "summary": "Strong Buy"
    },
    "overall": {
      "summary": "Neutral",
      "msg": "summary based on all SMA,EMA,Pivot Points and indicators"
    }
  },
  "info": {
      "id": 2,
      "decimal": 4,
      "symbol": "BA",
      "period": "1d",
      "disclaimer": "...",
      "update": "just now",
      "update_time": "2023-08-30 19:14:02 UTC",
      "server_time": "2023-08-30 19:14:02 UTC",
      "credit_count": 1
  }
}

Technical Signals Indicator

Our signal indicators are like the expert advisors of the stock market. They crunch numbers using the best tools in the trade—think of them as our Sherlock Holmes, using clues like Moving Averages (MA), Relative Strength Index (RSI), Stochastic Oscillator (STOCH), and Average True Range (ATR) to crack the case of profitable trading strategies. They're designed to keep you in the loop with the latest technical indicator values, so when you ask for insights, they're ready to give you the lowdown on the top indicators.


Request Credit Usage:

You earn one credit for every 50 events you receive, rounding up if needed.

Parameters:
  • api_key = Your_API_Key
  • symbol = any valid short name

    At least one parameter, either 'id' or 'symbol', is required. If the 'id' parameter exists in the request, the 'symbol' parameter will be disregarded. You can use either parameter ('id' or 'symbol'), as both will return the same result.
    Our 'symbol' represents a pair of two currencies, combining their short names.

  • country It will ignore ID/Symbol parameter

    When you're utilizing the 'All Stocks list' API, it's necessary to specify your chosen country to receive a comprehensive list of stocks available from that region. The API supports selections from up to 30 different countries. Default: none
    Valid Values: brazil, canada, china, denmark, finland, france, germany, hong-kong, india, indonesia, ireland, japan, malaysia, mexico, netherlands, pakistan, philippines, russia, saudi-arabia, singapore, south-africa, south-korea, spain, sweden, switzerland, thailand, turkey, united-arab-emirates, united-kingdom, united-states

  • sector You'll see the available sector values in the "stock list API" response.

    You have the option to refine your list of stocks by exchange. You can input multiple values separated by commas to filter them accordingly.

  • indices_id any valid indices id as shown in "Indices" API (It will ignore ID/Symbol parameter)

    If you're looking to gather all the stocks or components from particular indices, just include indices_id={indices_id} in the URL parameter.

  • index_id Get only specific index data
  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

Technical API

https://api.insightease.com/stock/technicals?id=1&api_key=Your_API_Key

All Stocks by indices
It will return all stocks from Nasdaq index

https://api.insightease.com/stock/technicals?indices_id=1,2&api_key=Your_API_Key

Index Technical
It will only return technical of Nasdaq only

https://api.insightease.com/stock/technicals?index_id=1,2&api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": [
    {
      "id": 1,
      "hourly": "Strong Buy",
      "daily": "Strong Buy",
      "weekly": "Strong Sell",
      "monthly": "Strong Sell",
      "symbol": "BA",
      "exch": "NYSE",
      "ccy": "USD"
    }
  ],
  "info": {
      "server_time": "2023-08-30 19:25:37 UTC",
      "credit_count": 1
  }
}

Report

With this API, you can access comprehensive country reports. Find out the number of stocks available in each country, along with detailed breakdowns for exchanges and sectors. It's not just about numbers; you can also explore the names of countries, exchanges, or the countries where exchanges are based.

Parameters:
  • api_key = Your_API_Key
  • output = Set your API response format.

    Default: json
    Valid Values: json, jsonp, object, xml, serialize and array

API

https://api.insightease.com/stock/analytics?api_key=Your_API_Key
Response Object
{
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "response": {
    "country": {
      "united-states": 6
    },
    "exchanges": {
      "NYSE": 3,
      "NASDAQ": 2
    }
  },
  "info": {
      "server_time": "2023-09-06 21:53:51 UTC",
      "credit_count": 1
  }
}