Custom Search JSON API Reference
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
این مرجع API بر اساس نوع منبع سازماندهی شده است. هر نوع منبع دارای یک یا چند نمایش داده و یک یا چند روش است.
انواع منابع
- CSE
- Cse.siterestrict
CSE
برای جزئیات منابع CSE، صفحه نمایش منبع را ببینید.
روش | درخواست HTTP | شرح |
---|
URI های مربوط به https://www.googleapis.com، مگر اینکه خلاف آن ذکر شده باشد |
فهرست | GET /customsearch/v1 | روش cse.list فرادادههای مربوط به جستجوی انجامشده، ابردادههای مربوط به موتور جستجوی سفارشی مورد استفاده برای جستجو و نتایج جستجو را برمیگرداند.
پارامترهای پرس و جو مورد نیاز: cx , q |
Cse.siterestrict
برای جزئیات منبع Cse.siterestrict، صفحه نمایش منبع را ببینید.
روش | درخواست HTTP | شرح |
---|
URI های مربوط به https://www.googleapis.com، مگر اینکه خلاف آن ذکر شده باشد |
فهرست | GET /customsearch/v1/siterestrict | فرادادههای مربوط به جستجوی انجامشده، ابردادههای مربوط به موتور جستجوی سفارشی مورد استفاده برای جستجو و نتایج جستجو را برمیگرداند. از مجموعه کوچکی از الگوهای آدرس اینترنتی استفاده می کند. پارامترهای پرس و جو مورد نیاز: cx , q |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis API reference is organized by resource type, with each type having one or more data representations and methods.\u003c/p\u003e\n"],["\u003cp\u003eThe two main resource types are CSE and Cse.siterestrict, each with their own set of methods for interacting with them.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecse.list\u003c/code\u003e method allows you to retrieve metadata about a search, the custom search engine used, and the search results themselves using required query parameters \u003ccode\u003ecx\u003c/code\u003e and \u003ccode\u003eq\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSimilarly, the \u003ccode\u003esiterestrict.list\u003c/code\u003e method provides similar search metadata and results but utilizes a smaller set of URL patterns and also requires \u003ccode\u003ecx\u003c/code\u003e and \u003ccode\u003eq\u003c/code\u003e query parameters.\u003c/p\u003e\n"]]],[],null,["# Custom Search JSON API Reference\n\nThis API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.\n\nResource types\n--------------\n\n1. [CSE](#CSE)\n2. [Cse.siterestrict](#Cse.siterestrict)\n\nCSE\n---\n\nFor CSE Resource details, see the [resource representation](/custom-search/v1/cse#resource) page.\n\n| Method | HTTP request | Description |\n|------------------------------------|------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| URIs relative to https://www.googleapis.com, unless otherwise noted |||\n| [list](/custom-search/v1/cse/list) | `GET /customsearch/v1` | The [cse.list](#method_search.cse.list) method returns metadata about the search performed, metadata about the custom search engine used for the search, and the search results. \u003cbr /\u003e **Required query parameters:** `cx`, `q` |\n\nCse.siterestrict\n----------------\n\nFor Cse.siterestrict Resource details, see the [resource representation](/custom-search/v1/cse/siterestrict#resource) page.\n\n| Method | HTTP request | Description |\n|-------------------------------------------------|-------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| URIs relative to https://www.googleapis.com, unless otherwise noted |||\n| [list](/custom-search/v1/cse/siterestrict/list) | `GET /customsearch/v1/siterestrict` | Returns metadata about the search performed, metadata about the custom search engine used for the search, and the search results. Uses a small set of url patterns. \u003cbr /\u003e **Required query parameters:** `cx`, `q` |"]]