openapi: 3.0.3
info:
title: Factset Analytics Datastore About Books 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: Books
paths:
/v1/create-book:
post:
tags:
- Books
summary: Factset Kicks Off Request to Create a Book With Reports of Your Choice
description: This end point retrieves book name and book_id for the PDF book you create. All the book options such as name of the book, ticker, pagination options, and reports can be specified in the request body. Please refer to the documentation for valid section ids and report ids.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/createBookPostRequest'
responses:
'200':
description: Successful response contains book name and book ID
content:
application/json:
schema:
$ref: '#/components/schemas/Enable_Book_Info'
'400':
description: Invalid ticker/section_id/report_id
'401':
description: Missing or invalid authentication
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/v1/create-book-from-template:
post:
tags:
- Books
summary: Factset Kicks Off Request to Create a Book With Template
description: This endpoint retrieves book status, book name, and book ID for ticker requested in JSON format. This end-point excepts ticker and template_id as inputs. If the template_id input is not used, a book will be created with FactSet's default template.Please try out the below template ids to quickly get the FactSet curated booksCompany Quick Book - g_20210415065838185Post-Earnings Call - g_20210415070044785 Public Information Book(PIB) - g_20210415070353151 Take a look at the example books attached under API documentation below.If you are scheduling Post Earnings Call curated book, please note that in contains Corrected Transcript that takes a little while to be available. Once a Raw Transcript is published, FactSet's editors review the call to produce a Corrected Transcript. They listen to the entire audio file again to confirm that all of the terms and numbers are correctly transcribed. FactSet aims to publish a Corrected Transcript within six times the length of the event, measured from the beginning of the event. That means for a typical one-hour call, FactSet will produce a Corrected Transcript within approximately five hours of the call's completion. Visit [OA 13208](https://my.apps.factset.com/oa/pages/13208)
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/createBookFromTemplatePostRequest'
responses:
'200':
description: Successful response contains request status, book name, and book ID
content:
application/json:
schema:
$ref: '#/components/schemas/Enable_Book_Info_From_Template'
'400':
description: Invalid ticker or Unknown error
'401':
description: Missing or invalid authentication
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/v1/download-api-book-aws/{book_id}:
get:
tags:
- Books
summary: Factset Retrieves Book in Pdf Format
description: This endpoint uses the BookId returned from any of the request above. Returns the URL to load the book for the book ID requested. The URL will be in JSON format, the final book will be in PDF format.
NOTE -- The execution of this endpoint requires an extra step within the developer portal due to authentication limitations. When using the actual API, a successful response for this endpoint will be the PDF book rather than the URL to the PDF.
The actual endpoint is https://api.factset.com/book-builder-api/v1/download-api-book/{book_id}
parameters:
- in: path
name: book_id
schema:
type: string
required: true
responses:
'200':
description: Successful response contains URL to load the book for the BookID requested
content:
application/json:
schema:
$ref: '#/components/schemas/Enable_Book_Download'
'202':
description: Book is processing. Please check back later.
'400':
description: Something went wrong. Please create a new request.
'401':
description: Missing or invalid authentication
'503':
description: Unrecognized BookId
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
components:
schemas:
createBookPostRequest:
title: Request Body for Post Request
description: The request body allows users to input the name of the book, ticker
type: object
properties:
book_name:
type: string
description: name of the book
example: Company Book for FDS
ticker:
type: string
description: Identifier.
example: FDS-US
pagination:
type: object
description: options for pagination
properties:
cover:
example: 'true'
divider:
example: 'true'
toc:
example: 'true'
example: example_value
content:
type: array
description: Content sections
items:
oneOf:
- type: object
properties:
section_id:
example: COMPANY_OVERVIEW
reports:
type: array
items:
oneOf:
- type: string
example: COMPANY_SNAPSHOT_IB
- type: string
example: COMPANY_SNAPSHOT_IM
- type: string
example: ENTITY_STRUCTURE
example: []
createBookFromTemplatePostRequest:
title: Request Body for Post Request
description: It is a request body to allow users to input ticker and template id.
type: object
properties:
ticker:
type: string
description: ticker
example: FDS-US
template_id:
type: string
description: Template ID
example: g_20210415065838185
Enable_Book_Info:
title: Book Information Request
description: Request to enable book information for the client.
type: object
properties:
bookName:
type: string
description: Report Name
example: Apple Inc.
bookID:
type: string
description: Book ID
example: 20200317133713790
Enable_Book_Info_From_Template:
title: Book Information Request
description: Request to enable book information for the client.
type: object
properties:
status:
type: string
description: Request status
example: OK
bookName:
type: string
description: Report Name
example: Apple Inc.
bookID:
type: string
description: Book ID
example: 20200317133713790
Enable_Book_Download:
title: Book Download
description: Request to download book.
type: object
properties:
Message:
type: string
description: Book status
example: Copy and paste the URL below into your browser to download your book. This book will be available for download for the next 30 minutes.
url:
type: string
description: URL to book.
example: https://fioaddon-s3-bridge-3399.s3.amazonaws.com/DD_20200331093828132.pdf?AWSAccessKeyId=AKIA46YVWD3IE4WEE4OI&Expires=1585663820&Signature=C2PQmOQJlgzbW67skirSuKAiP1A%3D
securitySchemes:
basicAuth:
type: http
scheme: basic
externalDocs:
url: https://developer.factset.com/api-catalog/analytics-datastore-api
description: API Documentation