---
title: "Facet attributes"
method: GET
path: "/facets/{urlkey}/attributes/{instancekey}"
tags: ["Facets"]
---

# Facet attributes

`GET /facets/{urlkey}/attributes/{instancekey}`

Service that returns only the attributes of the specified facet.

## Path parameters

- `instancekey` string, required
- `urlkey` string, required

## Query parameters

- `tn_q` string
- `tn_cid` string
- `tn_use_filters` boolean
- `tn_filters` string
- `tn_ft` number
- `tn_st` number
- `tn_b` number
- `tn_parameters` string
- `tn_parameters_except` string
- `tn_keyboard` string
- `tn_profilekey` string

## Headers

- `TWN-Source` string

## Response `200`

Response with the facet attributes.

- FacetAttributesResponse
  - `attributes` NavigationFacetAttribute[]
    - `title` string — Title of the attribute
    - `alternatesortorder` integer, nullable — Alternate sort order
    - `isselected` boolean — true/false to indicate if attribute is selected
    - `nrofresults` integer — Resulting number of items when attribute is selected
    - `attributeid` integer, nullable — Attribute id
    - `url` string — Complete navigation url after selecting or deselecting value
    - `link` string — Optional landingpage url to which the user will navigate after selecting this value, this takes precedence over the url property
    - `imagetag` string — Tag of the image
    - `children` object[] — Recursive list of child attributes

## Other responses

- `401` — Invalid instancekey supplied
- `404` — Facet not found

---

[API](https://skmtc.net/tweakwise/apis/frontend-api.md) · [All operations](https://skmtc.net/tweakwise/apis/frontend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tweakwise/frontend-api/revisions/9bd1e2b3633f/schema)
