# A Shopee store's affiliate performance, from Shopee (/th/growseller/docs/api-reference/shopee-performance/get-shopee-performance-tab)

GET /shopee/performance/{tab}

```json
{
  "tags": [
    "Shopee performance"
  ],
  "summary": "A Shopee store's affiliate performance, from Shopee",
  "operationId": "get-shopee-performance-tab",
  "parameters": [
    {
      "name": "tab",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Tab"
      }
    },
    {
      "name": "shop_id",
      "in": "query",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Shop Id"
      }
    },
    {
      "name": "days",
      "in": "query",
      "required": false,
      "schema": {
        "type": "integer",
        "default": 30,
        "title": "Days"
      }
    },
    {
      "name": "page",
      "in": "query",
      "required": false,
      "schema": {
        "type": "integer",
        "minimum": 1,
        "default": 1,
        "title": "Page"
      }
    },
    {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
        "type": "integer",
        "maximum": 100,
        "minimum": 1,
        "default": 20,
        "title": "Limit"
      }
    },
    {
      "name": "sort",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "",
        "title": "Sort"
      }
    },
    {
      "name": "start",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "",
        "title": "Start"
      }
    },
    {
      "name": "end",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "",
        "title": "End"
      }
    },
    {
      "name": "order_type",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "confirmed",
        "title": "Order Type"
      }
    },
    {
      "name": "channel",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "all",
        "title": "Channel"
      }
    },
    {
      "name": "q",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "",
        "title": "Q"
      }
    },
    {
      "name": "by",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "",
        "title": "By"
      }
    },
    {
      "name": "export",
      "in": "query",
      "required": false,
      "schema": {
        "type": "boolean",
        "default": false,
        "title": "Export"
      }
    },
    {
      "name": "view",
      "in": "query",
      "required": false,
      "description": "full (every field, the default) or compact (the fields to decide by)",
      "schema": {
        "type": "string",
        "enum": [
          "full",
          "compact"
        ]
      }
    },
    {
      "name": "fields",
      "in": "query",
      "required": false,
      "description": "Only these fields of each row, comma-separated (at most 40)",
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "data": {
                "type": "object"
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "A rate limit is reached; wait Retry-After seconds",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": "string"
              },
              "error_code": {
                "type": "string"
              },
              "details": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            },
            "example": {
              "success": false,
              "error": "The API shows at most 5 pages of 100 rows for one search. Narrow it with filters or search.",
              "error_code": "PAGE_LIMIT",
              "details": {
                "rows": 100,
                "pages": 5
              },
              "timestamp": "2026-11-21T09:00:00Z"
            }
          }
        }
      }
    },
    "4XX": {
      "description": "An error (see error_code)",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": "string"
              },
              "error_code": {
                "type": "string"
              },
              "details": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "timestamp": {
                "type": "string"
              }
            },
            "example": {
              "success": false,
              "error": "The API shows at most 5 pages of 100 rows for one search. Narrow it with filters or search.",
              "error_code": "PAGE_LIMIT",
              "details": {
                "rows": 100,
                "pages": 5
              },
              "timestamp": "2026-11-21T09:00:00Z"
            }
          }
        }
      }
    }
  },
  "x-mcp-tool": "analytics_read",
  "x-mcp-action": "performance"
}
```