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

[APIs](https://perceptlayer.com/apis) / [Autoline](https://perceptlayer.com/apis/autoline) / Autocomplete

# Autoline: Autocomplete

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

GET `/v1/autoline/autocomplete`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Required | Up to 80 characters |

## Example request

Autoline

GET /v1/autoline/autocomplete?q=DAF 

```
{
  "success": true,
  "data": {
    "suggestions": [
      {
        "num": 3934,
        "href": "https://autoline.de/-/Sattelzugmaschinen/DAF--c42tm2525",
        "text": "DAF Sattelzugmaschinen",
        "rating": 401573.60000000003,
        "project_name": "autoline",
        "id": "c42tm2525"
      },
      {
        "num": 2587,
        "href": "https://autoline.de/-/LKWs/DAF--c2tm2525",
        "text": "DAF LKWs",
        "rating": 401034.8,
        "project_name": "autoline",
        "id": "c2tm2525"
      },
      {
        "num": 414,
        "href": "https://autoline.de/-/Kommunaltechnik/DAF--c334tm2525",
        "text": "DAF Kommunaltechnik",
        "rating": 400165.60000000003,
        "project_name": "autoline",
        "id": "c334tm2525"
      }
    ]
  },
  "meta": {
    "duration_ms": 1010,
    "endpoint_family": "autocomplete"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

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

## Response fields

Each item in `data.suggestions` has these 6 fields, read from a recorded call that returned 13 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `num` | integer |
| `href` | url |
| `text` | string |
| `rating` | number |
| `project_name` | string |
| `id` | string |
