# Uk Investing — 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 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. Each call is automatically billed to your wallet in USDC.

## Access

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

## 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.paywithlocus.com/api/wrapped/parse-uk-investing-com-api-a219fe84/get_calendar \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-uk-investing-com-api-a219fe84/get_holidays \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country_ids":"<string>","domain_id":"<string>","end_date":"<string>","start_date":"<string>"}'
```
