[{"countries":["Russia","Brazil","Canada","United States","China","Australia","DR Congo","Indonesia","Peru","India","Angola","Mexico","Colombia","Bolivia","Venezuela","Tanzania","Zambia","Mozambique","Papua New Guinea","Argentina","Myanmar","Sweden","Japan","Gabon","Finland","Central African Republic","Turkey","Republic of the Congo","Nigeria","Cameroon","Thailand","Malaysia","Spain","Guyana","Sudan","Chile","Zimbabwe","France","Ethiopia","South Africa","Laos","Paraguay","Botswana","Suriname","Vietnam","Mongolia","Mali","Ecuador","Madagascar","Norway","Germany","Iran","New Zealand","Ukraine","Italy","Poland","Belarus","Cambodia","Senegal","Ghana","Liberia","Philippines","South Sudan","Romania","Namibia","Honduras","South Korea","Burkina Faso","Guinea","North Korea","Somalia","Nepal","Morocco","Chad","Panama","Turkmenistan","Greece","Austria","Bulgaria","Pakistan","Uzbekistan","Kenya","Guatemala","Kazakhstan","Latvia","Nicaragua","Portugal","Cuba","United Kingdom","Benin","Costa Rica","Ivory Coast","Georgia","Bhutan","Serbia","Czech Republic","Sierra Leone","Solomon Islands","Equatorial Guinea","Estonia","Uganda","Malawi","Lithuania","Bosnia and Herzegovina","Dominican Republic","Sri Lanka","Hungary","Uruguay","Guinea Bissau","Algeria","Croatia","Slovakia","Bangladesh","Kyrgyzstan","Belize","Switzerland","Slovenia","Togo","Afghanistan","Fiji","Azerbaijan","Niger","Eritrea","North Macedonia","Saudi Arabia","New Caledonia","Montenegro","Iraq","Albania","Ireland","Tunisia","Belgium","Denmark","Jamaica","El Salvador","Yemen","Syria","Bahamas","Eswatini","Puerto Rico","Vanuatu","Tajikistan","Moldova","Brunei","Netherlands","Haiti","Armenia","United Arab Emirates","Mauritania","Burundi","Rwanda","Gambia","Trinidad and Tobago","Libya","Cyprus","Samoa","French Polynesia","Lebanon","Israel","Jordan","Luxembourg","Micronesia","Sao Tome and Principe","Iceland","Dominica","Cape Verde","Egypt","Palau","Mauritius","Lesotho","Seychelles","Comoros","Saint Vincent and the Grenadines","Guam","Northern Mariana Islands","Saint Lucia","United States Virgin Islands","Grenada","American Samoa","Andorra","Singapore","Cayman Islands","Saint Kitts and Nevis","Turks and Caicos Islands","Palestine","Marshall Islands","Tonga","Antigua and Barbuda","Liechtenstein","Kuwait","Barbados","Djibouti","British Virgin Islands","Isle of Man","Oman","Kiribati","Saint Martin","Bermuda","San Marino","Tuvalu","Maldives","Bahrain","Malta","Aruba","Sint Maarten","Greenland","Curacao","Faroe Islands"]}]
curl --location --request POST 'https://zylalabs.com/api/6949/forest+database+api/10668/get+countries+with+forest+data' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[{"country":"Argentina","total_forest_area":285730}]
curl --location --request POST 'https://zylalabs.com/api/6949/forest+database+api/10669/get+forest+area+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
[{"countries":[{"country":"Argentina","forest_cover_percentage":10.4}]}]
curl --location --request POST 'https://zylalabs.com/api/6949/forest+database+api/10670/get+forest+percentage+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 森林数据库 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
领先企业的信赖之选
森林数据库API提供了按国家划分的森林覆盖面积的结构化数据,包括总森林面积和被森林覆盖的土地百分比
来自森林数据库API的数据以JSON格式提供,便于集成和数据处理
您可以通过使用API端点查询特定细节,这些端点允许您根据国家名称和森林面积指标请求信息
是的,森林数据库API遵循环境数据标准,确保提供的信息可靠且准确
是的,森林数据库API允许用户根据特定国家检索分段数据,从而根据用户查询精确获取数据
“获取有森林数据的国家”端点返回一个有森林覆盖的国家列表 “获取按国家划分的森林面积”端点提供指定国家的总森林面积(单位:平方公里) “获取按国家划分的森林百分比”端点返回指定国家森林覆盖的土地面积百分比
关键字段包括第一个端点中的“国家”,第二个端点中的“国家”和“总森林面积”,第三个端点中的“国家”和“森林覆盖百分比”。这些字段提供有关森林覆盖的重要信息
响应数据采用JSON格式结构。每个端点返回一个包含相关字段的JSON对象,例如国家名称和森林指标,使其易于解析和在应用程序中使用
“按国家获取森林面积”和“按国家获取森林百分比”接口需要一个“国家”参数来指定要检索哪个国家的数据 用户可以从第一个接口获得有效的国家名称
第一个端点提供森林数据的国家列表 第二个端点提供以平方公里为单位的森林总面积 而第三个端点提供特定国家森林覆盖的土地面积百分比
森林数据库API遵循环境数据标准,确保数据来源于可靠的数据库,并定期更新以保持准确性和相关性
典型的使用案例包括环境研究、政策制定、保护工作和教育目的,其中理解森林覆盖和趋势对于决策至关重要
用户可以将返回的JSON数据集成到应用程序中进行可视化、分析或报告。例如,在仪表板上显示森林面积统计数据或进行国家之间的比较研究