Precise Search API

The Precise Search API allows you to perform customized queries on Google with parameters such as keywords, language and dates, returning detailed and relevant results.

About the API: 

The Precise Search API provides easy and efficient access to perform customized queries on Google. It allows searching for specific terms using keywords with additional parameters such as language and date restriction, making it highly customizable. Users can search a wide variety of online content, obtaining results that include links, titles, short descriptions and formatted URLs. In addition, results can include thumbnail images, advanced metadata such as Open Graph tags or Twitter Cards, and other multimedia elements that enrich the search.
The main API endpoint receives a mandatory keyword for the search, while optional parameters allow results to be filtered by language using ISO 639-1 codes, or to restrict the search to specific dates. The returned results include a pagemap object that provides additional details about the content, such as images and metatags. This API is ideal for projects that require specific and detailed searches, such as content monitoring applications, media analysis or SEO tools.

API Documentation

Endpoints


To use this endpoint, perform a customized Google search, filtering results by language and specific dates.It returns links, titles and descriptions of the most relevant pages in real time.



                                                                            
GET https://zylalabs.com/api/5137/precise+search+api/6560/custom+search+query
                                                                            
                                                                        

Custom Search Query - Endpoint Features

Object Description
q [Required]
lang [Optional]
date_restrict [Optional]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"kind":"customsearch#result","title":"Lionel Messi - Wikipedia","htmlTitle":"Lionel <b>Messi</b> - Wikipedia","link":"https://en.wikipedia.org/wiki/Lionel_Messi","displayLink":"en.wikipedia.org","snippet":"Messi assumed captaincy of Barcelona in 2018, and won a record sixth Ballon d'Or in 2019. During his overall tenure at Barcelona, Messi won a club-record 34 ...","htmlSnippet":"<b>Messi</b> assumed captaincy of Barcelona in 2018, and won a record sixth Ballon d&#39;Or in 2019. During his overall tenure at Barcelona, <b>Messi</b> won a club-record 34&nbsp;...","formattedUrl":"https://en.wikipedia.org/wiki/Lionel_Messi","htmlFormattedUrl":"https://en.wikipedia.org/wiki/Lionel_<b>Messi</b>","pagemap":{"hcard":[{"role":"Forward","bday":"1987-06-24","fn":"Lionel Messi","nickname":"Lionel Andrés Messi[1]"}],"person":[{"role":"Forward","org":"Inter Miami","location":"Argentina"}],"metatags":[{"referrer":"origin","og:image":"https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Lionel-Messi-Argentina-2022-FIFA-World-Cup_sharpness.jpg/1200px-Lionel-Messi-Argentina-2022-FIFA-World-Cup_sharpness.jpg","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":"Lionel Messi - Wikipedia","og:image:height":"1602","format-detection":"telephone=no"}]}},{"kind":"customsearch#result","title":"[Sky Sports] Mikel Arteta rates Lionel Messi over Pele, Maradona ...","htmlTitle":"[Sky Sports] Mikel Arteta rates Lionel <b>Messi</b> over Pele, Maradona ...","link":"https://www.reddit.com/r/soccer/comments/1fo6rin/sky_sports_mikel_arteta_rates_lionel_messi_over/","displayLink":"www.reddit.com","snippet":"2 days ago ... ... Messi GOAT conversations began when he was still only 23-24 because he was quite literally that good. This was before Messi or Ronaldo ...","htmlSnippet":"2 days ago <b>...</b> ... <b>Messi</b> GOAT conversations began when he was still only 23-24 because he was quite literally that good. This was before <b>Messi</b> or Ronaldo&nbsp;...","formattedUrl":"https://www.reddit.com/.../sky_sports_mikel_arteta_rates_lionel_messi_ove...","htmlFormattedUrl":"https://www.reddit.com/.../sky_sports_mikel_arteta_rates_lionel_<b>messi</b>_ove...","pagemap":{"cse_thumbnail":[{"src":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSk9RCZpY1r-dtpvjV7adW4ZAmAAWhaUjUxsUfEzANUJskZgauqgmw-JeG5&s","width":"225","height":"225"}],"metatags":[{"og:image":"https://external-preview.redd.it/sky-sports-mikel-arteta-rates-lionel-messi-over-pele-v0-d2RqYzBwcW9rcHFkMbL-4lWxPGmmEVj2f_O1KHa_pVLZ6LkVCq2JvfZHofCd.png?format=pjpg&auto=webp&s=4a707a3dcbe8c188317224c9a5b81dfd17a066c0","theme-color":"#000000","og:image:width":"720","og:type":"website","twitter:card":"summary_large_image","twitter:title":"r/soccer on Reddit: [Sky Sports] Mikel Arteta rates Lionel Messi over Pele, Maradona and Cristiano Ronaldo.","og:site_name":"Reddit","og:title":"r/soccer on Reddit: [Sky Sports] Mikel Arteta rates Lionel Messi over Pele, Maradona and Cristiano Ronaldo.","og:image:height":"720","msapplication-navbutton-color":"#000000","og:description":"Posted by u/phpHater0 - 1,316 votes and 353 comments","twitter:image":"https://external-preview.redd.it/sky-sports-mikel-arteta-rates-lionel-messi-over-pele-v0-d2RqYzBwcW9rcHFkMbL-4lWxPGmmEVj2f_O1KHa_pVLZ6LkVCq2JvfZHofCd.png?format=pjpg&auto=webp&s=4a707a3dcbe8c188317224c9a5b81dfd17a066c0","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/soccer/comments/1fo6rin/sky_sports_mikel_arteta_rates_lionel_messi_over/"}],"cse_image":[{"src":"https://external-preview.redd.it/sky-sports-mikel-arteta-rates-lionel-messi-over-pele-v0-d2RqYzBwcW9rcHFkMbL-4lWxPGmmEVj2f_O1KHa_pVLZ6LkVCq2JvfZHofCd.png?format=pjpg&auto=webp&s=4a707a3dcbe8c188317224c9a5b81dfd17a066c0"}]}},{"kind":"customsearch#result","title":"Leo Messi (@leomessi) • Instagram photos and videos","htmlTitle":"Leo <b>Messi</b> (@leomessi) • Instagram photos and videos","link":"https://www.instagram.com/leomessi/?hl=en","displayLink":"www.instagram.com","snippet":"Bienvenidos a la cuenta oficial de Instagram de Leo Messi / Welcome to the official Leo Messi Instagram account.","htmlSnippet":"Bienvenidos a la cuenta oficial de Instagram de Leo <b>Messi</b> / Welcome to the official Leo <b>Messi</b> Instagram account.","formattedUrl":"https://www.instagram.com/leomessi/?hl=en","htmlFormattedUrl":"https://www.instagram.com/leo<b>messi</b>/?hl=en","pagemap":{"metatags":[{"og:image":"https://scontent-atl3-2.cdninstagram.com/v/t51.2885-19/424905549_7243065989106669_45026390061580919_n.jpg?stp=dst-jpg_s100x100&_nc_cat=1&ccb=1-7&_nc_sid=fcb8ef&_nc_ohc=7l1f4z5hTJwQ7kNvgFaLfMO&_nc_ht=scontent-atl3-2.cdninstagram.com&oh=00_AYAoFHROaVbFOsMAMBdhpcJlg_IpK27tpk_-ozw76mwHew&oe=66F9DCF1","theme-color":"#FFFFFF","og:type":"profile","al:ios:app_name":"Instagram","og:title":"Leo Messi (@leomessi) • Instagram photos and videos","al:android:package":"com.instagram.android","bingbot":"noarchive","al:ios:url":"instagram://user?username=leomessi","color-scheme":"light","og:description":"504M Followers, 331 Following, 1,259 Posts - See Instagram photos and videos from Leo Messi (@leomessi)","al:ios:app_store_id":"389801252","al:android:url":"https://instagram.com/_u/leomessi/","apple-mobile-web-app-status-bar-style":"default","viewport":"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, viewport-fit=cover","mobile-web-app-capable":"yes","og:url":"https://www.instagram.com/leomessi/","al:android:app_name":"Instagram"}],"cse_image":[{"src":"https://scontent-atl3-2.cdninstagram.com/v/t51.2885-19/424905549_7243065989106669_45026390061580919_n.jpg?stp=dst-jpg_s100x100&_nc_cat=1&ccb=1-7&_nc_sid=fcb8ef&_nc_ohc=7l1f4z5hTJwQ7kNvgFaLfMO&_nc_ht=scontent-atl3-2.cdninstagram.com&oh=00_AYAoFHROaVbFOsMAMBdhpcJlg_IpK27tpk_-ozw76mwHew&oe=66F9DCF1"}]}},{"kind":"customsearch#result","title":"Lionel Messi - Player profile 2024 | Transfermarkt","htmlTitle":"Lionel <b>Messi</b> - Player profile 2024 | Transfermarkt","link":"https://www.transfermarkt.com/lionel-messi/profil/spieler/28003","displayLink":"www.transfermarkt.com","snippet":"Jun 13, 2024 ... Lionel Messi, 37, from Argentina ➤ Inter Miami CF, since 2023 ➤ Right Winger ➤ Market value: €30.00m ➤ * Jun 24, 1987 in Rosario, Argentina.","htmlSnippet":"Jun 13, 2024 <b>...</b> Lionel <b>Messi</b>, 37, from Argentina ➤ Inter Miami CF, since 2023 ➤ Right Winger ➤ Market value: €30.00m ➤ * Jun 24, 1987 in Rosario, Argentina.","formattedUrl":"https://www.transfermarkt.com/lionel-messi/profil/spieler/28003","htmlFormattedUrl":"https://www.transfermarkt.com/lionel-<b>messi</b>/profil/spieler/28003","pagemap":{"cse_thumbnail":[{"src":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT7GUThLzfCfoOGAHRJPH3KwLbvGPGEr8yrSOdNxCz6CHBpRLTWXwX9YM7I&s","width":"197","height":"256"}],"person":[{"birthdate":"Jun 24, 1987 (37)","birthplace":"Rosario","nationality":"Argentina","affiliation":"Miami","height":"1,70 m"}],"metatags":[{"og:image":"https://img.a.transfermarkt.technology/portrait/big/28003-1710080339.jpg?lm=1","og:type":"article","viewport":"width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=no","og:title":"Lionel Messi - Player profile 2024","og:url":"https://www.transfermarkt.com/lionel-messi/profil/spieler/28003"}],"cse_image":[{"src":"https://img.a.transfermarkt.technology/portrait/big/28003-1710080339.jpg?lm=1"}]}},{"kind":"customsearch#result","title":"Team Messi (@TeamMessi) / X","htmlTitle":"Team <b>Messi</b> (@TeamMessi) / X","link":"https://twitter.com/teammessi?lang=en","displayLink":"twitter.com","snippet":"The official twitter account of Team Messi - a global fan movement founded by adidas to celebrate everything Messi.","htmlSnippet":"The official twitter account of Team <b>Messi</b> - a global fan movement founded by adidas to celebrate everything <b>Messi</b>.","formattedUrl":"https://twitter.com/teammessi?lang=en","htmlFormattedUrl":"https://twitter.com/team<b>messi</b>?lang=en","pagemap":{"cse_thumbnail":[{"src":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSNEHQnJ26PmCF47aGQi2pjotp1upwF7eN7uGwSJ-YYI6MRRXR7Sz3C9qE&s","width":"200","height":"200"}],"imageobject":[{"contenturl":"https://pbs.twimg.com/media/EKzwyfyWkAANqbI.jpg","width":"2048","caption":"Image","thumbnailurl":"https://pbs.twimg.com/media/EKzwyfyWkAANqbI?format=jpg&name=thumb"},{"contenturl":"https://pbs.twimg.com/media/F9tlsgWWcAAR_Ph.jpg","width":"1080","caption":"Image","thumbnailurl":"https://pbs.twimg.com/media/F9tlsgWWcAAR_Ph?format=jpg&name=thumb"},{"contenturl":"https://pbs.twimg.com/media/FqATMYsXoAIO0_B.jpg","width":"4096","caption":"Image","thumbnailurl":"https://pbs.twimg.com/media/FqATMYsXoAIO0_B?format=jpg&name=thumb"},{"contenturl":"https://pbs.twimg.com/media/EuA653EXYAsaC30.jpg","width":"2048","caption":"Image","thumbnailurl":"https://pbs.twimg.com/media/EuA653EXYAsaC30?format=jpg&name=thumb"},{"contenturl":"https://pbs.twimg.com/media/EuA653GXAAAkVYw.jpg","width":"2048","caption":"Image","thumbnailurl":"https://pbs.twimg.com/media/EuA653GXAAAkVYw?format=jpg&name=thumb"},{"contenturl":"https://pbs.twimg.com/media/ERZZ4XGWoAABYpT.jpg","width":"2048","caption":"Image","thumbnailurl":"https://pbs.twimg.com/media/ERZZ4XGWoAABYpT?format=jpg&name=thumb"},{"contenturl":"https://pbs.twimg.com/media/ERZaFQ9W4AAyzEo.jpg","width":"1280","caption":"Image","thumbnailurl":"https://pbs.twimg.com/media/ERZaFQ9W4AAyzEo?format=jpg&name=thumb"},{"contenturl":"https://pbs.twimg.com/media/EK2wNGXWsAIYVNM.jpg","width":"1024","caption":"Image","thumbnailurl":"https://pbs.twimg.com/media/EK2wNGXWsAIYVNM?format=jpg&name=thumb"},{"contenturl":"https://pbs.twimg.com/media/EIEz8edW4AEKNuJ.jpg","width":"1920","caption"...
                                                                                                                                                                                                                    
                                                                                                    

Custom Search Query - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5137/precise+search+api/6560/custom+search+query?q=Messi&lang=en&date_restrict=2024-08-01' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Precise Search API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Send a GET request with parameters such as keywords, language and dates to get personalized and relevant results from Google.

The Precise Search API it is an API that allows you to perform customized Google searches, returning results filtered by keyword, language and date restrictions.

Receives keywords, language and date as input and provides customized search results in JSON format.

Online content monitoring by keyword or specific event. SEO applications that require precise and filtered searches. Media and news analysis tools based on customized queries.

Beside the number of API calls per month allowed, there are no other limitations.

There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.

The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.

The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the ‘X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The ‘X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
541ms

Category:


Related APIs