# Bloomberg Premium Article Scraper (`romy/bloomberg-premium-article-scraper`) Actor

Get full article bodies, including premium/paywalled ones — via the real API, not scraping from Bloomberg. Talks directly to Bloomberg's own mobile app API, no login needed. Split from the mature, published bloomberg-all-in-one-api for a focused, single-purpose workflow.

- **URL**: https://apify.com/romy/bloomberg-premium-article-scraper.md
- **Developed by:** [Romy](https://apify.com/romy) (community)
- **Categories:** News
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.40 / 1,000 article chargeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Bloomberg Premium Article Scraper do?

**Bloomberg Premium Article Scraper** takes one or more Bloomberg internal article/story ids and pushes the full article body — structured paragraph/image components, byline, word count — one dataset row per article, plus a single batch summary row (title/thumbnail for the same ids, useful for hydrating feed cards).

It talks directly to the same internal API the official Bloomberg Android app uses (`cdn-mobapi.bloomberg.com`), reverse-engineered via a real device + Frida (bypassing the app's dual TLS cert pinning and root-detection), then independently re-confirmed by calling the API directly with no device involved. No Bloomberg account, no API key, no scraping setup. This is the article-detail slice of [Bloomberg All-in-One API](https://apify.com/romy/bloomberg-all-in-one-api), split out as its own focused Actor.

### Why use Bloomberg Premium Article Scraper?

> **Confirmed live: full article bodies are returned even for articles flagged `premium: true`.** Bloomberg's Android app gates certain stories behind a client-side paywall UI ("You've reached your free article limit" / "Get the story behind the story when you subscribe"), but the `premium` boolean in the API response is just a flag — it does not gate server-side access at all. The parent Actor's reverse-engineering work confirmed this live: `GET /stories/{id}` returns the complete, 2000+ word structured body regardless of the `premium` value. This is a real, confirmed restriction bypass in Bloomberg's own API design, not a bug or an assumption.

- **Full article text, every time** — byline, word count, and all structured paragraph/image components, for premium-flagged articles included
- **Batch summary in the same run** — one extra `storiesBulletin` call returns lightweight title/thumbnail data for the whole id set, useful for hydrating feed/module cards without fetching every full body
- **No account needed** — every read request works fully anonymously, only a fixed `user-agent` header is required
- **Use cases:** full-text archival and search indexing, sentiment/NLP pipelines over premium financial news, monitoring specific tickers' coverage without a Bloomberg Terminal subscription

### How it connects to the parent

This Actor reuses only the `GET /stories/{id}` and `GET /stories/bulletin` logic proven live by [Bloomberg All-in-One API](https://apify.com/romy/bloomberg-all-in-one-api) — no new endpoints, fields, or headers were invented. See the parent Actor for the full surface (securities, quotes, financials, search, home feed, media, live TV).

### Input

| Field        | Type     | Description                                                                                                                                                                              |
| ------------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `articleIds` | string\[] | **Required.** Bloomberg internal article/story ids, e.g. `TKAK8NT9NJLU00`. Get one from a `type: "article"` story in a security's news listing or search results (see the parent Actor). |

Example:

```json
{
    "articleIds": ["TKAK8NT9NJLU00", "TKALBTT0G1KW00"]
}
```

### Output

One dataset row per article id, plus one final batch summary row:

```json
{
    "id": "TKAK8NT9NJLU00",
    "article": {
        "success": true,
        "title": "...",
        "byline": "...",
        "wordCount": 549,
        "premium": false,
        "components": [{ "role": "p", "parts": [{ "role": "text", "text": "..." }] }]
    }
}
```

```json
{
    "bulletin": { "...": "batch title/thumbnail summary for all requested article ids" }
}
```

### Known limitations

- Only the article-body and batch-summary endpoints — securities, search, home feed, and media are separate concerns handled by the parent [Bloomberg All-in-One API](https://apify.com/romy/bloomberg-all-in-one-api).
- Article ids must be obtained externally (from a news listing, search result, or Bloomberg URL) — this Actor does not discover ids on its own.

### Pricing

Pay-per-event: $0.0120 per `article` result (FREE plan; BRONZE/SILVER/GOLD/PLATINUM/DIAMOND get automatic discounts based on your Apify plan). Billed per article id processed, plus one additional `article` charge for the batch summary/bulletin row.

# Actor input Schema

## `articleIds` (type: `array`):

Bloomberg internal article/story ids, e.g. TKAK8NT9NJLU00. Get one from a `type: "article"` story in a security's news listing or search results (see bloomberg-all-in-one-api).

## Actor input object example

```json
{
  "articleIds": [
    "TKAK8NT9NJLU00"
  ]
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "articleIds": [
        "TKAK8NT9NJLU00"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("romy/bloomberg-premium-article-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "articleIds": ["TKAK8NT9NJLU00"] }

# Run the Actor and wait for it to finish
run = client.actor("romy/bloomberg-premium-article-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "articleIds": [
    "TKAK8NT9NJLU00"
  ]
}' |
apify call romy/bloomberg-premium-article-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,romy/bloomberg-premium-article-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9MpLgjat1CeBvtcAV/builds/0YAB1KKKQmqYVn9D3/openapi.json
