Custom Search API
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी वेबसाइट या वेबसाइटों के संग्रह पर की जाने वाली खोजें
सेवा: customsearch.googleapis.com
इस सेवा को कॉल करने के लिए, हमारा सुझाव है कि आप Google की क्लाइंट लाइब्रेरी का इस्तेमाल करें. अगर इस सेवा को कॉल करने के लिए आपके ऐप्लिकेशन को आपकी खुद की लाइब्रेरी की ज़रूरत है, तो एपीआई अनुरोध करते समय यहां दी गई जानकारी का इस्तेमाल करें.
डिस्कवरी दस्तावेज़
डिस्कवरी दस्तावेज़ एक ऐसी खास जानकारी है जिसे मशीन आसानी से पढ़ सकती है. इससे REST API के बारे में जानकारी मिलती है और उसका इस्तेमाल किया जाता है. इसका इस्तेमाल क्लाइंट लाइब्रेरी, IDE प्लगिन, और Google API के साथ इंटरैक्ट करने वाले अन्य टूल बनाने के लिए किया जाता है. एक सेवा में, आपकी खोज से जुड़े कई दस्तावेज़ मिल सकते हैं. यह सेवा, खोज के लिए ये दस्तावेज़ उपलब्ध कराती है:
सर्विस एंडपॉइंट
सेवा एंडपॉइंट एक बेस यूआरएल होता है, जो किसी एपीआई सेवा के नेटवर्क पते के बारे में बताता है. एक सेवा में एक से ज़्यादा सेवा एंडपॉइंट हो सकते हैं. इस सेवा में नीचे दिया गया सर्विस एंडपॉइंट है और नीचे दिए गए सभी यूआरआई, इस सर्विस एंडपॉइंट से जुड़े हैं:
https://customsearch.googleapis.com
REST रिसॉर्स: cse
तरीके |
list |
GET /customsearch/v1
की गई खोज का मेटाडेटा, खोज के लिए इस्तेमाल किए गए इंजन का मेटाडेटा, और खोज के नतीजों की जानकारी देता है. |
तरीके |
list |
GET /customsearch/v1/siterestrict
की गई खोज का मेटाडेटा, खोज के लिए इस्तेमाल किए गए इंजन का मेटाडेटा, और खोज के नतीजों की जानकारी देता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Custom Search JSON API allows you to perform searches over a website or collection of websites.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are recommended for interacting with the service, but you can also use your own libraries by referring to the provided information for making API requests.\u003c/p\u003e\n"],["\u003cp\u003eThe service provides a discovery document for building tools and client libraries that interact with the Custom Search JSON API.\u003c/p\u003e\n"],["\u003cp\u003eThe service endpoint is \u003ccode\u003ehttps://customsearch.googleapis.com\u003c/code\u003e, and all URIs are relative to this endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers two REST resources, "cse" and "cse.siterestrict," which enable you to retrieve search results and metadata.\u003c/p\u003e\n"]]],[],null,["# Custom Search API\n\nSearches over a website or collection of websites\n\n- [REST Resource: cse](#cse)\n- [REST Resource: cse.siterestrict](#cse.siterestrict)\n\nService: customsearch.googleapis.com\n------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://www.googleapis.com/discovery/v1/apis/customsearch/v1/rest\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://customsearch.googleapis.com`\n\nREST Resource: [cse](/custom-search/v1/reference/rest/v1/cse)\n-------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| [list](/custom-search/v1/reference/rest/v1/cse/list) | `GET /customsearch/v1` Returns metadata about the search performed, metadata about the engine used for the search, and the search results. |\n\nREST Resource: [cse.siterestrict](/custom-search/v1/reference/rest/v1/cse.siterestrict)\n---------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [list](/custom-search/v1/reference/rest/v1/cse.siterestrict/list) | `GET /customsearch/v1/siterestrict` Returns metadata about the search performed, metadata about the engine used for the search, and the search results. |"]]