Skip to main content

SERP API

Introduction​

The SERP API retrieves search results from Google based on specified query parameters. It allows you to perform Google searches programmatically while customizing aspects such as the search query, location, language, device, and more.

To use this API, subscribe to a plan here and connect to:


GET https://api.ujeebu.com/serp

Parameters​

NameTypeDescriptionDefault Value
url REQUIREDstringURL of the search page to retrieve.-
searchstringThe search query to perform on Google.-
search_typestringSpecifies the type of search. Possible values include 'web', 'images', 'news', 'videos', etc.web
langstringLanguage of search results. Expects an ISO 639-1 language code (e.g., 'en' for English, 'es' for Spanish).en
locationstringGeographic location for the search (e.g., city, state, or country).-
devicestringThe type of device to simulate during the search. Possible values: 'desktop', 'mobile', 'tablet'.desktop
results_countnumberThe maximum number of results to retrieve per page.10
pagenumberThe specific results page to retrieve, for paginated searches.1
extra_paramsstringAdditional custom query parameters to include in the search query (e.g., '&safe=active').-

Responses​

StatusMeaningDescriptionSchema
200OKsuccessful operationSuccessResponse
400Bad RequestInvalid parameter valueAPIResponseError

Schemas​

Success Response Schema​

{
"status": "ok",
"data": [
{
"title": "Result Title",
"url": "https://www.example.com",
"snippet": "A preview snippet or description of the search result.",
"display_url": "www.example.com"
}
],
"pagination": {
"current_page": 1,
"total_pages": 10,
"results_per_page": 10,
"total_results": 100
}
}

Error Response Schema​

{
"status": "error",
"message": "Description of the error.",
"code": 400
}

Credits​

All SERP requests are billed at 25 credit per successful request.

info

Consumed credits are returned in the Ujb-credits header

Examples​

Use the following example to perform a standard web search on Google. Pass parameters like search term, language, and results count as needed.

curl --location 'https://api.ujeebu.com/serp?timeout=90000&lang=en&results_count=10&search=Nikola%20Tesla' \
--header 'ApiKey: <API Key>'
curl --location 'https://api.ujeebu.com/serp?timeout=90000&lang=en&results_count=10&search=Nikola%20Tesla' \
--header 'ApiKey: <API Key>'

The example code provided returns a JSON response formatted as follows:

{
"knowledge_graph": {
"born": "July 10, 1856, Smiljan, Croatia",
"died": "January 7, 1943 (age 86\u00a0years), The New Yorker A Wyndham Hotel, New York, NY",
"education": "TU Graz (1875\u20131878), Gimnazija Karlovac (1870\u20131873)",
"height": "6\u2032 2\u2033",
"parents": "Milutin Tesla, \u0110uka Tesla",
"siblings": "Dane Tesla, Angelina Tesla, Milka Tesla, Marica Kosanovi\u0107",
"title": "Nikola Tesla",
"type": "Engineer and futurist"
},
"metadata": {
"google_url": "https:\/\/www.google.com\/search?hl=en&num=10&q=Nikola+Tesla&sei=mbCgZ9brKuPekPIP3b-p8QY",
"number_of_results": 30700000,
"query_displayed": "Nikola Tesla",
"results_time": "0.24 seconds"
},
"organic_results": [
{
"cite": "https:\/\/en.wikipedia.org \u203a wiki \u203a Nikola_Tesla",
"link": "https:\/\/en.wikipedia.org\/wiki\/Nikola_Tesla",
"position": 1,
"site_name": "Wikipedia",
"title": "Nikola Tesla"
},
{
"cite": "https:\/\/www.britannica.com \u203a ... \u203a Matter & Energy",
"link": "https:\/\/www.britannica.com\/biography\/Nikola-Tesla",
"position": 2,
"site_name": "Britannica",
"title": "Nikola Tesla | Biography, Facts, & Inventions"
},
{
"cite": "https:\/\/www.biography.com \u203a inventors \u203a nikola-tesla",
"link": "https:\/\/www.biography.com\/inventors\/nikola-tesla",
"position": 3,
"site_name": "Biography",
"title": "Nikola Tesla: An Electric Inventor"
},
{
"cite": "http:\/\/www.teslasociety.com \u203a biography",
"link": "http:\/\/www.teslasociety.com\/biography.htm",
"position": 4,
"site_name": "Tesla Memorial Society of New York",
"title": "Tesla's Biography"
},
{
"cite": "https:\/\/lemelson.mit.edu \u203a resources \u203a nikola-tesla",
"link": "https:\/\/lemelson.mit.edu\/resources\/nikola-tesla",
"position": 5,
"site_name": "Lemelson-MIT",
"title": "Nikola Tesla"
},
{
"cite": "https:\/\/www.history.com \u203a Topics \u203a Inventions & Science",
"link": "https:\/\/www.history.com\/topics\/inventions\/nikola-tesla",
"position": 6,
"site_name": "History.com",
"title": "Nikola Tesla \u2011 Inventions, Facts & Death"
},
{
"cite": "http:\/\/www.pbs.org \u203a tesla \u203a ll_whoradio",
"description": "With his newly created Tesla coils, the inventor soon discovered that he could transmit and receive powerful radio signals when they were tuned to resonate\u00a0...",
"link": "http:\/\/www.pbs.org\/tesla\/ll\/ll_whoradio.html",
"position": 7,
"site_name": "PBS",
"title": "Master of Lightning: Who Invented Radio? - Tesla"
},
{
"cite": "https:\/\/teslasciencecenter.org \u203a nikola-tesla-inventions",
"link": "https:\/\/teslasciencecenter.org\/nikola-tesla-inventions\/",
"position": 8,
"site_name": "Tesla Science Center at Wardenclyffe -",
"title": "Nikola Tesla Inventions"
},
{
"cite": "https:\/\/theoatmeal.com \u203a comics \u203a tesla",
"link": "https:\/\/theoatmeal.com\/comics\/tesla",
"position": 9,
"site_name": "The Oatmeal",
"title": "Why Nikola Tesla was the greatest geek who ever lived"
}
],
"pagination": {
"current": "https:\/\/google.com\/search?hl=en&num=10&q=Nikola+Tesla&",
"next": "https:\/\/google.com\/search?hl=en&num=10&q=Nikola+Tesla&start=20&tbm=&",
"other_pages": {
"3": "https:\/\/google.com\/search?hl=en&num=10&q=Nikola+Tesla&start=30&tbm=&",
"4": "https:\/\/google.com\/search?hl=en&num=10&q=Nikola+Tesla&start=40&tbm=&",
"5": "https:\/\/google.com\/search?hl=en&num=10&q=Nikola+Tesla&start=50&tbm=&",
"6": "https:\/\/google.com\/search?hl=en&num=10&q=Nikola+Tesla&start=60&tbm=&"
}
},
"related_questions": [
"What was Nikola Tesla famous for?",
"How many hours did Nikola Tesla sleep?",
"Why was Tesla's work destroyed?",
"What was Tesla's 369 theory?"
],
"top_stories": null,
"videos": [
{
"author": "Newsthink",
"date": "Jul 16, 2020",
"link": "https:\/\/www.google.com\/search?hl=en&num=10&q=Nikola+Tesla&sei=mbCgZ9brKuPekPIP3b-p8QY#",
"title": "The Tragic Story of Nikola Tesla"
},
{
"author": "HISTORY",
"date": "May 2, 2023",
"link": "https:\/\/www.google.com\/search?hl=en&num=10&q=Nikola+Tesla&sei=mbCgZ9brKuPekPIP3b-p8QY#",
"title": "Ancient Aliens: The Mysteries of Nikola Tesla (S8, E6) | Full ..."
},
{
"author": "The Tesla Space",
"date": "Aug 6, 2023",
"link": "https:\/\/www.google.com\/search?hl=en&num=10&q=Nikola+Tesla&sei=mbCgZ9brKuPekPIP3b-p8QY#",
"title": "The Tragic Story of Nikola Tesla - Documentary"
}
]
}

If you want to perform a Google News search, you can use the following example query. This retrieves results specific to news articles based on the specified search term.

curl --location 'https://api.ujeebu.com/serp?results_count=20&search_type=news&search=Donald%20Trump' \
--header 'ApiKey: <API Key>'
curl --location 'https://api.ujeebu.com/serp?results_count=20&search_type=news&search=Donald%20Trump' \
--header 'ApiKey: <API Key>'

The example code provided returns a JSON response formatted as follows:

{
"metadata": {
"google_url": "https:\/\/www.google.com\/search?hl=en&num=10&q=Donald+Trump&tbm=nws",
"number_of_results": 64700000,
"query_displayed": "Donald Trump",
"results_time": "0.31 seconds"
},
"news": [
{
"date": "8 hours ago",
"description": "President Donald Trump signed stiff new tariffs on Mexico, Canada and China on Saturday, fulfilling a campaign promise to impose significant...",
"link": "https:\/\/www.cnn.com\/politics\/live-news\/trump-tariffs-presidency-news-02-02-25\/index.html",
"position": 1,
"siteName": "CNN",
"title": "February 2, 2025: Donald Trump presidency news"
},
{
"date": "12 hours ago",
"description": "Trump takes softer line on UK, while Mexico and Canada vow levies and to strengthen ties with each other.",
"link": "https:\/\/www.theguardian.com\/us-news\/2025\/feb\/02\/trump-tariffs-mexico-canada-china-retaliation",
"position": 2,
"siteName": "The Guardian",
"title": "Trump says EU tariffs will \u2018definitely happen\u2019 as Mexico, Canada and China retaliate"
},
{
"date": "54 minutes ago",
"description": "Entities behind President Donald Trump's crypto coin have accumulated close to $100 million in trading fees in less than two weeks,...",
"link": "https:\/\/www.reuters.com\/markets\/currencies\/trumps-meme-coin-made-nearly-100-million-trading-fees-small-traders-lost-money-2025-02-03\/",
"position": 3,
"siteName": "Reuters",
"title": "Exclusive: Trump's meme coin made nearly $100 million in trading fees, as small traders lost money"
},
{
"date": "LIVE12 minutes ago",
"description": "US and Canadian leaders due to speak today with Trump saying he will also hold discussions with Mexcio.",
"link": "https:\/\/www.theguardian.com\/us-news\/live\/2025\/feb\/03\/donald-trump-trade-tariffs-eu-mexico-canada-china-us-politics-live",
"position": 4,
"siteName": "The Guardian",
"title": "Trump and Trudeau to discuss trade tariffs \u2013 US politics live"
},
{
"date": "3 hours ago",
"description": "President Cyril Ramaphosa last month signed into law a bill aimed at speeding up land reform.",
"link": "https:\/\/www.bbc.com\/news\/articles\/cn01z1yy0jno",
"position": 5,
"siteName": "BBC",
"title": "Donald Trump to cut off funding for South Africa over land seizure policy"
},
{
"date": "11 hours ago",
"description": "President Donald Trump says Americans could feel \u201csome pain\u201d from the emerging trade war triggered by his tariffs against Canada, Mexico and...",
"link": "https:\/\/apnews.com\/article\/trump-tariffs-canada-mexico-china-trade-surplus-3010e6368545e2976feb5ac6b41e528e",
"position": 6,
"siteName": "AP News",
"title": "Trump says Americans could feel \u2018some pain\u2019 from tariffs as he threatens more import taxes"
},
{
"date": "16 hours ago",
"description": "Dozens of employees who attended a diversity training course encouraged by former Education Secretary Betsy DeVos during President Donald...",
"link": "https:\/\/www.nbcnews.com\/politics\/donald-trump\/union-official-education-department-employees-leave-dei-training-rcna190337",
"position": 7,
"siteName": "NBC News",
"title": "Union official says Education Department employees were placed on leave after taking diversity training during Trump\u2019s first term"
},
{
"date": "LIVE8 minutes ago",
"description": "The US president is set to hold talks with the leaders of Mexico and Canada to discuss the punishing tariffs.",
"link": "https:\/\/www.aljazeera.com\/news\/liveblog\/2025\/2\/3\/trump-live-news-tariffs-spook-asian-markets-musk-says-usaid-should-die",
"position": 8,
"siteName": "Al Jazeera",
"title": "Trump tariffs live: EU shares tumble after Canada, China, Mexico trade wars"
},
{
"date": "17 hours ago",
"description": "The framers of the Constitution imagined Congress as the preeminent branch of government. But many GOP lawmakers on Capitol Hill seem...",
"link": "https:\/\/www.washingtonpost.com\/politics\/2025\/02\/02\/trump-congress-republicans-cabinet-picks\/",
"position": 9,
"siteName": "The Washington Post",
"title": "Donald Trump and the incredible shrinking Congress"
},
{
"date": "22 hours ago",
"description": "President Donald Trump has long threatened to launch a trade war but the one he began on February 1st against Canada, China and Mexico is...",
"link": "https:\/\/www.economist.com\/china\/2025\/02\/02\/donald-trumps-new-trade-war-on-china-is-also-an-opioid-war",
"position": 10,
"siteName": "The Economist",
"title": "Donald Trump\u2019s new trade war on China is also an opioid war"
}
],
"pagination": {
"current": "https:\/\/google.com\/search?hl=en&num=10&q=Donald+Trump&tbm=nws&",
"next": "https:\/\/google.com\/search?hl=en&num=10&q=Donald+Trump&start=20&tbm=&",
"other_pages": {
"3": "https:\/\/google.com\/search?hl=en&num=10&q=Donald+Trump&start=30&tbm=&",
"4": "https:\/\/google.com\/search?hl=en&num=10&q=Donald+Trump&start=40&tbm=&",
"5": "https:\/\/google.com\/search?hl=en&num=10&q=Donald+Trump&start=50&tbm=&",
"6": "https:\/\/google.com\/search?hl=en&num=10&q=Donald+Trump&start=60&tbm=&"
}
}
}

To search for videos on Google programmatically, use the search_type=videos parameter along with other query parameters like language and results count. Below is an example:

curl --location 'https://api.ujeebu.com/serp?search=Bitcoin&timeout=90000&lang=en&results_count=10&search_type=videos' \
--header 'ApiKey: <API Key>'
curl --location 'https://api.ujeebu.com/serp?search=Bitcoin&timeout=90000&lang=en&results_count=10&search_type=videos' \
--header 'ApiKey: <API Key>'

The example code provided returns a JSON response formatted as follows:

{
"metadata": {
"google_url": "https:\/\/www.google.com\/search?hl=en&num=10&q=Bitcoin&udm=7",
"query_displayed": "Bitcoin"
},
"pagination": {
"current": "https:\/\/google.com\/search?hl=en&num=10&q=Bitcoin&tbm=vid&",
"next": "https:\/\/google.com\/search?hl=en&num=10&q=Bitcoin&start=20&tbm=&",
"other_pages": {
"3": "https:\/\/google.com\/search?hl=en&num=10&q=Bitcoin&start=30&tbm=&",
"4": "https:\/\/google.com\/search?hl=en&num=10&q=Bitcoin&start=40&tbm=&",
"5": "https:\/\/google.com\/search?hl=en&num=10&q=Bitcoin&start=50&tbm=&",
"6": "https:\/\/google.com\/search?hl=en&num=10&q=Bitcoin&start=60&tbm=&"
}
},
"videos": [
{
"author": "Coin Bureau",
"date": "2 hours ago",
"description": "Join Guy and Nic as we break down the latest crypto chaos! Bitcoin is plunging\u2014massive deleveraging or a golden buy opportunity?",
"position": 1,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "Crypto News: Bitcoin Crashes, Trade War, Altseason Dead ... by Coin Bureau on YouTube. Play on Google. 59:41. 2 hours ago",
"title": "Crypto News: Bitcoin Crashes, Trade War, Altseason Dead ...",
"url": "https:\/\/www.youtube.com\/watch?v=QxrhGDFQTks"
},
{
"author": "MMCrypto",
"date": "2 hours ago",
"description": "Bitcoin this is scary what now: Video from earlier today: https:\/\/youtu.be\/_IS4bd6OnKc?si=7FwsNVnxPRgqQqfH Crash video from 5 days ago:\u00a0...",
"position": 2,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "BITCOIN: THIS IS SCARY!!!!! VERY SCARY!!!!!!!!!!! by MMCrypto on YouTube. Play on Google. 6:48. 2 hours ago",
"title": "BITCOIN: THIS IS SCARY!!!!! VERY SCARY!!!!!!!!!!!",
"url": "https:\/\/www.youtube.com\/watch?v=z1zZDFqtUn4"
},
{
"author": "The Moon Show",
"date": "21 hours ago",
"description": "... BITCOIN WITH FIAT ($ \u20ac): \u2b55\ufe0f Ka.app: https:\/\/themoon.co\/ka.app \u2b55\ufe0f Swissborg Win up to $100: https:\/\/join.swissborg.com\/r\/carlLUIF \u2b55\ufe0f\u00a0...",
"position": 3,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "BITCOIN SIGNAL FLASHING, I AM BUYING NOW !!!! by The Moon Show on YouTube. Play on Google. 6:58. 21 hours ago",
"title": "BITCOIN SIGNAL FLASHING, I AM BUYING NOW !!!!",
"url": "https:\/\/www.youtube.com\/watch?v=NZu7yUQBZvw"
},
{
"author": "CNBC Television",
"date": "2 hours ago",
"description": "... -changing crypto industry. Swan Bitcoin's Steven Lubka on the rise of meme coins. 338 views \u00b7 1 hour ago ...more. CNBC Television. 2.96M.",
"position": 4,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "Swan Bitcoin's Steven Lubka on the rise of meme coins by CNBC Television on YouTube. Play on Google. 2:55. 2 hours ago",
"title": "Swan Bitcoin's Steven Lubka on the rise of meme coins",
"url": "https:\/\/www.youtube.com\/watch?v=xXqt7lCTg0Q"
},
{
"author": "Thinking Crypto",
"date": "12 hours ago",
"description": "Crypto News: Bitcoin, Altcoins, and Stocks crash as fears grow over Trump Trariff Wars. Will February see a recovery for the crypto market?",
"position": 5,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "\ud83d\udea8BITCOIN & ALTCOINS CRASH ON TARIFF WAR FEAR ... by Thinking Crypto on YouTube. Play on Google. 12:51. 12 hours ago",
"title": "\ud83d\udea8BITCOIN & ALTCOINS CRASH ON TARIFF WAR FEAR ...",
"url": "https:\/\/www.youtube.com\/watch?v=jvipiYKuw28"
},
{
"author": "Benjamin Cowen",
"date": "13 hours ago",
"description": "Let's talk about #Bitcoin Into The Cryptoverse Premium SALE: https:\/\/intothecryptoverse.com Into The Cryptoverse Newsletter:\u00a0...",
"position": 6,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "Bitcoin Cliff Dwellers by Benjamin Cowen on YouTube. Play on Google. 1:21:20. 13 hours ago",
"title": "Bitcoin Cliff Dwellers",
"url": "https:\/\/www.youtube.com\/watch?v=zlyksi6rH2k"
},
{
"author": "Jason Pizzino",
"date": "11 hours ago",
"description": "... BITCOIN, CRYPTO, STOCK MARKET AND REAL ESTATE PREDICTIONS \u2192 https:\/\/www.youtube.com\/watch?v=5Ry0m1IQlXg *I reserve my right to adjust my\u00a0...",
"position": 7,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "BITCOIN CRYPTO TOTAL COLLAPSE: Worst Day In History by Jason Pizzino on YouTube. Play on Google. 35:23. 11 hours ago",
"title": "BITCOIN CRYPTO TOTAL COLLAPSE: Worst Day In History",
"url": "https:\/\/www.youtube.com\/watch?v=YH8K-ODQ5ps"
},
{
"author": "Satoshi Stacker",
"date": "8 hours ago",
"description": "IS IT OVER FOR BITCOIN & ALTCOINS? I AM TAKING URGENT ACTION NOW. 24K views \u00b7 6 hours ago ...more. Satoshi Stacker. 326K. Subscribe. 1.2K.",
"position": 8,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "IS IT OVER FOR BITCOIN & ALTCOINS? I AM TAKING ... by Satoshi Stacker on YouTube. Play on Google. 27:49. 8 hours ago",
"title": "IS IT OVER FOR BITCOIN & ALTCOINS? I AM TAKING ...",
"url": "https:\/\/www.youtube.com\/watch?v=PlLtbdICJ5E"
},
{
"author": "Ivan on Tech",
"date": "7 hours ago",
"description": "... bitcoin, cryptocurrency, crypto, altcoin, altcoin daily, blockchain, decentralized, news, best investment, top altcoins, ethereum, tron\u00a0...",
"position": 9,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "BITCOIN: DUMPING FAAASTTT!!!!!! Altcoins demolished, bull ... by Ivan on Tech on YouTube. Play on Google. 56:43. 7 hours ago",
"title": "BITCOIN: DUMPING FAAASTTT!!!!!! Altcoins demolished, bull ...",
"url": "https:\/\/www.youtube.com\/watch?v=dve61tZWyZo"
},
{
"author": "Crypto Rover",
"date": "11 hours ago",
"description": "... Bitcoin trading is very risky, with 80% of traders losing money. It ... Bitcoin #BTC #Cryptocurrency #Altcoins #Blockchain.",
"position": 10,
"provider": "YouTube",
"site": "www.youtube.com",
"summary": "THIS IS WHY BITCOIN DUMPED!!! *this will get worse* by Crypto Rover on YouTube. Play on Google. 10:54. 11 hours ago",
"title": "THIS IS WHY BITCOIN DUMPED!!! *this will get worse*",
"url": "https:\/\/www.youtube.com\/watch?v=RXC7Gy1CLTU"
}
]
}

To search for videos on Google programmatically, use the search_type=images parameter along with other query parameters like language and results count. Below is an example:

curl --location 'https://api.ujeebu.com/serp?search=Coffee&timeout=90000&lang=en&search_type=images' \
--header 'ApiKey: <API Key>'
curl --location 'https://api.ujeebu.com/serp?search=Coffee&timeout=90000&lang=en&search_type=images' \
--header 'ApiKey: <API Key>'

The example code provided returns a JSON response formatted as follows:

{
"images": [
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRkRapDtN6JSis1bWCnMbqn3pmIEDeDY9t8tg\u0026s",
"height": 2000,
"image": "https://upload.wikimedia.org/wikipedia/commons/e/e4/Latte_and_dark_coffee.jpg",
"link": "https://en.wikipedia.org/wiki/Coffee",
"position": 1,
"source": "Wikipedia",
"title": "Coffee - Wikipedia",
"width": 3200
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTsmD2K-wg4D2csngncAOMlxa1y5g_yToyicw\u0026s",
"height": 405,
"image": "https://somedayilllearn.com/wp-content/uploads/2020/05/cup-of-black-coffee-scaled-720x405.jpeg",
"link": "https://somedayilllearn.com/how-to-make-black-coffee/",
"position": 2,
"source": "Someday I'll Learn",
"title": "How to Make Black Coffee that Tastes Good",
"width": 720
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTb5bqC7IA8JdjL19Ko8baj61wNE8Qlab3GWw\u0026s",
"height": 2250,
"image": "https://www.royalcupcoffee.com/sites/default/files/images/blog/AdobeStock_159183621update.jpg",
"link": "https://www.royalcupcoffee.com/blog/articles/selecting-right-coffee-every-time-day",
"position": 3,
"source": "Royal Cup Coffee",
"title": "Royal Cup Coffee",
"width": 3000
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQZsjU7ngcDKxXFBHFwzs4a6y11MogHRGc4Xg\u0026s",
"height": 1125,
"image": "https://www.allrecipes.com/thmb/SUs7po94w7k2OwqYDjC3H_ZW3JQ=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/96629-cafe-latte-ddmfs-hero-4x3-0288359d9c37485fa69afe5369dbcf2e.jpg",
"link": "https://www.allrecipes.com/recipe/96629/cafe-latte/",
"position": 4,
"source": "Allrecipes",
"title": "How to Make a Cafe Latte Recipe",
"width": 1500
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS0a-3uyQ9B4bVyJmbPEeawulA4SLxp7f2cXA\u0026s",
"height": 900,
"image": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Roasted_coffee_beans.jpg/1200px-Roasted_coffee_beans.jpg",
"link": "https://en.wikipedia.org/wiki/Coffee_bean",
"position": 5,
"source": "Wikipedia",
"title": "Coffee bean - Wikipedia",
"width": 1200
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT0RyiFla98L-B6yXCLbOiELZktX5jHkwQdZw\u0026s",
"height": 1414,
"image": "https://www.spectrumhealth.ie/wp-content/uploads/2017/11/steamingcupofcoffeewithspiltcoffeebeans.jpg",
"link": "https://www.spectrumhealth.ie/blog/pros-and-cons-of-drinking-coffee",
"position": 6,
"source": "Spectrum Health",
"title": "Pros and Cons of drinking coffee ...",
"width": 2121
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSfzZP4tv7gizZ2PYHzkc79440789fyP1F8CA\u0026s",
"height": 1000,
"image": "https://www.health.com/thmb/YXxmAuCsJHtTWvSWPorjVx1F7AQ=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/Health-GettyImages-TypesOfCoffee-b8f6f7382a1443109f74edb1050f9808.jpg",
"link": "https://www.health.com/types-of-coffee-8716877",
"position": 7,
"source": "Health",
"title": "Types of Coffee and Their Health Benefits",
"width": 1500
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSSgARldygWkeUJSXhp-YQNbV7UoTrC9onwqA\u0026s",
"height": 900,
"image": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/A_small_cup_of_coffee.JPG/1200px-A_small_cup_of_coffee.JPG",
"link": "https://en.wikiquote.org/wiki/Coffee",
"position": 8,
"source": "Wikiquote",
"title": "Coffee - Wikiquote",
"width": 1200
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQbmTR2cAaSZCa-ECC75A4lMLI-8N_sME_99Q\u0026s",
"height": 307,
"image": "https://c.ndtvimg.com/2018-09/2crujfh8_black-coffee_625x300_24_September_18.PNG?downsize=545:307",
"link": "https://www.ndtv.com/health/10-benefits-of-consuming-black-coffee-first-thing-in-the-morning-4530902",
"position": 9,
"source": "NDTV",
"title": "10 Benefits Of Consuming Black Coffee ...",
"width": 545
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSU819DG6PHZ_ET83F4p04cuY6wxuHMTBXHGw\u0026s",
"height": 3312,
"image": "https://assets.kahlua.com/wp-content/uploads/2023/08/Coffee-2x5-1.png?tr=q-80,w-1320",
"link": "https://www.kahlua.com/en/drinks/kahlua-coffee/",
"position": 10,
"source": "Kahlua",
"title": "Kahlúa Coffee Drink Recipe - Kahlúa",
"width": 1320
},
{
"google_thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRDo1gjSSoayBw0uQ0d2SuyfqGiE15p8sjMig\u0026s",
"height": 998,
"image": "https://media-cldnry.s-nbcnews.com/image/upload/newscms/2019_33/2203981/171026-better-coffee-boost-se-329p.jpg",
"link": "https://www.nbcnews.com/better/lifestyle/how-tap-health-benefits-coffee-ncna1096031",
"position": 11,
"source": "NBC News",
"title": "health benefits of coffee",
"width": 1500
},
...
],
"metadata": {
"google_url": "https://www.google.com/search?gl=US\u0026hl=en\u0026num=10\u0026q=Coffee\u0026udm=2",
"query_displayed": "Coffee"
},
"pagination": {
"google": {
"current": "https://google.com/search?gl=US\u0026hl=en\u0026num=10\u0026q=Coffee\u0026udm=2\u0026",
"next": "https://google.com/search?gl=US\u0026hl=en\u0026num=10\u0026q=Coffee\u0026start=20\u0026tbm=\u0026",
"other_pages": {
"3": "https://google.com/search?gl=US\u0026hl=en\u0026num=10\u0026q=Coffee\u0026start=30\u0026tbm=\u0026",
"4": "https://google.com/search?gl=US\u0026hl=en\u0026num=10\u0026q=Coffee\u0026start=40\u0026tbm=\u0026",
"5": "https://google.com/search?gl=US\u0026hl=en\u0026num=10\u0026q=Coffee\u0026start=50\u0026tbm=\u0026",
"6": "https://google.com/search?gl=US\u0026hl=en\u0026num=10\u0026q=Coffee\u0026start=60\u0026tbm=\u0026",
"7": "https://google.com/search?gl=US\u0026hl=en\u0026num=10\u0026q=Coffee\u0026start=70\u0026tbm=\u0026",
"8": "https://google.com/search?gl=US\u0026hl=en\u0026num=10\u0026q=Coffee\u0026start=80\u0026tbm=\u0026"
}
},
"ujeebu": {
"current": "https://api.ujeebu.com/serp?device=desktop\u0026lang=en\u0026location=US\u0026page=1\u0026results_count=10\u0026search=Coffee\u0026",
"next": "https://api.ujeebu.com/serp?device=desktop\u0026lang=en\u0026location=US\u0026page=2\u0026results_count=10\u0026search=Coffee\u0026",
"other_pages": {
"3": "https://api.ujeebu.com/serp?device=desktop\u0026lang=en\u0026location=US\u0026page=3\u0026results_count=10\u0026search=Coffee\u0026",
"4": "https://api.ujeebu.com/serp?device=desktop\u0026lang=en\u0026location=US\u0026page=4\u0026results_count=10\u0026search=Coffee\u0026",
"5": "https://api.ujeebu.com/serp?device=desktop\u0026lang=en\u0026location=US\u0026page=5\u0026results_count=10\u0026search=Coffee\u0026",
"6": "https://api.ujeebu.com/serp?device=desktop\u0026lang=en\u0026location=US\u0026page=6\u0026results_count=10\u0026search=Coffee\u0026",
"7": "https://api.ujeebu.com/serp?device=desktop\u0026lang=en\u0026location=US\u0026page=7\u0026results_count=10\u0026search=Coffee\u0026",
"8": "https://api.ujeebu.com/serp?device=desktop\u0026lang=en\u0026location=US\u0026page=8\u0026results_count=10\u0026search=Coffee\u0026"
}
}
},
"suggestions": [
{
"google_link": "https://www.google.com/search?sca_esv=ea93a93fa601efe3\u0026gl=US\u0026hl=en\u0026q=coffee+cup\u0026uds=ABqPDvztZD_Nu18FR6tNPw2cK_RRlbyHxIEdJnJjoCLMRKFTAnpUjFD6kn1ymoDzHKsO80vcFhXgksMfFVBBeRR2MuE2Cix3YIsFY9MejD3kbZ4L8qkJ7KpFsIoW3KCalUDlNyC0HCfH8bdd-ei5iC6q8-MkIEDG7A\u0026udm=2\u0026sa=X\u0026ved=2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQIDBAB\u0026ictx=0",
"position": 1,
"thumbnail": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAA...",
"title": "Cup",
"ujeebu_link": "https://api.ujeebu.com/serp?search_type=images\u0026search=coffee%20cup\u0026location=US\u0026lang=en\u0026extra_params=sca_esv%3Dea93a93fa601efe3%26uds%3DABqPDvztZD_Nu18FR6tNPw2cK_RRlbyHxIEdJnJjoCLMRKFTAnpUjFD6kn1ymoDzHKsO80vcFhXgksMfFVBBeRR2MuE2Cix3YIsFY9MejD3kbZ4L8qkJ7KpFsIoW3KCalUDlNyC0HCfH8bdd-ei5iC6q8-MkIEDG7A%26sa%3DX%26ved%3D2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQIDBAB%26ictx%3D0"
},
{
"google_link": "https://www.google.com/search?sca_esv=ea93a93fa601efe3\u0026gl=US\u0026hl=en\u0026q=cafe+coffee\u0026uds=ABqPDvztZD_Nu18FR6tNPw2cK_RRgPocZNJgYutdBYynNDH3jj10ASfPjVZGHjIp_5Mem90I96EAw2l52AFQWUMU4QjjyrBuo6amcJAfQs6L359oQi6DOuG-GKxm-l1flRJLPfSH9utnDmKUREpUQ8hqhnOkk2oeXQ\u0026udm=2\u0026sa=X\u0026ved=2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQICxAB\u0026ictx=0",
"position": 2,
"thumbnail": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAA...",
"title": "Cafe",
"ujeebu_link": "https://api.ujeebu.com/serp?search_type=images\u0026search=cafe%20coffee\u0026location=US\u0026lang=en\u0026extra_params=sca_esv%3Dea93a93fa601efe3%26uds%3DABqPDvztZD_Nu18FR6tNPw2cK_RRgPocZNJgYutdBYynNDH3jj10ASfPjVZGHjIp_5Mem90I96EAw2l52AFQWUMU4QjjyrBuo6amcJAfQs6L359oQi6DOuG-GKxm-l1flRJLPfSH9utnDmKUREpUQ8hqhnOkk2oeXQ%26sa%3DX%26ved%3D2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQICxAB%26ictx%3D0"
},
{
"google_link": "https://www.google.com/search?sca_esv=ea93a93fa601efe3\u0026gl=US\u0026hl=en\u0026q=coffee+wallpaper\u0026uds=ABqPDvztZD_Nu18FR6tNPw2cK_RRERO65r54e_IGm506TWGb5slkQCXNH4RnGfuXVSnYo0_IJFJAo8LQbehspFTAjMrrvpzNwWGp2148DhpLvI2wxwt3SbYZCMRh69j-S1pNyJF1eSzTkYkz4un3jnIeI-GIJcDGDA\u0026udm=2\u0026sa=X\u0026ved=2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQICRAB\u0026ictx=0",
"position": 3,
"thumbnail": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAA...",
"title": "Wallpaper",
"ujeebu_link": "https://api.ujeebu.com/serp?search_type=images\u0026search=coffee%20wallpaper\u0026location=US\u0026lang=en\u0026extra_params=sca_esv%3Dea93a93fa601efe3%26uds%3DABqPDvztZD_Nu18FR6tNPw2cK_RRERO65r54e_IGm506TWGb5slkQCXNH4RnGfuXVSnYo0_IJFJAo8LQbehspFTAjMrrvpzNwWGp2148DhpLvI2wxwt3SbYZCMRh69j-S1pNyJF1eSzTkYkz4un3jnIeI-GIJcDGDA%26sa%3DX%26ved%3D2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQICRAB%26ictx%3D0"
},
{
"google_link": "https://www.google.com/search?sca_esv=ea93a93fa601efe3\u0026gl=US\u0026hl=en\u0026q=clip+art+coffee\u0026uds=ABqPDvztZD_Nu18FR6tNPw2cK_RRERO65r54e_IGm506TWGb5mvAqyYawmwsA-Wl8eoaxYSExR4igVYeS1ezVqSC9oAijcdH6S5aS2WzjoivrM7lOUHmEItUNh9VFoaDc3hPgt48jDvEv7u2360lLyGttgzEjACz6Q\u0026udm=2\u0026sa=X\u0026ved=2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQIEBAB\u0026ictx=0",
"position": 4,
"thumbnail": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAA...",
"title": "Clip art",
"ujeebu_link": "https://api.ujeebu.com/serp?search_type=images\u0026search=clip%20art%20coffee\u0026location=US\u0026lang=en\u0026extra_params=sca_esv%3Dea93a93fa601efe3%26uds%3DABqPDvztZD_Nu18FR6tNPw2cK_RRERO65r54e_IGm506TWGb5mvAqyYawmwsA-Wl8eoaxYSExR4igVYeS1ezVqSC9oAijcdH6S5aS2WzjoivrM7lOUHmEItUNh9VFoaDc3hPgt48jDvEv7u2360lLyGttgzEjACz6Q%26sa%3DX%26ved%3D2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQIEBAB%26ictx%3D0"
},
{
"google_link": "https://www.google.com/search?sca_esv=ea93a93fa601efe3\u0026gl=US\u0026hl=en\u0026q=latte+coffee\u0026uds=ABqPDvztZD_Nu18FR6tNPw2cK_RR7ikD94Qga_KzuDbjgocVt7doCsa1VOoLc7e-SUBm43_UHFrjc2kaCCikl7nxsaq8zIVxPaZr0_283Syn4GWwg5kMe1osvA4zTAx-o787ZtH0B2gcxyqCTX1dWRiAtmlJSWf15w\u0026udm=2\u0026sa=X\u0026ved=2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQIDxAB\u0026ictx=0",
"position": 5,
"thumbnail": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAA...",
"title": "Latte",
"ujeebu_link": "https://api.ujeebu.com/serp?search_type=images\u0026search=latte%20coffee\u0026location=US\u0026lang=en\u0026extra_params=sca_esv%3Dea93a93fa601efe3%26uds%3DABqPDvztZD_Nu18FR6tNPw2cK_RR7ikD94Qga_KzuDbjgocVt7doCsa1VOoLc7e-SUBm43_UHFrjc2kaCCikl7nxsaq8zIVxPaZr0_283Syn4GWwg5kMe1osvA4zTAx-o787ZtH0B2gcxyqCTX1dWRiAtmlJSWf15w%26sa%3DX%26ved%3D2ahUKEwi5nPOPk-SLAxWFFlkFHQLFOAYQxKsJegQIDxAB%26ictx%3D0"
}
]
}

You can also perform a Google Maps search by using the search_type=maps parameter. The example below shows how to retrieve map-related results programmatically:

curl --location 'https://api.ujeebu.com/serp?search=Italien%20restaurant&timeout=90000&lang=en&results_count=10&search_type=maps' \
--header 'ApiKey: <API Key>'
curl --location 'https://api.ujeebu.com/serp?search=ophtalmologue&timeout=90000&lang=en&results_count=10&search_type=maps' \
--header 'ApiKey: <API Key>'

The example code provided returns a JSON response formatted as follows:

{
"maps_results": [
{
"address": "Wichita, KS",
"category": "Restaurant",
"cid": "1815645630715687570",
"opening_hours": "\u22c5 Opens 11\u202fAM Tue",
"position": 1,
"rating": 4.6,
"reviews": 316,
"title": "FioRito Ristorante"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "13459347614404449876",
"opening_hours": "\u22c5 Opens 11\u202fAM",
"position": 2,
"rating": 4.5,
"reviews": 576,
"title": "Napoli Italian Eatery"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "15651444174799193471",
"opening_hours": "\u22c5 Opens 5\u202fPM",
"position": 3,
"rating": 4.6,
"reviews": 924,
"title": "Bella Vita Bistro"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "13509147296038509125",
"opening_hours": "\u22c5 Opens 3\u202fPM Tue",
"position": 4,
"rating": 4.5,
"reviews": 1,
"title": "Angelo's Italian Restaurant - Wichita"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "99405619562036785",
"opening_hours": "\u22c5 Opens 11\u202fAM",
"position": 5,
"rating": 4.1,
"reviews": 1,
"title": "Marchello's Restaurant"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "10317613485974766690",
"opening_hours": "\u22c5 Opens 4:30\u202fPM Thu",
"position": 6,
"rating": 4.3,
"reviews": 707,
"title": "Savute's Italian Ristorante"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "3365559750367280429",
"opening_hours": "\u22c5 Opens 5\u202fPM",
"position": 7,
"rating": 4.6,
"reviews": 184,
"title": "Bocatto Eatery and Pasta"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "15225751986500224577",
"opening_hours": "\u22c5 Opens 11\u202fAM Tue",
"position": 8,
"rating": 4.4,
"reviews": 330,
"title": "Amor\u00e8 Italian Restaurant"
},
{
"address": "Mulvane, KS",
"category": "\u00b7",
"cid": "12261751086410494198",
"opening_hours": "\u22c5 Opens 11:30\u202fAM Thu",
"position": 9,
"rating": 4.5,
"reviews": 643,
"title": "Luciano's"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "13527655343449245053",
"opening_hours": "\u22c5 Opens 11\u202fAM",
"position": 10,
"rating": 4.3,
"reviews": 3,
"title": "Olive Garden Italian Restaurant"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "535426898171280609",
"opening_hours": "\u22c5 6:30\u202fAM",
"position": 11,
"rating": 4.3,
"reviews": 540,
"title": "Siena Tuscan Steakhouse"
},
{
"address": "Newton, KS",
"category": "\u00b7",
"cid": "6702801467686166411",
"opening_hours": "\u22c5 Opens 11\u202fAM Tue",
"position": 12,
"rating": 4.7,
"reviews": 985,
"title": "Genova Italian Restaurant"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "9902333143768867591",
"opening_hours": "\u22c5 Opens 11\u202fAM",
"position": 13,
"rating": 4.5,
"reviews": 271,
"title": "Albero Bistro"
},
{
"address": "Hutchinson, KS",
"category": "\u00b7",
"cid": "1876493281158951650",
"opening_hours": "\u22c5 Opens 11\u202fAM Tue",
"position": 14,
"rating": 4.5,
"reviews": 167,
"title": "Roma's Italian Restaurant"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "2409516887512993460",
"opening_hours": "\u22c5 Opens 11\u202fAM",
"position": 15,
"rating": 4.4,
"reviews": 2,
"title": "Carrabba's Italian Grill"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "16890212821215645860",
"opening_hours": "\u22c5 Opens 11\u202fAM",
"position": 16,
"rating": 4.3,
"reviews": 2,
"title": "Olive Garden Italian Restaurant"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "13533960006409764354",
"opening_hours": "\u22c5 Opens 11\u202fAM",
"position": 17,
"rating": 4.5,
"reviews": 1,
"title": "Oak & Pie"
},
{
"address": "Wichita, KS",
"category": "\u00b7",
"cid": "3695648331708566378",
"opening_hours": "\u22c5 Opens 11\u202fAM",
"position": 18,
"rating": 4.6,
"reviews": 1,
"title": "Il Vicino Wood Oven Pizza - Wichita College Hill"
},
{
"address": "Garden Plain, KS",
"category": "\u00b7",
"cid": "8019866040061700699",
"opening_hours": "\u22c5 Opens 3\u202fPM Wed",
"position": 19,
"rating": 4.9,
"reviews": 58,
"title": "Halagains"
},
{
"address": "Cheney, KS",
"category": "\u00b7",
"cid": "6589056412625182150",
"opening_hours": "\u22c5 Opens 11\u202fAM Tue",
"position": 20,
"rating": 4.5,
"reviews": 276,
"title": "China's Bar & Grill LLC."
}
],
"metadata": {
"google_url": "https:\/\/www.google.com\/search?hl=en&num=10&q=Italian+restaurant&tbm=lcl",
"query_displayed": "Italian restaurant"
},
"pagination": {
"current": "https:\/\/google.com\/search?hl=en&num=10&q=Italian+restaurant&tbm=lcl&",
"next": "https:\/\/google.com\/search?hl=en&num=10&q=Italian+restaurant&start=20&tbm=&",
"other_pages": {
"3": "https:\/\/google.com\/search?hl=en&num=10&q=Italian+restaurant&start=30&tbm=&",
"4": "https:\/\/google.com\/search?hl=en&num=10&q=Italian+restaurant&start=40&tbm=&",
"5": "https:\/\/google.com\/search?hl=en&num=10&q=Italian+restaurant&start=50&tbm=&",
"6": "https:\/\/google.com\/search?hl=en&num=10&q=Italian+restaurant&start=60&tbm=&"
}
}
}

Usage endpoint​

Introduction​

To keep track of how much credit you're using programmatically, you can use the /account endpoint in your program.

Calls to this endpoint will not affect your calls per second, but you can only make 10 /account calls per minute.

To use the API:


GET https://api.ujeebu.com/account

Usage Endpoint Code Example​

This will get the current usage of the account with the given ApiKey

curl --location --request GET 'https://api.ujeebu.com/account' \
--header 'ApiKey: <API Key>'

The code above will generate the following response:

{
"balance": 0,
"days_till_next_billing": 0,
"next_billing_date": null,
"plan": "TRIAL",
"quota": "5000",
"requests_per_second": "0",
"concurrent_requests": 1,
"total_requests": 14,
"used": 95,
"used_percent": 1.9,
"userid": "8155"
}