Google Search API
Google Search API uses /api/v1/search?engine=google
API endpoint to scrape real-time results.
API Parameters
Search Query
-
- Name
-
q
- Required
- Required
- Description
-
Parameter defines the query you want to search. You can use anything that you would use in a regular Google search. e.g.
inurl:
,site:
,intitle:
. We also support advanced search query parameters such asas_dt
andas_eq
.
Device
-
- Name
-
device
- Required
- Optional
- Description
-
The default parameter
desktop
defines the search on a desktop device. Themobile
parameter defines the search on a mobile device. Thetablet
parameter defines the search on a tablet device.
Geographic Location
-
- Name
-
location
- Required
- Optional
- Description
-
Parameter defines from where you want the search to originate. If several locations match the location requested, we'll pick the most popular one. Head to the Locations API if you need more precise control.
-
- Name
-
uule
- Required
- Optional
- Description
-
Parameter is the Google encoded location you want to use for the search. SearchApi automatically generated the
uule
parameter when you use thelocation
parameter but we allow you to overwrite it directly.uule
andlocation
parameters can't be used together.
Localization
-
- Name
-
google_domain
- Required
- Optional
- Description
-
The default parameter
google.com
defines the Google domain of the search. Check the full list of supported Googlegoogle_domain
domains.
-
- Name
-
gl
- Required
- Optional
- Description
-
The default parameter
us
defines the country of the search. Check the full list of supported Googlegl
countries.
-
- Name
-
hl
- Required
- Optional
- Description
-
The default parameter
en
defines the interface language of the search. Check the full list of supported Googlehl
languages.
-
- Name
-
lr
- Required
- Optional
- Description
-
The lr parameter restricts search results to documents written in a particular language or a set of languages. The accepted format for this parameter is
lang_{2-letter country code}
. For instance, to filter documents written in Japanese, the value should be set tolang_jp
. To incorporate multiple languages, a value likelang_it|lang_de
restricts the search to documents written in either Italian or German. Google identifies the document language based on the top-level domain (TLD) of the document's URL, any language meta tags present, or the language utilized within the document's body text. Check the full list of supported Googlelr
languages.
-
- Name
-
cr
- Required
- Optional
- Description
-
The cr parameter restricts search results to documents originating in a particular country. Google determines the country of a document by the top-level domain (TLD) of the document's URL or by Web server's IP address geographic location. Check the full list of supported Google
cr
countries.
Filters
-
- Name
-
nfpr
- Required
- Optional
- Description
-
This parameter controls whether results from queries that have been auto-corrected for spelling errors are included. To exclude these auto-corrected results, set the value to
1
. By default, the value is0
, meaning auto-corrected results are included.
-
- Name
-
filter
- Required
- Optional
- Description
-
This parameter controls whether the "Duplicate Content" and "Host Crowding" filters are enabled. Set the value to
1
to enable these filters, which is the default setting. To disable these filters, set the value to0
.
-
- Name
-
safe
- Required
- Optional
- Description
-
This parameter toggles the SafeSearch feature for the results. SafeSearch operates by filtering out adult content from your search results. Google's filters use proprietary technology to check keywords, phrases and URLs. While no filters are 100 percent accurate, SafeSearch will remove the overwhelming majority of adult content from your search results. Set the value to
active
to enable SafeSearch. To disable it, set the value tooff
. By default, SafeSearch is disabled.
-
- Name
-
time_period
- Required
- Optional
- Description
-
This parameter restricts results to URLs based on date. Supported values are:
last_hour
- data from the past hour.last_day
- data from the past 24 hours.last_week
- data from the past week.last_month
- data from the past month.last_year
- data from the past year.- Using
time_period_min
ortime_period_max
parameters, you can specify a custom time period.
time_period_min
andtime_period_max
parameters could be used separately as well.
-
- Name
-
time_period_min
- Required
- Optional
- Description
-
This parameter specifies the start of the time period. It could be used in combination with the
time_period_max
parameter. The value should be in the formatMM/DD/YYYY
.
-
- Name
-
time_period_max
- Required
- Optional
- Description
-
This parameter specifies the end of the time period. It could be used in combination with the
time_period_min
parameter. The value should be in the formatMM/DD/YYYY
.
Pagination
-
- Name
-
num
- Required
- Optional
- Description
-
This parameter specifies the number of results to display per page. Use in combination with the
page
parameter to implement pagination functionality.
-
- Name
-
page
- Required
- Optional
- Description
-
This parameter indicates which page of results to return. By default, it is set to
1
. Use in combination with the num parameter to implement pagination.
Engine
-
- Name
-
engine
- Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
google
.
API key
-
- Name
-
api_key
- Required
- Required
- Description
-
The
api_key
authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY
) or in the Authorization header (Bearer YOUR_API_KEY
).
API Examples
Full Response - Search for 'chatgpt'
https://www.searchapi.io/api/v1/search?engine=google&q=chatgpt
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "chatgpt"
}
response = requests.get(url, params = params)
print(response.text)
{
"search_metadata": {
"id": "search_MJjKW8mR3ZGJsDjepn9redbv",
"status": "Success",
"created_at": "2024-10-29T10:10:13Z",
"request_time_taken": 1.28,
"parsing_time_taken": 0.1,
"total_time_taken": 1.29,
"request_url": "https://www.google.com/search?q=chatgpt&oq=chatgpt&gl=us&hl=en&uule=w+CAIQICIWTmV3IFlvcmssVW5pdGVkIFN0YXRlcw&ie=UTF-8",
"html_url": "https://www.searchapi.io/api/v1/searches/search_MJjKW8mR3ZGJsDjepn9redbv.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_MJjKW8mR3ZGJsDjepn9redbv"
},
"search_parameters": {
"engine": "google",
"q": "chatgpt",
"device": "desktop",
"location": "New York,United States",
"location_used": "New York,United States",
"google_domain": "google.com",
"hl": "en",
"gl": "us"
},
"search_information": {
"query_displayed": "chatgpt",
"total_results": 945000000,
"time_taken_displayed": 0.29,
"detected_location": "New York"
},
"knowledge_graph": {
"kgmid": "/g/11khcfz0y2",
"knowledge_graph_type": "Kp3 verticals",
"title": "ChatGPT",
"type": "Software",
"description": "ChatGPT is a generative artificial intelligence chatbot developed by OpenAI and launched in 2022. It is based on the GPT-4o large language model.",
"source": {
"name": "Wikipedia",
"link": "https://en.wikipedia.org/wiki/ChatGPT"
},
"initial_release_date": "November 30, 2022",
"programming_language": "Python",
"programming_language_links": [
{
"text": "Python",
"link": "https://www.google.com/search?sca_esv=853f175af13f0422&gl=us&hl=en&q=Python&si=ACC90nyvvWro6QmnyY1IfSdgk5wwjB1r8BGd_IWRjXqmKPQqmwbtPHPEcZi5JOYKaqe_iu1m4TVPotntrDVKbuXCkoFhx-K-Dp6PbewOILPFWjhDofHha-WRuSQCgY7LnBkzXtVH7pxiRdHONv3wpVsflGBg_EdTHCxOnyWt1nDgBmCjsfchXU7DKtJq159-V0-seE_cp7VV&sa=X&ved=2ahUKEwi1u_bUrLOJAxVrEFkFHaOJJaUQmxMoAHoECC4QAg"
}
],
"developers": "OpenAI",
"developers_links": [
{
"text": "OpenAI",
"link": "https://www.google.com/search?sca_esv=853f175af13f0422&gl=us&hl=en&q=OpenAI&stick=H4sIAAAAAAAAAONgVuLVT9c3NEyqSDYzNSszW8TK5l-QmufoCQCnB8biGgAAAA&sa=X&ved=2ahUKEwi1u_bUrLOJAxVrEFkFHaOJJaUQmxMoAHoECDIQAg"
}
],
"engine": "GPT-4; GPT-4o; GPT-4o mini",
"engine_links": [
{
"text": "GPT-4",
"link": "https://www.google.com/search?sca_esv=853f175af13f0422&gl=us&hl=en&q=GPT-4&stick=H4sIAAAAAAAAAONgVuLVT9c3NMy2TI_PNUtOX8TK6h4QomsCAKiBOxkZAAAA&sa=X&ved=2ahUKEwi1u_bUrLOJAxVrEFkFHaOJJaUQmxMoAHoECDAQAg"
},
...
],
"license": "Proprietary",
"platform": "Cloud computing platforms",
"platform_links": [
{
"text": "Cloud computing",
"link": "https://www.google.com/search?sca_esv=853f175af13f0422&gl=us&hl=en&q=Cloud+computing&stick=H4sIAAAAAAAAAONgVuLSz9U3MKqMt8w1XsTK75yTX5qikJyfW1BakpmXDgB-4JvxIAAAAA&sa=X&ved=2ahUKEwi1u_bUrLOJAxVrEFkFHaOJJaUQmxMoAHoECDEQAg"
}
],
"stable_release": "August 8, 2024; 2 months ago",
"image": "data:image/png;base64,..."
},
"organic_results": [
{
"position": 1,
"title": "Introducing ChatGPT",
"link": "https://openai.com/index/chatgpt/",
"source": "OpenAI",
"domain": "openai.com",
"displayed_link": "https://openai.com › index › chatgpt",
"snippet": "ChatGPT is a sibling model to InstructGPT, which is trained to follow an instruction in a prompt and provide a detailed response.",
"snippet_highlighted_words": [
"ChatGPT"
],
"date": "Nov 30, 2022",
"sitelinks": {
"inline": [
{
"title": "Introducing GPT-4o and more...",
"link": "https://openai.com/index/gpt-4o-and-more-tools-to-chatgpt-free/"
},
...
]
},
"favicon": "data:image/png;base64,..."
},
...
],
"discussions_and_forums": [
{
"title": "Is ChatGPT replacing Google for \"basic, quick searches\"",
"link": "https://www.reddit.com/r/ChatGPT/comments/1ge133w/is_chatgpt_replacing_google_for_basic_quick/",
"source": "Reddit",
"date": "21h ago",
"posts": "190+ comments",
"community": "r/ChatGPT",
"favicon": "data:image/png;base64,..."
},
...
],
"inline_videos": [
{
"position": 1,
"title": "3 ChatGPT Prompt Engineering Hacks You NEED to Start Using",
"link": "https://www.youtube.com/watch?v=Xkrfm1VfETA",
"source": "YouTube",
"channel": "Nick Saraev",
"date": "1 day ago",
"length": "40:16",
"image": "data:image/jpeg;base64,..."
},
...
],
"inline_videos_more_link": "https://www.google.com/search?sca_esv=853f175af13f0422&gl=us&hl=en&tbm=vid&q=chatgpt&sa=X&ved=2ahUKEwi1u_bUrLOJAxVrEFkFHaOJJaUQ8ccDegQIPhAH",
"related_searches": [
{
"query": "ChatGPT login",
"link": "https://www.google.com/search?sca_esv=853f175af13f0422&gl=us&hl=en&q=ChatGPT+login&sa=X&ved=2ahUKEwi1u_bUrLOJAxVrEFkFHaOJJaUQ1QJ6BAhHEAE"
},
...
],
"pagination": {
"current": 1,
"next": "https://www.google.com/search?q=chatgpt&oq=chatgpt&gl=us&hl=en&start=10&uule=w+CAIQICIWTmV3IFlvcmssVW5pdGVkIFN0YXRlcw&ie=UTF-8"
}
}
Knowledge Graph - Local business entity
https://www.searchapi.io/api/v1/search?engine=google&location=New+York&q=Per+Se
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Per Se",
"location": "New York"
}
response = requests.get(url, params = params)
print(response.text)
{
"knowledge_graph": {
"kgmid": "/m/0cqv8y",
"knowledge_graph_type": "Local nav",
"title": "Per Se",
"type": "French restaurant",
"rating": 4.6,
"reviews": 1486,
"price": "$$$$",
"price_description": "Very expensive",
"website": "https://www.thomaskeller.com/perseny",
"directions": "https://www.google.com/maps/dir//Per+Se/data=!4m6!4m5!1m1!4e2!1m2!1m1!1s0x89c258f62fec73a7:0x5e24118dffac8a65?sa=X&hl=en&gl=us",
"description": "Chef Thomas Keller's New American restaurant offers luxe fixed-price menus, with Central Park views.",
"service_options": [
"Dine-in",
"No takeout",
"No delivery"
],
"address": "Address: 10 Columbus Cir, New York, NY 10019",
"menu": {
"text": "thomaskeller.com",
"link": "http://www.thomaskeller.com/new-york-new-york/per-se/todays-menus"
},
"phone": "(212) 823-9335",
"hours": "Closed ⋅ Opens 4:30 PM",
"open_hours": [
{
"name": "Monday",
"value": "4:30–8:30 PM"
},
{
"name": "Tuesday",
"value": "4:30–8:30 PM"
},
...
],
"popular_times": {
"live": {
"time": "7 PM",
"info": "Usually a little busy",
"typical_time_spent": "3 hours"
},
"chart": {
"monday": [
{
"time": "6 AM",
"busyness_score": 0
},
{
"time": "7 AM",
"busyness_score": 0
},
...
],
"tuesday": [
{
"time": "6 AM",
"busyness_score": 0
},
...
],
...
}
},
"web_reviews": [
{
"title": "Tock",
"link": "https://www.exploretock.com/perse",
"rating_text": "5/5",
"rating": 5,
"rating_out_of": 5,
"reviews": 3
},
{
"title": "Facebook",
"link": "https://www.facebook.com/perse/",
"rating_text": "4.4/5",
"rating": 4.4,
"rating_out_of": 5,
"reviews": 1780
}
],
"user_reviews": [
{
"review": "\"Food is fab, staff and sooo nice, ambience is great.\"",
"review_highlighted_words": [
"Food",
"staff",
"ambience"
],
"link": "https://www.google.com/maps/reviews/data=!4m5!14m4!1m3!1m2!1s102716194924360569862!2s0x89c258f62fec73a7:0x5e24118dffac8a65?sa=X&ved=2ahUKEwjktb6kgaz_AhVVMDQIHSHSCKAQv_QBegQIOxAY",
"rating": 5,
"user": {
"name": "Candice Regan",
"link": "https://www.google.com/maps/contrib/102716194924360569862?hl=en-US&sa=X&ved=2ahUKEwjktb6kgaz_AhVVMDQIHSHSCKAQwPQBegQIOxAX",
"image": "https://lh3.googleusercontent.com/a-/AD_cMMRqq79sdk9gAVZ4s74ntH1izFCReMxjmxpsIIvk=s40-w40-c-h40-rp-br100"
}
},
...
],
"merchant_description": {
"title": "From Per Se",
"description": "\"Opened in 2004, Per Se is Thomas Keller’s acclaimed interpretation of The French Laundry in the Deutsche Bank Center at Columbus Circle. Designed by Adam D. Tihany, Per Se features a serene, intimate environment with spectacular views of Central Park and Columbus Circle. The restaurant is Chef Keller’s second three-Michelin-starred property featuring a nine-course tasting menu and a nine-course vegetable tasting menu using classic French technique and the finest quality ingredients available.\""
},
"profiles": [
{
"name": "Facebook",
"link": "https://www.facebook.com/perse/",
"image": "https://ssl.gstatic.com/kpui/social/fb_32x32.png"
},
{
"name": "Twitter",
"link": "https://twitter.com/PerSeNY",
"image": "https://ssl.gstatic.com/kpui/social/twitter_32x32.png"
}
],
"people_also_search_for": [
{
"name": "The French Laundry",
"link": "https://www.google.com/search?gl=us&hl=en&q=The+French+Laundry&si=AMnBZoEofOODruSEFWFjdccePwMH96ZlZt3bOiKSR9t4pqlu2Io8U409OpXl_4GpdPTC9qqss9W3vCsNmFVd37Zsm6OsH6wK8vYB02hWw9LZM6S0IYnPo3orvFKmRgYFZ0zowjZejw7Nikl_JUkG3hR6zP3lgWxr3oHBE4K3Hs7Ownsap4cUEk7nfgH9BldXNTebs9Re2hOACSTbcsAM4G7pOiyJ41hMMKqoBOlVOCCN-vLCYsba8wF4YPmssiWO4mWFcVO2x-cbCBTigXAatrKBD4503VJac29tkjizkYMBwaM8s65HfRI%3D&sa=X&ved=2ahUKEwjktb6kgaz_AhVVMDQIHSHSCKAQxA16BAg_EAU",
"image": "https://lh5.googleusercontent.com/p/AF1QipN14YYdAyS-Vsl5VXIhJut3c58mUfH8g8jlKV3J=w128-h72-k-no"
},
...
],
"people_also_search_for_link": "https://www.google.com/search?gl=us&hl=en&q=Per+Se+(restaurant)&stick=H4sIAAAAAAAAAONgFuLUz9U3SC4ss6hUQjC1BIMzU1LLEyuL_VIrSoJLUguKF7EKB6QWKQSnKmgUpRaXJJYWJeaVaO5gZQQAcoYaeEQAAAA&sa=X&ved=2ahUKEwjktb6kgaz_AhVVMDQIHSHSCKAQMSgAegQIPxAB",
"local_map": {
"link": "https://www.google.com/maps/place/Per+Se/@40.7682178,-73.9828988,15z/data=!4m2!3m1!1s0x0:0x5e24118dffac8a65?sa=X&hl=en&gl=us",
"gps_coordinates": {
"latitude": 40.7682178,
"longitude": -73.9828988,
"altitude": 15
},
"image": "https://www.google.com/maps/vt/data=RJUTeny-RkqHtSWni3WUQut6_YJTA5P3d-hVCmOqa9mA2r8eJ_Uawm6Y01NaNhABeOPuWGDh3xWA5yIVKDRPHMpkrpXPOA9zI7CoNaLk6iij9Nic0IjEMgqPvm06-C3BhRZogInzhNuBr0ic4bhiPPV0vK7TlQdgiwWHCEYvFrRgPI_G5nq6JGFym4ar6mI"
},
"images": [
"data:image/jpeg;base64,...",
"data:image/jpeg;base64,...",
],
"ludocid": "6783566240304368229"
}
}
Knowledge Graph - Shopping entity
https://www.searchapi.io/api/v1/search?engine=google&location=New+York&q=Iphone+14
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Iphone 14",
"location": "New York"
}
response = requests.get(url, params = params)
print(response.text)
{
"knowledge_graph": {
"kgmid": "/g/11s7qfcm0s",
"knowledge_graph_type": "Shopping entity",
"title": "Apple iPhone 14",
"type": "Product",
"rating": 4.5,
"reviews": 8300,
"description": "Longest battery life ever. A new Main camera and improved image processing let you capture even more sensational shots in all kinds of light — especially low light. Whether you’re filming while hiking up a rocky trail or chasing your kids through the park, try Action mode for smooth handheld videos. Safety features including emergency SOS via satellite, crash detection call for help when you can't.",
"manufacturer": {
"title": "iPhone 14 and iPhone 14 Plus - Technical Specifications",
"link": "https://www.apple.com/iphone-14/specs/",
"name": "apple.com",
"type": "Manufacturer"
},
"typical_prices": {
"currency": "USD",
"min": 830,
"max": 1270
},
"offers": [
{
"product_id": "6047884608697591674",
"name": "iPhone 14 - 128GB Blue - Verizon (with installment plan) - Apple",
"link": "https://www.apple.com/us/shop/go/product/MPVH3?cppart=VERIZON_IPHONE14&purchaseOption=cp&cid=aos-us-seo-pla",
"return_days": 14,
"initial_price": "$0 now",
"installment": {
"down_payment": "$0.00",
"months": 36,
"cost_per_month": "$22.19"
},
"delivery_price": "$0.00",
"total_price": "$798.84",
"merchant": {
"name": "Apple",
"domain": "apple.com",
"country_code": "US",
"rating": 4.8,
"reviews": 4062,
"link": "https://www.google.com/shopping/ratings/merchant/immersivedetails?q=apple.com&c=US&v=19",
"favicon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.apple.com&client=SHOPPING&size=32&type=FAVICON&fallback_opts=TYPE,SIZE,URL"
}
},
...
],
"features": [
{
"name": "Release Date",
"value": "September 2022"
},
{
"name": "Screen Size",
"value": "6.1″"
},
],
"details": {
"description": "Longest battery life ever. A new Main camera and improved image processing let you capture even more sensational shots in all kinds of light — especially low light. Whether you’re filming while hiking up a rocky trail or chasing your kids through the park, try Action mode for smooth handheld videos. Safety features including emergency SOS via satellite, crash detection call for help when you can't.",
"specifications": [
{
"category": "General",
"attributes": [
{
"name": "Battery Capacity",
"value": "3,279 mAh"
},
...
]
},
...
]
},
"web_reviews": [
{
"title": "Tom's Guide",
"link": "https://www.tomsguide.com/reviews/iphone-14",
"rating_text": "4/5",
"rating": 4.0,
"rating_out_of": 5
},
...
],
"product_reviews": {
"rating": 4.5,
"reviews": 8316,
"reviews_histogram": {
"5": "73%",
"4": "16%",
"3": "6%",
"2": "2%",
"1": "5%"
},
"top_review": {
"review": "I had considered getting the Pro, but that was on back order, and since I don’t do much video, I decided the regular iPhone 14 would be good enough for what I need. It is smaller than the other versions, so it is good for people (like me) with small hands. Let me just say, I ordered this new iPhone 14 online and set it up myself: this was the easiest data transfer/phone setup I have ever gone through. Having gone from one iPhone to another, the new phone walked me through the setup process and automatically pulled all of my apps, passwords, and other data from my old phone and installed it on the new one; all I had to do was log into my different accounts. Now, I have low vision, so I rely heavily on accessibility features. The iPhone has multiple settings that I utilize, first and foremost enlarged font sizes. On my previous iPhone, the size I set would cause text to bunch and overlap, rendering it illegible. Despite the iPhone 14’s screen being only a little larger, I am happy to say that this issue has almost completely vanished. Apple touchscreen products, like their watch, iPhone, and iPad all use the same touch commands, making them extremely easy to use and navigate once these different controls are learned; this new iPhone is no different there. For the Facial recognition, it is an extremely convenient feature that works whether or not I am wearing a surgical mask; the only frustrating part is that I have to be fairly close to the screen to see it, which is much too close for the facial recognition feature to work, so before I even realize it is going to scan my face, it has already tried multiple times and then requires me to enter my passcode or password manually. The only thing that makes this particular inconvenience tolerable and less interruptive is that I have an Apple Watch which, when close enough to the iPhone, unlocks it if facial recognition fails (my watch is frequently vibrating to let me know it—not my face—opened the phone or an app). iCloud is still a fantastic feature, and I haven’t encountered any issues pulling up information on my phone or iMac. The new battery life on this phone is also a huge plus! I have used it to listen to lossless audio streaming, watching videos, streaming shows and live tv, reading, online shopping, GPS navigation, and random browsing. I am on my phone or listening to music for hours each day, more so the past week because of the Thanksgiving holiday, and while I choose to charge my phone any time it gets under 80%, I haven’t even had to do that every day. The only real glitch I have encountered is that on some phone calls, I cannot adjust the sound volume during the call with the phone’s side buttons. Otherwise, it does everything I need and more, so I am very happy with this new iPhone and, for sure, recommend it!",
"date": "6 months ago",
"rating": 5.0,
"source": "6 months ago",
"user": {
"name": "I4anIY",
"image": "data:image/png;base64,..."
}
},
"popular_questions": [
"How long does the battery last?",
...
]
},
"editorial_reviews": [
{
"title": "Tom's Guide",
"rating_text": "4/5",
"rating": 4.0,
"rating_out_of": 5,
"review": "The iPhone 14 is the best iPhone value, though it's not much of a leap from the iPhone 13…",
"link": "https://www.tomsguide.com/reviews/iphone-14"
},
...
],
"images": [
"data:image/webp;base64,...",
...
]
}
}
Answer Box - Organic Result
https://www.searchapi.io/api/v1/search?engine=google&location=New+York%2CUnited+States&q=Why+do+we+have+seasons%3F
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Why do we have seasons?",
"location": "New York,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"answer_box": {
"type": "organic_result",
"answer": "The earth's spin axis is tilted with respect to its orbital plane",
"snippet": "The earth's spin axis is tilted with respect to its orbital plane. This is what causes the seasons. When the earth's axis points towards the sun, it is summer for that hemisphere. When the earth's axis points away, winter can be expected.",
"organic_result": {
"title": "Why Do We Have Seasons? - National Weather Service",
"link": "https://www.weather.gov/lmk/seasons#:~:text=The%20earth's%20spin%20axis%20is,away%2C%20winter%20can%20be%20expected.",
"source": "National Weather Service (.gov)",
"domain": "www.weather.gov",
"displayed_link": "https://www.weather.gov › lmk › seasons",
"favicon": "data:image/png;base64,..."
},
"thumbnail": "data:image/png;base64,..."
}
}
Sports Results
https://www.searchapi.io/api/v1/search?engine=google&location=Los+Angeles%2CCalifornia&q=Los+Angeles+Lakers+last+game
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Los Angeles Lakers last game",
"location": "Los Angeles,California"
}
response = requests.get(url, params = params)
print(response.text)
{
"sports_results": {
"type": "team_sport",
"title": "Los Angeles Lakers",
"subtitle": "10th in Western Conference",
"game_spotlight": {
"league": "NBA",
"date": "Sun, Jan 7",
"time": "6:30 PM",
"stadium": "Crypto.com Arena",
"city": "Los Angeles",
"status": "Final",
"videos": [
{
"title": "Game recap",
"link": "https://www.youtube.com/watch?v=q6ell3acNp0&feature=onebox",
"length": "9:49"
},
{
"title": "Game recap",
"link": "https://nba-stories.com/webstories/64d27df3-c053-aac9-f95c-3a0fd085df45.html?x-storyteller-api-key=c23993ee-0229-4b3b-aaa7-5f024cff56f5"
}
],
"teams": [
{
"name": "LA Clippers",
"stats": {
"wins": 22,
"losses": 13
},
"score": "103"
},
{
"name": "Los Angeles Lakers",
"stats": {
"wins": 18,
"losses": 19
},
"score": "106"
}
],
"score_table": {
"headers": ["Team", "1", "2", "3", "4", "T"],
"rows": [
["LA Clippers", "24", "29", "24", "26", "103"],
["Los Angeles Lakers", "19", "30", "32", "25", "106"]
]
}
}
}
}
Answer Box - Open Hours
https://www.searchapi.io/api/v1/search?engine=google&location=New+York%2CUnited+States&q=Central+Park+Zoo+opening+hours
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Central Park Zoo opening hours",
"location": "New York,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"answer_box": {
"type": "open_hours",
"answer": "Central Park Zoo, Monday hours\n- 10 AM–4:30 PM\n\nCentral Park Zoo:\n- Monday: 10 AM–4:30 PM\n- Tuesday: 10 AM–4:30 PM\n- Wednesday: 10 AM–4:30 PM\n- Thursday: 10 AM–4:30 PM\n- Friday: 10 AM–4:30 PM\n- Saturday: 10 AM–4:30 PM\n- Sunday: 10 AM–4:30 PM",
"title": "Central Park Zoo",
"time": "10 AM–4:30 PM",
"description": "Central Park Zoo, Wednesday hours",
"open_hours": [
{
"title": "Central Park Zoo",
"items": [
{
"day": "Wednesday",
"time": "10 AM–4:30 PM"
},
...
]
}
]
}
}
Answer Box - Population Graph
https://www.searchapi.io/api/v1/search?engine=google&q=How+many+people+are+in+US%3F
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "How many people are in US?"
}
response = requests.get(url, params = params)
print(response.text)
{
"answer_box": {
"type": "population_graph",
"place": "United States",
"answer": "331.9 million (2021)",
"population": "331.9 million",
"year": 2021,
"others": [
{
"place": "Russia",
"population": "143.4 million",
"link": "https://www.google.com/search?sca_esv=580163193&gl=us&hl=en&q=russia+population&stick=H4sIAAAAAAAAAOPgUeLQz9U3MEvKq9IyTEm20s9JTU9MrrTKyU9OLMnMz4svLgHSxSWZyYk58UWp6SChgvyC0hywbBejHRcnSL9lsnm5gRAFBiRZGsQXkWWALRfcB2ToX8QqWFRaXJyZqIAQAwAj5U1EFQEAAA&sa=X&ved=2ahUKEwj1w5rcpbKCAxUDtlYBHTxBAqgQth96BAgpEAM"
},
{
"place": "Mexico",
"population": "126.7 million",
"link": "https://www.google.com/search?sca_esv=580163193&gl=us&hl=en&q=mexico+population&stick=H4sIAAAAAAAAAOPgUeLUz9U3SLI0iC_SMkxJttLPSU1PTK60yslPTizJzM-LLy4B0sUlmcmJOfFFqekgoYL8gtIcsGwXox0X2ADLZPNyAyEKDAC7gCwDbLk4QAaYJeVVkaF_EatgbmpFZnK-AkIMAJCs37kWAQAA&sa=X&ved=2ahUKEwj1w5rcpbKCAxUDtlYBHTxBAqgQth96BAgpEAQ"
}
],
"sources": [
{
"text": "United States Census Bureau",
"link": "https://www.census.gov/glossary/#term_Populationestimates"
},
{
"text": "World Bank",
"link": "http://datatopics.worldbank.org/world-development-indicators"
}
],
"explore_more_link": "https://datacommons.org/place?utm_medium=explore&dcid=country/USA&mprop=count&popt=Person&hl=en"
}
}
Answer Box - Finance Results
https://www.searchapi.io/api/v1/search?engine=google&q=XAUUSD+price
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "XAUUSD price"
}
response = requests.get(url, params = params)
print(response.text)
{
"answer_box": {
"type": "finance_results",
"title": "Gold Futures",
"answer": "Gold Futures (Stock: GCW00, Exchange: COMEX)\nCurrent Price: 2046.9 USD\nPrevious Close: 2042.2 USD\nPrice Change: 4.7 (0.23%) since previous close\nMarket Status: Pre-market price as of Dec 5, 8:28 AM EST\n\nMarket Details:\nOpen: 2,049.00, High: 2,059.60, Low: 2,039.60, Prev close: 2,042.20, Volume: 84,138, Open interest: 401,541\n",
"exchange": "COMEX",
"stock": "GCW00",
"price": 2046.9,
"currency": "USD",
"previous_close": 2042.2,
"price_change": {
"amount": 4.7,
"percentage": 0.23,
"period": "today",
"is_up": true
},
"market": {
"date": "Dec 5, 8:28 AM EST"
},
"market_table": [
{
"name": "Open",
"value": 2049
},
{
"name": "High",
"value": 2059.6
},
{
"name": "Low",
"value": 2039.6
},
{
"name": "Prev close",
"value": 2042.2
},
{
"name": "Volume",
"value": 84.138
},
{
"name": "Open interest",
"value": 401.541
}
]
}
}
Answer Box - Currency Converter
https://www.searchapi.io/api/v1/search?engine=google&q=usd+to+eur
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "usd to eur"
}
response = requests.get(url, params = params)
print(response.text)
{
"answer_box": {
"type": "currency_converter",
"answer": "1 United States Dollar equals 0.92 Euro (Nov 20, 1:56 PM UTC)",
"price": 0.92,
"currency": "Euro",
"date": "Nov 20, 1:56 PM UTC",
"from": {
"price": 1,
"currency": "United States Dollar"
},
"to": {
"price": 0.92,
"currency": "Euro"
},
"chart": [
{
"price": 0.94325,
"datetime": "2023-10-20T23:58:00Z",
"unix_date": 1697846280
},
{
"price": 0.94325,
"datetime": "2023-10-21T23:58:00Z",
"unix_date": 1697932680
},
...
]
}
}
Answer Box - Local Time
https://www.searchapi.io/api/v1/search?engine=google&location=New+York%2CUnited+States&q=current+date
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "current date",
"location": "New York,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"answer_box": {
"type": "local_time",
"answer": "Friday, November 10, 2023 (Date in New York County, NY)",
"local_time": "Friday, November 10, 2023",
"location": "Date in New York County, NY"
}
}
Answer Box - Location
https://www.searchapi.io/api/v1/search?engine=google&location=Colombo%2C+Sri+Lanka&q=Where+is+dehiwala+zoo+located%3F
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Where is dehiwala zoo located?",
"location": "Colombo, Sri Lanka"
}
response = requests.get(url, params = params)
print(response.text)
{
"answer_box": {
"type": "location",
"answer": "120 Galvihara Rd, Dehiwala-Mount Lavinia, Sri Lanka",
"landmark": "Dehiwala Zoological Gardens, Address"
}
}
Weather Results
https://www.searchapi.io/api/v1/search?engine=google&q=Weather+in+Miami
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Weather in Miami"
}
response = requests.get(url, params = params)
print(response.text)
{
"weather_result": {
"temperature": {
"fahrenheit": 73,
"celsius": 23
},
"unit": "Fahrenheit",
"precipitation": "1%",
"humidity": "81%",
"wind": {
"kmh": 14,
"mph": 9
},
"location": "Miami, FL",
"date": "Wednesday 8:00 AM",
"weather": "Sunny",
"thumbnail": "https://ssl.gstatic.com/onebox/weather/64/sunny.png",
"forecast": [
{
"day": "Wednesday",
"weather": "Mostly sunny",
"temperature": {
"high": 85,
"low": 73
},
"precipitation": "10%",
"humidity": "64%",
"wind": "19 mph",
"thumbnail": "data:image/png;base64,..."
},
...
],
"hourly_forecast": [
{
"time": "Wednesday 8:00 AM",
"weather": "Sunny",
"temperature": "73",
"precipitation": "1%",
"humidity": "81%",
"wind": "9 mph"
},
...
],
"precipitation_forecast": [
{
"precipitation": "1%",
"day": "Wednesday",
"time": "9:00 AM"
},
...
],
"wind_forecast": [
{
"speed": "11 mph",
"direction": "From north",
"day": "Wednesday",
"time": "9:00 AM",
"angle": 74
},
...
]
}
}
Local Results
https://www.searchapi.io/api/v1/search?engine=google&location=10013%2CNew+York%2CUnited+States&q=Sushi+near+me
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Sushi near me",
"location": "10013,New York,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"local_map": {
"link": "https://www.google.com/search?hl=en&gl=us&q=Sushi+near+me&npsic=0&rflfq=1&rldoc=1&rllag=40721550,-74007423,236&tbm=lcl&sa=X&ved=2ahUKEwiu98Cu8qT_AhXuFlkFHcnNBakQtgN6BAgeEAE",
"gps_coordinates": {
"latitude": 40.72155,
"longitude": -74.007423,
"altitude": 236
},
"thumbnail": "data:image/png;base64,..."
},
"local_results": [
{
"position": 1,
"title": "Sushi Azabu",
"ludocid": "745202157283138305",
"rating": 4.5,
"reviews": 351,
"price": "$$",
"price_description": "Moderately expensive",
"type": "Sushi",
"address": "428 Greenwich St",
"is_closed": true,
"service_options": [
"Subterranean spot for super-fresh sushi"
],
"extensions": [
"Sushi Azabu",
"4.5(351)",
"$$",
"Sushi",
"428 Greenwich St",
"Closed",
"Opens 5 PM Tue",
"Subterranean spot for super-fresh sushi"
],
"image": "data:image/jpeg;base64,..."
},
...
],
"local_results_more_link": {
"link": "https://www.google.com/search?gl=us&hl=en&tbs=lf:1,lf_ui:9&tbm=lcl&q=Sushi+near+me&rflfq=1&num=10&uule=w+CAIQICIcMTAwMTMsTmV3IFlvcmssVW5pdGVkIFN0YXRlcw&sa=X&ved=2ahUKEwjcprGFypr_AhWuMlkFHf58AkcQjGp6BAgcEAE"
}
}
Job Results
https://www.searchapi.io/api/v1/search?engine=google&location=San+Francisco+Bay+Area%2CCalifornia%2CUnited+States&q=Apple+jobs
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Apple jobs",
"location": "San Francisco Bay Area,California,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"jobs": [
{
"position": 1,
"title": "Applications Engineer, Safari - Apple Vision Pro",
"company_name": "Apple",
"location": "Sunnyvale, CA",
"via": "via Careers At Apple",
"description": "Summary\nPosted: Aug 9, 2024\n\nRole Number:200537915\n\nApple is where...",
"job_highlights": [
{
"title": "Qualifications",
"items": [
"Typically requires a minimum of 3+ years shipping iOS applications",
"Proficiency in a systems programming language, such as C/C++, Objective-C, Swift, etc"
]
},
{
"title": "Benefits",
"items": [
"At Apple, base pay is one part of our total compensation package and is determined within a range",
"This provides the opportunity to progress as you grow and develop within a role"
]
}
],
"extensions": [
"5 days ago",
"Full-time",
"Health insurance",
"Dental insurance"
],
"detected_extensions": {
"posted_at": "5 days ago",
"schedule": "Full-time",
"health_insurance": true,
"dental_insurance": true
},
"apply_link": "https://jobs.apple.com/en-us/details/200537915/applications-engineer-safari-apple-vision-pro?utm_campaign=google_jobs_apply&utm_source=google_jobs_apply&utm_medium=organic",
"apply_links": [
{
"link": "https://jobs.apple.com/en-us/details/200537915/applications-engineer-safari-apple-vision-pro?utm_campaign=google_jobs_apply&utm_source=google_jobs_apply&utm_medium=organic",
"source": "Careers At Apple"
},
...
],
"sharing_link": "https://www.google.com/search?ibp=htl;jobs&q=apple%2Bjobs&htidocid=EseHjhPd93lzesvRAAAAAA%3D%3D&hl=en-US&shndl=-1&shem=vslcea&source=sh/x/job/li/m1/1#fpstate=tldetail&htivrt=jobs&htiq=apple%2Bjobs&htidocid=EseHjhPd93lzesvRAAAAAA%3D%3D",
"thumbnail": "data:image/png;base64,..."
},
...
]
}
Salary Estimates
https://www.searchapi.io/api/v1/search?engine=google&location=Miami%2CFlorida%2CUnited+States&q=Digital+marketing+salary+miami
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Digital marketing salary miami",
"location": "Miami,Florida,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"salary_estimates": [
{
"title": "Digital marketer",
"salary": {
"text": "$39k–120k per year",
"range": "$39k–120k",
"range_from": 39000.0,
"range_to": 120000.0,
"frequency": "per year"
},
"link": "https://www.indeed.com/career/digital-marketer/salaries/Miami--FL",
"location": "Miami, FL",
"source": "Indeed",
"favicon": "data:image/png;base64,..."
},
...
]
}
Shopping Ads
https://www.searchapi.io/api/v1/search?engine=google&location=New+York&q=MacBook
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "MacBook",
"location": "New York"
}
response = requests.get(url, params = params)
print(response.text)
{
"shopping_ads": [
{
"position": 1,
"block_position": "top",
"title": "Apple Macbook Pro 13.3In, M2 8C Cpu/10C Gpu, 8Gb, 256Gb Ssd, Space Gray, Mid 2022",
"seller": "Adorama",
"link": "http://www.google.com/shopping/product/10818728628057643970?lsf=seller:1057813,store:12938073204014769012&prds=oid:10818056173281470195&hl=en",
"price": "$1,299.00",
"extracted_price": 1299.0,
"order_fullfillmed_method": "In store",
"rating": 4.8,
"reviews": 9000,
"image": "data:image/webp;base64,..."
},
...
],
"shopping_ads_more_link": {
"link": "https://www.google.com/search?q=Macbook&hl=en&gl=us&source=univ&tbm=shop&tbo=u&sa=X&ved=2ahUKEwiksOrnop__AhWySjABHSFeCO0Q1TV6BAgDEHk"
}
}
Ads
https://www.searchapi.io/api/v1/search?engine=google&location=New+York&q=VPN
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "VPN",
"location": "New York"
}
response = requests.get(url, params = params)
print(response.text)
{
"ads": [
{
"position": 1,
"block_position": "top",
"title": "ExpressVPN™ Official Website - Download ExpressVPN Risk-Free.",
"source": "ExpressVPN™",
"link": "https://www.expressvpn.com/go/home",
"domain": "www.expressvpn.com",
"displayed_link": "https://www.expressvpn.com",
"snippet": "ExpressVPN: The World's Most Trusted VPN Provider Protects All Your Devices and Platforms.",
"snippet_highlighted_words": [
"VPN"
],
"sitelinks": {
"expanded": [
{
"title": "Servers in 94 Countries",
"snippet": "VPN Servers in 94 Countries. Get a Fast, Secure Connection.",
"link": "https://www.expressvpn.com/go/vpn-server"
},
{
"title": "What Is a VPN?",
"snippet": "Learn How ExpressVPN Helps You ExpressVPN: User-Friendly VPN",
"link": "https://www.expressvpn.com/go/what-is-vpn-1"
},
{
"title": "ExpressVPN for Windows",
"snippet": "Works on Windows 10, 8, and 7 Set up ExpressVPN for Windows",
"link": "https://www.expressvpn.com/go/vpn-software/vpn-windows-1"
}
]
},
"favicon": "data:image/png;base64,..."
},
...
]
}
Local Ads
https://www.searchapi.io/api/v1/search?engine=google&location=New+York&q=lawyer
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "lawyer",
"location": "New York"
}
response = requests.get(url, params = params)
print(response.text)
{
"local_ads": {
"title": "Lawyers | New York",
"badge": "GOOGLE SCREENED",
"ads": [
{
"title": "Ginarte Gallardo Gonzalez & Winograd, L.L.P.",
"link": "https://www.google.com/localservices/prolist?g2lbs=ADZRdkvcBNrJmnKN-jG0-37dCVuT-LyN8uEfxD51qG4aYHt2SLuXSYxj4ScSd0l4mUFBXh0YLTuxs64Mb88BSykcwbLa8hG9TQ%3D%3D&hl=en-US&gl=us&ssta=1&src=1&gsas=1&slp=OrABQ2hNSV85SE92WU9SX3dJVmFldmpCeDA0RkFKZUVod0lCQkFCR2d3SWh1V1loQUlRM3VpZnVRa2dydG5ISVRqWDdPTVFFaHdJQkJBQ0dnd0lnWVBtdEFNUXlJdVozd2tnNGF2VEtqancxYWtWRWh3SUJCQURHZ3dJNi12V3RRTVE0czJzM3drZy12djNKemo5X2ZzVEdLT1VrX2FjRVJqYzgtSG5sQkVZdWZ5OGxjOFE%3D&spp=EuYEChIIhuWYhAIQ3uifuQkY_8evoCUSJ3hjYXQ6c2VydmljZV9hcmVhX2J1c2luZXNzX2xhd3llcjplbi1VU0ITCP_Rzr2Dkf8CFWnr4wcdOBQCXkgEUAFijQQKZy9hY2xrP3NhPUwmYWk9RENoY1NFd2pfMGM2OWc1SF9BaFZwNi1NSEhUZ1VBbDRZQUJBTkdnSjViUSZzaWc9QU9ENjRfMTNLMkR4dXAyem9XV1UzVTJ5bXdQNzJnaGZYQSZhZHVybD0SZy9hY2xrP3NhPUwmYWk9RENoY1NFd2pfMGM2OWc1SF9BaFZwNi1NSEhUZ1VBbDRZQUJBSEdnSjViUSZzaWc9QU9ENjRfMDBMMy1vRDNYS0NidGdVQ1JTdXV5QWFtNXZMdyZhZHVybD0aZy9hY2xrP3NhPUwmYWk9RENoY1NFd2pfMGM2OWc1SF9BaFZwNi1NSEhUZ1VBbDRZQUJBSkdnSjViUSZzaWc9QU9ENjRfM0dQTlY3ZDBnU0FRb1QxTjhFZWRRWU9fdTlQUSZhZHVybD0iZy9hY2xrP3NhPUwmYWk9RENoY1NFd2pfMGM2OWc1SF9BaFZwNi1NSEhUZ1VBbDRZQUJBRUdnSjViUSZzaWc9QU9ENjRfMzVXMTRqUVVsMTd6VU5XcHVqUEIyZXMwQ1Y4QSZhZHVybD0qZy9hY2xrP3NhPUwmYWk9RENoY1NFd2pfMGM2OWc1SF9BaFZwNi1NSEhUZ1VBbDRZQUJBUEdnSjViUSZzaWc9QU9ENjRfMTFZWUh6ay1sd2hwcks2MlYtQml6ZTRhUFFPUSZhZHVybD0%3D&scp=Cid4Y2F0OnNlcnZpY2VfYXJlYV9idXNpbmVzc19sYXd5ZXI6ZW4tVVMSIhoSCTsIP9OlT8KJEWL-d-EGjwvIIghOZXcgWW9yazjXuT4qA0xhdw%3D%3D&q=Lawyer",
"rating": 4.8,
"reviews": 303,
"extensions": [
"41 years in business",
"Serves New York",
"Open 24/7"
],
"thumbnail": "https://lh3.googleusercontent.com/KqYi3bMKxkFtc64BDVWoobZC3RFu6kRIRNM2Ev3t3qzY9-iU7XFzD67b8sBs=sc0x00ffffff-w100-h100-fcrop64=1,07ba0000ff09a4ce-rj"
},
...
],
"see_more_link": {
"title": "More Lawyers in New York",
"link": "https://www.google.com/localservices/prolist?g2lbs=ADZRdktLLrKwxJtbdlx8IzUO9yCZZ-L6dqRT0SEOPO6Zz_AFT8ywD321nn86W6LevY-Hn0gou0j7bsRUSEdiZ2gjjp9hJUgClA%3D%3D&hl=en-US&gl=us&ssta=1&src=1&gsas=1&scp=Cid4Y2F0OnNlcnZpY2VfYXJlYV9idXNpbmVzc19sYXd5ZXI6ZW4tVVMSIhoSCTsIP9OlT8KJEWL-d-EGjwvIIghOZXcgWW9yazjXuT4qA0xhdw%3D%3D&slp=OrABQ2hNSV85SE92WU9SX3dJVmFldmpCeDA0RkFKZUVod0lCQkFCR2d3SWh1V1loQUlRM3VpZnVRa2dydG5ISVRqWDdPTVFFaHdJQkJBQ0dnd0lnWVBtdEFNUXlJdVozd2tnNGF2VEtqancxYWtWRWh3SUJCQURHZ3dJNi12V3RRTVE0czJzM3drZy12djNKemo5X2ZzVEdLT1VrX2FjRVJqYzgtSG5sQkVZdWZ5OGxjOFE%3D&q=Lawyer&sa=X&ved=2ahUKEwi0pMK9g5H_AhU3fjABHXuIDJUQl5UCegQIAhBa"
},
"categories": [
{
"title": "Bankruptcy law",
"link": "https://www.google.com/localservices/prolist?g2lbs=ADZRdksOvsRbo7vJvFnMl9YH38oXezku9TmyPzo03vgWEv0uDRQUF_z3oStB9pJ1jQLX1rPmAxEpq7GplmKzR4ouGBjJNQTxuA%3D%3D&hl=en-US&gl=us&ssta=1&src=1&gsas=1&scp=CjJ4Y2F0OnNlcnZpY2VfYXJlYV9idXNpbmVzc19iYW5rcnVwdGN5X2xhd3llcjplbi1VUxIiGhIJOwg_06VPwokRYv534QaPC8giCE5ldyBZb3JrONe5PioOQmFua3J1cHRjeSBsYXc%3D&slp=OrABQ2hNSV85SE92WU9SX3dJVmFldmpCeDA0RkFKZUVod0lCQkFCR2d3SWh1V1loQUlRM3VpZnVRa2dydG5ISVRqWDdPTVFFaHdJQkJBQ0dnd0lnWVBtdEFNUXlJdVozd2tnNGF2VEtqancxYWtWRWh3SUJCQURHZ3dJNi12V3RRTVE0czJzM3drZy12djNKemo5X2ZzVEdLT1VrX2FjRVJqYzgtSG5sQkVZdWZ5OGxjOFE%3D&q=Lawyer&sa=X&ved=2ahUKEwi0pMK9g5H_AhU3fjABHXuIDJUQ4M4HKAB6BAgCEA0"
},
{
"title": "Business law",
"link": "https://www.google.com/localservices/prolist?g2lbs=ADZRdks-TFMSdCpDKyFPPQ5CIr31xj70VUlC7WCW4i6d529xvlBfD3ej2AeWH3xG31q7r8ZmKP0o4onARe_1GIVLrgm4qS_0EQ%3D%3D&hl=en-US&gl=us&ssta=1&src=1&gsas=1&scp=CjB4Y2F0OnNlcnZpY2VfYXJlYV9idXNpbmVzc19idXNpbmVzc19sYXd5ZXI6ZW4tVVMSIhoSCTsIP9OlT8KJEWL-d-EGjwvIIghOZXcgWW9yazjXuT4qDEJ1c2luZXNzIGxhdw%3D%3D&slp=OrABQ2hNSV85SE92WU9SX3dJVmFldmpCeDA0RkFKZUVod0lCQkFCR2d3SWh1V1loQUlRM3VpZnVRa2dydG5ISVRqWDdPTVFFaHdJQkJBQ0dnd0lnWVBtdEFNUXlJdVozd2tnNGF2VEtqancxYWtWRWh3SUJCQURHZ3dJNi12V3RRTVE0czJzM3drZy12djNKemo5X2ZzVEdLT1VrX2FjRVJqYzgtSG5sQkVZdWZ5OGxjOFE%3D&q=Lawyer&sa=X&ved=2ahUKEwi0pMK9g5H_AhU3fjABHXuIDJUQ4M4HKAF6BAgCEBA"
},
...
]
}
}
Inline Shopping
https://www.searchapi.io/api/v1/search?engine=google&location=New+York&q=desktops
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "desktops",
"location": "New York"
}
response = requests.get(url, params = params)
print(response.text)
{
"inline_shopping": [
{
"position": 1,
"title": "HP 21.5\" All-In-One Intel Celeron",
"source": "Best Buy, 5+ stores",
"rating": 4.4,
"reviews": 877,
"price": "$379.99",
"extracted_price": 379.99,
"comments": [
"Easy to set up (76 user reviews)"
],
"extensions": [
"52 mi",
"In stock"
],
"thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcSAqcNn21lh_NjmR1zziDPlfzE9p3ZyiBPtSceeTOY6HlXszLP_6ah7c9FmOBTJdD7-82JwaSWZfGTnz-maDpXmbmbgjO7mi7Zp8bAewkU"
},
...
]
}
From Sources Across the Web
https://www.searchapi.io/api/v1/search?engine=google&q=companies+providing+developer+documentation+tools
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "companies providing developer documentation tools"
}
response = requests.get(url, params = params)
print(response.text)
{
"from_sources_across_the_web": {
"items": [
{
"name": "Document360",
"thumbnail": "data:image/jpeg;base64,..."
},
{
"name": "README",
"thumbnail": "data:image/jpeg;base64,..."
},
...
]
}
}
Discussions and Forums
https://www.searchapi.io/api/v1/search?engine=google&q=Healthy+snacks
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Healthy snacks"
}
response = requests.get(url, params = params)
print(response.text)
{
"discussions_and_forums": [
{
"title": "What are some healthy snacks that can help me stay full throughout the day? - Quora",
"link": "https://www.quora.com/What-are-some-healthy-snacks-that-can-help-me-stay-full-throughout-the-day",
"source": "www.quora.com",
"date": "Oct 26, 2023",
"posts": "8 posts",
"favicon": "data:image/png;base64,..."
},
...
]
}
Related Questions
https://www.searchapi.io/api/v1/search?engine=google&q=chatgpt
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "chatgpt"
}
response = requests.get(url, params = params)
print(response.text)
{
"related_questions": [
{
"question": "Is ChatGPT safe to use?",
"answer": "When it comes to the safety of its answers, OpenAI has openly admitted that ChatGPT can produce biased and potentially harmful answers, but hopes to mitigate against this issue by encouraging users to give feedback.",
"answer_highlight": "ChatGPT can produce biased and potentially harmful answers",
"date": "1 day ago",
"source": {
"title": "What is ChatGPT, is it safe to use and how to delete your data from it",
"link": "https://www.walesonline.co.uk/news/uk-news/what-chatgpt-safe-use-how-26926213#:~:text=When%20it%20comes%20to%20the,encouraging%20users%20to%20give%20feedback.",
"domain": "www.walesonline.co.uk",
"displayed_link": "https://www.walesonline.co.uk › news › uk-news › what-...",
"favicon": "data:image/png;base64,..."
},
"search": {
"title": "Search for: Is ChatGPT safe to use?",
"link": "https://www.google.com/search?hl=en&gl=us&q=Is+ChatGPT+safe+to+use%3F&sa=X&ved=2ahUKEwjKjPLS0vz-AhWlATQIHVL6ARsQzmd6BAghEAY"
}
},
...
]
}
Questions and Answers
https://www.searchapi.io/api/v1/search?engine=google&q=Why+do+we+only+see+one+side+of+the+moon%3F
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Why do we only see one side of the moon?"
}
response = requests.get(url, params = params)
print(response.text)
{
"questions_and_answers": [
{
"question": "Why is that we only see one side of the moon?",
"answer": "The short answer is that the Moon rotates on its axis exactly once for every time it orbits the Earth. When it has travelled half way around its orbit, it has also rotated half way, so it still shows us the same side. The mechanism that has caused this is a process called tidal locking, which is a complicated interaction between the gravity of Earth pulling on the Moon and slowing its rotation until it matched the period of its orbit.",
"link": "https://www.reddit.com/r/askscience/comments/166wpj1/why_is_that_we_only_see_one_side_of_the_moon/",
"votes": 890,
"source": "Reddit"
},
...
]
}
Explore Brands
https://www.searchapi.io/api/v1/search?engine=google&q=Coffee
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Coffee"
}
response = requests.get(url, params = params)
print(response.text)
{
"explore_brands": [
{
"title": "Stumptown Coffee Roasters",
"link": "https://www.stumptowncoffee.com/collections/coffee",
"snippet": "Shop Stumptown for single-origin coffee beans and unique blends. Roasted daily. Visit our site to see all of the coffee, espresso, and gift options.",
"favicon": "data:image/png;base64...",
"thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRIR1S5JJsIouRNVKh_P1eLIqLIWjBxaty6W-ixvmbeZM-mVBm3e_AlRHldKr6bmBz2_eot75Ab"
},
{
"title": "Death Wish Coffee Company",
"link": "https://www.deathwishcoffee.com/",
"snippet": "Live with a Death Wish. Death Wish Coffee Company delivers a bold, full-bodied yet flavorful brew that will awaken your taste buds, with an extra kick of ...",
"merchant": {
"rating": 4.9,
"reviews": 2900,
"link": "https://www.google.com/shopping/ratings/merchant/immersivedetails?q=deathwishcoffee.com&c=US&v=19",
"badge": "Trending seller"
},
"favicon": "data:image/png;base64...",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRjobj9wNrIKNUc5rN8ZaKy7MvLnjtCG6jNf1ccbsu3Y4pfPHlXlhdD-FGoQq4"
},
...
]
}
About This Result
https://www.searchapi.io/api/v1/search?engine=google&q=LangChain.com
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "LangChain.com"
}
response = requests.get(url, params = params)
print(response.text)
{
"about_this_result": [
{
"title": "LangChain",
"link": "https://en.wikipedia.org/wiki/LangChain",
"domain": "en.wikipedia.org",
"displayed_link": "https://en.wikipedia.org › wiki › LangChain",
"snippet": "History edit. LangChain was launched in October 2022 as an open source project by Harrison Chase, while working at machine learning startup Robust Intelligence.",
"favicon": "data:image/png;base64,..."
},
...
]
}
Things to Do
https://www.searchapi.io/api/v1/search?engine=google&location=Australia&q=Sydney+things+to+do
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Sydney things to do",
"location": "Australia"
}
response = requests.get(url, params = params)
print(response.text)
{
"things_to_do": [
{
"title": "Sydney Opera House",
"link": "https://www.google.com/search?sca_esv=578870548&gl=us&hl=en&q=Sydney+Opera+House&stick=H4sIAAAAAAAAAONgFuLQz9U3MKs0NVeCsOLzcrUUs5Ot9HPykxNLMvPz4AyrxJKSosRkELN4EatQcGVKXmqlgn9BalGigkd-aXEqAB6qc9lOAAAA&sa=X&ved=2ahUKEwjd5b7c6qWCAxXmv4kEHU4ACYkQ2coHegQIWBAB",
"rating": 4.7,
"reviews": 75000,
"attraction": "Performing arts theater",
"price": "$27.59",
"extracted_price": 27.59,
"thumbnail": "data:image/jpeg;base64,..."
},
...
],
"things_to_do_more_link": "https://www.google.com/search?sca_esv=578870548&gl=us&hl=en&q=Things+to+do+in+Sydney&sa=X&ved=2ahUKEwjd5b7c6qWCAxXmv4kEHU4ACYkQxN8JegQIdBAI"
}
Popular Destinations
https://www.searchapi.io/api/v1/search?engine=google&location=New+York&q=Popular+Destinations+in+Croatia
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Popular Destinations in Croatia",
"location": "New York"
}
response = requests.get(url, params = params)
print(response.text)
{
"popular_destinations": [
{
"title": "Plitvice Lakes National Park",
"link": "https://www.google.com/search?sca_esv=0f676148fa9f8081&hl=en&gl=us&q=Plitvice+Lakes+National+Park&si=ACC90nzx_D3_zUKRnpAjmO0UBLNxnt7EyN4YYdru6U3bxLI-L0ztLMUTPHuAlm78dCpIHEiprIywT3B3ZU-bf90biChDVjGspw%3D%3D&sa=X&ved=2ahUKEwj0-8ShiJ2HAxXOJEQIHc-SDJAQs4ILegQIGBAD",
"description": "Terraced lakes linked by waterfalls",
"flight_price": "$587",
"extracted_flight_price": 587,
"flight_duration": "12h",
"drive_duration": "2h",
"thumbnail": "data:image/jpeg;base64,..."
},
{
"title": "Zadar",
"link": "https://www.google.com/search?sca_esv=0f676148fa9f8081&hl=en&gl=us&q=Zadar&si=ACC90nzx_D3_zUKRnpAjmO0UBLNxnt7EyN4YYdru6U3bxLI-L6CT5KZmDA4O5ovYIh1ofZa9mDylZP3a2zf33G3CsFY2hsSflQ%3D%3D&sa=X&ved=2ahUKEwj0-8ShiJ2HAxXOJEQIHc-SDJAQs4ILegQIFBAD",
"description": "Dalmatian coast, Sea Organ & churches",
"hotel_price": "$158",
"extracted_hotel_price": 158,
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQPZ5ZJc5tz8bL7mojU58yVxztajPkJWueNQBki-prfddqeedIyInbQl2Cx1xo&s=8"
},
...
]
}
Events
https://www.searchapi.io/api/v1/search?engine=google&location=New+York%2CUnited+States&q=Events+next+week
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Events next week",
"location": "New York,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"events": [
{
"title": "Khruangbin",
"link": "https://www.google.com/search?gl=us&hl=en&q=khruangbin,+the+bowery+ballroom,+28+mar&uule=w+CAIQICIWTmV3IFlvcmssVW5pdGVkIFN0YXRlcw&si=AKbGX_rO4P19IF_yO85wYpkEaz-W_oZWd5JUOOVnUVftf2aeoT77C10cD4dKOlGqQ2ko9VK3IfFLdsraeQWkqhrRbCNSMcRXNQRk6UyDlzUn5imwXJ4HJVDIXcQ1b5xrCjJl0-IxDOKcs4WGWOjcAln9h8UtomrbKWwW0eiRm6Tbws0ujvKiB_jKCA4ZLvO9u7weY5vzGkRVNFHowWmKk2eeT29YOwWaSw%3D%3D&source=ev.im&sa=X&ved=2ahUKEwij_aS6i4CFAxVZMlkFHeneAicQsdoCegQIbxAB#",
"date": {
"day": "28",
"month": "Mar"
},
"duration": "Thu, Mar 28 – Fri, Mar 29 - $79+",
"address": "The Bowery Ballroom, 6 Delancey St",
"location": "New York, NY",
"thumbnail": "data:image/jpeg;base64..."
},
...
]
}
Scholarly Articles
https://www.searchapi.io/api/v1/search?engine=google&q=Advancements+in+Robotics
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Advancements in Robotics"
}
response = requests.get(url, params = params)
print(response.text)
{
"scholarly_articles": {
"title": "Scholarly articles for Advancements in Robotics",
"link": "https://scholar.google.com/scholar?q=Advancements+in+Robotics&hl=en&as_sdt=0&as_vis=1&oi=scholart",
"articles": [
{
"title": "Recent advancements of robotics in construction",
"link": "https://www.sciencedirect.com/science/article/pii/S0926580522004617",
"title_highlighted_words": ["advancements", "robotics"],
"author": "Xiao",
"cited_by": 42
},
...
]
}
}
Universities & Colleges
https://www.searchapi.io/api/v1/search?engine=google&location=New+York&q=Universities+in+California
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Universities in California",
"location": "New York"
}
response = requests.get(url, params = params)
print(response.text)
{
"universities": [
{
"title": "University of California, Berkeley",
"link": "https://www.google.com/search?gl=us&hl=en&ie=UTF-8&q=universities+in+california&ibp=htl;splinter&rciv=spl&sa=X&ved=2ahUKEwiR_fTq0peHAxVNMlkFHeNXBvYQrYMDegQIJxAB#htidocid=s6bxnM5DviHd9zxxAAAAAA%3D%3D",
"city": "Berkeley, CA",
"education_type": "Public",
"education_duration": "4-year",
"extracted_education_duration": 4,
"thumbnail": "data:image/png;base64..."
}
]
}
Inline Videos
https://www.searchapi.io/api/v1/search?engine=google&q=scraping+tutorial
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "scraping tutorial"
}
response = requests.get(url, params = params)
print(response.text)
{
"inline_videos": [
{
"position": 1,
"title": "Web Scraping with Python - Beautiful Soup Crash Course",
"link": "https://www.youtube.com/watch?v=XVv6mJpFOb0",
"source": "YouTube",
"channel": "freeCodeCamp.org",
"date": "Nov 18, 2020",
"key_moments": [
{
"time": "00:00",
"seconds": 0,
"title": "Basic HTML Structure, HTML Tags Explanation",
"link": "https://www.youtube.com/watch?v=XVv6mJpFOb0&t=0",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQslsiE3PdIL7D4-DQVjRnXizuMrrWRQeH_ITOGrxxSog&s"
},
{
"time": "05:35",
"seconds": 335,
"title": "Packages Installation",
"link": "https://www.youtube.com/watch?v=XVv6mJpFOb0&t=335",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSa6fWFmZ6EtBAH26vgMvzsSUDz7aMvjAyqkeZxnceSpQ&s"
},
...
],
"image": "data:image/jpeg;base64,..."
},
...
],
"inline_videos_more_link": "https://www.google.com/search?gl=us&hl=en&tbm=vid&q=scraping+tutorial&sa=X&ved=2ahUKEwjW0r-r_9P_AhXpOUQIHch6DwUQ8ccDegQIEBAJ"
}
Inline Tweets
https://www.searchapi.io/api/v1/search?engine=google&location=New+York%2CUnited+States&q=Elon+Musk+tweets
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Elon Musk tweets",
"location": "New York,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"inline_tweets": {
"title": "Elon Musk tweets on Twitter",
"link": "https://twitter.com/search?q=elon+musk+tweets\u0026ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Esearch",
"displayed_link": "https://twitter.com/search/Elon+Musk+tweets",
"tweets": [
{
"tweet_id": "1664637044549726210",
"link": "https://twitter.com/elonmusk/status/1664637044549726210?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet",
"snippet": "Let that sink in",
"date": "2 hours ago",
"author": {
"name": "Elon Musk",
"screen_name": "elonmusk",
"link": "https://twitter.com/elonmusk",
"thumbnail": "data:image/jpeg;base64,..."
}
},
...
]
}
}
Inline Images
https://www.searchapi.io/api/v1/search?engine=google&q=Panda+images
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Panda images"
}
response = requests.get(url, params = params)
print(response.text)
{
"inline_images": {
"suggestions": [
{
"title": "cute",
"link": "https://www.google.com/search?gl=us&hl=en&q=Panda+images&tbm=isch&chips=q:panda+photo,g_1:cute:scIXM7LfkcI%3D&usg=AI4_-kSxgUC4tTpNqb53r1J-ZQFIClpuLw&sa=X&ved=2ahUKEwj6idfB8PL_AhV5J0QIHehgBokQgIoDKAB6BAgLEBE",
"chips": "q:panda+photo,g_1:cute:scIXM7LfkcI%3D",
"thumbnail": "data:image/jpeg;base64,..."
},
...
],
"images": [
{
"title": "550+ Giant Panda Pictures | Download Free Images on Unsplash",
"source": {
"name": "Unsplash",
"link": "https://unsplash.com/s/photos/giant-panda"
},
"original": {
"link": "https://images.unsplash.com/photo-1625859043880-56acbcb6a6ac?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8Z2lhbnQlMjBwYW5kYXxlbnwwfHwwfHx8MA%3D%3D&w=1000&q=80",
"height": 1250,
"width": 1000,
"size": "279KB"
},
"thumbnail": "data:image/jpeg;base64,..."
},
...
]
}
}
Inline Recipes
https://www.searchapi.io/api/v1/search?engine=google&q=Pancakes
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Pancakes"
}
response = requests.get(url, params = params)
print(response.text)
{
"inline_recipes": [
{
"title": "Good Old-Fashioned Pancakes",
"link": "https://www.allrecipes.com/recipe/21014/good-old-fashioned-pancakes/",
"rating": 4.6,
"reviews": 18000,
"ingredients": [
"Butter",
"egg",
"baking powder",
"all purpose flour",
"white sugar"
],
"source": "Allrecipes",
"duration": "20 min",
"thumbnail": "data:image/jpeg;base64,..."
},
...
]
}
Top Stories
https://www.searchapi.io/api/v1/search?engine=google&q=US+news
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "US news"
}
response = requests.get(url, params = params)
print(response.text)
{
"top_stories": [
{
"title": "G7 Members Should Not Compete Against Each Other on Renewables - Von Der \nLeyen",
"link": "https://www.usnews.com/news/world/articles/2023-05-19/g7-members-should-not-compete-against-each-other-on-renewables-von-der-leyen",
"source": "USNews.com",
"date": "15 mins ago",
"thumbnail": "data:image/jpeg;base64,..."
},
{
"title": "UK Targets Grain Theft and Energy Sector With New Russian Sanctions",
"link": "https://www.usnews.com/news/top-news/articles/2023-05-19/uk-targets-grain-theft-and-energy-sector-with-new-russian-sanctions",
"source": "USNews.com",
"date": "33 mins ago",
"thumbnail": "data:image/jpeg;base64,..."
},
...
]
}
Courses
https://www.searchapi.io/api/v1/search?engine=google&q=Python+courses
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google",
"q": "Python courses"
}
response = requests.get(url, params = params)
print(response.text)
{
"courses": [
{
"title": "Learn Python 3",
"link": "https://www.codecademy.com/learn/learn-python-3",
"source": "Codecademy",
"rating": 4.6,
"reviews": 7200,
"extensions": ["Beginner", "Subscription", "1 day"],
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSETD8S7m7VBfEkuNcqP49pIJvxPX6yg6QG-wQl0ED2b-oeZIUmcz8PYhnD&s"
},
...
]
}