# Main Knesset — 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.

> Look up current and historical members of Israel's Knesset parliament with their biographical information, party affiliations, committee roles, and contact details. Search and filter members by name or other criteria to find specific representatives and learn about their government positions.

**Category:** Government & Public Data | **Website:** [main.knesset.gov.il/mk/apps/mklobby/main/current-knesset-mks/all-current-mks](https://main.knesset.gov.il/mk/apps/mklobby/main/current-knesset-mks/all-current-mks) | **Docs:** [parse.bot/marketplace/922005f3-090e-438f-b3fd-ceebf4175910/main-knesset-gov-il-api](https://parse.bot/marketplace/922005f3-090e-438f-b3fd-ceebf4175910/main-knesset-gov-il-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-main-knesset-gov-il-api-922005f3/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_current_mks

Get all current Knesset members with their basic info, current faction, committee memberships, and government roles. Returns members sorted alphabetically by Hebrew name. This is the full list of the 25th Knesset; no pagination — one request returns all ~120 members.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-main-knesset-gov-il-api-922005f3/get_current_mks \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_mk_details

Get detailed information for a specific MK by their ID, including full faction history, committee history, and ministry history across all Knesset terms. The mk_id is available from the get_current_mks or search_mks endpoints.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `mk_id` | string | Yes | The MK's unique numeric identifier (e.g. '214'). Available from get_current_mks members[*].mk_id or search_mks results[*].mk_id. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-main-knesset-gov-il-api-922005f3/get_mk_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mk_id":"<string>"}'
```

### search_mks

Search MKs by name (Hebrew or English), faction name, or alternate names. Returns both current and historical MKs matching the query, sorted with current MKs first. Hebrew search recommended for best results as English names may not be populated for all members.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search term - matched against MK name in Hebrew, English name (if available), faction/party name, and alternate names. Hebrew search recommended for best results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-main-knesset-gov-il-api-922005f3/search_mks \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
