game_slugstringwajib
Product URL slug from the Epic Games Store product page URL (e.g. 'fortnite', 'ghostrunner-2'). Obtainable from the product_url field of other endpoints by extracting the last path segment after /p/.
https://api.sandbase.ai/v1/api/epic-games/game-detailsFetches full details for a specific game on the Epic Games Store by its URL slug. Returns description, pricing, genres, features, ratings, media gallery, and publisher info. Requires multiple GraphQL round-trips internally (mapping lookup, offer fetch, ratings).
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Fetches full details for a specific game on the Epic Games Store by its URL slug. Returns description, pricing, genres, features, ratings, media gallery, and publisher info. Requires multiple GraphQL round-trips internally (mapping lookup, offer fetch, ratings).
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "epic-games/game-details", "game_slug": "fortnite"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
game_slug | string | Yes | Product URL slug from the Epic Games Store product page URL (e.g. 'fortnite', 'ghostrunner-2'). Obtainable from the product_url field of other endpoints by extracting the last path segment after /p/. |
Flat $0.03 per call. Failed calls are not charged.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/epic-games/game-details" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"game_slug": "fortnite"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
game_slugstringwajibProduct URL slug from the Epic Games Store product page URL (e.g. 'fortnite', 'ghostrunner-2'). Obtainable from the product_url field of other endpoints by extracting the last path segment after /p/.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Epic Games Store | $0.03 per panggilan | JSON |
Epic Games Store | $0.03 per panggilan | JSON |
Epic Games Store | $0.03 per panggilan | JSON |
Epic Games Store | $0.03 per panggilan | JSON |
Epic Games Store | $0.03 per panggilan | JSON |
Epic Games Store | $0.03 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/epic-games/game-details dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.03 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: game_slug (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).
Tidak. Epic Games Store Game Details berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Epic Games Store secara terpisah.