openapi: 3.0.3 info: title: Factset Analytics Datastore About Current Cap API description: Allow clients to fetch precalculated Analytics through predeterministic URLs. contact: name: FactSet Research Systems url: https://developer.factset.com/contact email: api@factset.com license: name: Apache License, Version 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 version: 1.0.0 servers: - url: https://api.factset.com description: Production - url: https://api-sandbox.factset.com description: Sandbox security: - basicAuth: [] tags: - name: Current Cap paths: /current-cap: get: tags: - Current Cap summary: Factset Current Capitalization parameters: - name: id in: query description: Company ticker required: true schema: type: string example: FDS responses: '200': $ref: '#/components/responses/200OKCurrentCapitalization' '400': $ref: '#/components/responses/400BadRequest' '401': $ref: '#/components/responses/401Unauthorized' '404': $ref: '#/components/responses/404NotFound' '429': $ref: '#/components/responses/429TooManyRequests' '500': $ref: '#/components/responses/500InternalServerError' '503': $ref: '#/components/responses/503ServiceUnavailable' components: schemas: Meta: type: object additionalProperties: type: string ErrorResponse: type: object properties: errors: type: array items: $ref: '#/components/schemas/ErrorObject' meta: $ref: '#/components/schemas/Meta' ErrorObject: type: object properties: id: type: string code: type: string title: type: string links: type: object properties: about: type: string detail: type: string source: type: object properties: parameter: type: string StachTableResponse: type: object properties: data: title: STACH description: Returns a STACH 2.0 row organized package meta: $ref: '#/components/schemas/Meta' examples: parameterErrorTopn: summary: topn parameter error value: errors: - id: 39314614-e607-465a-ba95-5bb79c362e23 code: parameterError title: 'Invalid parameter: ''topn''' unsupportedEntityParameterError: summary: unsupported entity type value: errors: - id: 39314614-e607-465a-ba95-5bb79c362e23 code: parameterError title: Unsupported entity type parameterErrorView: summary: view parameter error value: errors: - id: 3838f112-ed5a-4d9d-b0c7-3594d8eab0ed code: parameterError title: 'Invalid parameter: ''view''. Accepted values include: ''FINANCIAL'', ''VALUATION'', ''CAPITALIZATION'', ''MARGINS'' or ''PERFORMANCE''' parameterErrorActual: summary: actual periods parameter error value: errors: - id: 35a62bd5-c4aa-4e6b-9357-0f1b5688e2db code: parameterError title: 'Invalid parameter: ''actual''. Accepted values include nonzero integers' idInvalidParameterError: summary: generic parameter error (invalid parameter) value: errors: - id: 39314614-e607-465a-ba95-5bb79c362e23 code: parameterError title: 'Invalid parameter(s): ''id''' parameterErrorEstimate: summary: estimate periods parameter error value: errors: - id: 372a28d1-53ac-49cd-9be5-beb714cd62a8 code: parameterError title: 'Invalid parameter: ''estimate''. Accepted values include nonzero integers' default200CurrentCapitalizationResponse: summary: (sample response) value: data: version: '2.0' tables: main: definition: columns: - id: lineItem type: string isDimension: true - id: lineItemChild1 type: string parentId: lineItem isDimension: true - id: lineItemValue type: real headersDefinition: columns: [] data: rows: - cells: - Price (As of 27 Jan '21) - null - 312.690002 rowMetadata: category: value: DETAIL scale: value: null currencyCode: value: USD currencySymbol: value: $ - cells: - Basic Shares - null - 37.978624 rowMetadata: category: value: DETAIL scale: value: 6 - cells: - Basic Shares - Common Stock - 37.978624 rowMetadata: category: value: DETAIL scale: value: null - cells: - Market Cap - null - 11875.535939 rowMetadata: category: value: MAIN scale: value: 6 currencyCode: value: USD currencySymbol: value: $ - cells: - Enterprise Value - null - 12241.212855 rowMetadata: category: value: MAIN scale: value: null currencyCode: value: USD currencySymbol: value: $ tableMetadata: sources: value: - FactSet ECS - FactSet DCS meta: requestId: FDS-US fsymId: SQFMK3-R schema: table_parent_child_columns endpointNotFound: summary: endpoint not found value: errors: - id: 39314614-e607-465a-ba95-5bb79c362e23 code: endpointNotFound title: The requested endpoint does not exist. idRequiredParameterError: summary: generic parameter error (missing parameter) value: errors: - id: 39314614-e607-465a-ba95-5bb79c362e23 code: parameterError title: 'Missing required parameter(s): ''id''' responses: 401Unauthorized: description: Missing or invalid authentication. Ensure you are logged in and have successfully generated an API KEY for the IP range you are connecting from. For further assistance, file an issue under "Connectivty - 401 or 403 Responses" using `Report Issue` at the top of this page, including the X-DataDirect-Request-Key from the header to assist in troubleshooting. headers: X-DataDirect-Request-Key: schema: type: string description: FactSet request ID 429TooManyRequests: description: Too many requests - this API is rate-limited to 20 requests per second. For further assistance, file an issue under "Workflow & Throttling - 400 or 429 Response" using `Report Issue` at the top of this page, including the X-DataDirect-Request-Key from the header to assist in troubleshooting. headers: X-DataDirect-Request-Key: schema: type: string description: FactSet request ID 404NotFound: description: Not found. For further assistance, file an issue under "Performance - 404 and 500 Responses" using `Report Issue` at the top of this page, including the X-DataDirect-Request-Key from the header to assist in troubleshooting. headers: X-DataDirect-Request-Key: schema: type: string description: FactSet request ID content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' examples: endpointNotFound: $ref: '#/components/examples/endpointNotFound' 200OKCurrentCapitalization: description: Expected response; returns JSON data containing STACH 2.0 row organized package format headers: X-DataDirect-Request-Key: $ref: '#/components/headers/xDataDirectRequestKey' Api-Supported-Versions: $ref: '#/components/headers/apiSupportedVersions' Api-Version: $ref: '#/components/headers/apiVersion' content: application/json: schema: $ref: '#/components/schemas/StachTableResponse' examples: default200ResponseExample: $ref: '#/components/examples/default200CurrentCapitalizationResponse' 503ServiceUnavailable: description: Service unavailable. Typically a timeout, or result of a rejected request to prevent service overload. For further assistance, file an issue under "Performance - 404 and 500 Responses" using `Report Issue` at the top of this page, including the X-DataDirect-Request-Key from the header to assist in troubleshooting. headers: X-DataDirect-Request-Key: schema: type: string description: FactSet request ID 400BadRequest: description: Bad Request. For further assistance, file an issue under "Workflow & Throttling - 400 or 429 Response" using `Report Issue` at the top of this page, including the X-DataDirect-Request-Key from the header to assist in troubleshooting. headers: X-DataDirect-Request-Key: $ref: '#/components/headers/xDataDirectRequestKey' Api-Supported-Versions: $ref: '#/components/headers/apiSupportedVersions' Api-Version: $ref: '#/components/headers/apiVersion' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' examples: idRequiredParameterError: $ref: '#/components/examples/idRequiredParameterError' idInvalidParameterError: $ref: '#/components/examples/idInvalidParameterError' unsupportedEntityParameterError: $ref: '#/components/examples/unsupportedEntityParameterError' parameterErrorActual: $ref: '#/components/examples/parameterErrorActual' parameterErrorEstimate: $ref: '#/components/examples/parameterErrorEstimate' parameterErrorTopn: $ref: '#/components/examples/parameterErrorTopn' parameterErrorView: $ref: '#/components/examples/parameterErrorView' 500InternalServerError: description: Server error. For further assistance, file an issue under "Performance - 404 and 500 Responses" using `Report Issue` at the top of this page, including the X-DataDirect-Request-Key from the header to assist in troubleshooting. headers: X-DataDirect-Request-Key: schema: type: string description: FactSet request ID headers: xDataDirectRequestKey: description: FactSet request ID schema: type: string apiVersion: description: API version (semantic versioning) schema: type: string apiSupportedVersions: description: Supported API versions (semantic versioning) schema: type: string securitySchemes: basicAuth: type: http scheme: basic externalDocs: url: https://developer.factset.com/api-catalog/analytics-datastore-api description: API Documentation