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

# Facet attributes

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

## Request

- Base URL: `https://gateway.tweakwisenavigator.com`
- URL: `https://gateway.tweakwisenavigator.com/facets/{urlkey}/attributes/{instancekey}`
- Auth: none declared

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.dev/tweakwise/apis/delivery-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/delivery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/delivery-api/revisions/8b9edcf45234?raw)
