The Fetch Web Content Data API allows you to perform custom searches and obtain detailed results directly from the world's most widely used search engine. This API delivers structured results based on a keyword or query term, returning data such as page title, description snippet, direct link, formatted URL, thumbnail, and rich content such as metadata, Open Graph tags, and social cards (e.g., Twitter Card).
Each result has the type customsearch#result and includes fields such as title, snippet, link, displayLink, formattedUrl, and HTML versions (htmlTitle, htmlSnippet, htmlFormattedUrl) that allow you to highlight matches. In addition, visual information is incorporated through pagemap, where you can access thumbnails (cse_thumbnail) and featured images (cse_image). Useful meta information is also obtained for integration with social platforms such as og:image, og:title, og:description, and twitter:card.
This allows you to leverage the power of Google search within your own platforms, displaying accurate and relevant results with a structure ready to be presented on websites, mobile applications, or dashboards.
To use this endpoint, you must specify a keyword in the parameter.
Search - Endpoint Features
| Object | Description |
|---|---|
q |
[Required] Enter a keyword |
[{"kind":"customsearch#result","title":"iPhone - Apple","htmlTitle":"<b>iPhone</b> - Apple","link":"https://www.apple.com/iphone/","displayLink":"www.apple.com","snippet":"Designed for Apple Intelligence. Discover the iPhone 16e along with iPhone 16 Pro, iPhone 16, and iPhone 15.","htmlSnippet":"Designed for Apple Intelligence. Discover the <b>iPhone</b> 16e along with <b>iPhone</b> 16 Pro, <b>iPhone</b> 16, and <b>iPhone</b> 15.","formattedUrl":"https://www.apple.com/iphone/","htmlFormattedUrl":"https://www.apple.com/<b>iphone</b>/","pagemap":{"cse_thumbnail":[{"src":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQj-SXGzFcW9StliE3aB91xU1a0XEsshFTv9UVCoj5As7FKT4uCqQm9DQIP&s","width":"310","height":"163"}],"BreadcrumbList":[{}],"metatags":[{"analytics-s-bucket-1":"applestoreww","og:image":"https://www.apple.com/v/iphone/home/cc/images/meta/iphone__kqge21l9n26q_og.png?202507301724","analytics-s-bucket-0":"applestoreww","og:type":"website","twitter:card":"summary_large_image","og:site_name":"Apple","al:ios:app_name":"Apple Store","globalnav-store-key":"SFX9YPYY9PPXCU9KH","og:title":"iPhone","al:ios:url":"https://www.apple.com/us/xc/iphone?cid=AOS_ASA","og:description":"Designed for Apple Intelligence. Discover the iPhone 16e along with iPhone 16 Pro, iPhone 16, and iPhone 15.","al:ios:app_store_id":"375380948","analytics-s-channel":"iphone","twitter:site":"@Apple","analytics-s-page-tracking-data":"{\"eVar70\": \"android\"}","viewport":"width=device-width, initial-scale=1, viewport-fit=cover","ac:pricing-alias":"iphone-16-pro=IPHONE16PRO","og:locale":"en_US","ac:tradein-alias":"tradein-iphone12=slug:model_iphone_12","ssmvt-data":"[{\"experimentId\":\"f0e52d\",\"variationId\":\"C\"}]","position":"1","og:url":"https://www.apple.com/iphone/","analytics-track":"iphone - index/tab","analytics-s-bucket-2":"applestoreww"}],"cse_image":[{"src":"https://www.apple.com/v/iphone/home/cc/images/meta/iphone__kqge21l9n26q_og.png?202507301724"}]}},{"kind":"customsearch#result","title":"iPhone - Wikipedia","htmlTitle":"<b>iPhone</b> - Wikipedia","link":"https://en.wikipedia.org/wiki/IPhone","displayLink":"en.wikipedia.org","snippet":"The iPhone is a line of smartphones developed and marketed by Apple Inc. that run iOS, the company's own mobile operating system. The first-generation ...","htmlSnippet":"The <b>iPhone</b> is a line of smartphones developed and marketed by Apple Inc. that run iOS, the company's own mobile operating system. The first-generation ...","formattedUrl":"https://en.wikipedia.org/wiki/IPhone","htmlFormattedUrl":"https://en.wikipedia.org/wiki/<b>IPhone</b>","pagemap":{"metatags":[{"referrer":"origin","og:image":"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/IPhone_16_Pro_Vector.svg/1200px-IPhone_16_Pro_Vector.svg.png","theme-color":"#eaecf0","og:image:width":"1200","og:type":"website","viewport":"width=device-width, initial-scale=1.0, user-scalable=yes, minimum-scale=0.25, maximum-scale=5.0","og:title":"iPhone - Wikipedia","og:image:height":"2461","format-detection":"telephone=no"}],"hproduct":[{"fn":"iPhone","url":"apple.com/iphone"}]}},{"kind":"customsearch#result","title":"Apple","htmlTitle":"Apple","link":"https://www.apple.com/","displayLink":"www.apple.com","snippet":"Discover the innovative world of Apple and shop everything iPhone, iPad, Apple Watch, Mac, and Apple TV, plus explore accessories, entertainment, ...","htmlSnippet":"Discover the innovative world of Apple and shop everything <b>iPhone</b>, iPad, Apple Watch, Mac, and Apple TV, plus explore accessories, entertainment, ...","formattedUrl":"https://www.apple.com/","htmlFormattedUrl":"https://www.apple.com/","pagemap":{"cse_thumbnail":[{"src":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS3FXTmbGhhVYBuhbY47TyPnaxOcRIiP3DCX4V_6ZgKR65gR84sxFGhi2U&s","width":"310","height":"163"}],"metatags":[{"analytics-s-bucket-1":"applestoreww","analytics-s-bucket-0":"applestoreww","og:image":"https://www.apple.com/ac/structured-data/images/open_graph_logo.png?202110180743","og:type":"website","og:site_name":"Apple","globalnav-store-key":"SFX9YPYY9PPXCU9KH","og:title":"Apple","og:description":"Discover the innovative world of Apple and shop everything iPhone, iPad, Apple Watch, Mac, and Apple TV, plus explore accessories, entertainment, and expert device support.","analytics-s-channel":"homepage","viewport":"width=device-width, initial-scale=1, viewport-fit=cover","og:locale":"en_US","og:url":"https://www.apple.com/","analytics-track":"Apple - Index/Tab","analytics-s-bucket-2":"applestoreww"}],"cse_image":[{"src":"https://www.apple.com/ac/structured-data/images/open_graph_logo.png?202110180743"}]}},{"kind":"customsearch#result","title":"r/iPhone","htmlTitle":"r/<b>iPhone</b>","link":"https://www.reddit.com/r/iphone/","displayLink":"www.reddit.com","snippet":"r/iphone: Reddit's little corner for iPhone lovers (and some people who just mildly enjoy it…)","htmlSnippet":"r/<b>iphone</b>: Reddit's little corner for <b>iPhone</b> lovers (and some people who just mildly enjoy it…)","formattedUrl":"https://www.reddit.com/r/iphone/","htmlFormattedUrl":"https://www.reddit.com/r/<b>iphone</b>/","pagemap":{"cse_thumbnail":[{"src":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSIdavNM8sk5fHPLXO2OdOBUBDBfHfnuGH6tXC7xcmo_xj1hy-QzHPqdBkx&s","width":"227","height":"222"}],"metatags":[{"og:image":"https://styles.redditmedia.com/t5_2qh2b/styles/communityIcon_ig9nr9020vnb1.jpg?format=pjpg&s=d099cbfa5c87f941a1e65a58a52a18047f151eaa","theme-color":"#000000","og:image:width":"256","og:type":"website","twitter:card":"summary","twitter:title":"r/iPhone","og:site_name":"Reddit","og:title":"r/iPhone","og:image:height":"256","bingbot":"noarchive","msapplication-navbutton-color":"#000000","og:description":"Reddit’s little corner for iPhone lovers (and some people who just mildly enjoy it…)","twitter:image":"https://styles.redditmedia.com/t5_2qh2b/styles/communityIcon_ig9nr9020vnb1.jpg?format=pjpg&s=d099cbfa5c87f941a1e65a58a52a18047f151eaa","apple-mobile-web-app-status-bar-style":"black","twitter:site":"@reddit","viewport":"width=device-width, initial-scale=1, viewport-fit=cover","apple-mobile-web-app-capable":"yes","og:ttl":"600","og:url":"https://www.reddit.com/r/iphone/"}],"cse_image":[{"src":"https://styles.redditmedia.com/t5_2qh2b/styles/communityIcon_ig9nr9020vnb1.jpg?format=pjpg&s=d099cbfa5c87f941a1e65a58a52a18047f151eaa"}]}},{"kind":"customsearch#result","title":"iPhone - Compare Models - Apple","htmlTitle":"<b>iPhone</b> - Compare Models - Apple","link":"https://www.apple.com/iphone/compare/","displayLink":"www.apple.com","snippet":"Compare features and technical specifications for iPhone 16 Pro, iPhone 16 Pro Max, iPhone 16, iPhone 16 Plus, iPhone 16e, and many more.","htmlSnippet":"Compare features and technical specifications for <b>iPhone</b> 16 Pro, <b>iPhone</b> 16 Pro Max, <b>iPhone</b> 16, <b>iPhone</b> 16 Plus, <b>iPhone</b> 16e, and many more.","formattedUrl":"https://www.apple.com/iphone/compare/","htmlFormattedUrl":"https://www.apple.com/<b>iphone</b>/compare/","pagemap":{"cse_thumbnail":[{"src":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSz9B53KzVjxS16U0yhgM_oEv4pLw_kqLl228KDu8-lpeSAHg_DApm1AUQY&s","width":"310","height":"163"}],"BreadcrumbList":[{}],"metatags":[{"analytics-s-bucket-1":"applestoreww","og:image":"https://www.apple.com/v/iphone/compare/ai/images/meta/compare__0kr7oqqwknma_og.png?202507301724","analytics-s-bucket-0":"applestoreww","og:type":"website","og:site_name":"Apple","globalnav-store-key":"SFX9YPYY9PPXCU9KH","og:title":"iPhone - Compare Models","og:description":"Compare features and technical specifications for iPhone 16 Pro, iPhone 16 Pro Max, iPhone 16, iPhone 16 Plus, iPhone 16e, and many more.","analytics-s-channel":"iphone.tab+other","viewport":"width=device-width, initial-scale=1, viewport-fit=cover","ac-custom-local-desc-start":"Compare features and technical specifications for the","og:locale":"en_US","ac:tradein-alias":"tradein-iphone12=slug:model_iphone_12","position":"1","og:url":"https://www.apple.com/iphone/compare/","ac-custom-local-desc-end":"and many more.","analytics-track":"iphone - compare","analytics-s-bucket-2":"applestoreww"}],"cse_image":[{"src":"https://www.apple.com/v/iphone/compare/ai/images/meta/compare__0kr7oqqwknma_og.png?202507301724"}]}},{"kind":"customsearch#result","title":"iPhone Repair and Service - Apple Support","htmlTitle":"<b>iPhone</b> Repair and Service - Apple Support","link":"https://support.apple.com/iphone/repair","displayLink":"support.apple.com","snippet":"Need to repair your iPhone? See your service options, their costs by coverage type, and how long they take.","htmlSnippet":"Need to repair your <b>iPhone</b>? See your service options, their costs by coverage type, and how long they take.","formattedUrl":"https://support.apple.com/iphone/repair","htmlFormattedUrl":"https://support.apple.com/<b>iphone</b>/repair","pagemap":{"cse_thumbnail":[{"src":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTdEyIxqj7ExppNkJKjZtJuqaGqgVBPzm3zYd6LUNtH7u-uJZtEqxfk3Mar&s","width":"263","height":"192"}],"Organization":[{"name":"Apple","telephone":"1-800-692-7753"}],"BreadcrumbList":[{}],"metatags":[{"og:type":"article","globalnav-search-field[locale]":"en_US","og:site_name":"Apple Support","globalnav-store-key":"S2A49YFKJF2JAT22K","og:title":"iPhone Repair and Service - Apple Support","globalnav-search-field[src]":"globalnav_support","globalnav-search-field[name]":"q","telephone":"1-800-692-7753","og:description":"Need to repair your iPhone? See your service options, their costs by coverage type, and how long they take.","globalnav-search-field[placeholder]":"Search Support","globalnav-search-field[action]":"https://support.apple.com/kb/index","viewport":"width=device-width, initial-scale=1, viewport-fit=cover","og:locale":"en_US","globalnav-search-field[type]":"organic","name":"Apple","globalnav-search-field[page]":"search"}]}},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/9172/fetch+web+content+data+api/16583/search?q=iphone' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API returns structured data from web searches, including page titles, description snippets, direct links, formatted URLs, thumbnails, and rich content like metadata and Open Graph tags.
Key fields include title, snippet, link, displayLink, formattedUrl, and HTML versions (htmlTitle, htmlSnippet, htmlFormattedUrl). These fields help highlight search matches effectively.
The response is structured as a JSON object containing an array of results. Each result includes fields for title, snippet, and visual elements like thumbnails, organized under the type customsearch#result.
The API provides information such as page titles, snippets, links, thumbnails, and rich metadata like Open Graph and Twitter Card data, enhancing content presentation.
The primary parameter is the keyword for the search query. Users can customize their requests by specifying additional filters or search options as supported by the API.
Users can display the title and snippet in search results, use links for navigation, and incorporate thumbnails and rich metadata for enhanced user engagement on their platforms.
The data is sourced from the world's most widely used search engine, ensuring a broad and comprehensive coverage of web content relevant to the specified queries.
Typical use cases include integrating search results into websites, mobile apps, and dashboards, enhancing user experience by providing relevant and structured web content.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
2,381ms
Service Level:
100%
Response Time:
12,041ms
Service Level:
100%
Response Time:
878ms
Service Level:
100%
Response Time:
10,154ms
Service Level:
100%
Response Time:
8,502ms
Service Level:
100%
Response Time:
1,374ms
Service Level:
100%
Response Time:
11,307ms
Service Level:
100%
Response Time:
256ms
Service Level:
100%
Response Time:
527ms
Service Level:
100%
Response Time:
1,463ms
Service Level:
100%
Response Time:
833ms
Service Level:
100%
Response Time:
376ms
Service Level:
100%
Response Time:
6,109ms
Service Level:
100%
Response Time:
1,415ms
Service Level:
67%
Response Time:
100ms
Service Level:
100%
Response Time:
746ms
Service Level:
100%
Response Time:
349ms
Service Level:
100%
Response Time:
849ms
Service Level:
100%
Response Time:
150ms
Service Level:
100%
Response Time:
906ms