Skip to content
Maua.Culturewire

SerpApi

Results from Google, Maps, Trends, News and other search engines

MarketingCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Private API keySecretRequired

    Where to find them

    1. Create an account at serpapi.com (the free plan includes a small monthly search quota).
    2. At serpapi.com/manage-api-key copy the “Private API Key”. Each search uses one from the plan; checking the balance or the locations is free.

    Get credentials (opens in a new tab)

Tools (2)

  • SerpApi requestSERPAPI_SEND_REQUEST

    Authenticated call to the SerpApi (https://serpapi.com). Any endpoint of the API is allowed. All searches are GET /search.json with engine and its parameters; each one uses 1 search (repeating it within 1 h is free). Examples: GET /search.json?engine=google&q=…&gl=es&hl=es&google_domain=google.es, engine=google_maps&type=search&q=…&ll=@40.4168,-3.7038,14z (local listings), engine=google_trends&q=…&geo=ES&date=today 12-m, engine=google_news&q=…&gl=es&hl=es, engine=google_ads_transparency_center&text=example.com, engine=youtube&search_query=…, engine=bing&q=…. Free: GET /account.json (remaining searches), GET /locations.json?q=Austin&limit=5 (location values). For Google organic results, SERPAPI_SEARCH_GOOGLE.

    Required scopes

    No scopes required

    Input

    SerpApi request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Google resultsSERPAPI_SEARCH_GOOGLE

    Results of a Google search (google.es in Spanish by default): organic results with position, title, URL and snippet, plus the featured answer, the local pack, the ads and the related questions when present. Uses 1 search from the plan (repeating it within 1 h is free).

    Required scopes

    No scopes required

    Input

    Google results input
    NameTypeDescription
    queryrequiredstringWhat to search for, exactly as in Google (supports site:, intitle:…)
    countrystringGoogle country (gl): us, gb, de, es…Default: "us"
    languagestringInterface language (hl): en, es, de…Default: "en"
    domainstringGoogle domain: google.es, google.com.mx…Default: "google.es"
    locationstringExact location, e.g. “Austin, Texas, United States”
    devicestringOne of: desktop, mobile, tabletDefault: "desktop"
    offsetintegerOffset for pagination: 10 = second pageDefault: 0