Market data across contract positions
Frequency counts based on TermScout's market data across contract positons. Without any query parameters, will return total contract counts for each contract position, defaulting to the IT template.
To filter on a specific template or label, include a template-id, label-id and selected. Set selected to 1 for frequency counts where the given label is true. Set selected to 0 for frequency counts where the label is not true.
To construct frequency percentages for a given label, first call the endpoint with no label-id to get the denominator. Then call the endpoint with label-id and selected included to get the numerator. Then you can divide the numerator by the denominator for each contract position returned.
Request
- Base URLhttps://api.termscout.com
- Auth
- API key in header Authorization
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
ID of template to fetch counts for
ID of label to fetch counts for
Set to 1 for counts where label is true, 0 for counts where label is false
Response
200 response
Changes
No recorded changes to this operation across all 1 revision of this API.