介绍
整合了秩鼎、国证指数、路孚特、晨星、商道融绿、盟浪、妙盈、富时罗素、华测CTI、中财绿金院、中诚信以及华证指数等多个平台的ESG评级数据,全面涵盖了ESG综合评级、环境评级、治理评级、社会责任评级以及资源使用评级等各类关键信息。
结构
{
"total": 1, //当前请求条数
"rows": [
{
"id": 45530, //序号
"companyName": "顺络电子", //公司名称
"ticker": "002138.SZ", //股票代码
"platform": "路孚特", //评分机构
"market": "A股", //股票市场
"esgScore": "31.4(C-)", //esg评分
"esgScoreGrade": "C-", //esg评分等级
"esgScoreDate": "2024-06-15 00:00:00", //esg评分日期
"exchange": "深交所", //交易所
"envScore": "27.0(C- )", //环境评分
"envScoreDate": "2024-06-15 00:00:00", //环境评分日期
"envScoreGrade": "C- ", //环境评分等级
"resourceScore": "28.3(C-)", //资源使用评分
"resourceScoreDate": "2024-06-08 00:00:00", //资源使用评分日期
"resourceScoreGrade": "C-", //资源使用评分等级
"emissionScore": "23.6(D+)", //排放评分
"emissionScoreDate": "2024-06-01 00:00:00", //排放评分日期
"emissionScoreGrade": "D+", //排放评分等级
"innovationScore": "29.3(C-)", //环境创新评分
"innovationScoreDate": "2024-06-08 00:00:00", //环境创新评分日期
"innovationScoreGrade": "C-", //环境创新评分等级
"socialScore": "11.8(D )", //社会责任评分
"socialScoreDate": "2024-06-15 00:00:00", //社会责任评分日期
"socialScoreGrade": "D ", //社会责任评分等级
"workScore": "26.3(C-)", //劳动力评分
"workScoreDate": "2024-06-08 00:00:00", //劳动力评分日期
"workScoreGrade": "C-", //劳动力评分等级
"humanRightsScore": "0.0(D-)", //基本权利评分
"humanRightsScoreDate": "2024-04-27 00:00:00", //基本权利评分日期
"humanRightsScoreGrade": "D-", //基本权利评分等级
"communityScore": "1.6(D-)", //社区评分
"communityScoreDate": "2024-05-18 00:00:00", //社区评分日期
"communityScoreGrade": "D-", //社区评分等级
"productScore": "35.9(C)", //产品责任评分
"productScoreDate": "2024-05-18 00:00:00", //产品责任评分日期
"productScoreGrade": "C", //产品责任评分等级
"governanceScore": "58.3(B- )", //治理评分
"governanceScoreDate": "2024-06-15 00:00:00", //治理评分日期
"governanceScoreGrade": "B- ", //治理评分等级
"managementScore": "66.9(B+)", //管理评分
"managementScoreDate": "2024-06-15 00:00:00", //管理评分日期
"managementScoreGrade": "B+", //管理评分等级
"holderScore": "60.4(B)", //股东评分
"holderScoreDate": "2024-06-15 00:00:00", //股东评分日期
"holderScoreGrade": "B", //股东评分等级
"csrScore": "12.1(D)", //csr战略评分
"csrScoreDate": "2024-06-15 00:00:00", //csr战略评分日期
"csrScoreGrade": "D", //csr战略评分等级
"zyScore": "100.0(A+)", //争议评分
"zyScoreDate": "2024-04-27 00:00:00", //争议评分日期
"zyScoreGrade": "A+" //争议评分等级
}
],
"code": 200,
"msg": "查询成功",
"minId": 45530, //返回请求最小id
"maxId": 45530, //返回请求最大id
"serviceCount": 50000 //当前服务剩余请求条数
}
请求方式
调用地址: https://www.152127.com/prod-api/developer/esg/EsgScore/list
请求方式: GET
支持格式: application/json;charset=UTF-8
请求参数
请求示例
在成功访问https://www.152127.com,在服务文档的顶部区域找到并获取服务密钥。
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
import java.net.URI;
public class FjsScoreRequest {
public static void main(String[] args) {
FjsScoreRequest fjsScoreRequest = new FjsScoreRequest();
//获取第一页
fjsScoreRequest.scoreListRequest(null, null, null, null, null, null);
//获取下一页
fjsScoreRequest.scoreListRequest("45554", "45563", "true", null, null, null);
//获取上一页
fjsScoreRequest.scoreListRequest("45544", "45553", "false", null, null, null);
}
/**
* @param minId 请求最小id,请求第一页可以不填,请求上下页必填
* @param maxId 请求最大id,请求第一页可以不填,请求上下页必填
* @param pageNext 是否请求下一页,请求第一页可以不填,请求上下页必填,请求下一页为true,请求上一页为false
* @param market 股票市场,选填
* @param platform 评分机构,选填
* @param ticker 股票代码,选填
*/
public void scoreListRequest(String minId, String maxId, String pageNext,
String market, String platform, String ticker) {
try (CloseableHttpClient httpClient = HttpClients.createDefault();) {
URIBuilder builder = new URIBuilder("https://www.152127.com/prod-api/developer/esg/EsgScore/list");
builder.setParameter("secretKey", "服务密钥");
builder.setParameter("minId", minId);
builder.setParameter("maxId", maxId);
builder.setParameter("pageNext", pageNext);
builder.setParameter("market", market);
builder.setParameter("platform", platform);
builder.setParameter("ticker", ticker);
URI uri = builder.build();
HttpGet httpGet = new HttpGet(uri);
httpGet.setHeader("Content-Type", "application/json;charset=UTF-8");
HttpResponse response = httpClient.execute(httpGet);
System.out.println("GET Response Status:: " + response.getStatusLine().getStatusCode());
String responseBody = EntityUtils.toString(response.getEntity());
System.out.println("ResponseBody:: " + responseBody);
} catch (Exception e) {
e.printStackTrace();
}
}
}
备注
为了获取更多详细的数据信息及请求方式,请您访问我们的官方网站(https://www.152127.com)。