tagstring
Genre or tag filter identifier used by the Epic Games Store API. Omitting returns all discounted games.
https://api.sandbase.ai/v1/api/epic-games/browse-discounted-gamesBrowses the Epic Games Store catalog filtered to discounted games only (priceTier=tierDiscounted). Supports the same filtering, sorting, and pagination as browse_games. Returns paginated results with total count. Uses offset-based pagination via start parameter.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Browses the Epic Games Store catalog filtered to discounted games only (priceTier=tierDiscounted). Supports the same filtering, sorting, and pagination as browse_games. Returns paginated results with total count. Uses offset-based pagination via start parameter.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "epic-games/browse-discounted-games", "tag": "", "count": 5, "start": 0, "sort_by": "releaseDate", "category": "games/edition/base", "sort_dir": "ASC"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
category | string | No | Category filter path. Common values: 'games/edition/base', 'Game', 'Apps'. One of: games/edition/base, Game, Apps. |
count | integer | No | Number of items to return per page. |
sort_by | string | No | Sort field. |
sort_dir | string | No | Sort direction. |
start | integer | No | Pagination offset (0-based). |
tag | string | No | Genre or tag filter identifier used by the Epic Games Store API. Omitting returns all discounted games. |
Flat $0.03 per call. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/epic-games/browse-discounted-games" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tag": "",
"count": 5,
"start": 0,
"sort_by": "releaseDate",
"category": "games/edition/base",
"sort_dir": "ASC"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
tagstringGenre or tag filter identifier used by the Epic Games Store API. Omitting returns all discounted games.
countintegerNumber of items to return per page.
Mặc định: 40
startintegerPagination offset (0-based).
Mặc định: 0
sort_bystringSort field.
Mặc định: "releaseDate"
categorystringCategory filter path. Common values: 'games/edition/base', 'Game', 'Apps'.
Mặc định: "games/edition/base"
Giá trị có thể dùng: games/edition/base, Game, Apps
sort_dirstringSort direction.
Mặc định: "DESC"
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Epic Games Store | $0.03 mỗi lần gọi | JSON |
Epic Games Store | $0.03 mỗi lần gọi | JSON |
Epic Games Store | $0.03 mỗi lần gọi | JSON |
Epic Games Store | $0.03 mỗi lần gọi | JSON |
Epic Games Store | $0.03 mỗi lần gọi | JSON |
Epic Games Store | $0.03 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/epic-games/browse-discounted-games với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.03 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Không có tham số bắt buộc. Tùy chọn: tag (string), count (integer), start (integer), sort_by (string), category (một trong số games/edition/base, Game, Apps) và sort_dir (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).
Không. Epic Games Store Browse Discounted Games chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Epic Games Store.