countrystring
Country code for pricing (e.g. US, GB, DE)
Domyślnie: "US"
https://api.sandbase.ai/v1/api/steam/featuredGet featured, special, trending, and top-selling products from the Steam store. Returns products grouped by category (specials, top_sellers, new_releases, coming_soon) with pricing and discount information. When category is specified, only that section is returned.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Get featured, special, trending, and top-selling products from the Steam store. Returns products grouped by category (specials, top_sellers, new_releases, coming_soon) with pricing and discount information. When category is specified, only that section is returned.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "steam/featured", "country": "US", "category": "specials"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
category | string | No | Category filter to return only one section |
country | string | No | Country code for pricing (e.g. US, GB, DE) |
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/steam/featured" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"country": "US",
"category": "specials"
}'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.
countrystringCountry code for pricing (e.g. US, GB, DE)
Domyślnie: "US"
categorystringCategory filter to return only one section
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ź |
|---|---|---|
Steam FeaturedTo API Steam | $0.03 za wywołanie | JSON |
Steam | $0.00015 za wywołanie | Asynchroniczny JSON |
Steam | $0.03 za wywołanie | JSON |
Steam | $0.00015 za wywołanie | Asynchroniczny JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/steam/featured 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.
Nie są wymagane żadne parametry. Opcjonalne: country (string) i category (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. Steam Featured 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 Steam.