# Search gift cards (/docs/api-reference/gift-cards/search)

`GET /v1/giftcards/search`

Searches gift cards and returns them with their offers, one page at a time.

Returns `{ items, pagination }`. `countryCode`, `category`, `q` and
`isRedeemableGlobally` select cards; `valueType` selects offers within them, and a card left without
an offer is dropped. Pages count cards. Prices are indicative, in `currency`; a fixed offer is listed only
when it is cheaper than the card's range at the same value. An invalid or unknown parameter gives 400 / 10001;
an unsupported `currency` gives 400 / 10001 at `currency`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `countryCode` | query | no | `string` | Optional ISO 3166-1 alpha-2 issuing country, in either case; every country when omitted. A card without a country is not listed when it is set, and a blank value or `GLOBAL` is rejected. |
| `category` | query | no | `string` | Keep the cards of this category; `categories` lists the values. |
| `valueType` | query | no | `string` | Keep only `fixed` or only `range` offers; a card left without an offer is dropped. |
| `q` | query | no | `string` | Brand name or card ID, case-insensitive; at most 100 characters, without control characters. |
| `isRedeemableGlobally` | query | no | `boolean` | `true` keeps only cards that can be redeemed in any country. |
| `currency` | query | no | `string` | Price currency, three letters in either case; the API key's currency when omitted. An unsupported code gives 400 / 10001 at `currency`, reason `NOT_SUPPORTED`. |
| `page` | query | no | `integer` | Page number, from 1; default 1. |
| `limit` | query | no | `integer` | Page size, 1 to 100; default 10. |

## Responses

### 200

OK

- `text/plain`: `GiftCardSearchResult`
- `application/json`: `GiftCardSearchResult`
- `text/json`: `GiftCardSearchResult`

### 400

Invalid partner request or model validation failure.

- `application/json`: `ErrorResponse`

### 429

Too many requests from this IP address. Wait for Retry-After seconds, then send the same request again; an order keeps its Idempotency-Key and body.

- `application/json`: `ErrorResponse`

The full schemas are in the OpenAPI specification at /openapi.json.