# Get a gift card

`GET https://api.cryptohopper.com/v1/market/giftcards/{giftcard_id}`

Part of [Marketplace](https://www.cryptohopper.com/api-documentation/api-reference/marketplace.md) in the Cryptohopper API reference.

Returns a public gift card, or one of your own custom gift cards.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `giftcard_id` | string | yes | Gift card ID. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/market/giftcards/GIFTCARD_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": {
        "id": "12",
        "giftcard_name": "Cryptohopper credits 50",
        "giftcard_image": "https://cdn.cryptohopper.com/images/giftcards/templates/credits.png",
        "giftcard_type": "credits",
        "giftcard_value": "50.00",
        "plan_id": "0",
        "marketplace_id": "0",
        "currency": "USD",
        "price": "50.00",
        "created": "2025-12-01 10:00:00",
        "updated": "2025-12-01 10:00:00"
    }
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
