# Texasrealestate — 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 Texas real estate agents and view their detailed profiles, including licensing information and contact details from the official Texas REALTORS® directory. Filter your search using available options to find the right agent for your needs.

**Category:** Real Estate | **Website:** [texasrealestate.com/](https://texasrealestate.com/) | **Docs:** [parse.bot/marketplace/ab7085d8-43d1-448a-87b1-236136ad7cf4/texasrealestate-com-api](https://parse.bot/marketplace/ab7085d8-43d1-448a-87b1-236136ad7cf4/texasrealestate-com-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-texasrealestate-com-api-ab7085d8/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_realtor_profile

Get full profile details for a specific realtor by their numeric ID. Returns contact information, designations, social links, and additional profile sections. The ID is obtained from search_realtors results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Numeric realtor ID from search_realtors results (e.g. '126686') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-texasrealestate-com-api-ab7085d8/get_realtor_profile \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"<string>"}'
```

### get_search_form_options

Get available search filter options from the realtor search form, including languages, specialties, and designations. These values can be used to understand available filtering criteria.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-texasrealestate-com-api-ab7085d8/get_search_form_options \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_realtors

Search for realtors in Texas by location and other filters. Returns a paginated list of realtors with basic info and profile links. Results are randomized per session by the upstream site. Each page returns up to 25 results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `firm_name` | string | No | Company name to filter by |
| `first_name` | string | No | First name to filter by |
| `last_name` | string | No | Last name to filter by |
| `location` | string | No | City name or ZIP code to search in |
| `page` | integer | No | Page number starting from 1 |
| `state` | string | No | Two-letter US state code (e.g. TX) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-texasrealestate-com-api-ab7085d8/search_realtors \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"firm_name":"<string>","first_name":"<string>","last_name":"<string>","location":"<string>","page":"<integer>","state":"<string>"}'
```
