# Totaljobs Autocomplete API Documentation

<p><strong>Totaljobs Autocomplete</strong> returns the public keyword suggestions the site shows for a text prefix. Each suggestion has its label, a live frequency count, its type and public ids where the site supplies them. Use it to discover search terms before a job search. A request costs 1 credit. A failed request is not charged.</p>

- **Documentation:** [https://scrappa.co/docs/totaljobs-api/totaljobs_autocomplete](https://scrappa.co/docs/totaljobs-api/totaljobs_autocomplete)
- **API group:** Totaljobs API
- **Endpoint:** `GET https://scrappa.co/api/totaljobs/autocomplete`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | Yes | Text prefix, for example python. |

## Example response

```json
{
    "data": {
        "query": "python",
        "suggestions": [
            {
                "type": "TYPE_JD",
                "title": "Python Developer",
                "frequency": 10
            }
        ]
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 503 | Upstream Unavailable | The source could not be reached. The request is not charged. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
