# Search jobs

Returns one page of job listings for a query, optionally narrowed by location. `page` is real pagination, not a display slice — two consecutive pages of the same query return entirely different jobs. `results[].job_id` feeds straight into the Job endpoint.

- Platform: Dice
- Request: `GET https://api.toolzerhub.com/v1/dice/search`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/dice/search/get-dice-search

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Search text, matched the same way dice.com's own search box does. |
| `location` | query | no | string | Free-text location filter. Omit for a nationwide search. Default: . |
| `page` | query | no | integer | One-based result page. Default: 1. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/dice/search?query=<query>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
