GET /v1/categories
List categories
secret key only
curl https://api.marketsdk.com/v1/categories \
-H "Authorization: Bearer $MARKETSDK_KEY"200 example response, category list
{
"object": "list",
"data": [
{
"object": "category",
"id": "cat_034XtPDs7UJ0TXzTsdaHZa",
"key": "string",
"name": "string",
"description": null,
"parent": null,
"attribute_schema": {
"attributes": [
null
]
},
"fee": {
"percent_bps": null,
"fixed_amount": null
},
"prohibited": false,
"created_at": "2026-10-01T12:00:00.000Z",
"updated_at": "2026-10-01T12:00:00.000Z"
}
],
"has_more": false,
"next_cursor": null
}parameters
| field | type | about |
|---|---|---|
| limit | integer, in query | min 1, max 100, default 20 |
| starting_after | string, in query | The next_cursor of the previous page. |
returns 200, category list
fields
| field | type | about |
|---|---|---|
| objectrequired | one of: list | |
| datarequired | array of category | |
| data[].objectrequired | one of: category | |
| data[].idrequired | string | |
| data[].keyrequired | string | |
| data[].namerequired | string | |
| data[].descriptionrequired | string or null | |
| data[].parentrequired | string or null | |
| data[].attribute_schemarequired | attribute schema | |
| data[].attribute_schema.attributesrequired | array of attribute definition | up to 50 items |
| data[].feerequired | category fee or null | |
| data[].fee.percent_bps | integer or null | Basis points: 250 is 2.5 percent.min 0, max 10000 |
| data[].fee.fixed_amount | integer or null | Minor units, in the marketplace currency.min 0 |
| data[].prohibitedrequired | boolean | Listings in a prohibited category cannot be published. |
| data[].created_atrequired | timestamp | |
| data[].updated_atrequired | timestamp | |
| has_morerequired | boolean | Whether another page follows. |
| next_cursorrequired | string or null | Pass as starting_after (or cursor for search) to get the next page. |
errors
- 400The request is not valid.
- 401No API key, or not a valid one.
- 429Rate limited. See
Retry-After.