---
title: "Thalia API: Autocomplete | Perceptlayer"
description: "Autocomplete from Thalia as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/thalia/autocomplete
---

[APIs](https://perceptlayer.com/apis) / [Thalia](https://perceptlayer.com/apis/thalia) / Autocomplete

# Thalia: Autocomplete

Autocomplete from Thalia as JSON. 1 credit per successful call.

GET `/v1/thalia/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Required | Up to 100 characters |
| `country` | string | Optional | de, at |

## Example request

Thalia

GET /v1/thalia/autocomplete?q=harry 

```
{
  "success": true,
  "locale": "de",
  "query": "harry",
  "total": 5,
  "suggestions": [
    "harry",
    "harry potter schuber",
    "die wahrheit über den fall harry quebert"
  ],
  "meta": {
    "endpoint_family": "autocomplete",
    "attempts": 1
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/thalia?try=autocomplete#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

The response has these 2 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `locale` | string |
| `suggestions` | string\[\] |
