Gap Inc.
Gap Inc. Categories API
The navigation tree of one Gap Inc. banner as its own site menu lists it, in the US or Canada: divisions, sections and categories, each category with the cid and style read from its link, the inputs of category. Costs 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonbrandenum<string>default:gapThe Gap Inc. banner whose site to read. Ids are per banner: a Gap color id on Old Navy is a not-found.
Example: old_navy
gap— Gap (default).old_navy— Old Navy.banana_republic— Banana Republic.athleta— Athleta.gap_factory— Gap Factory.banana_republic_factory— Banana Republic Factory.
countryenum<string>default:usThe market: the banner's US site (USD) or its Canadian site (CAD). Ids are per market.
Example: ca
us— The US sites, USD, English (default).ca— The Canadian sites, CAD, English or French.
languageenum<string>default:enen, or fr on country ca (the French Canadian site: French names, labels and flags, CAD). fr on country us is a 400.
Example: fr
en— English (default).fr— French (country ca only).
Notes
Gap Inc. Gap Inc. runs six banners on one platform: Gap, Old Navy, Banana Republic, Athleta, Gap Factory and Banana Republic Factory. brand picks the banner (gap by default); country picks the market: us (the US sites, USD, English) or ca (the Canadian sites, CAD, English, or French with language fr). Every answer echoes brand, brand_name and country, and the catalog endpoints add language, locale and currency. Category, color (pid) and style ids are per banner and per market: a US id on country ca, or a Gap id on Old Navy, is a not-found. Gap Inc. publishes no public product, price or stock API. This endpoint costs 1 credit, like every Gap Inc. endpoint; credits_used on every answer says what was spent. categories is the menu in its order: divisions (Women, Men, Girls, Boys, Baby & Toddler, ...), their sections and the categories under them. cid and style are read from each category's link; a heading without a link has cid null. Gap's US menu listed 10 divisions and 302 categories on 2026-11-26. Ids are per banner and market: read the tree for the banner and country you will query.
| brand | Banner | US site | Canadian site |
|---|---|---|---|
gap | Gap (default) | gap.com | gapcanada.ca |
old_navy | Old Navy | oldnavy.gap.com | oldnavy.gapcanada.ca |
banana_republic | Banana Republic | bananarepublic.gap.com | bananarepublic.gapcanada.ca |
athleta | Athleta | athleta.gap.com | athleta.gapcanada.ca |
gap_factory | Gap Factory | gapfactory.com | gapfactory.ca |
banana_republic_factory | Banana Republic Factory | bananarepublicfactory.gapfactory.com | bananarepublicfactory.gapfactory.ca |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
d = client.gap.categories(brand="athleta")["data"]
def walk(nodes, depth=0):
for n in nodes:
print(" " * depth, n["name"], n["type"], n["cid"])
walk(n.get("children") or [], depth + 1)
walk(d["categories"])Response