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

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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-offshoreleaks-icij-org-api-364ab700/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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.paywithlocus.com/api/wrapped/parse-offshoreleaks-icij-org-api-364ab700/get_database_info \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-offshoreleaks-icij-org-api-364ab700/get_node_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-offshoreleaks-icij-org-api-364ab700/list_entities \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-offshoreleaks-icij-org-api-364ab700/list_officers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-offshoreleaks-icij-org-api-364ab700/search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<integer>","limit":"<integer>","query":"<string>"}'
```
