# Pocket Option — 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.

> Retrieve real-time information about tradable assets on Pocket Option, including current payout rates and weekly trading schedules to inform your trading decisions. Use this data to discover which assets are available for trading and plan your strategy around their scheduled availability and potential returns.

**Category:** Finance & Markets | **Website:** [pocketoption.com/en](https://pocketoption.com/en) | **Docs:** [parse.bot/marketplace/c7aee35b-93d8-429c-8a52-7aba34669597/pocketoption-com-api](https://parse.bot/marketplace/c7aee35b-93d8-429c-8a52-7aba34669597/pocketoption-com-api)

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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/pocket-option/`
**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 asset schedule

Get the weekly trading schedule for assets on a specific day of the week, including trading hours (UTC+2) and payout percentages. On days when few markets are open (e.g. Monday), only 24/7 assets like cryptocurrencies appear. Payout may be null for some assets on certain days.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Filter by asset category. Case-insensitive. When omitted, all categories are returned. |
| `day` | string | Yes | Day of the week as an integer 0-6 where 0=Monday and 6=Sunday. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/pocket-option/get-asset-schedule \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","day":"<string>"}'
```

### Get trading assets

Get all assets currently available for trading on the Pocket Option demo platform, with their payout percentages and trading status. Returns assets across all categories (Currency, Commodities, Stocks, Cryptocurrencies, Indices) or filtered to a single category. All times are relative to the moment of the request.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Filter by asset category. Case-insensitive. When omitted, all categories are returned. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/pocket-option/get-trading-assets \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>"}'
```

## Next steps

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