StardDevelopersداشبورد

گیفت‌های استارزی

GET/api/v1/gifts
scope: products:readاحراز هویت: Bearerlive و test

گیفت‌های استارزی تلگرام (قلب، خرس، کادو، گل و…) که می‌شود به هر یوزرنیم فرستاد، با قیمت تومانی و قیمت استارزی.

درخواست

ناممحلنوعتوضیح
AuthorizationheaderstringالزامیBearer sk_live_… یا Bearer sk_test_…

نمونه

curl "https://stard-market.ir/api/v1/gifts" \
  -H "Authorization: Bearer $STARD_API_KEY"
پاسخ — 200
{
  "object": "list",
  "data": [
    {
      "object": "product",
      "id": 12577,
      "tag": "7ZI3FR",
      "name": "محصول نمونه",
      "description": "توضیح نمونه",
      "category": "star_gift",
      "pricing_type": "fixed",
      "price": {
        "amount": 112275,
        "currency": "IRT"
      },
      "starting_price": null,
      "auction_end_at": null,
      "auction_ended": false,
      "stars_price": 25,
      "available": true,
      "purchasable_via_api": true,
      "not_purchasable_reason": null,
      "marketplace": "stard",
      "image_url": "https://stard-market.ir/img/sample.webp",
      "link": null,
      "badge": null,
      "attributes": null,
      "animation": null,
      "nft": null,
      "community": null,
      "last_checked_at": null,
      "created_at": "2026-08-05T20:06:40Z"
    },
    {
      "object": "product",
      "id": 12578,
      "tag": "0QNT85",
      "name": "محصول نمونه",
      "description": "توضیح نمونه",
      "category": "star_gift",
      "pricing_type": "fixed",
      "price": {
        "amount": 224550,
        "currency": "IRT"
      },
      "starting_price": null,
      "auction_end_at": null,
      "auction_ended": false,
      "stars_price": 50,
      "available": true,
      "purchasable_via_api": true,
      "not_purchasable_reason": null,
      "marketplace": "stard",
      "image_url": "https://stard-market.ir/img/sample.webp",
      "link": null,
      "badge": null,
      "attributes": null,
      "animation": null,
      "nft": null,
      "community": null,
      "last_checked_at": null,
      "created_at": "2026-08-05T20:07:19Z"
    },
    {
      "object": "product",
      "id": 12582,
      "tag": "QI3ZAL",
      "name": "محصول نمونه",
      "description": "توضیح نمونه",
      "category": "star_gift",
      "pricing_type": "fixed",
      "price": {
        "amount": 224550,
        "currency": "IRT"
      },
      "starting_price": null,
      "auction_end_at": null,
      "auction_ended": false,
      "stars_price": 50,
      "available": true,
      "purchasable_via_api": true,
      "not_purchasable_reason": null,
      "marketplace": "stard",
      "image_url": "https://stard-market.ir/img/sample.webp",
      "link": null,
      "badge": null,
      "attributes": null,
      "animation": null,
      "nft": null,
      "community": null,
      "last_checked_at": null,
      "created_at": "2026-08-05T21:09:45Z"
    },
    {
      "object": "product",
      "id": 12583,
      "tag": "LVMGBH",
      "name": "محصول نمونه",
      "description": "توضیح نمونه",
      "category": "star_gift",
      "pricing_type": "fixed",
      "price": {
        "amount": 224550,
        "currency": "IRT"
      },
      "starting_price": null,
      "auction_end_at": null,
      "auction_ended": false,
      "stars_price": 50,
      "available": true,
      "purchasable_via_api": true,
      "not_purchasable_reason": null,
      "marketplace": "stard",
      "image_url": "https://stard-market.ir/img/sample.webp",
      "link": null,
      "badge": null,
      "attributes": null,
      "animation": null,
      "nft": null,
      "community": null,
      "last_checked_at": null,
      "created_at": "2026-08-05T21:10:30Z"
    },
    {
      "object": "product",
      "id": 12584,
      "tag": "E0J9LV",
      "name": "محصول نمونه",
      "description": "توضیح نمونه",
      "category": "star_gift",
      "pricing_type": "fixed",
      "price": {
        "amount": 449100,
        "currency": "IRT"
      },
      "starting_price": null,
      "auction_end_at": null,
      "auction_ended": false,
      "stars_price": 100,
      "available": true,
      "purchasable_via_api": true,
      "not_purchasable_reason": null,
      "marketplace": "stard",
      "image_url": "https://stard-market.ir/img/sample.webp",
      "link": null,
      "badge": null,
      "attributes": null,
      "animation": null,
      "nft": null,
      "community": null,
      "last_checked_at": null,
      "created_at": "2026-08-05T21:11:13Z"
    },
    {
      "object": "product",
      "id": 12585,
      "tag": "V1T27L",
      "name": "محصول نمونه",
      "description": "توضیح نمونه",
      "category": "star_gift",
      "pricing_type": "fixed",
      "price": {
        "amount": 449100,
        "currency": "IRT"
      },
      "starting_price": null,
      "auction_end_at": null,
      "auction_ended": false,
      "stars_price": 100,
      "available": true,
      "purchasable_via_api": true,
      "not_purchasable_reason": null,
      "marketplace": "stard",
      "image_url": "https://stard-market.ir/img/sample.webp",
      "link": null,
      "badge": null,
      "attributes": null,
      "animation": null,
      "nft": null,
      "community": null,
      "last_checked_at": null,
      "created_at": "2026-08-05T21:11:57Z"
    },
    {
      "object": "product",
      "id": 12586,
      "tag": "S98KHZ",
      "name": "محصول نمونه",
      "description": "توضیح نمونه",
      "category": "star_gift",
      "pricing_type": "fixed",
      "price": {
        "amount": 449100,
        "currency": "IRT"
      },
      "starting_price": null,
      "auction_end_at": null,
      "auction_ended": false,
      "stars_price": 100,
      "available": true,
      "purchasable_via_api": true,
      "not_purchasable_reason": null,
      "marketplace": "stard",
      "image_url": "https://stard-market.ir/img/sample.webp",
      "link": null,
      "badge": null,
      "attributes": null,
      "animation": null,
      "nft": null,
      "community": null,
      "last_checked_at": null,
      "created_at": "2026-08-05T21:12:41Z"
    },
    {
      "object": "product",
      "id": 12587,
      "tag": "KAWJM1",
      "name": "محصول نمونه",
      "description": "توضیح نمونه",
      "category": "star_gift",
      "pricing_type": "fixed",
      "price": {
        "amount": 67365,
        "currency": "IRT"
      },
      "starting_price": null,
      "auction_end_at": null,
      "auction_ended": false,
      "stars_price": 15,
      "available": true,
      "purchasable_via_api": true,
      "not_purchasable_reason": null,
      "marketplace": "stard",
      "image_url": "https://stard-market.ir/img/sample.webp",
      "link": null,
      "badge": null,
      "attributes": null,
      "animation": null,
      "nft": null,
      "community": null,
      "last_checked_at": null,
      "created_at": "2026-08-05T21:18:48Z"
    },
    {
      "object": "product",
      "id": 14510,
      "tag": "HG32HO",
      "name": "محصول نمونه",
      "description": "توضیح نمونه",
      "category": "star_gift",
      "pricing_type": "fixed",
      "price": {
        "amount": 67365,
        "currency": "IRT"
      },
      "starting_price": null,
      "auction_end_at": null,
      "auction_ended": false,
      "stars_price": 15,
      "available": true,
      "purchasable_via_api": true,
      "not_purchasable_reason": null,
      "marketplace": "stard",
      "image_url": "https://stard-market.ir/img/sample.webp",
      "link": null,
      "badge": null,
      "attributes": null,
      "animation": null,
      "nft": null,
      "community": null,
      "last_checked_at": null,
      "created_at": "2026-08-15T17:22:21Z"
    }
  ],
  "has_more": false,
  "next_offset": null,
  "total": 9
}
هدرهای پاسخ
content-type: application/json
x-request-id: req_xEpDmeW2Hn9NLgUmt1Q7
x-ratelimit-limit: 1000
x-ratelimit-remaining: 990

خطاها

HTTPcodeکی
403insufficient_scopeکلید scope products:read را ندارد
401invalid_api_key / missing_api_key / api_key_revoked / api_key_expiredکلید نیامده، نامعتبر، باطل یا منقضی است
429rate_limit_exceededسقف درخواست در دقیقه پر شده؛ بعد از Retry-After ثانیه دوباره بفرست

محدودیت نرخ

پیش‌فرض ۶۰ درخواست در دقیقه برای هر کلید (قابل تنظیم در داشبورد). وضعیت در هدرهای X-RateLimit-* برمی‌گردد — جزئیات.