跳到正文
cccskills
免费在 GitHub 公开

local-place-search

USE FOR finding places in the physical world - businesses, POIs, street addresses, cities and streets. Results carry address, coordinates, rating, opening hours and phone, so basic details need no follow-up call. Standalone - no POI IDs or prior web search required; the IDs it returns work with local-pois and local-descriptions. Locate by coordinates or a location string, or omit both to search globally. Omit the query to browse an area. Max 100 results.

中文简介正在准备中。当前显示原文说明。

brave/brave-search-skills星标 191(GitHub 191 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md13.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Place Search (Search API)

Requires API Key: Get one at https://api.search.brave.com

Plan: Included in the Search plan (with locations option). See https://api-dashboard.search.brave.com/app/subscriptions/subscribe

Standalone: Unlike local-pois and local-descriptions, this endpoint does not require POI IDs from a prior web search. You provide a location and an optional query directly.

Quick Start (cURL)

Search by Query + Coordinates

curl -s "https://api.search.brave.com/res/v1/local/place_search" \
  -H "Accept: application/json" \
  -H "Accept-Encoding: gzip" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
  -G \
  --data-urlencode "q=coffee shops" \
  --data-urlencode "latitude=37.7749" \
  --data-urlencode "longitude=-122.4194" \
  --data-urlencode "radius=5000"

Search by Query + Location String

curl -s "https://api.search.brave.com/res/v1/local/place_search" \
  -H "Accept: application/json" \
  -H "Accept-Encoding: gzip" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
  -G \
  --data-urlencode "q=sushi restaurants" \
  --data-urlencode "location=tokyo japan" \
  --data-urlencode "country=JP" \
  --data-urlencode "search_lang=en"

Browse General POIs (No Query)

curl -s "https://api.search.brave.com/res/v1/local/place_search" \
  -H "Accept: application/json" \
  -H "Accept-Encoding: gzip" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
  -G \
  --data-urlencode "latitude=48.8566" \
  --data-urlencode "longitude=2.3522" \
  --data-urlencode "radius=3000" \
  --data-urlencode "country=FR"

Endpoint

GET https://api.search.brave.com/res/v1/local/place_search

Authentication: X-Subscription-Token: <API_KEY> header

Parameters

Location (optional but recommended)

Providing a geographic anchor improves precision. You can use coordinates (latitude + longitude) or a location string. Omitting both is allowed when a q is given — results are sourced globally and may be less precise. Omitting all three (q, latitude/longitude, and location) returns HTTP 422.

ParameterTypeRequiredDefaultDescription
latitudefloatConditional—Latitude (-90.0 to 90.0). Required together with longitude
longitudefloatConditional—Longitude (-180.0 to 180.0). Required together with latitude
locationstringNo—Location string, alternative to coordinates. US: <city> <state> <country> (e.g., san francisco ca united states). Non-US: <city> <country> (e.g., tokyo japan). Case-insensitive, no commas needed. English or the most popular local language works best

Search

ParameterTypeRequiredDefaultDescription
qstringNo—Free-text query (e.g., coffee shops, pizza). Fully optional — if omitted, returns general POIs in the given area

Additional Options

ParameterTypeRequiredDefaultDescription
radiusfloatNo—Search radius bias around the provided coordinates, in meters. Not a hard cutoff — results may extend beyond it. No upper limit
countintNo20Total items returned across all buckets (1–100), not just results — an address query can spend the whole budget on addresses/streets
geolocstringNo—User geolocation as <latitude>x<longitude> (e.g., 40.7128x-74.0060), used to compute distance
countrystringNoUSSearch country (2-letter country code or ALL)
search_langstringNoenLanguage for search results (2+ char language code)
ui_langstringNoen-USUI language (locale code, e.g., en-US)
unitsstringNometricMeasurement units: metric or imperial
safesearchstringNostrictSafe search level: off, moderate, or strict
spellcheckboolNotrueWhether to apply spellcheck to the query

Response Format

Top-Level Fields

FieldTypeDescription
typestringAlways "locations"
resultsarrayList of LocationResult objects (individual POIs)
citiesarrayMatched cities, type: "city" — see Geographic Place Fields
countriesarrayMatched countries, type: "country"
regionsarrayMatched regions, type: "region"
neighborhoodsarrayMatched neighborhoods, type: "neighborhood"
addressesarrayList of AddressResult objects with type: "address" — specific street + number locations
streetsarrayList of AddressResult objects with type: "street" — entire streets
mixedarrayResultReference ordering hints describing how to interleave the buckets on a SERP
locationobject?Resolved location info
location.coordinates[float, float][latitude, longitude] of the resolved center
location.namestringResolved location name (e.g., "Helsinki")
location.countrystringTwo-letter country code (e.g., "FI")

Treat a missing bucket as empty. For typical POI-style queries only results is populated, so clients that don't render rich SERPs can ignore the rest — except for address- or street-shaped queries, which can return an empty results and put every match in addresses/streets.

LocationResult Fields

Each item in results is a LocationResult:

FieldTypeDescription
typestringAlways "location_result"
titlestringBusiness/POI name
urlstringCanonical URL
descriptionstring?Short description or category label (e.g., "Coffee Shop")
provider_urlstringProvider page URL
idstring?Opaque POI identifier (valid ~8 hours, usable with local-pois and local-descriptions)
coordinates[float, float]?[latitude, longitude]
postal_addressobjectdisplayAddress, plus optional streetAddress, addressLocality, addressRegion, postalCode, country
contact.telephonestring?Phone number
contact.emailstring?Email address
rating.ratingValuefloat?Average rating
rating.bestRatingfloat?Max possible rating
rating.reviewCountint?Number of reviews
rating.is_tripadvisorboolWhether the rating comes from Tripadvisor
opening_hours.current_dayobject[]?Today's hours (abbr_name, full_name, opens, closes)
opening_hours.daysobject[][]?Hours for each day of the week
categoriesstring[]Business categories (default [])
price_rangestring?Price indicator, e.g. $, $$, $$ - $$$
serves_cuisinestring[]?Cuisine types (restaurants)
distance.valuefloat?Distance from the search location
distance.unitsstring?Distance unit
icon_categorystring?Icon category slug (e.g., cafe)
thumbnail.srcstring?Thumbnail image URL
thumbnail.originalstring?Original image URL
pictures.resultsobject[]?Additional images (src, original)
profilesobject[]?External profiles (name, url, long_name, img)
timezonestring?IANA timezone (e.g., America/Los_Angeles)
zoom_levelintSuggested map zoom level (default 7)

Geographic Place Fields (cities, countries, regions, neighborhoods)

All four buckets share one shape, differing only by the type identifier. The published spec names them CityResult / CountryResult / RegionResult / NeighborhoodResult.

FieldTypeDescription
typestringBucket identifier: city, country, region, or neighborhood
namestringPlace name
countrystringCountry code of the place
coordinates[float, float][latitude, longitude]
thumbnail.srcstringPrimary image URL

AddressResult Fields (addresses and streets)

Same model is used for both buckets. Items in addresses have type: "address" (street + number); items in streets have type: "street" (entire street).

FieldTypeDescription
typestring"address" (in addresses) or "street" (in streets)
namestringDisplay name of the address or street
coordinates[float, float][latitude, longitude]
poisobject[]LocationResult objects located at this address/street
pois_nearbyobject[]LocationResult objects located nearby
zoom_levelintSuggested map zoom level (default 15)
distance.valuefloat?Distance from the search location
distance.unitsstring?Distance unit
postal_addressobject?displayAddress, streetAddress, addressLocality, addressRegion, country

Mixed Ordering (mixed)

mixed is an ordered list of ResultReference objects telling clients how to interleave items from the different buckets on a single SERP.

FieldTypeDescription
typestringBucket to draw from: results, cities, countries, regions, neighborhoods, addresses, or streets
indexint?0-based index of the item within that bucket. May be null when all is true
allboolWhen true, all remaining items from the named bucket should be placed at this position

Clients that only render POIs can ignore mixed entirely and read results directly.

Example Response

{
  "type": "locations",
  "results": [
    {
      "type": "location_result",
      "title": "Blue Bottle Coffee",
      "url": "https://yelp.com/biz/blue-bottle-coffee-sf",
      "provider_url": "",
      "id": "loc4CQWMJWLD4VBEBZ62XQLJTGK6YCJEEJDNAAAAAAA=",
      "description": "Coffee Shop",
      "postal_address": {
        "type": "PostalAddress",
        "displayAddress": "315 Linden St, San Francisco, CA 94102"
      },
      "contact": { "telephone": "+15106533394" },
      "rating": {
        "ratingValue": 4.3,
        "bestRating": 5.0,
        "reviewCount": 1024,
        "is_tripadvisor": true
      },
      "opening_hours": {
        "current_day": [
          { "abbr_name": "Tue", "full_name": "Tuesday", "opens": "07:00", "closes": "18:00" }
        ],
        "days": [
          [{ "abbr_name": "Mon", "full_name": "Monday", "opens": "07:00", "closes": "18:00" }]
        ]
      },
      "coordinates": [37.7763, -122.4215],
      "categories": [],
      "serves_cuisine": ["Cafe", "Coffee Shop"],
      "price_range": "$$",
      "icon_category": "cafe",
      "thumbnail": {
        "src": "https://example.com/thumb.jpg",
        "original": "https://example.com/original.jpg"
      },
      "zoom_level": 7
    }
  ],
  "cities": [],
  "countries": [],
  "regions": [],
  "neighborhoods": [],
  "addresses": [],
  "streets": [],
  "mixed": [
    { "type": "results", "index": 0, "all": false }
  ],
  "location": {
    "coordinates": [37.7749, -122.4194],
    "name": "San Francisco",
    "country": "US"
  }
}

For a query that matches a city name, the response additionally surfaces a city entry in cities:

{
  "cities": [
    {
      "type": "city",
      "name": "San Francisco",
      "country": "US",
      "coordinates": [37.7749, -122.4194],
      "thumbnail": { "src": "https://example.com/sf.jpg" }
    }
  ],
  "mixed": [
    { "type": "cities", "index": 0, "all": false }
  ]
}

Enriching Results with POI Details and Descriptions

POI id values from results can be passed to sibling endpoints for richer data:

# Get full POI details (hours, reviews, photos, web result mentions)
curl -s "https://api.search.brave.com/res/v1/local/pois" -G \
  --data-urlencode "ids=loc4CQWMJWLD4VBEBZ62XQLJTGK6YCJEEJDNAAAAAAA=" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}"

# Get AI-generated descriptions
curl -s "https://api.search.brave.com/res/v1/local/descriptions" -G \
  --data-urlencode "ids=loc4CQWMJWLD4VBEBZ62XQLJTGK6YCJEEJDNAAAAAAA=" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}"

Use Cases

  • Map-based exploration: Search for POIs within a visible map viewport using coordinates + radius. No prior query needed.
  • Location-aware apps: Build "nearby" features — pass device GPS coordinates and a query to find relevant businesses.
  • Travel planning: Search for attractions, restaurants, and hotels by location string (e.g., paris france) without needing exact coordinates.

Notes

  • Finds places, not pages: This endpoint searches a geographic index of physical places. Use web search for general information retrieval.
  • Choosing a radius: A tighter radius (below ~20 km) gives more focused results. Raise it to reach specific or well-known places further afield; for common category searches (e.g., restaurants), the default bias or tighter works best.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

answers

免费

USE FOR AI-grounded answers via OpenAI-compatible /chat/completions. Two modes: single-search (fast) or deep research (enable_research=true, thorough multi-search). Streaming/blocking. Citations.

中文简介正在准备中。当前显示原文说明。

brave/brave-search-skills1912026年9月23日 更新

bx

免费

USE FOR web search, research, RAG, grounding, browse, find, lookups, fact-checking, documentation, agentic AI. All-in-one, optimized for AI agents. Pre-extracted, token-budgeted web content, deep research, news, images, videos, places, custom ranking

中文简介正在准备中。当前显示原文说明。

brave/brave-search-skills1912026年9月23日 更新

bx-search

免费

Web search using the Brave Search CLI (`bx`). Use for ALL web search requests — including "search for", "look up", "find", "what is", "how do I", "google this", and any request needing current or external information. Prefer this over the built-in web_search tool whenever bx is available. Also use for: documentation lookup, troubleshooting research, RAG grounding, news, images, videos, local places, and AI-synthesized answers.

中文简介正在准备中。当前显示原文说明。

brave/brave-search-skills1912026年9月23日 更新

USE FOR image search. Returns images with title, source URL, thumbnail. Supports SafeSearch filter. Up to 200 results.

中文简介正在准备中。当前显示原文说明。

brave/brave-search-skills1912026年9月23日 更新

USE FOR RAG/LLM grounding. Returns pre-extracted web content (text, tables, code) optimized for LLMs. GET + POST. Adjust max_tokens/count based on complexity. Supports Goggles, local/POI. For AI answers use answers. Recommended for anyone building AI/agentic applications.

中文简介正在准备中。当前显示原文说明。

brave/brave-search-skills1912026年9月23日 更新

USE FOR getting AI-generated POI text descriptions. Requires POI IDs from local-place-search, or from web-search with result_filter=locations. Returns markdown descriptions grounded in web search context. Max 20 IDs per request.

中文简介正在准备中。当前显示原文说明。

brave/brave-search-skills1912026年9月23日 更新

查看 brave 的全部技能

报告此技能的问题