game_slugstringwymagane
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).
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
game_slugstringwymaganeProduct 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/.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Epic Games Store | $0.03 za wywołanie | JSON |
Epic Games Store | $0.03 za wywołanie | JSON |
Epic Games Store | $0.03 za wywołanie | JSON |
Epic Games Store | $0.03 za wywołanie | JSON |
Epic Games Store | $0.03 za wywołanie | JSON |
Epic Games Store | $0.03 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/epic-games/game-details z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: game_slug (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. Epic Games Store Game Details działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Epic Games Store.