# QLD Solicitor Emails · You & The Law (`corent1robert/qld-youandthelaw-solicitor-leads`) Actor

Export Queensland solicitors with published emails and phones from You & The Law (QLS Find a Solicitor). One row per solicitor. Public directory only — no login.

- **URL**: https://apify.com/corent1robert/qld-youandthelaw-solicitor-leads.md
- **Developed by:** [Corentin Robert](https://apify.com/corent1robert) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.49 / 1,000 solicitor with emails

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## QLD Solicitor Emails · You & The Law

Export **Queensland solicitors** with the **email and phone printed** on [You & The Law](https://www.youandthelaw.com.au/directory) (Queensland Law Society Find a Solicitor). One row per solicitor. Public directory — no login.

**No login. No API key. No Law Society account.**

This is the public consumer directory, not a private practising-certificate dump. Contacts are **only exported when the page prints them**. They are never invented.

### Who is this for?

| You are… | Typical goal | Suggested setup |
|----------|--------------|-----------------|
| Legal-tech / practice-management vendor | QLD solicitor mailboxes | Brisbane, only with email |
| Outbound / SDR covering SEQ | Gold Coast or Sunshine Coast | City filter + email on |
| Agency / list builder | Several Queensland centres | City `all` after a paid upgrade |
| First-run QA | Small CRM sample | 20-row Brisbane sample |

**What you get by default.** Name, firm, published mailbox, phone, street address, and areas of practice when the profile prints them.

**Honest coverage.** Search is geographic (city + map radius) plus optional name / practice filter. QLS states the directory covers **over 4,000** solicitors statewide. A city run returns the solicitors You & The Law shows for that search — not a silent invent-the-rest fill.

### Quick start

1. Open the Actor. Leave **City** on Brisbane.
2. Keep **Only with email or phone** on.
3. Leave **Max unique solicitors** at 20 for a first run.
4. Click **Start**. Download JSON, CSV or Excel.

### Ready-made examples

Saved task inputs live in `published-tasks/inputs/`. Store example pages go live after task publish.

| Example | Best for |
|---------|----------|
| Brisbane solicitor emails | SEQ outreach |
| Gold Coast solicitor emails | Second geo |
| QLD family-law solicitor emails | Practice-area list |
| QLD solicitor sample | 20-row try |

### What it extracts

| Category | Fields |
|----------|--------|
| Identity | Full name, firm, listing id |
| Contact | Email (never invented), phone |
| Location | Printed address |
| Practice | Areas of practice when the profile lists them |
| Provenance | Profile URL, country `AU` |

### Input

| Field | Meaning |
|-------|---------|
| `nearCity` | Brisbane, Gold Coast, other centres, or `all`. Console default: Brisbane |
| `listingType` | `individual` (default) or `organisation` |
| `areaOfPractice` | `all` or a named practice (family, criminal, commercial, …) |
| `name` | Optional name contains (API or Console) |
| `onlyWithContact` | Skip rows with no email and no phone. Default on |
| `requireEmail` | Keep only solicitors with a published mailbox |
| `requirePhone` | Keep only solicitors with a published phone |
| `maxItems` | Unique solicitors. **0** = no numerical cap. **Free plan: 20 / run** |
| `enrichProfiles` | API-only. Default on. Reads the public profile for address and practice areas |
| `proxyConfiguration` | API-only. Cloud runs may pass Apify proxy JSON |

### Output example

```json
{
  "providerKey": "QLDYATL-individual-81436",
  "listingId": "81436",
  "listingType": "individual",
  "fullName": "Cathy Ann Russo",
  "firmName": "Macpherson Kelley",
  "email": "Cathy.Russo@mk.com.au",
  "phone": "07 3235 0400",
  "contactEmail": "Cathy.Russo@mk.com.au",
  "contactPhone": "07 3235 0400",
  "address": "Level 30, 1 Eagle Street, Brisbane, Queensland, Australia, 4000",
  "areasOfPracticeText": "Business and Commercial Law | Banking and Finance",
  "sourceUrl": "https://www.youandthelaw.com.au/individual/81436/cathy-ann-russo",
  "countryCode": "AU"
}
```

Download in JSON, CSV, Excel, or HTML from the Dataset tab.

### How much does it cost to scrape You & The Law?

HTTP-only. You pay Apify compute plus **pay-per-event** rows. Totals include the **$0.00005** actor-start fee.

| Scenario | FREE | Bronze | Silver | Gold |
|----------|------|--------|--------|------|
| 20 with email | $0.08 | $0.07 | $0.06 | $0.05 |
| 1,000 with email | $4.00 | $3.49 | $2.99 | $2.49 |
| 50,000 with email | $199.50 | $174.50 | $149.50 | $124.50 |

Free plan: **20 solicitors per run**. Upgrade for bulk — billed per row.

### Is it legal to scrape You & The Law?

This Actor only accesses solicitor listings **You & The Law publishes to the public**. As with any file that contains personal information, ensure your use complies with the Australian Privacy Act, APPs, and (where relevant) GDPR. Do not use the data for spam. QLS and You & The Law are not affiliated with this Actor.

### Also available

**[NSW solicitor emails](https://apify.com/corent1robert/nsw-lawsociety-solicitor-leads)** — Law Society of NSW Register of Solicitors.

**[SA Gold Alliance firm emails](https://apify.com/corent1robert/sa-lawsociety-gold-alliance-leads)** — opt-in South Australia member firms.

### Local development

```bash
cd qld-youandthelaw-solicitor-leads
npm install
apify run
```

`storage/key_value_stores/default/INPUT.json` must include the schema fields (or pass `--input-file`). Local storage stays on disk — it is not uploaded until `apify push`.

### Changelog

See [CHANGELOG.md](./CHANGELOG.md).

### Support

Contact <corentin@outreacher.fr> if you need a custom scraper or tailored automation.

# Changelog

This Actor's version history is a separate document: https://apify.com/corent1robert/qld-youandthelaw-solicitor-leads/changelog.md

# Actor input Schema

## `nearCity` (type: `string`):

Search around this Queensland city. `all` walks the major centres in one run.

## `listingType` (type: `string`):

Individual solicitors, or law-firm listings when the directory prints them.

## `areaOfPractice` (type: `string`):

Keep the directory filter on all areas, or focus a practice such as family law.

## `name` (type: `string`):

Optional surname or given name printed on You & The Law, for example Smith.

## `onlyWithContact` (type: `boolean`):

Skip solicitors with neither a published email nor a published phone.

## `requireEmail` (type: `boolean`):

Keep solicitors that publish an email address.

## `requirePhone` (type: `boolean`):

Keep solicitors that publish a phone number.

## `maxItems` (type: `integer`):

Stop after this many unique solicitors. **0 = no numerical cap** — still bounded by the city search.

## Actor input object example

```json
{
  "nearCity": "brisbane",
  "listingType": "individual",
  "areaOfPractice": "all",
  "onlyWithContact": true,
  "requireEmail": false,
  "requirePhone": false,
  "maxItems": 20
}
```

# Actor output Schema

## `dataset` (type: `string`):

All exported unique solicitors.

## `overview` (type: `string`):

Solicitor, firm, email, phone and address.

## `contacts` (type: `string`):

Email, phone and firm.

## `runLog` (type: `string`):

Plain-text progress for this run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "nearCity": "brisbane",
    "listingType": "individual",
    "areaOfPractice": "all",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("corent1robert/qld-youandthelaw-solicitor-leads").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "nearCity": "brisbane",
    "listingType": "individual",
    "areaOfPractice": "all",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("corent1robert/qld-youandthelaw-solicitor-leads").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "nearCity": "brisbane",
  "listingType": "individual",
  "areaOfPractice": "all",
  "maxItems": 20
}' |
apify call corent1robert/qld-youandthelaw-solicitor-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,corent1robert/qld-youandthelaw-solicitor-leads"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Qw4aV41xUWinDAgR6/builds/2LJD1rBv2y2WWkLVn/openapi.json
