# Hubmub — 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 discover job opportunities on HubMub by filtering results based on your preferred search terms, job type, category, industry, and location. Retrieve detailed information about specific job listings to help you find the right position that matches your career goals.

**Category:** Jobs | **Website:** [www.hubmub.com/jobs](https://www.hubmub.com/jobs) | **Docs:** [parse.bot/marketplace/9cab6be6-4035-4b36-8d8e-82cd7964e173/hubmub-com-api](https://parse.bot/marketplace/9cab6be6-4035-4b36-8d8e-82cd7964e173/hubmub-com-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/hubmub/`
**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

Retrieve full details for a single job listing including description, company info, industries, and categories. The job_id comes from search_jobs results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `job_id` | string | Yes | Numeric job ID from search_jobs results (e.g. '1017972'). |
| `slug` | string | No | URL slug for the job (e.g. 'api-engineer-python'). Optional but improves URL resolution. |

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

### Search jobs

Search job listings with optional filters. Returns paginated results (12 per page) ordered by recency. Results are auto-iterated across pages; each JobSummary carries enough metadata for filtering client-side or drilling into full details via get_job.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Category ID to filter jobs. Use numeric IDs from the site's category list (e.g. '30' for Engineering, '31' for Information Technology). |
| `industry` | string | No | Industry name to filter jobs (e.g. 'Technology', 'Banking'). |
| `location` | string | No | Location name to filter jobs by country or city. |
| `page` | integer | No | Page number for pagination (1-based). |
| `relocation` | boolean | No | When true, filter for jobs offering relocation packages. |
| `remote` | boolean | No | When true, filter for remote jobs only. |
| `search` | string | No | Free-text search query matching job titles, skills, and companies. |
| `visa_sponsorship` | boolean | No | When true, filter for jobs offering visa sponsorship. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/hubmub/search-jobs \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","industry":"<string>","location":"<string>","page":"<integer>","relocation":"<boolean>","remote":"<boolean>","search":"<string>","visa_sponsorship":"<boolean>"}'
```

## 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.