# Migroto — 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 and analyze Australian skilled migration occupation data to find ANZSCO codes, visa invitation trends, EOI backlogs, and state nomination opportunities for your migration pathway. Access detailed occupation insights including points distribution patterns to make informed decisions about your skilled migration prospects.

**Category:** Government & Public Data | **Website:** [migroto.com/sponsor-match](https://migroto.com/sponsor-match) | **Docs:** [parse.bot/marketplace/e31746f0-186c-47ee-9cc4-6bad1aea11da/migroto-com-api](https://parse.bot/marketplace/e31746f0-186c-47ee-9cc4-6bad1aea11da/migroto-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-migroto-com-api-e31746f0/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_occupation_details

Retrieve comprehensive migration data for a single occupation identified by its ANZSCO code. Includes visa subclass eligibility, invitation history, EOI backlog queue position, state nomination programs, points distribution, and EOI trend data. Optional filter parameters narrow the invitation, backlog, and trend sections to a specific visa subclass or date range.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `code` | string | Yes | 6-digit ANZSCO occupation code (e.g. '261313' for Software Engineer). Obtainable from search_occupations results. |
| `eoi_date` | string | No | EOI backlog snapshot date in YYYY-MM-DD format (e.g. '2026-06-01'). Available dates retrievable from get_occupation_filters. |
| `eoi_subclass` | string | No | Visa subclass filter for EOI backlog section. Accepted values: 189, 190, 491. |
| `inv_subclass` | string | No | Visa subclass filter for invitations section. Accepted values: 189, 190, 491. |
| `inv_year` | string | No | Time range filter for invitations. Examples: 'last-6-months', 'last-fy'. |
| `occupation_id` | string | No | UUID of the occupation, obtainable from search_occupations results. Provides faster lookup when supplied. |
| `trend_subclass` | string | No | Visa subclass filter for EOI trends section. Accepted values: 189, 190, 491. |
| `trend_year_range` | string | No | Financial year range for EOI trends (e.g. '2025-2026'). Available values retrievable from get_occupation_filters. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-migroto-com-api-e31746f0/get_occupation_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code":"<string>","eoi_date":"<string>","eoi_subclass":"<string>","inv_subclass":"<string>","inv_year":"<string>","occupation_id":"<string>","trend_subclass":"<string>","trend_year_range":"<string>"}'
```

### get_occupation_filters

Retrieve available filter options for occupation insight queries. Returns Australian states, visa subclasses, financial year ranges, and EOI backlog snapshot dates that can be used as parameters when calling get_occupation_details.

**Estimated cost:** Metered

_No parameters required._

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

### search_occupations

Full-text search over Australian skilled migration occupations by name or ANZSCO code. Returns matching occupations with their codes and titles. Results are auto-iterated.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search term — an occupation name (e.g. 'software engineer') or an ANZSCO code (e.g. '261313'). |

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