---
title: "Returns referral code usage details"
method: GET
path: "/v1/referral/code/{code}"
tags: ["Referral"]
---

# Returns referral code usage details

`GET /v1/referral/code/{code}`

## Path parameters

- `code` string, required

## Response `200`

- ReferralCodeUsageDto
  - `code` string, required — The referral code
  - `remainingUsage` integer, required — Number of remaining times the code can be claimed

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `413` — Payload Too Large
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error

## Changes

- **2026-08-25** `63e8937ff6f7` — 1 info
  - added the non-success response with the status `413`

[Change history](https://skmtc.dev/ethereal/apis/ethereal-exchange-api/changes/v1/referral/code/:code/get.md)

---

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