---
updatedAt: 2026-06-03T11:10:32.000Z
agentTools:
  projectIndex: https://docs-us.thisisbud.com/llms.txt
---

# Retrieve Categories

Retrieve the category taxonomies related to Bud's categorisation service


# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Enrichment API",
    "version": "1.0.0",
    "contact": {
      "name": "API Support",
      "url": "https://www.thisisbud.com/en-us/",
      "email": "contact@thisisbud.com"
    },
    "x-logo": {
      "url": "https://res.cloudinary.com/postman/image/upload/w_152,h_56,c_fit,f_auto,t_team_logo/v1/team/2baee78029d6ee9e2917981a7a70c621ab65d9cf13d44d3dbd042d3d2f0c9881"
    },
    "description": "Ingest and enrich your customers transactions using Bud's core enrichment services.\n"
  },
  "tags": [
    {
      "name": "Enrichment Resources",
      "x-displayName": "Enrichment Resources",
      "description": "Retrieve information and different resources related to Bud's enrichment services.\n"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "servers": [
    {
      "url": "https://api-sandbox.thisisbud.com",
      "description": "Bud US"
    }
  ],
  "paths": {
    "/v1/categories": {
      "get": {
        "tags": [
          "Enrichment Resources"
        ],
        "summary": "Retrieve Categories",
        "deprecated": true,
        "description": "Retrieve the category taxonomies related to Bud's categorisation service\n",
        "operationId": "categories_get",
        "parameters": [
          {
            "in": "header",
            "name": "X-Client-Id",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The API Client Identifier (Service Application Identifier).",
            "example": "8711bbef-b357-4c2d-97ca-0d9df4206e9a"
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string",
              "enum": [
                "map",
                "flat"
              ]
            },
            "description": "Determines if the response will be structured:\n  - As a flat object where all categories and subcategories are listed separately under different fields. See the example response `Flat Response`.\n  - As a map where all categories are listed as objects themselves with their respective subcategories listed in fields within the category objects. See the example response `Map Response`.\n"
          }
        ],
        "security": [
          {
            "OAuth2": []
          }
        ],
        "responses": {
          "200": {
            "description": "The operation was successful",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Categories Response",
                  "type": "object",
                  "description": "Expected response structure for the get categories endpoint.",
                  "required": [
                    "operation_id",
                    "data"
                  ],
                  "properties": {
                    "operation_id": {
                      "title": "Operation Id Field",
                      "type": "string",
                      "description": "A unique identifier/reference associated with a given endpoint/operation"
                    },
                    "data": {
                      "oneOf": [
                        {
                          "title": "Category List",
                          "type": "object",
                          "description": "A list of all the available categories and subcategories.",
                          "properties": {
                            "categories": {
                              "type": "array",
                              "description": "List of all the available categories.",
                              "items": {
                                "type": "string"
                              }
                            },
                            "subcategories": {
                              "type": "array",
                              "description": "List of all the available subcategories.",
                              "items": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        {
                          "title": "Category Map",
                          "description": "A map of all the available categories and respective subcategories",
                          "type": "array",
                          "items": {
                            "title": "Category",
                            "description": "A single category and its respective subcategories.",
                            "type": "object",
                            "properties": {
                              "name": {
                                "title": "Category Name",
                                "description": "The name of the category.",
                                "type": "string"
                              },
                              "labels": {
                                "title": "Labels",
                                "description": "Cross category labels used in our engage products, all subcategories will inherit the labels of their parents.\n\nYou can use these labels to understand how certain category determinations are being made, such as if a category considered essential.\n",
                                "type": "array",
                                "example": [
                                  "essential"
                                ],
                                "items": {
                                  "type": "string"
                                }
                              },
                              "subcategories": {
                                "title": "Subcategories",
                                "description": "The respective subcategories for the given category.",
                                "type": "array",
                                "items": {
                                  "title": "subcategory",
                                  "description": "A subcategory that belongs to the given category.",
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "title": "Subcategory Name",
                                      "description": "The name of the subcategory.",
                                      "type": "string"
                                    },
                                    "labels": {
                                      "title": "Labels",
                                      "description": "Cross category labels used in our engage products.\n\nYou can use these labels to understand how certain category determinations are being made, such as if a category considered essential.\n",
                                      "type": "array",
                                      "example": [
                                        "essential"
                                      ],
                                      "items": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      ]
                    }
                  }
                },
                "examples": {
                  "Flat Response": {
                    "value": {
                      "operation_id": "categories_double_cat_get",
                      "data": {
                        "categories": [
                          "dependent_costs",
                          "other_expenses",
                          "entertainment",
                          "transport",
                          "banking",
                          "eating_out",
                          "insurance",
                          "borrowing_and_loans",
                          "shopping",
                          "income",
                          "charity",
                          "health_and_personal_care",
                          "home",
                          "groceries",
                          "holidays_and_travel",
                          "pensions_savings_and_investments",
                          "education",
                          "transfers",
                          "bills",
                          "general"
                        ],
                        "subcategories": [
                          "other_dependent_costs",
                          "children_and_babies",
                          "childcare",
                          "business_expenses",
                          "financial_and_legal_expenses",
                          "postage_and_office_supplies",
                          "other_expenses",
                          "amusement",
                          "hobbies",
                          "books_and_reading",
                          "events",
                          "gambling",
                          "media_subscriptions",
                          "cinema",
                          "arts_and_culture",
                          "nightclubs",
                          "other_entertainment",
                          "vehicle",
                          "transport",
                          "petrol",
                          "parking_and_tolls",
                          "service_stations",
                          "vehicle_hire",
                          "other_transport",
                          "general_banking",
                          "deposits_and_withdrawals",
                          "interest",
                          "refunds",
                          "other_banking",
                          "bars_and_pubs",
                          "coffee",
                          "restaurants",
                          "other_eating_out",
                          "business_insurance",
                          "health_and_life_insurance",
                          "house_or_home_insurance",
                          "pet_insurance",
                          "travel_insurance",
                          "other_insurance",
                          "vehicle_insurance",
                          "loans",
                          "car_loan",
                          "credit_cards",
                          "debt_management",
                          "other_credit",
                          "student_loan",
                          "other_borrowing_and_loans",
                          "flowers_and_gifts",
                          "clothing_and_accessories",
                          "technology",
                          "general_stores",
                          "online_shopping",
                          "other_shopping",
                          "other_income",
                          "benefits_and_social_security",
                          "child_support_income",
                          "investment_income",
                          "employment_income",
                          "pension_income",
                          "rental_income",
                          "charity",
                          "other_charity",
                          "healthcare",
                          "beauty",
                          "sports_and_fitness",
                          "pharmacies_and_health_products",
                          "other_health_and_personal_care",
                          "home_maintenance",
                          "furniture_and_appliances",
                          "gardening",
                          "laundry",
                          "other_home",
                          "pets",
                          "supermarkets_and_convenience",
                          "speciality_groceries",
                          "other_groceries",
                          "accommodation_and_travel_agencies",
                          "flights_and_air_travel_purchases",
                          "other_travel",
                          "other_holidays_and_travel",
                          "investments",
                          "pension_contribution",
                          "savings",
                          "other_pensions_savings_and_investments",
                          "other_education",
                          "education_and_school_fees",
                          "transfers_in",
                          "internal_transfers",
                          "transfers_out",
                          "other_transfers",
                          "taxes",
                          "mortgage_and_rent",
                          "utilities",
                          "telecom",
                          "other_bills",
                          "other_general"
                        ]
                      }
                    }
                  },
                  "Map Response": {
                    "value": {
                      "operation_id": "categories_double_cat_get",
                      "data": [
                        {
                          "name": "dependent_costs",
                          "subcategories": [
                            {
                              "name": "other_dependent_costs"
                            },
                            {
                              "name": "children_and_babies"
                            },
                            {
                              "name": "childcare"
                            }
                          ]
                        },
                        {
                          "name": "other_expenses",
                          "subcategories": [
                            {
                              "name": "business_expenses"
                            },
                            {
                              "name": "financial_and_legal_expenses"
                            },
                            {
                              "name": "postage_and_office_supplies"
                            },
                            {
                              "name": "other_expenses"
                            }
                          ]
                        },
                        {
                          "name": "entertainment",
                          "subcategories": [
                            {
                              "name": "amusement"
                            },
                            {
                              "name": "hobbies"
                            },
                            {
                              "name": "books_and_reading"
                            },
                            {
                              "name": "events"
                            },
                            {
                              "name": "gambling"
                            },
                            {
                              "name": "media_subscriptions"
                            },
                            {
                              "name": "cinema"
                            },
                            {
                              "name": "arts_and_culture"
                            },
                            {
                              "name": "nightclubs"
                            },
                            {
                              "name": "other_entertainment"
                            }
                          ]
                        },
                        {
                          "name": "transport",
                          "subcategories": [
                            {
                              "name": "vehicle"
                            },
                            {
                              "name": "transport"
                            },
                            {
                              "name": "petrol"
                            },
                            {
                              "name": "parking_and_tolls"
                            },
                            {
                              "name": "service_stations"
                            },
                            {
                              "name": "vehicle_hire"
                            },
                            {
                              "name": "other_transport"
                            }
                          ]
                        },
                        {
                          "name": "banking",
                          "subcategories": [
                            {
                              "name": "general_banking"
                            },
                            {
                              "name": "deposits_and_withdrawals"
                            },
                            {
                              "name": "interest"
                            },
                            {
                              "name": "refunds"
                            },
                            {
                              "name": "other_banking"
                            }
                          ]
                        },
                        {
                          "name": "eating_out",
                          "subcategories": [
                            {
                              "name": "bars_and_pubs"
                            },
                            {
                              "name": "coffee"
                            },
                            {
                              "name": "restaurants"
                            },
                            {
                              "name": "other_eating_out"
                            }
                          ]
                        },
                        {
                          "name": "insurance",
                          "subcategories": [
                            {
                              "name": "business_insurance"
                            },
                            {
                              "name": "health_and_life_insurance"
                            },
                            {
                              "name": "house_or_home_insurance"
                            },
                            {
                              "name": "pet_insurance"
                            },
                            {
                              "name": "travel_insurance"
                            },
                            {
                              "name": "other_insurance"
                            },
                            {
                              "name": "vehicle_insurance"
                            }
                          ]
                        },
                        {
                          "name": "borrowing_and_loans",
                          "subcategories": [
                            {
                              "name": "loans"
                            },
                            {
                              "name": "car_loan"
                            },
                            {
                              "name": "credit_cards"
                            },
                            {
                              "name": "debt_management"
                            },
                            {
                              "name": "other_credit"
                            },
                            {
                              "name": "student_loan"
                            },
                            {
                              "name": "other_borrowing_and_loans"
                            }
                          ]
                        },
                        {
                          "name": "shopping",
                          "subcategories": [
                            {
                              "name": "flowers_and_gifts"
                            },
                            {
                              "name": "clothing_and_accessories"
                            },
                            {
                              "name": "technology"
                            },
                            {
                              "name": "general_stores"
                            },
                            {
                              "name": "online_shopping"
                            },
                            {
                              "name": "other_shopping"
                            }
                          ]
                        },
                        {
                          "name": "income",
                          "subcategories": [
                            {
                              "name": "other_income"
                            },
                            {
                              "name": "benefits_and_social_security"
                            },
                            {
                              "name": "child_support_income"
                            },
                            {
                              "name": "investment_income"
                            },
                            {
                              "name": "employment_income"
                            },
                            {
                              "name": "pension_income"
                            },
                            {
                              "name": "rental_income"
                            }
                          ]
                        },
                        {
                          "name": "charity",
                          "subcategories": [
                            {
                              "name": "charity"
                            },
                            {
                              "name": "other_charity"
                            }
                          ]
                        },
                        {
                          "name": "health_and_personal_care",
                          "subcategories": [
                            {
                              "name": "healthcare"
                            },
                            {
                              "name": "beauty"
                            },
                            {
                              "name": "sports_and_fitness"
                            },
                            {
                              "name": "pharmacies_and_health_products"
                            },
                            {
                              "name": "other_health_and_personal_care"
                            }
                          ]
                        },
                        {
                          "name": "home",
                          "subcategories": [
                            {
                              "name": "home_maintenance"
                            },
                            {
                              "name": "furniture_and_appliances"
                            },
                            {
                              "name": "gardening"
                            },
                            {
                              "name": "laundry"
                            },
                            {
                              "name": "other_home"
                            },
                            {
                              "name": "pets"
                            }
                          ]
                        },
                        {
                          "name": "groceries",
                          "subcategories": [
                            {
                              "name": "supermarkets_and_convenience"
                            },
                            {
                              "name": "speciality_groceries"
                            },
                            {
                              "name": "other_groceries"
                            }
                          ]
                        },
                        {
                          "name": "holidays_and_travel",
                          "subcategories": [
                            {
                              "name": "accommodation_and_travel_agencies"
                            },
                            {
                              "name": "flights_and_air_travel_purchases"
                            },
                            {
                              "name": "other_travel"
                            },
                            {
                              "name": "other_holidays_and_travel"
                            }
                          ]
                        },
                        {
                          "name": "pensions_savings_and_investments",
                          "subcategories": [
                            {
                              "name": "investments"
                            },
                            {
                              "name": "pension_contribution"
                            },
                            {
                              "name": "savings"
                            },
                            {
                              "name": "other_pensions_savings_and_investments"
                            }
                          ]
                        },
                        {
                          "name": "education",
                          "subcategories": [
                            {
                              "name": "other_education"
                            },
                            {
                              "name": "education_and_school_fees"
                            }
                          ]
                        },
                        {
                          "name": "transfers",
                          "subcategories": [
                            {
                              "name": "transfers_in"
                            },
                            {
                              "name": "internal_transfers"
                            },
                            {
                              "name": "transfers_out"
                            },
                            {
                              "name": "other_transfers"
                            }
                          ]
                        },
                        {
                          "name": "bills",
                          "subcategories": [
                            {
                              "name": "taxes"
                            },
                            {
                              "name": "mortgage_and_rent"
                            },
                            {
                              "name": "utilities"
                            },
                            {
                              "name": "telecom"
                            },
                            {
                              "name": "other_bills"
                            }
                          ]
                        },
                        {
                          "name": "general",
                          "subcategories": [
                            {
                              "name": "other_general"
                            }
                          ]
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request contains an invalid payload.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Bad Request Response",
                  "type": "object",
                  "description": "Expected response structure",
                  "required": [
                    "operation_id",
                    "code_id",
                    "message",
                    "errors"
                  ],
                  "properties": {
                    "operation_id": {
                      "$ref": "#/paths/~1v1~1categories/get/responses/200/content/application~1json/schema/properties/operation_id"
                    },
                    "code_id": {
                      "type": "string",
                      "description": "A descriptive enough string that is linked to the reason for the error."
                    },
                    "message": {
                      "type": "string"
                    },
                    "errors": {
                      "anyOf": [
                        {
                          "title": "Error Object",
                          "type": "object",
                          "nullable": true,
                          "description": "Contains a field specific error message",
                          "additionalProperties": {
                            "type": "string"
                          }
                        },
                        {
                          "title": "Array of Error Object",
                          "description": "Contains a list of error messages",
                          "type": "object",
                          "additionalProperties": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      ]
                    }
                  }
                },
                "example": {
                  "operation_id": "categories_double_cat_get",
                  "code_id": "failed_validation",
                  "message": "Failed validation",
                  "errors": {
                    "client_id": "This value should not be blank"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorised request"
          },
          "405": {
            "description": "An unexpected HTTP method was used"
          },
          "5XX": {
            "description": "An unexpected error occurred on the server side"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/v1/oauth/token",
            "scopes": {}
          }
        },
        "description": "\nAuthentication flow:\n\n1. Perform OAuth2 Client Credentials authentication using API Credentials (`client_id`,`client_secret`) to obtain an `access_token` against `/v1/oauth/token` endpoint,\n2. Use `access_token` as Bearer Authorisation for every other API request,\n3. Include `X-Client-Id` (=client_id) within the header of every API request,\n4. Note that some of the requests may also require `X-Customer-Id` to be provided within the request header.\n\n### Examples\nObtain OAuth2 `access_token` and `refresh_token` using `grant_type=client_credentials` and HTTP Basic auth header\n\n```\ncurl --basic --user {{client_id}}:{{client_secret}} \\\n  -X POST https://api-sandbox.thisisbud.com/v1/oauth/token \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d grant_type=client_credentials\n```\n\nSuccessful response:\n```\n{\n  \"operation_id\": \"oauth_token_post\",\n  \"data\": {\n    \"access_token\": \"dd0c17e3fd6d2ce94aa091257a3ea393b4f9b5cf3d3e998f07dc9826da86ff15\",\n    \"token_type\": \"bearer\",\n    \"expires_in\": 3600,\n    \"refresh_token\": \"fac32cca7559d9f6e8f1dfe9a99c71fa1dcfeb482bedf287d7934d2667ae54b3\"\n  }\n}\n```\n\nRefresh `access_token` token using `refresh_token` against `/v1/oauth/token` endpoint with `grant_type=refresh_token`\n\n```\ncurl -X POST \\\n  https://api-sandbox.thisisbud.com/v1/oauth/token \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -H 'X-Client-Id: {{client_id}}' \\\n  -d 'grant_type=refresh_token&refresh_token={{refresh_token}}'\n```\n\nSuccessful response:\n```\n{\n    \"operation_id\": \"oauth_token_post\",\n    \"data\": {\n        \"access_token\": \"cc0c17e3fd6d2ce94aa091257a3ea393b4f9b5cf3d3e998f07dc9826da86ff94\",\n        \"token_type\": \"bearer\",\n        \"expires_in\": 3600,\n        \"refresh_token\": \"ffc30cca7559d9f6e8f1dfe9a99c71fa1dcfeb482bedf287d7934d2667ae54b3\"\n    }\n}\n```\n"
      }
    }
  }
}
````