Get derived indicator
curl --request GET \
--url https://api.financialdatapi.com/derived-indicators/{idOrSlug} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.financialdatapi.com/derived-indicators/{idOrSlug}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.financialdatapi.com/derived-indicators/{idOrSlug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"indicatorId": "<string>",
"slug": "<string>",
"name": "<string>",
"family": "<string>",
"unit": "<string>",
"cadence": "<string>",
"derivedFrom": [
"<string>"
],
"sourceIds": [
"<string>"
],
"entityCount": 123,
"entityIds": [
"<string>"
],
"observationCount": 123,
"latestPeriodEnd": "2023-11-07T05:31:56Z",
"refreshedAt": "2023-11-07T05:31:56Z",
"availabilityReason": "<string>",
"preferredSourceId": "<string>"
},
"meta": {},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"requestId": "<string>",
"details": "<unknown>"
},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"requestId": "<string>",
"details": "<unknown>"
},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"requestId": "<string>",
"details": "<unknown>"
},
"requestId": "<string>"
}Analytics
Get derived indicator
GET
/
derived-indicators
/
{idOrSlug}
Get derived indicator
curl --request GET \
--url https://api.financialdatapi.com/derived-indicators/{idOrSlug} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.financialdatapi.com/derived-indicators/{idOrSlug}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.financialdatapi.com/derived-indicators/{idOrSlug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"indicatorId": "<string>",
"slug": "<string>",
"name": "<string>",
"family": "<string>",
"unit": "<string>",
"cadence": "<string>",
"derivedFrom": [
"<string>"
],
"sourceIds": [
"<string>"
],
"entityCount": 123,
"entityIds": [
"<string>"
],
"observationCount": 123,
"latestPeriodEnd": "2023-11-07T05:31:56Z",
"refreshedAt": "2023-11-07T05:31:56Z",
"availabilityReason": "<string>",
"preferredSourceId": "<string>"
},
"meta": {},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"requestId": "<string>",
"details": "<unknown>"
},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"requestId": "<string>",
"details": "<unknown>"
},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>",
"requestId": "<string>",
"details": "<unknown>"
},
"requestId": "<string>"
}Authorizations
apiKeybearerApiKey
Response
One derived indicator, including the full list of entities it is available for. Accepts the prefixed id or the bare slug
⌘I