# Iardc — 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 Illinois-licensed lawyers and access their registration status, contact information, admission dates, and discipline records through the IARDC database. Find detailed information about any lawyer registered with the Illinois Attorney Registration & Disciplinary Commission to verify credentials and review their professional history.

**Category:** Government & Public Data | **Website:** [www.iardc.org/Lawyer/SearchResults](https://www.iardc.org/Lawyer/SearchResults) | **Docs:** [parse.bot/marketplace/056517eb-93b7-4135-a099-758f1bb47e3b/iardc-org-api](https://parse.bot/marketplace/056517eb-93b7-4135-a099-758f1bb47e3b/iardc-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-iardc-org-api-056517eb/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_lawyer_details

Get detailed profile information for a specific lawyer by their IARDC GUID identifier obtained from search_lawyers results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `lawyer_id` | string | Yes | The lawyer's IARDC GUID identifier from search_lawyers results[*].id field. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-iardc-org-api-056517eb/get_lawyer_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lawyer_id":"<string>"}'
```

### search_lawyers

Search for lawyers in the IARDC database by last name, first name, status, city, state, or county. Results are paginated and sorted alphabetically by name.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `city` | string | No | City to filter by. |
| `county` | string | No | County to filter by. |
| `first_name` | string | No | First name to search for. |
| `last_name` | string | No | Last name to search for. |
| `last_name_match` | string | No | How to match last name: 'Exact', 'BeginsWith', or 'Contains'. |
| `page` | integer | No | Page number (1-based). |
| `page_size` | integer | No | Results per page: 5, 10, 25, 50, 75, or 100. |
| `state` | string | No | State to filter by. |
| `status` | string | No | Registration status filter: 'All', 'Active', 'Inactive'. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-iardc-org-api-056517eb/search_lawyers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"city":"<string>","county":"<string>","first_name":"<string>","last_name":"<string>","last_name_match":"<string>","page":"<integer>","page_size":"<integer>","state":"<string>","status":"<string>"}'
```
