This repository has been archived by the owner on Aug 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathData Apis.postman_collection.json
162 lines (162 loc) · 5.45 KB
/
Data Apis.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"info": {
"_postman_id": "292fc9ed-bf15-4936-b045-97c2d400ea02",
"name": "Data Apis",
"description": "IEX Cloud data can be organized into three generic data APIs: time-series, data-tables, and data-points. Each API type is self describing and the docs can be accessed without an API token.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Data Points",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/data-points/:symbol/:key",
"host": [
"{{base_url}}"
],
"path": [
"data-points",
":symbol",
":key"
],
"variable": [
{
"key": "symbol",
"value": "aapl",
"description": "The symbol to use"
},
{
"key": "key",
"value": "",
"description": "The key to use after a call with just a symbol is made"
}
]
},
"description": "Data points are available per symbol and return individual plain text values. Retrieving individual data points is useful for Excel and Google Sheet users, and applications where a single, lightweight value is needed. We also provide update times for some endpoints which allow you to call an endpoint only once it has new data.\n\nTo use this endpoint, you’ll first make a free call to list all available data points for your desired symbol, which can be a security or data category."
},
"response": []
},
{
"name": "Time Series Inventory",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/time-series",
"host": [
"{{base_url}}"
],
"path": [
"time-series"
]
},
"description": "A full inventory of time series data is returned by calling /time-series without a data id. The data structure returned is an array of available data sets that includes the data set id, a description of the data set, the data weight, a data schema, date created, and last updated date. The schema defines the minimum data properties for the data set, but note that additional properties can be returned. This is possible when data varies between keys of a given data set. \n\nEach inventory entry may include a key and subkey which describes what can be used for the key or subkey parameter."
},
"response": []
},
{
"name": "Time Series Query",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/time-series/:id/:key/:subkey",
"host": [
"{{base_url}}"
],
"path": [
"time-series",
":id",
":key",
":subkey"
],
"query": [
{
"key": "from",
"value": "2015-01-01",
"description": "Optional\nReturns data on or after the given from date. Format YYYY-MM-DD. Used together with the to parameter to define a date range.",
"disabled": true
},
{
"key": "to",
"value": "2016-01-01",
"description": "Optional\nReturns data on or before the given to date. Format YYYY-MM-DD",
"disabled": true
},
{
"key": "on",
"value": "2016-01-01",
"description": "Optional\nReturns data on the given date. Format YYYY-MM-DD",
"disabled": true
},
{
"key": "last",
"value": "3",
"description": "Optional\nReturns the latest n number of records in the series",
"disabled": true
},
{
"key": "first",
"value": "3",
"description": "Optional\nReturns the first n number of records in the series",
"disabled": true
},
{
"key": "filter",
"value": "",
"description": "Optional\nThe standard filter parameter. Filters return data to the specified comma delimited list of keys (case-sensitive)",
"disabled": true
},
{
"key": "format",
"value": "csv",
"description": "Optional\nThe standard format parameter. Returns data as JSON by default. See the data format section for supported types.",
"disabled": true
}
],
"variable": [
{
"key": "id",
"value": "REPORTED_FINANCIALS",
"description": "Required\nID used to identify a time series dataset."
},
{
"key": "key",
"value": "AAPL",
"description": "Required\nKey used to identify data within a dataset. A common example is a symbol such as AAPL."
},
{
"key": "subkey",
"value": "",
"description": "Optional\nThe optional subkey can used to further refine data for a particular key if available."
}
]
},
"description": "A full inventory of time series data is returned by calling /time-series without a data id. The data structure returned is an array of available data sets that includes the data set id, a description of the data set, the data weight, a data schema, date created, and last updated date. The schema defines the minimum data properties for the data set, but note that additional properties can be returned. This is possible when data varies between keys of a given data set. \n\nEach inventory entry may include a key and subkey which describes what can be used for the key or subkey parameter."
},
"response": []
}
],
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{public_key}}",
"type": "string"
},
{
"key": "key",
"value": "token",
"type": "string"
},
{
"key": "in",
"value": "query",
"type": "string"
}
]
}
}