qstringआवश्यक
The user’s search query term. Query can not be empty. Maximum of 400 characters and 50 words in the query.
https://api.sandbase.ai/v1/api/brave/imagesImage Search from Brave. Returns the official Brave API response unchanged.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns image search results for a text query from Brave. Each result has the image URL, a thumbnail, the title, and the page that hosts the image. The only required input is q.
url of each result.source or meta_url.hostname.curl -X POST "https://api.sandbase.ai/v1/api/brave/images" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"q": "golden gate bridge"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
q | string | Yes | The user’s search query term. Query can not be empty. Maximum of 400 characters and 50 words in the query. |
count | integer | No | The number of search results returned in response. The maximum is 200. The actual number delivered may be less than requested. NOTE: Image search is not paginated and has no offset parameter. Raise count to get more resu |
country | string | No | The search query country, where the results come from. The country string is limited to 2 character country codes of supported countries and ALL for worldwide. |
safesearch | string | No | Filters search results for adult content. The following values are supported: off - No content filtering (except for illegal content). strict - Drops all adult content from search results. |
search_lang | string | No | The search language preference. The 2 or more character language code for which the search results are provided. |
spellcheck | boolean | No | Whether to spell check provided query. If the spell checker is enabled, the modified query is always used for search. The modified query can be found in altered key from the query response model. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"extra": {
"might_be_offensive": false
},
"query": {
"original": "golden gate bridge",
"show_strict_warning": false,
"spellcheck_off": false
},
"results": [
{
"confidence": "high",
"meta_url": {
"favicon": "https://imgs.search.brave.com/YSHe_5h9QnEav4cobHlGkLih-MR5YmLIBOWmywSPDz0/rs:fit…",
"hostname": "oceanusadventure.com",
"netloc": "oceanusadventure.com",
"path": "› golden-gate-bridge-photo-spots",
"scheme": "https"
},
"page_fetched": "2026-10-27T00:46:21Z",
"properties": {
"height": 683,
"placeholder": "https://imgs.search.brave.com/jy6Pk7D1t1371CbAKbTqpirvz_d_6xaL9A_it0-MbX0/rs:fit…",
"url": "https://oceanusadventure.com/wp-content/uploads/2025/02/DSC00616-min-1024x683.jp…",
"width": 1024
},
"source": "oceanusadventure.com",
"thumbnail": {
"height": 333,
"src": "https://imgs.search.brave.com/lSV2QLwhsI8RCUie7Uubj6f_jH7JYZ9eWA61tbjfrjs/rs:fit…",
"width": 500
},
"title": "Photo of the Golden Gate Bridge half in Fog from Battery Spencer Viewpoint",
"type": "image_result",
"url": "https://oceanusadventure.com/golden-gate-bridge-photo-spots/"
}
],
"type": "images"
}
| Field | Meaning |
|---|---|
results[].title | Title text of the image result, taken from the page that hosts it. |
results[].url | URL of the web page that contains the image. |
results[].properties.url | Direct URL of the full-size image file. |
results[].properties.width / results[].properties.height | Width and height of the full-size image. |
results[].thumbnail.src | URL of a smaller preview of the image, served through a Brave image proxy. |
results[].thumbnail.width / results[].thumbnail.height | Width and height of the thumbnail. |
results[].source | Domain name of the site that hosts the image. |
results[].meta_url.hostname / results[].meta_url.favicon | Hostname of the hosting page and the URL of its favicon. |
results[].confidence | Confidence label for the result, such as high. |
results[].page_fetched | ISO 8601 timestamp for when the hosting page was fetched. |
query.original | The query string as you sent it. |
count (up to 200) to get more results. The response may contain fewer results than requested.safesearch to off to remove adult content filtering. The default is strict.country and search_lang to change the market and language of the results.$0.005 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/brave/images" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": "golden gate bridge",
"count": 50,
"country": "US",
"safesearch": "strict",
"spellcheck": true,
"search_lang": "en"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
qstringआवश्यकThe user’s search query term. Query can not be empty. Maximum of 400 characters and 50 words in the query.
countintegerThe number of search results returned in response. The maximum is 200. The actual number delivered may be less than requested. NOTE: Image search is not paginated and has no offset parameter. Raise count to get more results.
डिफ़ॉल्ट: 50
countrystringThe search query country, where the results come from. The country string is limited to 2 character country codes of supported countries and ALL for worldwide.
डिफ़ॉल्ट: "US"
संभावित मान: AR, AU, AT, BE, BR, CA, CL, DK, FI, FR, DE, GR, HK, IN, ID, IT, JP, KR, MY, MX, NL, NZ, NO, CN, PL, PT, PH, RU, SA, ZA, ES, SE, CH, TW, TR, GB, US, ALL
safesearchstringFilters search results for adult content. The following values are supported: off - No content filtering (except for illegal content). strict - Drops all adult content from search results.
डिफ़ॉल्ट: "strict"
संभावित मान: off, strict
search_langstringThe search language preference. The 2 or more character language code for which the search results are provided.
डिफ़ॉल्ट: "en"
संभावित मान: ar, eu, bn, bg, ca, zh-hans, zh-hant, hr, cs, da, nl, en, en-gb, et, fi, fr, gl, de, el, gu, he, hi, hu, is, it, ja, jp, kn, ko, lv, lt, ms, ml, mr, nb, pl, pt-br, pt-pt, pa, ro, ru, sr, sk, sl, es, sv, ta, te, th, tr, uk, vi
spellcheckbooleanWhether to spell check provided query. If the spell checker is enabled, the modified query is always used for search. The modified query can be found in altered key from the query response model.
डिफ़ॉल्ट: true
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Brave Image Searchयह API Brave | $0.005 प्रति कॉल | JSON |
Brave | $0.01 प्रति कॉल | JSON |
Brave | $0.005 प्रति कॉल | JSON |
Brave | $0.005 प्रति कॉल | JSON |
Brave | $0.005 प्रति कॉल | JSON |
Brave | $0.005 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/brave/images पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.005 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: q (string)। वैकल्पिक: count (integer), country (AR, AU, AT, BE, BR, CA, CL, DK, FI, FR, DE, GR, HK, IN, ID, IT, JP, KR, MY, MX, NL, NZ, NO, CN, PL, PT, PH, RU, SA, ZA, ES, SE, CH, TW, TR, GB, US, ALL में से एक), safesearch (off, strict में से एक), search_lang (ar, eu, bn, bg, ca, zh-hans, zh-hant, hr, cs, da, nl, en, en-gb, et, fi, fr, gl, de, el, gu, he, hi, hu, is, it, ja, jp, kn, ko, lv, lt, ms, ml, mr, nb, pl, pt-br, pt-pt, pa, ro, ru, sr, sk, sl, es, sv, ta, te, th, tr, uk, vi में से एक) और spellcheck (boolean)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Brave Image Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Brave API access के लिए आवेदन करने की आवश्यकता नहीं है।