Bitrefill · Gift Cards Search

by Bitrefill

GETBaseSolanaArbitrumPolygon

$0.002

per call · USD Coin on Base

Search 10,000+ gift card & voucher brands across 180+ countries by name and country. Pay in USDC via x402, no account.

Endpoint

GET https://api.bitrefill.com/x402/gift-cards/search

53

Calls / 30d

40

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.bitrefill.com/x402/gift-cards/search", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.bitrefill.com/x402/gift-cards/search?country=US&q=amazon" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "next_step": {
    "body": {
      "slug": "<product slug from results>"
    },
    "url": "/x402/products/detail"
  },
  "products": [
    {
      "country": "US",
      "in_stock": true,
      "name": "Amazon",
      "recipient_type": "none",
      "slug": "amazon-us"
    },
    {
      "country": "US",
      "in_stock": true,
      "name": "Steam",
      "recipient_type": "none",
      "slug": "steam"
    }
  ]
}

Payment details

Pay to0x480cd46e6fade651a0437deadda53d5c8e7d846a
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Bitrefill & similar services