Sources
GET /v1/sources lists active data sources and their indicator counts. This endpoint is anonymous and cached.
Request
curl "https://api.creativeforesight.io/v1/sources"Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
include_inactive | boolean | No | Include inactive sources. Defaults to false. |
Source object
| Field | Type | Description |
|---|---|---|
slug | string | Stable source identifier. |
name | string | Display name. |
provider | string or null | Provider label when different from the source. |
category | string or null | Source category. |
indicator_count | integer | Number of indicators attached to the source. |
docs_url | string or null | Provider documentation URL. |
Response
{
"data": [
{
"slug": "fred",
"name": "FRED",
"provider": "Federal Reserve Bank of St. Louis",
"category": "macro",
"indicator_count": 150,
"docs_url": "https://fred.stlouisfed.org/docs/api/fred/"
}
]
}Errors
| Status | Code | Meaning |
|---|---|---|
500 | INTERNAL_SERVER_ERROR | The sources catalog could not be loaded. |
Last updated on