# 1688 Shop Categories API (V1)

Get 1688 Shop Categories (V1) data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by JustOneAPI, pass parameters such as shopUrl, and retrieve structured data including business status code, identifier, name, returned children field, and reported count for application integration and result review, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/api-1688/api-1688-shop-categories-api-v1/8b9e82b5-39be-4966-a322-ad570a38ccf2/
API ID: 8b9e82b5-39be-4966-a322-ad570a38ccf2
Provider: justoneapi
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/1688/get-shop-category/v1
Page update time: 2026-12-03T02:50:47.722Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.015385 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:50:47.077Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "15385",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## 1688 Shop Categories (V1) API

Retrieve all categories for a 1688 shop by shop URL or seller member ID. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Application integration and result review**: Keep the request context attached to available returned results.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `code` | Business status code |
| `data.list[].id` | Identifier |
| `data.list[].name` | Name |
| `data.list[].children` | Returned children field |
| `data.list[].count` | Reported count |
| `data.list[].full_name` | Returned full name field |
| `data.is_custom` | Returned is custom field |
| `data.member_id` | Returned member id field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "1688 Shop Categories API (V1) request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "shopUrl": {
          "type": "string",
          "description": "1688 shop homepage URL. Supply shopUrl or memberId."
        },
        "memberId": {
          "type": "string",
          "description": "Seller member ID. Supply memberId or shopUrl."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "is_custom": {
          "type": "boolean"
        },
        "list": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "children": {
                "type": "array",
                "items": {}
              },
              "count": {
                "type": "integer"
              },
              "full_name": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "member_id": {
          "type": "string"
        }
      }
    },
    "message": {
      "type": "null"
    },
    "openany_cost": {
      "type": "integer"
    },
    "recordTime": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    },
    "requestParams": {
      "type": "object",
      "properties": {
        "body": {
          "type": "null"
        },
        "query": {
          "type": "object",
          "properties": {
            "shopUrl": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Third-party reference · OpenAny testnet verified pair
```bash
curl \
  'https://api.openany.si/v1/agent-apis/justoneapi/api/1688/get-shop-category/v1?shopUrl=http%3A%2F%2Flyruiye.1688.com' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
Third-party response reference · Documented HTTP 200
```json
{
  "code": 0,
  "data": {
    "is_custom": false,
    "list": [
      {
        "children": [],
        "count": 6,
        "full_name": "收纳篮、置物篮、收纳筐",
        "id": 1036896,
        "name": "收纳篮、置物篮、收纳筐"
      },
      {
        "children": [],
        "count": 3,
        "full_name": "保鲜盒、饭盒",
        "id": 1043769,
        "name": "保鲜盒、饭盒"
      },
      {
        "children": [],
        "count": 1,
        "full_name": "沥水篮、盆",
        "id": 201160404,
        "name": "沥水篮、盆"
      },
      {
        "children": [],
        "count": 2,
        "full_name": "食物收纳盒",
        "id": 201745202,
        "name": "食物收纳盒"
      },
      {
        "children": [],
        "count": 2,
        "full_name": "收纳盒",
        "id": 1043982,
        "name": "收纳盒"
      },
      {
        "children": [],
        "count": 1,
        "full_name": "脏衣篮",
        "id": 124194003,
        "name": "脏衣篮"
      },
      {
        "children": [],
        "count": 2,
        "full_name": "收纳箱",
        "id": 121490001,
        "name": "收纳箱"
      }
    ],
    "member_id": "b2b-22185096253244079c"
  },
  "message": null,
  "openany_cost": 15385,
  "recordTime": "2026-11-06T21:22:11.617378853",
  "requestId": "ac78f90e20e34a5997186b6347ba14d7",
  "requestParams": {
    "body": null,
    "query": {
      "shopUrl": "http://lyruiye.1688.com"
    }
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Does this implementation require business input parameters?
No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- justoneapi: https://openany.si/api-1688/api-1688-shop-categories-api-v1/8b9e82b5-39be-4966-a322-ad570a38ccf2/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
