Company Information
/companies?Id=17988&size=10&page=0&key=Contact us to get the key&country_id=11
PARAMS
name | Location | type | Required | illustrate |
---|---|---|---|---|
key | query | string | yes | Contact us to get the key |
country_id | query | string | yes | Country ID |
Id | query | string | no | Stock Id |
size | query | string | no | length |
page | query | string | no | Page numbers start from 0 |
Example Response
json
{
"data": [
{
"Id": 535569573, // Stock ID
"Name": "MALAYAN BANKING BHD", // Company Name
"Description": "Malayan Banking Bhd. operates as a holding company. The firm engages in the provision of commercial banking and related financial services. It operates through the following segments: Group Community Financial Services (CFS), Group Corporate Banking and Global Markets, Group Investment Banking, Group Asset Management, and Group Insurance and Takaful. The CFS segment offers retail banking services to individual, small, medium enterprise and business banking customers. The Group Insurance and Takaful segment includes underwriting all classes of general and life insurance businesses, offshore investment life insurance business, general takaful and family takaful businesses. The company was founded on May 31, 1960 and is headquartered in Kuala Lumpur, Malaysia.", // Company Profile
"Industry": "Regional Banks", // industry
"Sector": "Finance", // Classification
"Market": "my", // market
"country_id": "42" // Country ID
}
],
"page": 0, // page number
"pageSize": 10, // Quantity per page
"totalItems": 1070 // Total number of pages
}
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("/companies?Id=17988&size=10&page=0&key=Contact us to get the key&country_id=11")
.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 => '/companies?Id=17988&size=10&page=0&key=Contact us to get the key&country_id=11',
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;