---
updatedAt: 2025-11-07T23:54:08.000Z
agentTools:
  projectIndex: https://developers.similarweb.com/llms.txt
---

# Industry Rank - Total (Desktop & Mobile)

Returns the industry (formerly named 'category') of a domain and its Industry Rank within its industry worldwide.

<Table>
  <thead>
    <tr>
      <th>
        Device
      </th>

      <th>
        Granularity
      </th>

      <th>
        Metrics
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        total: desktop and mobile combined
      </td>

      <td>
        previous month only
      </td>

      <td>
        industry,\
        industry rank
      </td>
    </tr>
  </tbody>
</Table>

> 📘 Price
>
> **1 hit** per request OR **2 data credits** per [result](https://developers.similarweb.com/docs/data-credits-unpublished-whats-new-in-v40).

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "category-rank",
    "version": "4.0"
  },
  "servers": [
    {
      "url": "https://api.similarweb.com/v1/website/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/{domain_name}/category-rank/category-rank": {
      "get": {
        "summary": "Industry Rank - Total (Desktop & Mobile)",
        "description": "Returns the industry (formerly named 'category') of a domain and its Industry Rank within its industry worldwide.",
        "operationId": "industry-rank",
        "parameters": [
          {
            "name": "domain_name",
            "in": "path",
            "description": "Enter website of interest, without 'www.' or brackets {}.",
            "schema": {
              "type": "string",
              "default": "amazon.com"
            },
            "required": true
          },
          {
            "name": "api_key",
            "in": "query",
            "description": "Your Similarweb API key.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Add_Your_API_KEY"
            }
          },
          {
            "name": "format",
            "in": "query",
            "description": "[optional] Format in which the reply should be returned. Possible values: 'json' (default) or 'xml'.",
            "schema": {
              "type": "string",
              "default": "json"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "VIEW EXAMPLE RESPONSE": {
                    "value": "{\n  \"meta\": {\n    \"request\": {\n      \"domain\": \"amazon.com\",\n      \"format\": \"json\"\n    },\n    \"status\": \"Success\"\n  },\n  \"category\": \"E-commerce_and_Shopping/Marketplace\",\n  \"rank\": 1\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "type": "object",
                      "properties": {
                        "request": {
                          "type": "object",
                          "properties": {
                            "domain": {
                              "type": "string",
                              "example": "amazon.com"
                            },
                            "format": {
                              "type": "string",
                              "example": "json"
                            }
                          }
                        },
                        "status": {
                          "type": "string",
                          "example": "Success"
                        }
                      }
                    },
                    "category": {
                      "type": "string",
                      "example": "E-commerce_and_Shopping/Marketplace"
                    },
                    "rank": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```