# Bloomberg — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Track stock indices, commodities, currencies, and bonds in real-time, while monitoring market movers and staying updated with the latest financial news. Get comprehensive Bloomberg market data to make informed investment decisions across multiple asset classes.

**Category:** Finance & Markets | **Website:** [www.bloomberg.com/markets](https://www.bloomberg.com/markets) | **Docs:** [parse.bot/marketplace/c3719972-3395-4552-89c0-ff394f11d7a9/bloomberg-com-api](https://parse.bot/marketplace/c3719972-3395-4552-89c0-ff394f11d7a9/bloomberg-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-bloomberg-com-api-c3719972/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_market_data

Real-time market data for stock indices, commodities, currencies, and bonds. Accepts any Bloomberg ticker ID via the comparison data API. Each ticker includes current price, 1-day/1-month/1-year percent changes, and last-update timestamps. A single request can fetch up to ~50 tickers. Tickers not recognized by Bloomberg return an empty collection entry.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `ticker_ids` | string | No | Comma-separated Bloomberg ticker IDs. Format is SYMBOL:TYPE where TYPE is IND (index), COM (commodity), CUR (currency), GOV (government bond). Examples: SPX:IND, CL1:COM, EURUSD:CUR, GT10:GOV. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bloomberg-com-api-c3719972/get_market_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ticker_ids":"<string>"}'
```

### get_market_movers

Most active or significantly moving stocks with their current prices, 1-day percent changes, and a related Bloomberg news headline per mover. Typically returns 4-6 stocks. No pagination; the full list is returned in one call.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `locale` | string | No | Locale for the response. Only 'en' is supported. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bloomberg-com-api-c3719972/get_market_movers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"locale":"<string>"}'
```

### get_market_news

Latest Bloomberg market news articles with headlines, URLs, bylines, and publication dates. Returns articles from the markets section. Supports offset-based pagination; each call fetches up to `limit` articles starting from `offset`.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of articles to return. |
| `offset` | integer | No | Starting offset for pagination. |
| `page` | string | No | Bloomberg page section to fetch news from. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-bloomberg-com-api-c3719972/get_market_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","offset":"<integer>","page":"<string>"}'
```
