---
title: "Officeworks API: Suggest | Perceptlayer"
description: "Suggest from Officeworks as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/officeworks/suggest
---

[APIs](https://perceptlayer.com/apis) / [Officeworks](https://perceptlayer.com/apis/officeworks) / Suggest

# Officeworks: Suggest

Suggest from Officeworks as JSON. 1 credit per successful call.

GET `/v1/officeworks/suggest`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 100 characters |
| `hitsPerPage` | integer | Optional | Any |

## Example request

Officeworks

GET /v1/officeworks/suggest?query=lap 

```
{
  "success": true,
  "data": {
    "query": "lap",
    "nbHits": 10,
    "suggestions": [
      {
        "query": "laptops",
        "popularity": 19885
      },
      {
        "query": "laptop bags",
        "popularity": 2765
      },
      {
        "query": "laptop sleeves",
        "popularity": 1613
      }
    ]
  },
  "meta": {
    "endpoint_family": "algolia_suggest",
    "duration_ms": 1015
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

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

## Response fields

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

| Field | Type |
| --- | --- |
| `query` | string |
| `popularity` | integer |
