---
title: "List attribute options"
method: GET
path: "/attribute-options"
tags: ["Attribute"]
---

# List attribute options

`GET /attribute-options`

## Request

- Base URL: `http://localhost:8000/api/shop`
- URL: `http://localhost:8000/api/shop/attribute-options`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-shop-api/docs/attribute-options/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns attribute options with their translations, ordered by sort order. Pass `attribute_id` to list one attribute's options — a boolean attribute returns its No (id 0) and Yes (id 1) options — and `search` to match the option label in the current locale or its admin name. Public endpoint.

## Query parameters

- `attribute_id` integer
- `search` string
- `page` integer
- `per_page` integer

## Headers

- `X-STOREFRONT-KEY` string, required
- `X-Locale` string
- `X-Channel` string
- `X-Currency` string

## Response `200`

List of attribute options.

## Changes

- **2026-10-28** `b84d43839844`: 2 info
  - added the new optional `query` request parameter `attribute_id`
  - added the new optional `query` request parameter `search`

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-shop-api/changes/attribute-options/get.md)

---

[API](https://skmtc.dev/bagisto/apis/bagisto-shop-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-shop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-shop-api/revisions/f619df36bf29?raw)
