# Financialjuice — 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.

> Access real-time financial news, economic calendar events, market imbalances, and high-impact news analysis to stay informed on market-moving developments and tariff changes. Search and filter news by topic, review hourly market summaries, and identify economic events that could affect your trading and investment decisions.

**Category:** Finance & Markets | **Website:** [financialjuice.com/](https://financialjuice.com/) | **Docs:** [parse.bot/marketplace/f4e4a6f6-a3c1-460a-893b-79e2b03c711d/financialjuice-com-api](https://parse.bot/marketplace/f4e4a6f6-a3c1-460a-893b-79e2b03c711d/financialjuice-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-financialjuice-com-api-f4e4a6f6/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_economic_calendar

Fetch economic calendar events including time, country, impact level, and data values (actual, forecast, previous). Returns all currently scheduled events across all countries and impact levels.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-financialjuice-com-api-f4e4a6f6/get_economic_calendar \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_high_impact_news

Identify high-impact market-moving news with a computed volatility assessment score (1-10). Matches keywords like FOMC, FED, CPI, INFLATION, GDP, TARIFF, TRUMP, and others, and boosts breaking news. Only items scoring 3 or above are returned, sorted by score descending. May return an empty array during low-volatility periods.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-financialjuice-com-api-f4e4a6f6/get_high_impact_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_hourly_summary

Generate a summary of news headlines from the past hour. Returns a formatted text summary with bullet points and the individual headline strings. May return empty arrays outside active news hours.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-financialjuice-com-api-f4e4a6f6/get_hourly_summary \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_imbalances

Fetch Market-on-Open (MOO) and Market-on-Close (MOC) imbalances for major indexes (S&P 500, NASDAQ 100, DOW 30, MAG 7). Returns both current real-time imbalance summaries and recent historical imbalance news items with dollar amounts per index.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-financialjuice-com-api-f4e4a6f6/get_imbalances \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_news_feed

Fetch the main news feed from FinancialJuice with optional keyword filtering and ID-based pagination. Returns the 20 most recent news items matching the criteria. Pagination advances by passing the last item's ID as old_id to fetch older articles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `old_id` | integer | No | Last news ID for pagination (fetch items older than this ID). Pass 0 or omit to get the latest. |
| `query` | string | No | Search filter keyword for news items. Omitting returns all recent news. |
| `tab_id` | integer | No | Tab filter ID for category filtering. 0 returns all categories. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-financialjuice-com-api-f4e4a6f6/get_news_feed \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"old_id":"<integer>","query":"<string>","tab_id":"<integer>"}'
```

### search_news

Search news articles for a specific keyword. Returns up to 20 matching articles ordered by recency. The query is matched against article titles and descriptions.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword to filter news articles. |

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

### search_tariffs

Search for news content specifically mentioning 'tariff'. Returns up to 20 matching articles ordered by recency. Equivalent to search_news with query fixed to 'tariff'.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-financialjuice-com-api-f4e4a6f6/search_tariffs \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
