Parse a Glassdoor URL
Turn any Glassdoor URL into structured input: which kind of page it names (company overview, reviews, salaries, interviews or search), the company id and name it carries, the page number it points at, and the search term if it is a search URL. The cheap way to find out what a URL someone pasted actually points at before spending a request on it. This endpoint does not consume a credit.
/resolve-url Utility https://api.fetchlayer.dev/glassdoor/resolve-url Headers
Authorization string required Bearer token — your FetchLayer API key.
Parameters
url string required Any Glassdoor URL, to be parsed into structured input.
Response Fields
resolve-url
Parse a Glassdoor URL
url string The URL that was parsed.
surface string Which kind of page the URL names: company-overview, company-reviews, company-salaries, company-interviews, company-search or unknown.
employerId string | null The company the URL names, ready to pass as company.
companySlug string | null Company name as the URL spells it.
page number | null The page number the URL points at, if it carries one.
keyword string | null The search term, for a search URL.
Request
curl -X POST "https://api.fetchlayer.dev/glassdoor/resolve-url" \
-H "Authorization: Bearer ss-your-key" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.glassdoor.com/Reviews/Stripe-Reviews-E671954_P3.htm"}'Response
{
"url": "https://www.glassdoor.com/Reviews/Stripe-Reviews-E671954_P3.htm",
"surface": "company-reviews",
"employerId": "671954",
"companySlug": "Stripe",
"page": 3,
"keyword": null
}