SerpBase
Back to Blog

Google inurl: Search API: Find Pages by Words in the URL

Use the inurl: operator in a Google search request to find pricing, careers or docs pages across sites. Two tested queries, and why to verify each address.

December 2, 2026
By SerpBase Team2 min read

Short answer: put inurl:word in the query you send to /google/search. Google then favours pages whose address contains that word — useful for finding pricing pages, careers pages or docs across many sites. Treat it as a strong hint, not a strict filter.

The request

curl -X POST 'https://api.serpbase.dev/google/search' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"q":"inurl:careers python developer remote","gl":"us","hl":"en","device":"desktop"}'

The operator goes inside q, with no space after the colon. Everything else in the query is matched as usual.

What came back

We ran two queries on 2 December 2026 (desktop layout):

QueryResultsWhat the addresses looked like
inurl:pricing serp api9every address we could read contained "pricing" (e.g. a /pricing/ section, a repository named …-pricing)
inurl:careers python developer remote9job boards first: python.org/jobs, indeed.com, builtinnyc.com, arc.dev; canonical.com › careers was 5th

The second query shows the limit of the operator: the top result, https://www.python.org/jobs/, has no "careers" in its address. Google decided a jobs board answered the query better. So check the address yourself before you count a result as a match.

Python: keep only real matches

import requests

WORD = "careers"
r = requests.post(
    "https://api.serpbase.dev/google/search",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"q": f"inurl:{WORD} python developer remote", "gl": "us", "hl": "en",
          "device": "desktop"},
    timeout=60,
).json()
if r["status"] != 0:
    raise SystemExit(r.get("error"))

for item in r.get("organic", []):
    shown = (item.get("display_url") or "") + " " + item["link"]
    print("MATCH" if WORD in shown.lower() else "     ", item["rank"], item["title"])

Things that trip people up

  • It is loose. Google may rank a page without the word in its address when it thinks the page fits. Filter on your side as above.
  • Some links are Google redirect addresses. When link starts with google.com/goto, read display_url (it shows the site and path breadcrumbs) or resolve the link.
  • Combine with site: to look inside one domain: site:example.com inurl:blog.

Related

Cost and docs

A Google search is 1 credit, with or without operators. Failed requests are not charged, and new accounts get 500 free credits.