curl --request POST \
--url https://rest.forestreet.com/v2/markets/{marketId}/esg/filters \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"filters": {
"environmental": [
"<string>"
],
"governance": [
"<string>"
],
"social": [
"<string>"
],
"publisher": [
"<string>"
],
"source": [
"Internal"
],
"sentiment": [
"Positive"
],
"certifications": [
"Rewarded"
],
"domains": [
"<string>"
]
}
}'
{
"filters": {
"environmental": [
{
"label": "<string>",
"count": 123
}
],
"social": [
{
"label": "<string>",
"count": 123
}
],
"governance": [
{
"label": "<string>",
"count": 123
}
],
"source": [
{
"label": "<string>",
"count": 123
}
],
"publisher": [
{
"label": "<string>",
"count": 123
}
],
"sentiment": [
{
"label": "<string>",
"count": 123
}
],
"certifications": [
{
"label": "<string>",
"count": 123
}
]
},
"sentimentScores": {
"environmental": 123,
"social": 123,
"governance": 123
}
}
Fetch ESG filters for a specific market.
curl --request POST \
--url https://rest.forestreet.com/v2/markets/{marketId}/esg/filters \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"filters": {
"environmental": [
"<string>"
],
"governance": [
"<string>"
],
"social": [
"<string>"
],
"publisher": [
"<string>"
],
"source": [
"Internal"
],
"sentiment": [
"Positive"
],
"certifications": [
"Rewarded"
],
"domains": [
"<string>"
]
}
}'
{
"filters": {
"environmental": [
{
"label": "<string>",
"count": 123
}
],
"social": [
{
"label": "<string>",
"count": 123
}
],
"governance": [
{
"label": "<string>",
"count": 123
}
],
"source": [
{
"label": "<string>",
"count": 123
}
],
"publisher": [
{
"label": "<string>",
"count": 123
}
],
"sentiment": [
{
"label": "<string>",
"count": 123
}
],
"certifications": [
{
"label": "<string>",
"count": 123
}
]
},
"sentimentScores": {
"environmental": 123,
"social": 123,
"governance": 123
}
}
Pass a static API key for every request, provided by your customer support.
ESG filters response schema
The response is of type object
.