---
title: Autocomplete
slug: countdownapi/ebay-product-data-api/results/autocomplete
docTags: 
createdAt: 2024-07-29T12:49:20.016Z
---

# Autocomplete Results

When making a request with the  `type`  [parameter](https://docs.trajectdata.com/countdownapi/ebay-product-data-api/parameters/autocomplete) set to  `type=autocomplete`  Countdown API will return autocomplete suggestions for the search term specified in the  `search_term`  parameter, on the Ebay domain specified in the  `ebay_domain`  parameter.

![](https://apiimages.imgix.net/countdownapi/images/png/docs/autocomplete.png?auto=format\&ixlib=react-9.5.1-beta.1\&w=600 "Autocomplete Suggestions")

An example of the JSON object returned from an Autocomplete request is shown below:

```json
{
  "request_info": {
    "success": true,
    "credits_used": 1,
    "credits_remaining": 999
  },
  "request_metadata": {
    "id": "48d63ef58b3eb240d5b18115b674c4170faba51f",
    "created_at": "2021-01-01T00:00:00.000Z",
    "processed_at": "2021-01-01T00:00:00.001Z",
    "total_time_taken": 0.1
  },
  "request_parameters": {
    "type": "autocomplete",
    "ebay_domain": "ebay.com",
    "search_term": "memory"
  },
  "autocomplete_results": [
    {
      "suggestion": "memory card",
      "type": "KEYWORD",
      "category_id": 9394,
      "category_name": "Cell Phone Accessories"
    },
    {
      "suggestion": "memory card",
      "type": "KEYWORD",
      "category_id": 15200,
      "category_name": "Camera, Drone & Photo Accessories"
    },
    {
      "suggestion": "memory foam mattress",
      "type": "KEYWORD"
    },
    {
      "suggestion": "memory foam pillow",
      "type": "KEYWORD"
    },
    {
      "suggestion": "memory foam mattress topper",
      "type": "KEYWORD"
    },
    {
      "suggestion": "memory ram",
      "type": "KEYWORD"
    },
    {
      "suggestion": "memory stick",
      "type": "KEYWORD"
    },
    {
      "suggestion": "memory lane rudolph",
      "type": "KEYWORD"
    },
    {
      "suggestion": "memory stick pro duo",
      "type": "KEYWORD"
    },
    {
      "suggestion": "memory foam",
      "type": "KEYWORD"
    },
    {
      "suggestion": "memory foam mattress queen",
      "type": "KEYWORD"
    }
  ]
}
```

Countdown API returns the following properties for Autocomplete requests:

| *`Property`*             | *`Type`*  | *`Description`*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *`autocomplete_results`* | *`array`* | **Autocomplete Results Array** <br />The autocomplete results array contains details of each of the autocomplete suggestions returned from the query.<br />- `suggestion`<br />- `string`<br />- The text of the autocomplete suggestion.<br /><br />- `type`<br />- `string`<br />- The type of the suggestion.<br /><br />- `category_id`<br />- `string`<br />- A category ID for the first suggestion (only shown against the first suggestion).<br /><br />- `category_name`<br />- `string`<br />- A category name for the first suggestion (only shown against the first suggestion). |

***

**Next Steps**
     [Autocomplete Parameters](https://docs.trajectdata.com/countdownapi/ebay-product-data-api/parameters/autocomplete)
