# Uk Investing — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 economic events, indicators, and market holidays to stay informed about upcoming financial releases and market closures. Monitor key economic data points and plan your trading strategy around important calendar events and scheduled market breaks.

**Category:** Finance & Markets | **Website:** [uk.investing.com/](https://uk.investing.com/) | **Docs:** [parse.bot/marketplace/a219fe84-746f-4591-88a0-7d3cfdeed2c6/uk-investing-com-api](https://parse.bot/marketplace/a219fe84-746f-4591-88a0-7d3cfdeed2c6/uk-investing-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/uk-investing/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get calendar

Fetch economic calendar events for a specific date range. Returns merged event definitions and occurrence data including actual, forecast, and previous values. Results can be filtered by importance level and country. Paginates as a single page up to 200 events. Each event includes metadata (category, source, description) and timing data (reference_period, actual_to_forecast sentiment).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_ids` | string | No | Comma-separated list of country IDs to filter by. Defaults to: 25 - Australia, 32 - Brazil, 6 - Canada, 37 - China, 72 - Eurozone, 22 - France, 17 - Germany, 39 - Hong Kong, 14 - India, 10 - Italy, 35 - Japan, 43 - New Zealand, 60 - Norway, 36 - Singapore, 110 - South Africa, 11 - South Korea, 26 - Spain, 12 - Switzerland, 4 - United Kingdom, 5 - United States, 9 - Sweden, 33 - Ireland, 34 - Belgium, 38 - Portugal, 51 - Greece, 71 - Finland. |
| `domain_id` | string | No | Investing.com domain ID. |
| `end_date` | string | No | End date in YYYY-MM-DD format. Defaults to start_date. |
| `importance` | string | No | Filter by importance level. Comma-separated for multiple values. |
| `start_date` | string | No | Start date in YYYY-MM-DD format. Defaults to today's date. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/uk-investing/get-calendar \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"country_ids":"<string>","domain_id":"<string>","end_date":"<string>","importance":"<string>","start_date":"<string>"}'
```

### Get holidays

Fetch the market holidays calendar for a specific date range. Returns exchange-level holiday information including whether the exchange is fully closed. Each holiday entry includes the exchange details (name, country, timezone) and the holiday period.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_ids` | string | No | Comma-separated list of country IDs to filter by. Defaults to: 25 - Australia, 32 - Brazil, 6 - Canada, 37 - China, 72 - Eurozone, 22 - France, 17 - Germany, 39 - Hong Kong, 14 - India, 10 - Italy, 35 - Japan, 43 - New Zealand, 60 - Norway, 36 - Singapore, 110 - South Africa, 11 - South Korea, 26 - Spain, 12 - Switzerland, 4 - United Kingdom, 5 - United States, 9 - Sweden, 33 - Ireland, 34 - Belgium, 38 - Portugal, 51 - Greece, 71 - Finland. |
| `domain_id` | string | No | Investing.com domain ID. |
| `end_date` | string | No | End date in YYYY-MM-DD format. Defaults to start_date. |
| `start_date` | string | No | Start date in YYYY-MM-DD format. Defaults to today's date. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/uk-investing/get-holidays \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"country_ids":"<string>","domain_id":"<string>","end_date":"<string>","start_date":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.