Discover/GiftCards API
live

GiftCards APIgiftcards.com

Search the GiftCards.com catalog by keyword and retrieve actively discounted gift cards with coupon codes, denominations, and brand data via two endpoints.

Endpoint health
verified 4d ago
search_gift_cards
get_discounted_cards
2/2 passing latest checkself-healing
Endpoints
2
Updated
26d ago

What is the GiftCards API?

The GiftCards.com API exposes two endpoints for querying the site's gift card catalog: search_gift_cards for full-text product search with pagination, and get_discounted_cards for retrieving up to 50 currently promoted products with their active coupon codes and sales rules. Each product response includes brand names, available denominations, category assignments, badges, and configurable variants, giving developers structured access to the full public catalog.

Try it
Page number for pagination (1-based).
Maximum number of results per page.
Search keyword to match against product names and brands. Empty string returns all products.
api.parse.bot/scraper/bc97929b-0f5a-4876-9c35-f79451afc3a4/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/bc97929b-0f5a-4876-9c35-f79451afc3a4/search_gift_cards?page=1&limit=5&query=visa' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace giftcards-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.giftcards_com_api import GiftCards, GiftCard, DiscountedCard

client = GiftCards()

# Search for Visa gift cards
for card in client.giftcards.search(query="visa", limit=5):
    print(card.name, card.brand_name, card.sku)
    for variant in card.variants:
        print("  Variant:", variant.product.name, variant.product.sku)
        for amt in variant.product.giftcard_amounts:
            print("    Amount:", amt.value)

# List currently discounted cards with coupon codes
for deal in client.discountedcards.list(limit=3):
    print(deal.brand_name, deal.url_key)
    for rule in deal.sales_rules:
        print("  Discount:", rule.discount_amount, rule.display_name, rule.coupon)
All endpoints · 2 totalmissing one? ·

Full-text search over giftcards.com product catalog. Returns paginated gift card products matching the query keyword, including brand info, available denominations, categories, badges, and configurable variants. An empty query returns all products. Paginates via integer page counter.

Input
ParamTypeDescription
pageintegerPage number for pagination (1-based).
limitintegerMaximum number of results per page.
querystringSearch keyword to match against product names and brands. Empty string returns all products.
Response
{
  "type": "object",
  "fields": {
    "products": "array of gift card product objects with name, brand_name, url_key, sku, currency, base_image, giftcard_amounts, categories, badges, and variants",
    "total_count": "integer total number of matching products",
    "total_pages": "integer total number of pages",
    "current_page": "integer current page number"
  },
  "sample": {
    "data": {
      "products": [
        {
          "sku": "ZJTSJR1N9WK1JBWBQG3686G40C",
          "name": "Starbucks",
          "badges": [],
          "url_key": "starbucks-gift-card",
          "currency": "USD",
          "variants": [
            {
              "product": {
                "sku": "07675006121",
                "name": "Starbucks Gift Card",
                "giftcard_amounts": [
                  {
                    "value": 50
                  },
                  {
                    "value": 100
                  },
                  {
                    "value": 250
                  }
                ]
              }
            }
          ],
          "base_image": "https://www.giftcards.com/content/dam/bhn/live/nam/us/en/catalog-assets/product-images/07675006121/07675006121_82516_master.png/_jcr_content/renditions/cq5dam.web.1280.1280.jpeg",
          "brand_name": "Starbucks®",
          "categories": [
            {
              "name": "Most Popular Gift Cards",
              "url_key": "most-popular-gift-cards"
            }
          ],
          "giftcard_amounts": []
        }
      ],
      "total_count": 65,
      "total_pages": 22,
      "current_page": 1
    },
    "status": "success"
  }
}

About the GiftCards API

Searching the Gift Card Catalog

The search_gift_cards endpoint accepts three optional parameters: query (a keyword matched against product names and brands), page (1-based page number), and limit (results per page). An empty query string returns all available products. Each object in the products array includes name, brand_name, url_key, sku, currency, base_image, giftcard_amounts, categories, badges, and variants. The response also returns total_count, total_pages, and current_page to support cursor-free pagination across the full catalog.

Discounted Cards and Promotion Rules

The get_discounted_cards endpoint requires no input parameters and returns up to 50 gift card products that currently carry active promotions. Each item in the items array includes the standard product fields plus a sales_rules array, which contains the discount amount, display name, coupon code, and a text description of the promotion. This makes it straightforward to compare active discount rates across brands without any filtering logic on the client side.

Data Coverage

Both endpoints return denomination data in the giftcard_amounts field, allowing callers to see exactly which fixed values or ranges are available for each card. The badges field surfaces merchandising labels (such as "new" or "on sale") as assigned by GiftCards.com. Product URLs are derivable from the url_key field, which maps to each card's canonical path on the site.

Reliability & maintenanceVerified

The GiftCards API is a managed, monitored endpoint for giftcards.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when giftcards.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official giftcards.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor active coupon codes and discount rates across all brands using get_discounted_cards and sales_rules.
  • Build a gift card price comparison tool by querying denominations and discount amounts for specific brands.
  • Populate a gift card search feature in a rewards or cashback app using keyword-driven search_gift_cards results.
  • Track badge changes (e.g. 'on sale', 'new') over time by polling search_gift_cards with an empty query.
  • Filter gift cards by category using the categories field returned in each product object.
  • Generate a curated list of discounted cards for a deals newsletter using coupon codes from get_discounted_cards.
  • Build a brand directory by aggregating brand_name, url_key, and available giftcard_amounts across the full catalog.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does GiftCards.com have an official developer API?+
GiftCards.com does not publicly document or offer a developer API for third-party use. This Parse API provides structured access to the public catalog data.
What does the `get_discounted_cards` endpoint actually return in `sales_rules`?+
Each entry in sales_rules includes the discount amount, a display name for the promotion, the coupon code string, and a plain-text description. The endpoint returns up to 50 discounted products at a time and requires no input parameters.
Can I filter `search_gift_cards` results by category or denomination?+
The endpoint accepts only query, page, and limit as inputs. Category and denomination data are present in the response fields (categories, giftcard_amounts) and can be filtered client-side, but server-side filtering by those dimensions is not currently supported. You can fork this API on Parse and revise it to add category or denomination filter parameters.
Does the API return individual gift card purchase history or balance data?+
No. The API covers catalog-level data: product names, brands, denominations, categories, badges, and active promotions. Balance lookups and purchase history are account-level features not exposed here. You can fork this API on Parse and revise it to add any publicly accessible balance-check endpoint if one becomes available.
How does pagination work in `search_gift_cards`?+
Pagination uses integer page numbers via the page parameter (1-based). The response includes total_count, total_pages, and current_page so callers can determine how many pages remain. The limit parameter controls results per page.
Page content last updated . Spec covers 2 endpoints from giftcards.com.
Related APIs in EcommerceSee all →
giftcardgranny.com API
Search and browse discounted gift cards across categories, view detailed card and merchant information, and discover current deals and promotions on Gift Card Granny. Access the platform's full catalog — including category listings, top discounts, and featured Granny offers — to find the best savings across hundreds of retailers.
buysellvoucher.com API
Search and purchase gift cards programmatically on BuySellVouchers, checking product details and balances while automating your transactions with integrated payment processing. Manage your voucher buying workflow efficiently by logging in, browsing available cards, and completing purchases without manual intervention.
cardkingdom.com API
Search and browse Magic: The Gathering cards with real-time pricing and availability from Card Kingdom, including buylist prices and current deals. Find card details across all editions and filter by format to discover the best prices across the full catalog.
tcgplayer.com API
Search for trading cards across all games and sets on TCGPlayer, and instantly access detailed pricing information by condition plus current seller listings with prices, shipping costs, and seller ratings. Compare card values and find the best deals from multiple sellers all in one place.
cardmarket.com API
Search and browse trading cards across Europe's largest marketplace, accessing detailed card information, listings, seller profiles, and finding the best bargains all in one place. Explore games and expansions to discover available singles and compare prices from multiple sellers.
gap.com API
Search and browse Gap's product catalog by keyword or category, retrieve detailed product information including pricing, available sizes, colors, and customer reviews, get product recommendations, locate nearby Gap retail stores, and explore the full site navigation and category tree.
cdkeys.com API
Search and browse digital game keys across thousands of titles, view product details, pricing, and discover best sellers and latest releases from CDKeys. Filter games by category, compare options, and stay updated on the newest game key listings available.
g2a.com API
Search for game keys and get real-time pricing, seller ratings, and detailed product information from G2A's marketplace. Browse available categories and find the best deals on digital game licenses from verified sellers.