Loading...
Loading...
USE FOR getting local business/POI details. Requires POI IDs obtained from web-search (with result_filter=locations). Returns full business information including ratings, hours, contact info. Max 20 IDs.
npx skill4agent add brave/brave-search-skills local-poisRequires API Key: Get one at https://api.search.brave.comPlan: Included in the Search plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribeTwo-step flow: This endpoint requires POI IDs from a prior web search.
- Call
withweb-searchto get POI IDs fromresult_filter=locationslocations.results[].id- Pass those IDs to this endpoint to get full business details
curl -s "https://api.search.brave.com/res/v1/local/pois" \
-H "Accept: application/json" \
-H "Accept-Encoding: gzip" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-G \
--data-urlencode "ids=loc4CQWMJWLD4VBEBZ62XQLJTGK6YCJEEJDNAAAAAAA="curl -s "https://api.search.brave.com/res/v1/local/pois" \
-H "Accept: application/json" \
-H "Accept-Encoding: gzip" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-H "X-Loc-Lat: 37.7749" \
-H "X-Loc-Long: -122.4194" \
-G \
--data-urlencode "ids=loc4CQWMJWLD4VBEBZ62XQLJTGK6YCJEEJDNAAAAAAA=" \
--data-urlencode "ids=loc4HTAVTJKP4RBEBZCEMBI3NG26YD4II4PATIHPDYI=" \
--data-urlencode "units=imperial"locations.results[].idweb-searchresult_filter=locations--data-urlencode=GET https://api.search.brave.com/res/v1/local/poisX-Subscription-Token: <API_KEY>| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| string[] | Yes | — | POI IDs from web search results (1-20) |
| string | No | | Language preference (2+ char language code) |
| string | No | | UI language (locale code, e.g., "en-US") |
| string | No | null | |
| Header | Type | Range | Description |
|---|---|---|---|
| float | -90.0 to 90.0 | User latitude |
| float | -180.0 to 180.0 | User longitude |
type: "local_pois"resultsLocationResult| Field | Type | Description |
|---|---|---|
| string | Business/POI name |
| string | Canonical URL for the location |
| string | Provider page URL |
| string | Always |
| string | POI identifier (opaque string, valid ~8 hours) |
| string? | Short description |
| string | Always |
| string | Formatted display address |
| string? | Street address |
| string? | City |
| string? | State/region |
| string? | Postal/ZIP code |
| string? | Country code |
| string? | Phone number |
| string? | Email address |
| float? | Average rating (≥0) |
| float? | Max possible rating |
| int? | Number of reviews |
| string? | Rating provider name |
| string? | Rating provider URL |
| object[]? | Today's hours ( |
| object[][]? | Hours for each day of the week (same structure) |
| [float, float]? | |
| float? | Distance from user location |
| string? | Distance unit ( |
| string[] | Business categories (default |
| string? | Price indicator ( |
| string[]? | Cuisine types (restaurants) |
| string? | Thumbnail image URL |
| string? | Original image URL |
| object[]? | External profiles ( |
| bool | Whether reviews in a foreign language are available |
| object[]? | Photo thumbnails |
| object? | Action to take — has |
| object[]? | Related web results ( |
| string? | IANA timezone (e.g., |
| int? | UTC timezone offset |
{
"type": "local_pois",
"results": [
{
"type": "location_result",
"title": "Park Mediterranean Grill",
"url": "https://yelp.com/biz/park-mediterranean-grill-sf",
"provider_url": "https://yelp.com/biz/park-mediterranean-grill-sf",
"id": "loc4CQWMJWLD4VBEBZ62XQLJTGK6YCJEEJDNAAAAAAA=",
"postal_address": {
"type": "PostalAddress",
"displayAddress": "123 Main St, San Francisco, CA 94102",
"streetAddress": "123 Main St",
"addressLocality": "San Francisco",
"addressRegion": "CA",
"postalCode": "94102",
"country": "US"
},
"contact": { "telephone": "+1 415-555-0123" },
"thumbnail": {
"src": "https://example.com/thumb.jpg",
"original": "https://example.com/original.jpg"
},
"rating": {
"ratingValue": 4.5,
"bestRating": 5.0,
"reviewCount": 234,
},
"opening_hours": {
"current_day": [
{ "abbr_name": "Mon", "full_name": "Monday", "opens": "07:00", "closes": "21:00" }
]
},
"coordinates": [37.7749, -122.4194],
"distance": { "value": 0.3, "units": "miles" },
"categories": ["Mediterranean", "Greek"],
"price_range": "$$",
"serves_cuisine": ["Mediterranean", "Greek"],
"timezone": "America/Los_Angeles"
}
]
}web-searchresult_filter=locations# 1. Search for local businesses
curl -s "https://api.search.brave.com/res/v1/web/search?q=coffee+shops+near+me&result_filter=locations" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-H "X-Loc-Lat: 37.7749" \
-H "X-Loc-Long: -122.4194"
# 2. Extract POI IDs from locations.results[].id
# 3. Use those IDs with this endpoint--data-urlencodemetricimperial