# Wyzant — 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 qualified tutors on Wyzant, view their detailed profiles, ratings, reviews, and expert answers to find the perfect match for your learning needs. Browse trending subjects, get subject suggestions, and compare tutors based on their expertise and student feedback all in one place.

**Category:** Education | **Website:** [wyzant.com/](https://wyzant.com/) | **Docs:** [parse.bot/marketplace/31f470a0-c537-44f7-a982-f8214d81e978/wyzant-com-api](https://parse.bot/marketplace/31f470a0-c537-44f7-a982-f8214d81e978/wyzant-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-wyzant-com-api-31f470a0/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_subject_autocomplete

Get subject name suggestions for a partial search query. Returns an array of matching subject name strings ordered by relevance. Useful for building autocomplete search interfaces before calling search_tutors.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Partial subject name to autocomplete (e.g. 'calc', 'phys'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-wyzant-com-api-31f470a0/get_subject_autocomplete \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

### get_tutor_answers

Get expertise answers submitted by a specific tutor on Wyzant's Ask an Expert community. Returns questions the tutor has answered with topics and links. Not paginated; returns all available answers from the tutor's answer page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `tutor_id` | string | Yes | The tutor's user ID (from search_tutors results[*].id). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-wyzant-com-api-31f470a0/get_tutor_answers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tutor_id":"<string>"}'
```

### get_tutor_profile

Fetch the full profile for one tutor by ID. Returns biography, all subjects taught, hourly rate, aggregate rating, and a weekly availability map (day-name to formatted time ranges in the requested time zone). The profile page is HTML-rendered; data is extracted from embedded JSON-LD and a separate availability API call.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `tutor_id` | string | Yes | The tutor's user ID (from search_tutors results[*].id). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-wyzant-com-api-31f470a0/get_tutor_profile \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tutor_id":"<string>"}'
```

### get_tutor_reviews

Get paginated reviews for a specific tutor. Returns 10 reviews per page extracted from the tutor's profile page JSON-LD. Page numbering is 1-indexed.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page_number` | integer | No | Page number (1-indexed). |
| `tutor_id` | string | Yes | The tutor's user ID (from search_tutors results[*].id). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-wyzant-com-api-31f470a0/get_tutor_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page_number":"<integer>","tutor_id":"<string>"}'
```

### list_trending_subjects

List currently trending/popular subjects from the Wyzant homepage. Returns an array of subject name strings representing what students are currently searching for. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

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

### search_tutors

Full-text search over Wyzant's tutor directory by subject keyword. Supports filters for rate range, online/in-person availability, instant booking, and background checks. Paginates via page_number (0-indexed). Each result is a TutorSummary with enough data for comparison; drill into get_tutor_profile for the full bio and weekly availability.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `background_check` | boolean | No | Filter for background-checked tutors. |
| `in_person` | boolean | No | Filter for in-person tutors. |
| `instant_book` | boolean | No | Filter for instant-bookable tutors. |
| `is_online` | boolean | No | Filter for online tutors. |
| `keyword` | string | Yes | Subject or keyword to search for tutors (e.g. 'math', 'chemistry', 'SAT'). |
| `max_rate` | integer | No | Maximum hourly rate filter in USD. |
| `min_rate` | integer | No | Minimum hourly rate filter in USD. |
| `page_number` | integer | No | Page number (0-indexed). |
| `page_size` | integer | No | Number of results per page. |
| `sort` | integer | No | Sort order for results. |
| `time_zone` | string | No | IANA time zone name for availability calculations. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-wyzant-com-api-31f470a0/search_tutors \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"background_check":"<boolean>","in_person":"<boolean>","instant_book":"<boolean>","is_online":"<boolean>","keyword":"<string>","max_rate":"<integer>","min_rate":"<integer>","page_number":"<integer>","page_size":"<integer>","sort":"<integer>","time_zone":"<string>"}'
```
