API CodexAPI Codex
WebsiteDashboardGet API Key
  • Documentation
  • All APIs
  • Changelog
Resources
  • Docs Home
  • API Catalog
  • API Codex Website
Platform
  • Get a free API key
  • Dashboard
  • APIs & Pricing

© 2026 API Codex. All rights reserved.

Information
Other endpoints
    Fetch search engine resultsget
Schemas
powered by Zudoku
Advanced SERP API
Advanced SERP API

Other endpoints


Fetch search engine results

GET
https://api.apicodex.io/serp
/v1/search

Retrieves structured search results from Google, Bing, Yandex, or DuckDuckGo based on the provided search engine URL. This endpoint allows direct passing of search engine URLs rather than building complex query parameters.

Fetch search engine results › query Parameters

url
​string · uri · required

The complete search engine URL to scrape results from. Must be from one of the supported search engines: Google, Bing, Yandex, or DuckDuckGo.

Google Search Parameters

Search Types

  • Images: tbm=isch (e.g., https://www.google.com/search?q=hamburger&tbm=isch)
  • Shopping: tbm=shop (e.g., https://www.google.com/search?q=hamburger&tbm=shop)
  • News: tbm=nws (e.g., https://www.google.com/search?q=hamburger&tbm=nws)
  • Videos: tbm=vid (e.g., https://www.google.com/search?q=hamburger&tbm=vid)
  • Jobs: ibp=htl;jobs (e.g., https://www.google.com/search?q=hamburger&ibp=htl%3Bjobs)

Localization

  • Country: gl=<country-code> (e.g., gl=us)
  • Language: hl=<language-code> (e.g., hl=en)

Pagination

  • Start: start=<number> (e.g., start=10)
  • Results per page: num=<number> (e.g., num=50)

Geolocation

  • Location: uule=<encoded-location> (e.g., uule=w+CAIQICINVW5pdGVkK1N0YXRlcw)

Google Maps

The API supports direct scraping of Google Maps search results (e.g., https://www.google.com/maps/search/hotels+new+york)

Example: https://www.google.com/search?q=hamburger
mobile
​boolean

When set to true, results will be fetched as if from a mobile device. This affects the layout, content, and structure of the returned data.

Example: true
Default: false

Fetch search engine results › Responses

Successful response with SERP data

The structure of the response varies based on the search engine and search type
SerpResponse
​OrganicResult[]

Organic search results

​AdResult[]

Advertisement results (if any)

​ImageResult[]

Image results (if tbm=isch was used)

​VideoResult[]

Video results (if tbm=vid was used)

​ShoppingResult[]

Shopping results (if tbm=shop was used)

​NewsResult[]

News results (if tbm=nws was used)

​PlaceResult[]

Map/places results (for Google Maps searches)

​KnowledgePanel

Knowledge panel info (if available)

​AnswerBox

Featured snippet/answer box (if available)

related_searches
​string[]

Related search queries

​Pagination

Pagination information

GET/v1/search
curl 'https://api.apicodex.io/serp/v1/search?url=<string>&apikey=<api-key>'
Example Responses
{ "organic": [ { "link": "https://en.wikipedia.org/wiki/Hamburger", "display_link": "https://en.wikipedia.org › wiki › Hamburger", "title": "Hamburger", "description": "A hamburger, or simply a burger, is a dish consisting of fillings—usually a patty of ground meat, typically beef—placed inside a sliced bun or bread roll." } ] }
json
application/json