# Fasken — 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 and retrieve detailed lawyer profiles from Fasken to find the right legal expert by jurisdiction, practice area, and bar admission year. Access comprehensive information about individual lawyers to identify specialists matching your legal needs.

**Category:** Business Directories | **Website:** [www.fasken.com/en/people#f-relatedofficesname=Montr%C3%A9al&f-relatedpracticesname=Mergers%20%26%20Acquisitions&f-peoplerolecategories=Lawyers%20%26%20Agents](https://www.fasken.com/en/people#f-relatedofficesname=Montr%C3%A9al&f-relatedpracticesname=Mergers%20%26%20Acquisitions&f-peoplerolecategories=Lawyers%20%26%20Agents) | **Docs:** [parse.bot/marketplace/b959e720-4a69-4ff6-bcfb-8406b710944a/fasken-com-api](https://parse.bot/marketplace/b959e720-4a69-4ff6-bcfb-8406b710944a/fasken-com-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/fasken/`
**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 lawyer profile

Retrieve the full profile of a specific Fasken lawyer by their URL slug. Returns detailed information including name, role, bar jurisdictions with admission years, languages spoken, office location, full biography, and contact information. The slug is the path segment from the lawyer's profile URL (e.g. 'simon-bisson' from https://www.fasken.com/en/simon-bisson).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | URL slug identifying the lawyer (e.g. 'simon-bisson', 'peter-villani'). Obtainable from search_lawyers results via the slug field. |

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

### Search lawyers

Search for lawyers at Fasken filtered by office, practice area, role category, and free-text query. Returns paginated results with summary information including name, slug, role, offices, practices, bar jurisdictions, languages, and a short biography. Uses the Coveo search index backing the Fasken people directory. Pagination is page-based with configurable page size.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of results per page (1-100). |
| `office` | string | No | Office location filter (e.g. 'Montréal', 'Toronto', 'Vancouver', 'Ottawa', 'Québec City', 'London', 'Johannesburg'). Omitting returns lawyers from all offices. |
| `page` | integer | No | Page number for pagination (1-based). |
| `practice` | string | No | Practice area filter (e.g. 'Mergers & Acquisitions', 'Corporate/Commercial', 'Litigation and Dispute Resolution', 'Private Equity', 'Capital Markets'). Omitting returns lawyers from all practices. |
| `query` | string | No | Free-text search query to match against lawyer names or biographies. |
| `role_category` | string | No | Role category filter. Known values: 'Lawyers & Agents', 'Legal Professionals', 'Business Professionals', 'Firm Leadership'. |

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