Public API Documentation
GiftCardHub exposes a free, public, read-only JSON API. No API key or authentication is required. All responses are CORS-enabled (Access-Control-Allow-Origin: *) so the data can be fetched from any origin, including AI agents and search crawlers.
Base URL: https://anygiftcards.xyz · Machine-readable site summary: /llms.txt
/apiIndex of all available endpoints.
/api/gift-cardsList every gift card brand with category, tagline, description, denominations, keywords, and FAQ.
{
"count": 30,
"results": [
{
"slug": "visa-gift-card",
"name": "Visa Gift Card",
"category": "universal",
"tagline": "Spend anywhere Visa is accepted",
"description": "The Visa Gift Card works like a prepaid debit card...",
"denominations": [25, 50, 100, 200],
"keywords": ["visa gift card", "visa giftcard", "virtual visa gift card", "..."],
"faq": [{ "q": "Where can I use a Visa gift card?", "a": "..." }],
"url": "https://anygiftcards.xyz/gift-cards/visa-gift-card"
}
]
}/api/gift-cards/{slug}Get a single gift card brand by its slug, e.g. /api/gift-cards/amazon-gift-card. Returns 404 JSON if the slug doesn't exist.
/api/community/postsList community discussion posts and replies. Filter by board with ?board=deals|gaming|help|swap|reviews.
/api/community/posts/{id}Get a single community post including its title, body, tags, and replies.
/api/faqGeneral gift card FAQ plus every brand's FAQ, useful for search and LLM answer engines.
Response format
All endpoints return application/json. List endpoints return { count, results }. Not-found lookups return HTTP 404 with { error }.