Connect with us

News Trend

Search Engine Optimization (SEO) Introduction to serpstack’s Free, Real-Time Google Search Results API


SEO Trends

Search Engine Optimization (SEO) Introduction to serpstack’s Free, Real-Time Google Search Results API

Welcome to today’s tutorial on serpstack, a free, real-time Google search results API used to monitor brand performance on search engine results pages around the world. That’s what “serp” stands for, search engine results pages. serpstack is a vital SEO tool to research and understand search engine performance.Search engines dynamically change the results of user…

Search Engine Optimization (SEO) Introduction to serpstack’s Free, Real-Time Google Search Results API

Search Engine Optimization (SEO)

Welcome to on the present time’s tutorial on serpstack, a free, valid-time Google search outcomes API venerable to video display mark performance on search engine outcomes pages across the realm. That’s what “serp” stands for, search engine outcomes pages. serpstack is a prime website positioning tool to examine and trace search engine performance.

Engines like google and yahoo dynamically substitute the outcomes of client key phrase searches essentially based totally mostly on a diversity of things unbiased like keep, the buyer’s machine, language and perusing historic past. Reckoning on when and where a shopper queries from, the outcomes would possibly maybe moreover unbiased even be very different. To totally comprehend how search engines respond to different customers, that it is possible you’ll presumably like a cosmopolitan website positioning API.

serpstack signifies that you can repeatedly video display search engine performance to your mark or designated key phrases from different locations, devices and languages over time. These qualities moreover assemble serpstack an very supreme tool for Net researchers.

Search Engine Optimization (SEO) Home page of apilayer's serpstack real-time accurate Google search results and SEO API

Dwelling net page of apilayer’s serpstack valid-time correct Google search outcomes and website positioning API

Shall we tell, even as you is inclined to be running a political advertising and marketing and marketing campaign, it is possible you’ll exhaust the API to peruse the adverts that appear in Current York Metropolis when a shopper queries Elizabeth Warren from her iPhone. Or, even as you is inclined to be running a backyard mowing substitute it is possible you’ll sight the natural search outcomes when a Londoner searches for “fetch someone to mow my backyard”.

serpstack is a comprehensive resolution to search engine diagnosis. Its API affords 17 kinds of responses from Google search: Ad Results, Natural Results, Image Results, Video Results, News Results, Searching Results, Local Results, Reply Field, Weather Field, High Carousel, High Reports, Knowledge Graph, Inline Tweets, Linked Searches, Linked Questions, Linked Locations and Paginate. If it seems in search outcomes, serpstack affords it.

Whereas it would possibly maybe be easy to obtain lost in this complexity, serpstack’s tidy documentation makes it uncomplicated to begin programming and uncomplicated to interpret the outcomes.

Search Engine Optimization (SEO) screenshot of features from the serpstack home page including simple integration, bank-level security, world-class support, JSON & CSV, unparalleled speed and extensive documentation.

screenshot of features from the serpstack house net page along side uncomplicated integration, financial institution-stage security, world-class reinforce, JSON & CSV, unparalleled slump and intensive documentation.

Firstly, serpstack helps Google Search with additional search engines coming over time.

Since it is miles a REST API, serpstack would possibly maybe moreover unbiased even be venerable from any programming language. To let you open fleet, it involves coding examples for PHP, Python, Node.js, jQuery, Jog and Ruby.

And serpstack is high performing and scalable, processing queries in milliseconds.

The firm listless serpstack is apilayer. Right here’s my ninth article about its companies and products, and I’m a abundant fan of the simplicity and accessibility of its companies and products. apilayer affords the same pricing fashions, register, quickstart guides and clearly structured documentation.

Right here are a number of of apilayer’s companies and products, I’ve written about previously at ProgrammableWeb:

When you happen to salvage venerable any of its companies and products forward of, beginning with the serpstack API shall be familiar to you. The documentation and REST API structure is consistent across its suite of merchandise, most of that are supreme for strengthening your utility or website. And, every affords a arena net page where it is possible you’ll overview the nearly 100% uptime of the service.

When you happen to is inclined to be a startup or unbiased developer, apilayer always affords a beneficiant free thought with all of its companies and products, as it has with the serpstack API.

Let’s open researching search engine end result pages for different examples.

Search Engine Optimization (SEO) Getting Started with the serpstack API

To open exploring serpstack, it is possible you’ll salvage to register for an myth, the free myth stage is gigantic for exploring the API and initial utilization, allowing 100 searches per thirty days.

Get Your Free serpstack API Key

Search Engine Optimization (SEO) Screenshot of serpstack pricing page. Sign up for free, or choose from four paid plans: Basic, Business, Business pro or Enterprise.

Screenshot of serpstack pricing net page. Be part of free, or obtain from four paid plans: Popular, Industrial, Industrial authentic or Enticing in.

The Free thought involves 100 API requests. Other plans add means, encryption and more evolved features which we’ll represent additional below.

By paying yearly, it will keep you 20 p.c on any thought (with the exception of on the free thought, haha).

The Brand-Up Maintain

After getting chosen a thought you will seemingly be requested to stay a Brand Up form. It is very uncomplicated:

Search Engine Optimization (SEO) serpstack sign up and registration form. The example shown is the free plan with email, password, name and address information. The image shows the below-the-scroll portion of the form for Company Details and Google CAPTCHA at the right.

serpstack register and registration form. The instance confirmed is the free thought with email, password, title and contend with files. The image reveals the below-the-scroll fragment of the form for Company Information and Google CAPTCHA on the factual.

If you click Brand Up, a welcome letter with hyperlinks to the documentation will arrive on your email.

Search Engine Optimization (SEO) The welcome email from serpstack real time Google search results API includes a link to the serpstack documentation and its customer support email.

The welcome email from serpstack valid time Google search outcomes API involves a hyperlink to the serpstack documentation and its customer reinforce email.

Let’s salvage a take a look on the Dashboard, which customers of different apilayer companies and products will at as soon as acknowledge. When you happen to employ one apilayer service, getting began with every other is quite uncomplicated.

The serpstack API Dashboard

serpstack’s API dashboard affords your API key and a truly easy 3 step quickstart files:

Step 1 – Your API Get entry to Key

Your API entry key affords entry to the serpstack API. It is required to be incorporated as a parameter in every name. You would possibly maybe moreover reset essentially the main to procure a brand novel one at any time even as you should.

Search Engine Optimization (SEO) The serpstack API 3-Step Quickstart Guide for getting started using the real time Google search results services.

The serpstack API 3-Step Quickstart Info for getting began the utilization of the valid time Google search outcomes companies and products.

Step 2 – Get Your First API Ask

Now, let’s try our first programmatic Google search question. From the Quickstart, it is possible you’ll click on the hyperlink within the SEARCH tab and this can provoke a truly easy save a query to for Google search outcomes for McDonalds.

Search Engine Optimization (SEO) serpstack API Quickstart Make API Request screenshot. It shows the parameters for a REST API request to search for results at Google.

serpstack API Quickstart Get API Ask screenshot. It reveals the parameters for a REST API question to discover outcomes at Google.

When you happen to ought to salvage a take a examine your possess save a query to, you will seemingly be in a position to want to substitute the letter x’s below along with your API entry key.

https://api.serpstack.com/search?access_key=xxxxx&save a query to=your-save a query to

Customarily, serpstack returns an ideal quantity of knowledge. It is demanding to fleet visualize. I placed the ends up in this net essentially based totally mostly JSON parser (e.g. http://json.parser.on-line.fr) so I will more clearly demonstrate you the JSON response structure. I purposefully collapsed a series of response parts to simplify its appearance. The plus indicators below represent the parts I collapsed.

Search Engine Optimization (SEO) serpstack API response example of quickstart query for Google results from mcdonalds, serp results in JSON format. See organic results, inline images, related searches, knowledge graph et al.

serpstack API response instance of quickstart save a query to for Google outcomes from mcdonalds, serp ends up in JSON format. Glimpse natural outcomes, inline pictures, linked searches, knowledge graph et al.

Step 3 – Integrate into Your Utility

To enact the Quickstart and cross on, let’s dive into the API more closely.

Search Engine Optimization (SEO) Screenshot of last step of the serpstack API Quickstart, Integrate serp into your application.

Screenshot of closing step of the serpstack API Quickstart, Integrate serp into your utility.

All of apilayer’s companies and products, along side serpstack present programming examples to let you open. serpstack affords coding examples for six languages: PHP, Python, Node.js, jQuery, Jog and Ruby. To are attempting the formula it is possible you’ll exhaust serpstack from code, here is a Python instance:

import requests
params = {
  'access_key': 'YOUR_ACCESS_KEY',
  'save a query to': 'mcdonalds'
}
api_result = requests.obtain('https://api.serpstack.com/search', params)
api_response = api_result.json()
print "Complete outcomes: ", api_response['search_information']['total_results']
for quantity, end result in enumerate(api_response['organic_results'], delivery=1):
    print "%s. %s" % (quantity, end result['title'])

I will demonstrate more of these additional below.

Beyond the basics, serpstack affords a series of main evolved features for monitoring Google search outcomes from locations across the realm. Let’s take a demand at these.

Search Engine Optimization (SEO) Realizing serpstack’s Google Search API

serpstack API save a query to and its parameters

serpstack’s valuable website positioning API is the search engine save a query to. A complete lot of the remainder of your time shall be spent figuring out serpstack’s detailed response knowledge. Let’s overview how to make exhaust of the save a query to design for the info that it is possible you’ll presumably like.

Search Engine Optimization (SEO) screenshot of documentation of serpstack's primary SEO query method API parameters: engine, type, device, location, auto_location and google_domain.

screenshot of documentation of serpstack’s valuable website positioning save a query to design API parameters: engine, form, machine, keep, auto_location and google_domain.

Right here are the parameters that that it is possible you’ll presumably be the utilization of:

  • save a query to is the search that you will must obtain knowledge for e.g. “now no longer doable burger”.
  • engine specifies the search engine to make exhaust of, the default is Google.
  • form signifies that you can specify a typical net search or pictures, videos, news or browsing outcomes.
  • machine signifies that you can specify desktop, cellular or capsule.
  • keep specifies a geographic keep to bound your search save a query to from. The Locations API which I will represent additional below can lend a hand disambiguate locations.
  • auto_location signifies that you can robotically keep the domain, g1 and h1 parameters below to save a query to from a foreign Google domain e.g. Google.fr for France

And there would possibly be more:

Search Engine Optimization (SEO) screenshot of documentation of serpstack's primary query method API parameters: google_domain, gl, hl, safe, period, period_start, period_end, news_type, exclude_autocorrected_resuls and images_page.

screenshot of documentation of serpstack’s valuable save a query to design API parameters: google_domain, gl, hl, procure, interval, period_start, period_end, news_type, exclude_autocorrected_resuls and images_page.

  • google_domain, gl and hl wait on you to position the Google domain to save a query to from, gl is the country code and hl is the language to make exhaust of.
  • procure signifies that you can flip on or off particular search outcomes
  • interval signifies that you can search from preset date ranges: last_hour, last_day, last_week, last_month, last_year or personalized which requires period_start and period_end dates
  • news_type signifies that you can point of interest on news publishers or blogs easiest exclude_autocorrected_resuls omits search outcomes essentially based totally mostly on an autocorrected model of your save a query to. When you happen to is inclined to be attempting to analyze what folks address they mistype your key phrases, flip this on.
  • images_page specifies the sequence of image outcomes

You are going to fetch quiet more parameters for save a query to within the documentation.

Demonstrate that even as you utilize the question API repeatedly from JavaScript frontends, it is now no longer a execrable thought to interchange your entry key on an everyday time desk. You would possibly maybe reset your key from the myth dashboard, click the shadowy reset button beside your API key.

Now at closing, let’s peruse on the outcomes that the search engine outcomes pages API affords:

serpstack Search Engine Results Pages

serpstack is an amazingly mighty API that responds with a sizable keep of knowledge. The screenshot below diagrams every dispute which the API affords a structured response, now no longer all are confirmed here:

Search Engine Optimization (SEO) Screenshot of the top portion of Google Search response categories, but with outlines around each section connected to underlined title on left of the screen with canonical name of the element. Tabs exist at the top to see the response in data format for API Result.

Screenshot of the tip fragment of Google Search response classes, but with outlines around every fragment linked to underlined title on left of the veil with canonical title of the dispute. Tabs exist on the tip to peruse the response within the info format for API Result.

Right here are the response objects which the API returns that represent your customary save a query to, helpful even as you salvage computerized a large sequence of tasks, and structural features of the response unbiased like the sequence of pages of the response and the total sequence of outcomes.

Search Engine Optimization (SEO) Screenshot of the top portion of serpstack query method response objects, mostly search parameters returned for clarity, which helps with automated tasks.

Screenshot of the tip fragment of serpstack save a query to design response objects, largely search parameters returned for clarity, which helps with computerized tasks.

The particular particular person response parts, which I will represent below, are sure from the above responses. Shall we tell, you will look every dispute described in its possess knowledge structure, adverts, local_map, local_results, knowledge_graph, related_searches, pagination, etc.

I’m easiest going to symbolize a number of of these parts in dispute and can merely enumerate the comfort with visible examples and hyperlinks. The serpstack documentation makes it easy to stumble on these on your possess.

serpstack API Response Parts and Definitions

I’ve chosen three parts to showcase on the present time to present you a sense of how the API operates and what it is in a position to. Put in mind, every of these represents factual a subset of response knowledge of the form of save a query to that we made earlier.

https://api.serpstack.com/search?access_key=xxxxx&save a query to=mcdonalds

First, let’s stumble on the subset of response knowledge for natural search outcomes.

Natural Search Results

The principle blueprint of most search engine outcomes net page diagnosis is to raise your organization’s appearance in high natural search outcomes.

serpstack signifies that you can trace the natural outcomes of the search engine for any keep, machine, domain and client language in valid-time, over a interval of time.

Right here is an instance of the natural search outcomes which it is possible you’ll practice along from the documentation:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Organic Results, left tab shown has visual of Google Result, the right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Natural Results, left tab confirmed has visible of Google Result, the factual tab reveals knowledge objects returned for API Result.

When you happen to click the API Result tab, it is possible you’ll look the response knowledge. Right here is a screenshot of the info in JSON format:

Search Engine Optimization (SEO) Screenshot of JSON for serpstack API organic search results for query McDonalds. Positions 2 - 5 of search results are closed.

Screenshot of JSON for serpstack API natural search outcomes for save a query to McDonalds. Positions 2 – 5 of search outcomes are closed.

The response knowledge for natural search outcomes are effectively described within the documentation as confirmed below:

Search Engine Optimization (SEO) Screenshot of JSON formatted response for organic search results element via serpstack API.

Screenshot of JSON formatted response for natural search outcomes dispute through serpstack API

Now let’s stumble on the subset of response knowledge for linked search outcomes.

Linked Search Results

Right here is an instance of the Linked Search outcomes which it is possible you’ll practice along from the documentation:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Related Searches, left tab shown has visual of Google Result, the right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Linked Searches, left tab confirmed has visible of Google Result, the factual tab reveals knowledge objects returned for API Result.

When you happen to click the API Result tab, it is possible you’ll look this subsection of response knowledge. Right here it is miles in JSON format:

Search Engine Optimization (SEO) Screenshot of JSON for serpstack API related searches from results for query McDonalds.

Screenshot of JSON for serpstack API linked searches from outcomes for save a query to McDonalds.

The response objects for linked searches is design much less complicated:

Search Engine Optimization (SEO) Screenshot of serpstack API response objects for query method related searches structure element.

Screenshot of serpstack API response objects for save a query to design linked searches structure dispute.

Now let’s stumble on the subset of response knowledge for search engine adverts.

Ad Results

One counter-intuitive facet of website positioning is monitoring aggressive ads that appear at any time when folks watch key phrases that record to your product. With serpstack, it is possible you’ll music ads that appear in valid-time, over any interval of time.

Right here you will fetch the Ad Result documentation and practice along.

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Ad Results, left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Ad Results, left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

You would possibly maybe browse the response knowledge by clicking the API Result tab and below I’m showing a JSON parsed model of the adverts outcomes:

Search Engine Optimization (SEO) screenshot of JSON formatted response for ad results element

screenshot of JSON formatted response for ad outcomes dispute

As it is possible you’ll look, search engine adverts unbiased like Google’s would possibly maybe moreover unbiased even be quite detailed and multi-dimensional and serpstack affords all of this.

The serpstack documentation moreover affords a summary of the info constructions which will seemingly be returned for ad outcomes:

Search Engine Optimization (SEO) Screenshot from serpstack documentation of ad results response objects.

Screenshot from serpstack documentation of ad outcomes response objects.

I’m hoping you salvage got a typical introduction to exploring the serpstack search engine outcomes pages API. The save a query to design is a mighty feature as some distance as APIs dash. Whereas I carry out now no longer salvage to delve deeply into your complete other response forms, I will enumerate visible examples for every below.

Search Engine Optimization (SEO) serpstack’s Final Search Engine API Responses

Browse serpstack Image Results here:

Search Engine Optimization (SEO) Screenshot of serpstack documentation Image Results, for a single row of images, left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation Image Results, for a single row of pictures, left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

Right here are serpstack Video Results:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Video Results, left tab shown has visual of Google Result, the right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Video Results, left tab confirmed has visible of Google Result, the factual tab reveals knowledge objects returned for API Result.

You would possibly maybe browse serpstack API News Results here:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for News Results, left tab shown has visual of Google Result, the right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for News Results, left tab confirmed has visible of Google Result, the factual tab reveals knowledge objects returned for API Result.

Right here are serpstack Searching Results:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Shopping Results, left tab shown has visual of Google Result, the right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Searching Results, left tab confirmed has visible of Google Result, the factual tab reveals knowledge objects returned for API Result.

And, serpstack API Local Results:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Local Results, left tab shown has visual of Google Result, the right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Local Results, left tab confirmed has visible of Google Result, the factual tab reveals knowledge objects returned for API Result.

Right here are the serpstack API Reply Field Results:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Answer Box, the left tab shown has visual of Google Result, the right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Reply Field, left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

And, serpstack Weather Field Results:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Weather Box, left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Weather Field, left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

And, serpstack Events Results, unbiased like live reveals, movies, et al.:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Events e.g. concerts, plays, et al., the left tab shown has visual of Google Result, the right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Events e.g. live reveals, performs, et al., the left tab confirmed has visible of Google Result, the factual tab reveals knowledge objects returned for API Result.

Right here is the serpstack High Carousel, which customarily seems with queries for books or tune:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Top Carousel e.g. books or music albums, et al., left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for High Carousel e.g. books or tune albums, et al., left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

And the familiar serpstack, search engine Knowledge Graph:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Knowledge Graph, basic information of query, social profiles et al., left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Knowledge Graph, standard files of save a query to, social profiles et al., left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

And the serpstack API Inline Tweets:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Inline Tweets, left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Inline Tweets, left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

Right here is serpstack’s High Reports:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Top Stories, left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for High Reports, left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

Real Life. Real News. Real Voices

Help us tell more of the stories that matter

Become a founding member

And Linked Questions:

Search Engine Optimization (SEO)  Screenshot of serpstack documentation for Related Questions, left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Linked Questions, left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

Right here are the serpstack end result for Linked Locations:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Related Places, left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Linked Locations, left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

And at closing, closing but now no longer least, the search engine response end result API from serpstack for search engine Pagination:

Search Engine Optimization (SEO) Screenshot of serpstack documentation for Pagination, left tab shown has visual of Google Result, right tab shows data objects returned for API Result.

Screenshot of serpstack documentation for Pagination, left tab confirmed has visible of Google Result, factual tab reveals knowledge objects returned for API Result.

Pagination is in general well-known for navigating pages of outcomes from the save a query to design.

It is obvious that the serpstack key phrase API save a query to is extremely mighty and sizable. Now, let’s hide the replacement serpstack design, the Locations API.

The Locations API

serpstack affords a truly easy locations save a query to to lend a hand disambiguate overlapping keep names, unbiased like Springfield, Missouri, Springfield, Illinois and Springfield, Virginia and the house of Bart and Lisa Simpson, Springfield, Massachusetts.

Search Engine Optimization (SEO) Screenshot of documentation of the serpstack locations method, requires a query for a basic location string and the responses disambiguate the location.

Screenshot of documentation of the serpstack locations design, requires a save a query to for the usual keep string and the responses disambiguate the keep.

Click the Prance API Ask button to bound an instance for Current York, or substitute your API key with the save a query to below for Springfield:

https://api.serpstack.com/locations?access_key=xxxxx&save a query to=springfield

I pasted the JSON outcomes into my parsers to visualise them and it is possible you’ll look CANONICAL_NAMES for every of the sure city locations:

Search Engine Optimization (SEO) serpstack locations api disambiguates cities such as Springfield into distinct canonical names for the API.

serpstack locations api disambiguates cities unbiased like Springfield into sure canonical names for the API.

As it is possible you’ll look within the response, your complete locations of Springfield named cities salvage their very possess canonical_name ticket. Snarl the canonical_name string to dial the serpstack save a query to design real into a selected city.

When you happen to ought to dangle what search engine outcomes pages demonstrate up as in Springfield, Virginia, exhaust canonical_name “Springfield,Virginia,United States”.

Programming Language Examples

As I talked about earlier, serpstack affords programming examples for six of the hottest languages: PHP, Python, Node.js, jQuery, Jog and Ruby.

Right here’s an instance for jQuery:

$.ajax({
  url: 'https://api.serpstack.com/search',
  knowledge: {
    access_key: 'YOUR_ACCESS_KEY',
    save a query to: 'mcdonalds'
  },
  dataType: 'json',
  success: characteristic(apiResponse) {
    console.log("Complete outcomes:", apiResponse.search_information.total_results);
    apiResponse.organic_results.design(characteristic(end result, quantity) {
      console.log(quantity + 1 + ".", end result.title);
    });
  }
});

And, here is an instance of PHP the utilization of curl:

$queryString = http_build_query([
  'access_key' => 'YOUR_ACCESS_KEY',
  'query' => 'mcdonalds',
]);
$ch = curl_init(sprintf('%s?%s', 'https://api.serpstack.com/search', $queryString));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, actual);
$json = curl_exec($ch);
curl_close($ch);
$api_result = json_decode($json, actual);
echo "Complete outcomes: ", $api_result['search_information']['total_results'], PHP_EOL;
foreach ($api_result['organic_results'] as $quantity =>> $end result) {
  echo "{$quantity}. {$end result['title']}", PHP_EOL;
}

And, here is an instance the utilization of Ruby:

require 'obtain/http'
require 'json'
params = {
  :access_key => "YOUR_ACCESS_KEY",
  :save a query to => "mcdonalds"
}
uri = URI('https://api.serpstack.com/search')
uri.save a query to = URI.encode_www_form(params)
json = Obtain::HTTP.obtain(uri)
api_response = JSON.parse(json)
places "Complete outcomes: #{api_response['search_information']['total_results']}"
api_response['organic_results'].each_with_index carry out |end result, quantity|
  places "#{quantity + 1}. #{end result['title']}"
stay

These examples assemble it so easy to fleet integrate serpstack into your construction platform and website positioning optimization applications. Making it easy first of all an API service is one of apilayer’s specialties.

Let’s focus on utilization stages and your myth.

Search Engine Optimization (SEO) Upgrading Your Myth

serpstack is a subscription-essentially based totally mostly service and your chosen thought renews robotically every month. You would possibly maybe upgrade, downgrade or execute anytime.

To assemble changes, search recommendation from your Subscription Idea net page from the Dashboard. In the image below, it is possible you’ll look I’m on the Industrial Legitimate trial thought but can switch to every other thought.

Search Engine Optimization (SEO) serpstack plan by usage and features to upgrade or downgrade pricing plans for real time SEO keyword analysis and Google search results API.

serpstack thought by utilization and lines to upgrade or downgrade pricing plans for valid time website positioning key phrase diagnosis and Google search outcomes API.

The Popular stage thought affords 5,000 queries per thirty days and all of the paid features which will seemingly be now no longer readily accessible within the Free thought:

  • HTTPS encryption to your REST API requests
  • CSV response format to supplement JSON
  • No rate restrict on the frequency of requests
  • Top rate reinforce

When you happen to’d like a greater quantity of queries, then upgrade to Industrial thought for 20,000 per thirty days, Industrial Legitimate for 50,000 per thirty days or contact serpstack for a personalized enterprise thought.

And, serpstack affords a net page to calculate your utilization statistics within the present interval and traditionally over time. Staunch search recommendation from your Dashboard and click on API Usage (I’ve factual unbiased now no longer too prolonged ago been the utilization of my myth so the utilization is over a brief timeframe.):

Search Engine Optimization (SEO) The serpstack Dashboard's API Usage page displays the number of Google search API requests all time as well as a statistical daily log for your internal tracking.

The serpstack Dashboard’s API Usage net page shows the sequence of Google search API requests all time moreover a statistical each day log to your within monitoring.

You would possibly maybe exhaust this log to let you to decide to upgrade or downgrade subscription stages. Shall we tell, Free plans are allowed 100 calls per thirty days whereas Popular are allowed 5,000 requests and Legitimate Legitimate are allowed 50,000. If that would possibly no longer enough to meet your requirements, contact serpstack for a personalized enterprise thought.

Search Engine Optimization (SEO) In Conclusion

I’m hoping you salvage loved learning about serpstack’s Google search engine outcomes API and the technique to analyze search engine outcomes pages from across the realm. It is a cosmopolitan REST API for authentic seo and search engine examine. It is a prime resource for companies of all sizes, especially startups attempting to obtain a prominent keep in search engine outcomes.

I revel in writing for the of us listless serpstack, the apilayer team, and sharing their novel projects. They are skillful technologists that provide mighty companies and products at sensible costs with easy to integrate APIs and scalable performance and means.

Take a look at out their suite of merchandise and it is possible you’ll moreover seemingly fetch more that hobby you.

apilayer and serpstack respect your questions, feedback and feedback. You would possibly maybe moreover practice them on Twitter @apilayer and the apilayer Facebook net page.

About apilayer

serpstack is truly the most traditional service from apilayer, a longtime chief in service APIs. It goals to lend a hand builders and companies automate and outsource complicated processes by serving them with devoted and at hand programming interfaces.

Two other merchandise by apilayer embody scrapestack, the free, valid-time, scalable proxy & net scraping API and weatherstack, the free valid time climate knowledge and forecast API, every of which I wrote about previously for ProgrammableWeb.

Subscribe to the newsletter news

We hate SPAM and promise to keep your email address safe

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Top Stories

To Top