SerpBase
Back to Blog

Social Media Profile Finder API: Get a Brand's Account Links from Google

Search a person, team or brand and read social_profiles for its Instagram, X, Facebook, YouTube and TikTok accounts, then resolve the links for free. Tested on four names.

November 29, 2026
By SerpBase Team3 min read

Short answer: search the person, team or brand name on /google/search and read the social_profiles array, then pass its links to the free /google/resolve endpoint. You get the official Instagram, X, Facebook, YouTube, TikTok and other account addresses that Google lists on the results page: two requests, 1 credit.

Step 1: the search

curl -X POST 'https://api.serpbase.dev/google/search' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"q":"taylor swift","gl":"us","hl":"en"}'

Run on 29 November 2026 (6.9 seconds). The answer had 11 entries in social_profiles (links shortened):

"social_profiles": [
  {"rank": 1, "title": "Instagram",   "link": "https://www.google.com/goto?url=CAES..."},
  {"rank": 2, "title": "YouTube",     "link": "https://www.google.com/goto?url=CAES..."},
  {"rank": 3, "title": "X (Twitter)", "link": "https://www.google.com/goto?url=CAES..."},
  {"rank": 4, "title": "Facebook",    "link": "https://www.google.com/goto?url=CAES..."}
]

title is the platform. link is a Google wrapper address, so there is one more step.

Step 2: the real addresses

curl -X POST 'https://api.serpbase.dev/google/resolve' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"links":["https://www.google.com/goto?url=CAES...","https://www.google.com/goto?url=CAES..."]}'

We sent all 11 links in one request. All 11 came back with "reason": "resolved" in 5.4 seconds, for 0 credits:

PlatformResolved address
Instagramhttps://www.instagram.com/taylorswift
YouTubehttps://www.youtube.com/user/taylorswift
X (Twitter)https://twitter.com/taylorswift13
Facebookhttps://www.facebook.com/TaylorSwift
TikTokhttps://www.tiktok.com/@taylorswift
Threadshttps://www.threads.com/@taylorswift

The other five were Pinterest, Tumblr, SoundCloud, Myspace and Snapchat.

What we saw across names

QueryDeviceProfiles
taylor swiftphone11
taylor swiftdesktop4 (Instagram, Facebook, YouTube, X)
manchester united (gl gb)phone9 (Instagram, X, Facebook, YouTube, Pinterest, LinkedIn, TikTok, Threads, Snapchat)
los angeles lakersphone8
los angeles lakersdesktopnone
nikephonenone

The phone page carried more profiles than desktop in both comparisons, so leave device at its default (phone).

Python: name in, account addresses out

import time, requests

API = "https://api.serpbase.dev"
HEADERS = {"X-API-Key": "YOUR_API_KEY"}

def post(path, body):
    return requests.post(API + path, headers=HEADERS, json=body, timeout=60).json()

def social_profiles(name, gl="us"):
    r = post("/google/search", {"q": name, "gl": gl, "hl": "en"})
    if r["status"] != 0:
        raise RuntimeError(r.get("error"))
    profiles = r.get("social_profiles", [])
    if not profiles:
        return {}
    time.sleep(1)
    fixed = post("/google/resolve", {"links": [p["link"] for p in profiles]})
    real = {x["link"]: x["url"] for x in fixed.get("resolved_links", [])
            if x.get("reason") == "resolved"}
    print(len(profiles), "profiles listed,", len(real), "resolved")
    return {p["title"]: real[p["link"]] for p in profiles if p["link"] in real}

for platform, url in social_profiles("manchester united", gl="gb").items():
    print(platform, url)

Our run printed 9 profiles listed, 4 resolved and then the YouTube, Instagram, X and Facebook addresses of the club (youtube.com/manutd, instagram.com/manutd, twitter.com/ManUtd, facebook.com/manchesterunited). The resolver does not always return every link on the first call: for this name it gave 4 of 9, for the Taylor Swift links above 11 of 11. Each entry in resolved_links has a reason; send the ones that are not resolved again after a pause.

Things that trip people up

  • No block, no data. Google shows the Profiles row for some names only. nike on phone returned none in our run. An empty result means "Google did not list them", not "the brand has no accounts".
  • Resolve before you store. Wrapper links are not meant to be kept; the resolved address is the durable one. If the resolver answers with a retry status, send the same call again after a second.
  • Use the exact name. The profiles belong to whatever entity Google matched. An ambiguous name gives you the wrong company's accounts without any warning, so check the knowledge_graph title in the same answer.
  • Addresses are as Google stores them. X came back as twitter.com/... and YouTube as a legacy /user/ address. Normalise hosts if you match against your own data.
  • This gives addresses, not follower counts. For TikTok numbers see the TikTok profile API guide.

Related

The same answer usually carries the entity's facts: see the knowledge panel guide. Recent posts about the name are in the social_posts field of the same answer. More on the resolver: Google redirect URL resolver.

Cost and limits

The search is 1 credit and the resolver is free (up to 50 links per request). Failed requests are not charged. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits without a card.