Bloomberg APIs Tasvc API
Technical Analysis Service — historical, intraday, and real-time studies
Technical Analysis Service — historical, intraday, and real-time studies
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/bloomberg-apis:bloomberg-apis-tasvc-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Bloomberg API (BLPAPI) Tasvc API
version: '2.54'
summary: Logical OpenAPI representation of the Bloomberg API (BLPAPI) v3.x
description: 'The Bloomberg API (BLPAPI) is the official client-side library for accessing
Bloomberg market data, reference data, news, and analytics services across
Desktop API, Server API, and B-PIPE delivery models.'
contact:
name: Bloomberg Production Support
url: https://www.bloomberg.com/professional/support/
license:
name: Permissive (Bloomberg sample license terms)
termsOfService: https://www.bloomberg.com/professional/support/api-library/
servers:
- url: blpapi+session://{session}
description: 'Logical BLPAPI session endpoint. In production, applications open a
`Session` against `Session.Options` configured for Desktop API
(`localhost:8194`), Server API (`<server-host>:8194` with ASID
authentication), or B-PIPE (multiple BPIPE hosts with token authentication).
'
variables:
session:
default: localhost
description: Session identifier — Desktop, Server API ASID, or B-PIPE BPID
security:
- desktopAPI: []
- serverAPI: []
- bpipeToken: []
tags:
- name: tasvc
description: Technical Analysis Service — historical, intraday, and real-time studies
paths:
/tasvc/StudyRequest:
post:
operationId: studyRequest
tags:
- tasvc
summary: Request a technical analysis study (historical, intraday, or real-time)
description: 'Runs a Bloomberg technical analysis study (e.g. SMA, EMA, RSI, MACD,
Bollinger Bands, Stochastics) and returns the computed series.
Three data types: HistoricalEndOfDay, Intraday, and Real-time.
**BLPAPI service**: `//blp/tasvc`'
requestBody:
required: true
content:
application/x-blpapi-request:
schema:
$ref: '#/components/schemas/StudyRequest'
responses:
'200':
description: Study response with computed series
content:
application/x-blpapi-response:
schema:
$ref: '#/components/schemas/StudyResponse'
components:
schemas:
Security:
type: string
description: 'Bloomberg security identifier in the form
`[Topic Prefix]/SYMBOLOGY[@Pricing Source][Exchange]` with optional Yellow Key.
Default Topic Prefix is `ticker`. Examples: `IBM US Equity`,
`/cusip/912828GM6@BGN`, `MSFT@ETPX US Equity`.
'
examples:
- IBM US Equity
- VOD LN Equity
- /cusip/912828GM6@BGN
- MSFT@ETPX US Equity
- GBPUSD BAAM Curncy
RealtimePriceSource:
type: object
properties:
sourceType:
type: string
const: RealtimePriceSource
security:
$ref: '#/components/schemas/Security'
ErrorInfo:
type: object
description: Standard error envelope used in BLPAPI responses.
required:
- source
- code
- category
- message
properties:
source:
type: string
description: Bloomberg internal error source (e.g. `bbdbl1.r1.kgw`).
code:
type: integer
description: Bloomberg internal error code.
category:
type: string
description: General classification of the failure.
examples:
- BAD_SEC
- BAD_FLD
- INVALID_REQUEST
- NO_AUTH
message:
type: string
description: Human-readable description of the failure.
subcategory:
type: string
description: (Optional) more specific classification of the failure.
HistoricalPriceSource:
type: object
properties:
sourceType:
type: string
const: HistoricalPriceSource
security:
$ref: '#/components/schemas/Security'
priceField:
type: string
enum:
- PX_LAST
- PX_OPEN
- PX_HIGH
- PX_LOW
- PX_VOLUME
startDate:
type: string
example: '20100101'
endDate:
type: string
periodicitySelection:
type: string
enum:
- DAILY
- WEEKLY
- MONTHLY
- QUARTERLY
- SEMI_ANNUALLY
- YEARLY
StudyRequest:
type: object
required:
- priceSource
- studyAttributes
properties:
priceSource:
type: object
oneOf:
- $ref: '#/components/schemas/HistoricalPriceSource'
- $ref: '#/components/schemas/IntradayPriceSource'
- $ref: '#/components/schemas/RealtimePriceSource'
studyAttributes:
type: object
description: 'Study-specific parameters (e.g. for SMA: period; for MACD: fastEMA,
slowEMA, signalEMA; for Bollinger: period, stdDev). Refer to the
BLPAPI Developer''s Guide for the full set per study.
'
additionalProperties: true
IntradayPriceSource:
type: object
properties:
sourceType:
type: string
const: IntradayPriceSource
security:
$ref: '#/components/schemas/Security'
eventType:
type: string
enum:
- TRADE
- BID
- ASK
startDateTime:
type: string
format: date-time
endDateTime:
type: string
format: date-time
interval:
type: integer
minimum: 1
maximum: 1440
StudyResponse:
type: object
properties:
responseError:
$ref: '#/components/schemas/ErrorInfo'
studyData:
type: array
items:
type: object
properties:
date:
type: string
format: date-time
value:
type: number
securitySchemes:
desktopAPI:
type: apiKey
in: header
name: X-BLPAPI-Session
description: 'Desktop API authorization is handled by the local Bloomberg Professional
terminal. Applications open a session against `localhost:8194` and the
terminal context is the authorization. No token is presented over the wire.
'
serverAPI:
type: apiKey
in: header
name: X-BLPAPI-ASID
description: 'Server API authorization is by ASID and registered IP address.
The application''s IP must be entitled in the Bloomberg Anywhere
permissioning system; an `AuthorizationRequest` with `ipAddress`
validates the user''s identity at that location.
'
bpipeToken:
type: http
scheme: bearer
bearerFormat: BLPAPI-Token
description: 'B-PIPE applications acquire a token via the
`AuthorizationTokenRequest` operation, then submit the token in an
`AuthorizationRequest` to obtain an Identity object. The Identity
object is then attached to subsequent service requests.
'
externalDocs:
description: Bloomberg API Developer's Guide v2.54 (June 30, 2014)
url: https://www.bloomberg.com/professional/support/api-library/