# Loker — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 filter job openings across Indonesia's top job listing platform to find positions that match your skills and preferences. Get detailed information about specific jobs including descriptions, requirements, salary ranges, and company details to make informed application decisions.

**Category:** Jobs | **Website:** [www.loker.id/cari-lowongan-kerja](https://www.loker.id/cari-lowongan-kerja) | **Docs:** [parse.bot/marketplace/645f8e68-5027-47b0-9d8d-b90069598ab2/loker-id-api](https://parse.bot/marketplace/645f8e68-5027-47b0-9d8d-b90069598ab2/loker-id-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/loker/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get job detail

Get full details for a specific job posting including HTML description, qualifications, responsibilities, screening questions, company information, salary with currency and pay period, street address, and education/experience requirements. Requires the job's URL path components available from search_jobs results (parent_category_slug, child_category_slug, and slug fields). Returns a single job with rich company and location data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `child_category` | string | No | Child category slug from search_jobs results (child_category_slug field, e.g. 'akuntansi-finansial'). |
| `job_slug` | string | Yes | Job slug from search_jobs results (slug field, e.g. 'admin-finance-sanjaya-thanry-bahtera-jakarta-utara'). |
| `parent_category` | string | Yes | Parent category slug from search_jobs results (parent_category_slug field, e.g. 'akuntansi-keuangan'). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/loker/get-job-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"child_category":"<string>","job_slug":"<string>","parent_category":"<string>"}'
```

### Search jobs

Search and list available job openings with optional keyword, job type, and education filters. Returns paginated results with 21 jobs per page. Each job includes salary range, location with region, job type, required skills, experience, education levels, gender preference, and work location type. Paginates via integer page number.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `education` | string | No | Filter by education level slug (e.g. 'sarjana-s1', 'sma-smk-stm'). Omitting returns all education levels. |
| `job_type` | string | No | Filter by job type slug (e.g. 'purna-waktu' for Full Time, 'kontrak' for Contract). Omitting returns all types. |
| `page` | integer | No | Page number for pagination, starting from 1. |
| `query` | string | No | Search keyword to filter jobs (e.g. 'admin', 'marketing'). Omitting returns all jobs. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/loker/search-jobs \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"education":"<string>","job_type":"<string>","page":"<integer>","query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.