# Get Profile Views Badge **GET /profile-views** Returns an SVG badge displaying the view count for a specific page/profile. Automatically increments the view count unless increment=false is specified. ## Servers - Production: https://exelvi.xyz/api (Production) - Development: http://localhost:3000/api (Development) ## Parameters ### Query parameters - **user** (string) Username or identifier for the profile - **page** (string) Page identifier to track views for - **style** (string) Visual style of the badge - **color** (array[string]) Badge color(s) as hex values. Can be specified multiple times for gradients. The '#' prefix is optional (e.g., both "0366d6" and "#0366d6" work). - **increment** (boolean) Whether to increment the view count. Set to 'false' to only display the current count without incrementing. ## Responses ### 200 Successfully generated badge SVG #### Headers - **Content-Type** (string) - **Cache-Control** (string) No-cache policy to ensure fresh counts - **Pragma** (string) - **Expires** (string) #### Body: image/svg+xml (string) string ### 500 Error generating badge #### Headers - **Content-Type** (string) #### Body: image/svg+xml (string) string [Powered by Bump.sh](https://bump.sh)