# Get marketplace gift cards

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

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

Returns the public gift cards that can be bought, sorted by number of sales. The list is cached for 30 minutes.

## Headers

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

## Example request

```bash
curl "https://api.cryptohopper.com/v1/market/giftcards" \
  -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.
