# Offshoreleaks Icij — 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.

> Search for entities, individuals, and their financial connections across major offshore leak investigations including the Panama Papers and Pandora Papers. Explore detailed relationship graphs, browse officer records, and analyze bulk datasets to uncover offshore financial activities and networks.

**Category:** Government & Public Data | **Website:** [offshoreleaks.icij.org/](https://offshoreleaks.icij.org/) | **Docs:** [parse.bot/marketplace/364ab700-41ce-4c13-945e-a4d497a500a6/offshoreleaks-icij-org-api](https://parse.bot/marketplace/364ab700-41ce-4c13-945e-a4d497a500a6/offshoreleaks-icij-org-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/offshoreleaks-icij/`
**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 database info

Get general information about the Offshore Leaks Database including its title, description, data sources (investigation names with years), and license. Returns static metadata; no input parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/offshoreleaks-icij/get-database-info \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get node details

Retrieve the full connection graph for a node (entity, officer, intermediary, or address) by its numeric ID. Returns all directly connected nodes and their edge properties, useful for mapping offshore relationship networks. Node IDs come from search results or list endpoints.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Numeric node ID from search results or list endpoints (e.g. '10000001') |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/offshoreleaks-icij/get-node-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"id":"<string>"}'
```

### List entities

List entities from the database with offset-based pagination. Returns entity records with their properties (name, country, jurisdiction, status, incorporation date) and related connections (officers, intermediaries, addresses). Maximum offset is 9900.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `offset` | integer | No | Starting offset for pagination (0 to 9900) |
| `size` | integer | No | Number of results per page (1 to 100) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/offshoreleaks-icij/list-entities \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"offset":"<integer>","size":"<integer>"}'
```

### List officers

List officers from the database with offset-based pagination. Returns officer records with their properties (name, country, data source, ICIJ ID). Maximum offset is 9900.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `offset` | integer | No | Starting offset for pagination (0 to 9900) |
| `size` | integer | No | Number of results per page (1 to 100) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/offshoreleaks-icij/list-officers \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"offset":"<integer>","size":"<integer>"}'
```

### Search

Full-text search across entities, officers, intermediaries, and addresses in the ICIJ Offshore Leaks Database via the Reconciliation API. Results are scored by relevance. An optional category filter narrows by node type. Returns up to `limit` results per call; no server-side pagination beyond that cap.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | integer | No | Category filter: 0=Entity, 1=Officer, 2=Intermediary, 3=Address, 4=Other |
| `limit` | integer | No | Maximum number of results to return (1-100) |
| `query` | string | Yes | Search keyword (e.g., company name or individual name) |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/offshoreleaks-icij/search \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category":"<integer>","limit":"<integer>","query":"<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.