JPM OAuth
24-10-2024
Overview
Login:
Guide:
- https://developer.jpmorgan.com/products/dataquery_api/guides/get-started
- https://developer.jpmorgan.com/products/dataquery_api/guides/migrating-from-v1-and-ssl-cert-to-v2-and-oauth
Changes:
- base_url
- endpoint
/research/dataquery/DQDataJSONP
to/research/dataquery-authe/api/v2/expressions/time-series
- authentication
- SSL cert to OAuth
From JPM
The Benefits of Authenticating via OAuth:
- No account lockout when a J.P. Morgan Markets account password expires or when throttling limits are accidentally triggered (common 401 API response errors)
- Client secrets do not contain an expiry date post-generation
- Self-serve portal to connect to the API (by generating a client ID and client secret) with the removal of manual certificate approval
- No requirement to purchase and manage the administration of SSL certificates annually.
- Fully self-serve OAuth credential management via the J.P. Morgan API Store
- Extensive OAuth documentation is available including sample OAuth code, a migration guide and a sample DataQuery notebook
Changes:
- Authentication (breaking change): the DataQuery API will discontinue SSL certificate authentication from Nov 2, 2024 and will be replaced by OAuth authentication.
- Base URL (breaking change): DataQuery will be supported over a new server:
- Base URL to be discontinued on November 2
- Long-term supported Base URL for OAuth
- Endpoint changes (breaking change): DataQuery v1 endpoints will discontinue and be replaced by the enhanced v2 endpoints
- Expressions: /DQDataJSONP will be replaced by /api/v2/expressions/time-series. All request parameter and response body format has breaking change.
- Grid data: /DQGridDataJSONP will be replaced by /api/v2/grid-data. No breaking change for request parameters and request body – stay as is.
Rate limits:
- Max of 20x expressions per 1x HTTP request when using GET
/expressions/time-series
end-point
Pagination:
- paginated at 50 items (expressions) per page
- each page contains links to the current page "self" and "next" page. When the last page is reached, the "next" link is returned as null indicating no more pages are available for retrieval.
items
indicate the total item count of resultspage-size
indicates the item count of current page