{
  "openapi": "3.1.0",
  "info": {
    "title": "Home Depot API",
    "version": "1.0",
    "description": "Home Depot categories, products, prices, product details and variants (unverified)\n\nCalled through the ApiClay gateway with an ApiClay token or API key (https://apiclay.com/dashboard/keys). Pricing, trial, fees and full parameter notes: https://apiclay.com/api/homedepotapi/llms.txt",
    "x-apiclay-vendor": "homedepotapi",
    "x-apiclay-pricing": "0.0012 credits/request, 1 trial requests"
  },
  "externalDocs": {
    "description": "Full documentation for AI agents (Markdown)",
    "url": "https://apiclay.com/api/homedepotapi/llms.txt"
  },
  "servers": [
    {
      "url": "https://api.apiclay.com/v1/api/homedepotapi"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    },
    {
      "tokenHeader": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "ApiClay API key (apiclay_…) or session token"
      },
      "tokenHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "token",
        "description": "ApiClay API key (apiclay_…) or session token"
      }
    }
  },
  "paths": {
    "/menus": {
      "post": {
        "operationId": "post_menus",
        "summary": "Menus (top navigation)",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/categories": {
      "post": {
        "operationId": "post_categories",
        "summary": "Categories (navigation level)",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              },
              "example": {
                "variables": {
                  "componentClass": "PrimaryNavigationL1",
                  "id": "4LnjbM4InXNfHjmkuKLnUw"
                }
              }
            }
          }
        }
      }
    },
    "/products": {
      "post": {
        "operationId": "post_products",
        "summary": "Products (category listing)",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "x-current-url",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              },
              "example": {
                "variables": {
                  "skipInstallServices": false,
                  "skipFavoriteCount": false,
                  "storefilter": "ALL",
                  "channel": "DESKTOP",
                  "skipDiscoveryZones": false,
                  "skipBuyitagain": true,
                  "additionalSearchParams": {
                    "deliveryZip": "55121",
                    "multiStoreIds": []
                  },
                  "filter": {},
                  "navParam": "5yc1vZc3oc",
                  "orderBy": {
                    "field": "TOP_SELLERS",
                    "order": "ASC"
                  },
                  "pageSize": 24,
                  "startIndex": 0,
                  "storeId": "2813"
                }
              }
            }
          }
        }
      }
    },
    "/product": {
      "post": {
        "operationId": "post_product",
        "summary": "Product (product details, price and fulfillment)",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              },
              "example": {
                "variables": {
                  "skipSpecificationGroup": false,
                  "skipFavoriteCount": false,
                  "skipPaintDetails": true,
                  "skipInstallServices": true,
                  "skipKPF": false,
                  "skipSubscribeAndSave": false,
                  "itemId": "205594063",
                  "storeId": "2813",
                  "zipCode": "55121"
                }
              }
            }
          }
        }
      }
    },
    "/variants": {
      "post": {
        "operationId": "post_variants",
        "summary": "Variants (child item ids of a parent product)",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              },
              "example": {
                "variables": {
                  "parentId": "205594063"
                }
              }
            }
          }
        }
      }
    }
  }
}
