公開カタログAPI
読み取り専用、キー不要、登録不要。このサイトが表示するのと同じデータをJSONで提供。利用、引用、構築にどうぞ。
- ベースURL
- https://privgift.com/api/v1
- 認証
- なし。CORSはすべてのオリジンに開放。
- レート制限
- IPごとに毎分120リクエスト。
エンドポイント
- GET
/api/v1/products購入可能なすべてのギフトカード。ブランド、国、カテゴリ、暗号通貨、価格で絞り込み可能。
/api/v1/products?crypto=XMR&country=FR&perPage=5 - GET
/api/v1/products/{slug}1枚のギフトカード。額面、在庫、配信時間、利用規約を含む。
/api/v1/products/amazon-gift-card-us - GET
/api/v1/brandsすべてのブランドと、利用可能な市場。
/api/v1/brands - GET
/api/v1/countries市場、その通貨、各市場のカード枚数。
/api/v1/countries - GET
/api/v1/cryptos対応資産、ネットワーク、通常の確認時間、有効フラグ。
/api/v1/cryptos
OpenAPI 3.1仕様
/api/v1/openapi.jsonレスポンス例
{
"data": [
{
"id": "prd_amazon_us",
"slug": "amazon-gift-card-us",
"name": "Amazon Gift Card (United States)",
"brand": { "id": "brand_amazon", "slug": "amazon", "name": "Amazon" },
"countryCode": "US",
"currency": "USD",
"denominations": [
{ "sku": "amazon-gift-card-us-10", "value": 10, "inStock": true },
{ "sku": "amazon-gift-card-us-25", "value": 25, "inStock": true }
],
"customAmount": { "min": 5, "max": 500, "step": 5 },
"discountPercent": 2,
"feePercent": 0,
"inStock": true,
"delivery": "instant",
"cryptos": ["BTC", "ETH", "USDT", "USDC", "LTC", "TRX", "XMR"]
}
],
"meta": { "total": 159, "page": 1, "perPage": 24, "totalPages": 7, "version": "1.0.0" },
"links": { "documentation": "/api-docs", "openapi": "/api/v1/openapi.json" }
}すべてのブランド名およびロゴは、各所有者の商標です。PrivGiftは独立した販売者であり、記載されたブランドと提携、承認、または後援を受けていません。 — [email protected]