Google Search API
See how a Google results page becomes structured JSON.
Saved example
4 organic results
Google HTML
Fixture previewAPI response
{
"query": "Ruby on Rails guides",
"organic_results": [
{
"position": 1,
"title": "Ruby on Rails Guides",
"link": "https://guides.rubyonrails.org/",
"snippet": "Documentation for Ruby on Rails, from getting started to deploying an application."
},
{
"position": 2,
"title": "Getting Started with Rails",
"link": "https://guides.rubyonrails.org/getting_started.html",
"snippet": "Install Rails, create a new application, and learn how Rails handles a web request."
},
{
"position": 3,
"title": "Testing Rails Applications",
"link": "https://guides.rubyonrails.org/testing.html",
"snippet": "Learn how to write integration, system, and unit tests for a Rails application."
},
{
"position": 4,
"title": "Ruby on Rails API",
"link": "https://api.rubyonrails.org/",
"snippet": "Browse the API documentation for the Ruby on Rails framework."
}
],
"request_id": "saved-example",
"elapsed_ms": 0,
"source": "fixture"
}
Use the API
One live search every 10 seconds, shared across the demo.
GET
https://serp-api-demo.alexoliynyk.me/search.json?q=Ruby+on+Rails+guides