An error occured. Details Hide
You have unsaved pages. Restore Cancel

Get timeseries list

 
For the given dataset, this endpoint returns time series list for all the available frequencies with the combination of all the dimension members.
 
Input: Dataset unique identifier.
 
Result:
Name  Type  Description 
datasetId string  Unique identifier for the dataset
timeseriesKey int Timeseries key 
frequency  char

Denotes the frequency of data available.
Frequency of data can be of the following types

  • annual
  • semiannual
  • quarterly
  • monthly
  • weekly
  • daily
metadata Array[DimensionalDetails]  List of Dimension details. 
Consist of 
  • dim:Dimension id
  • key: Dimension member key(The dimension member key associated with this timeseries)
  • name: Dimension member name.
startDate Date  First Observation value's date.
endDate Date  Most recent observation value's date.
 
 
Example:
Get: http://knoema.com/api/1.0/data/dataset/wkksqbb
 
[
   {
      "datasetId": "wkksqbb",
      "timeseriesKey": 1000000,
      "frequency": "Annual",
      "metadata": [
         {
            "dim": "region",
            "key": "1000000",
            "name": "China"
         },
         {
            "dim": "indicator-2",
            "key": "1000000",
            "name": "Specific Market Price"
         }
      ],
      "startDate": "1/1/2002 12:00:00 AM",
      "endDate": "1/1/2004 12:00:00 AM"
   },
   {
      "datasetId": "wkksqbb",
      "timeseriesKey": 1000010,
      "frequency": "Daily",
      "metadata": [
         {
            "dim": "region",
            "key": "1000000",
            "name": "China"
         },
         {
            "dim": "indicator-2",
            "key": "1000000",
            "name": "Specific Market Price"
         }
      ],
      "startDate": "1/10/2002 12:00:00 AM",
      "endDate": "12/12/2004 12:00:00 AM"
   },
   {
      "datasetId": "wkksqbb",
      "timeseriesKey": 1000020,
      "frequency": "SemiAnnual",
      "metadata": [
         {
            "dim": "region",
            "key": "1000000",
            "name": "China"
         },
         {
            "dim": "indicator-2",
            "key": "1000000",
            "name": "Specific Market Price"
         }
      ],
      "startDate": "1/1/2002 12:00:00 AM",
      "endDate": "7/1/2004 12:00:00 AM"
   },
   {
      "datasetId": "wkksqbb",
      "timeseriesKey": 1000030,
      "frequency": "Monthly",
      "metadata": [
         {
            "dim": "region",
            "key": "1000000",
            "name": "China"
         },
         {
            "dim": "indicator-2",
            "key": "1000000",
            "name": "Specific Market Price"
         }
      ],
      "startDate": "1/1/2002 12:00:00 AM",
      "endDate": "12/1/2004 12:00:00 AM"
   },
   {
      "datasetId": "wkksqbb",
      "timeseriesKey": 1000040,
      "frequency": "Quarterly",
      "metadata": [
         {
            "dim": "region",
            "key": "1000000",
            "name": "China"
         },
         {
            "dim": "indicator-2",
            "key": "1000000",
            "name": "Specific Market Price"
         }
      ],
      "startDate": "1/1/2002 12:00:00 AM",
      "endDate": "10/1/2004 12:00:00 AM"
   }
]