Skip to content

Stock List

/list?country_id=14&size=10&page=0&key=Contact us to get the key

PARAMS

nameLocationtypeRequiredillustrate
country_idquerystringyesCountry ID
sizequerystringnolength
pagequerystringnoPage numbers start from 0
keyquerystringyesContact us to get the key

Example Response

json
{
    "data": [
        {
            "Id": 535576092, // Stock Id is also the pid of the stock
            "Name": "RELIANCE INDS", // Stock Name
            "Symbol": "RELIANCE", // Stock Code
            "Last": "3006.4", // Latest stock price
            "High": "3020.9", // Highest
            "Low": "3002.3", // lowest
            "Open": "3008", // Open today
            "PrevClose": "3026.3", // Yesterday's harvest
            "Time": "1722415578", // Price update time
            "Volume": "3340162", // Trading Volume
            "Chg": "-19.9", // Increase
            "ChgPct": "-0.66", // Increase rate
            "country_id": "14", // Country ID
            "type": "NSE", // The stock's exchange
            "Ratio": "29.78", // Price-to-Earnings Ratio
            "MarketCap": "20.57T", // Market Cap
            "Eps": "101.61", // Earnings per share
            "Bid": "3006.05", // Buy Price
            "Ask": "3006.4", // Ask Price
            "Beta": "1.0468383", // Beta
            "NumSymbol": "3816" // Malaysian stocks have digital codes only in Malaysia
        }
    ],
    "page": 0, // page number
    "pageSize": 1, // Quantity per page
    "total": 6852 // Total number of shares
}

Example Request

java
import java.io.*;
import okhttp3.*;
public class main {
  public static void main(String []args) throws IOException{
    OkHttpClient client = new OkHttpClient().newBuilder()
      .build();
    MediaType mediaType = MediaType.parse("text/plain");
    RequestBody body = RequestBody.create(mediaType, "");
    Request request = new Request.Builder()
      .url("/list?country_id=14&size=10&page=0&key=Contact us to get the key")
      .method("GET", body)
      .build();
    Response response = client.newCall(request).execute();
    System.out.println(response.body().string());
  }
}
php
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
		CURLOPT_URL => '/list?country_id=14&size=10&page=0&key=Contact us to get the key',
		CURLOPT_RETURNTRANSFER => true,
		CURLOPT_ENCODING => '',
		CURLOPT_MAXREDIRS => 10,
		CURLOPT_TIMEOUT => 0,
		CURLOPT_FOLLOWLOCATION => true,
		CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
		CURLOPT_CUSTOMREQUEST => 'GET',
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

The interface is prohibited from secondary distribution and is limited to use by individual developers. The interface is only for learning and research and is prohibited from involving illegal business.