COS category menu

GET https://api.api.sh/cos/v1/categories
1 credit / call e-commerce try it in the playground →

The store's category menu for one market and language: each gender's featured links and sections with their links, every entry with its name as the site shows it, its link and the category path /cos/v1/category takes.

Every response includes credits_used: the credits this call cost.

Part of the COS API: 13 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
market string Market: us (default), ca, gb, ie, de, at, ch, fr, es, it, nl, dk, no, se, pl, eu, eue, au, ww, or a site locale such as de-ch. country is accepted as the same thing. Example: ch
language string Language of the market (e.g. de, en or fr for ch); default the market's first language.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/cos/v1/categories?market=ch" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.