---
title: "GET /users/{id}/sales/download/json"
method: GET
path: "/users/{id}/sales/download/json"
tags: ["users"]
---

# GET /users/{id}/sales/download/json

`GET /users/{id}/sales/download/json`

Gets the sales data for the user in JSON format

## Path parameters

- `id` string, required

## Query parameters

- `user_id` string
- `grantee_user_id` string

## Headers

- `Encoded-Data-Message` string
- `Encoded-Data-Signature` string

## Response `200`

Success

- SalesJsonResponse
  - `data` SalesJsonContent
    - `sales` SaleJson[]
      - `title` string — Title of the content (track/album/playlist)
      - `link` string — URL link to the content
      - `purchased_by` string — Name of the buyer
      - `buyer_user_id` integer — User ID of the buyer
      - `date` string — ISO format date string of when the sale occurred
      - `sale_price` number — Base sale price in USDC
      - `network_fee` number — Network fee deducted from sale in USDC
      - `pay_extra` number — Extra amount paid by buyer in USDC
      - `total` number — Total amount received by seller in USDC
      - `country` string — Country code where purchase was made
      - `encrypted_email` string — Encrypted email of buyer if available
      - `encrypted_key` string — Encrypted key for decrypting the buyer's email
      - `is_initial` boolean — Whether this is an initial encryption from the backfill
      - `pubkey_base64` string — Base64 encoded public key of the buyer

---

[API](https://skmtc.dev/audius/apis/audius-api.md) · [All operations](https://skmtc.dev/audius/apis/audius-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/audius/audius-api/revisions/940230b2ed3d/schema)
