Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Yellow Pages Search Filters

Dokumentacja API
https://api.sandbase.ai/v1/api/yellowpages/search-filters

Get available search filters for a query and location. Returns quick filter options (e.g., 'OPEN 24 Hours') and nearby location refinements when available. Useful for discovering refinement options before narrowing a search.

Cena
$0.03USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
2 wymaganych · 0 opcjonalnych

Playground

Wejście
Search keyword (e.g., 'plumber', 'restaurant')
Location (e.g., 'new york ny', 'los angeles ca')
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Yellow Pages Search Filters API

Get available search filters for a query and location. Returns quick filter options (e.g., 'OPEN 24 Hours') and nearby location refinements when available. Useful for discovering refinement options before narrowing a search.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "yellowpages/search-filters", "query": "plumber", "location": "new york ny"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
locationstringYesLocation (e.g., 'new york ny', 'los angeles ca')
querystringYesSearch keyword (e.g., 'plumber', 'restaurant')

Pricing

Flat $0.03 per call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Yellow Pages$0.03 za wywołanieJSON
Yellow Pages$0.03 za wywołanieJSON
Yellow Pages$0.03 za wywołanieJSON
Yellow Pages$0.03 za wywołanieJSON
Yellow Pages$0.03 za wywołanieJSON
Yellow Pages$0.03 za wywołanieJSON

Pytania

FAQ

Jak używać API Yellow Pages Search Filters?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/yellowpages/search-filters 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.

Ile kosztuje API Yellow Pages Search Filters?

$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Yellow Pages Search Filters?

Wymagane: query (string) i location (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Yellow Pages Search Filters?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Yellow Pages lub klucza API?

Nie. Yellow Pages Search Filters 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 Yellow Pages.