For Google, the domain is matched on the result’s visible domain, so a ranking is reported even when Google’s redirect link could not be resolved (url is then null).
Google only. Where the search is made from: "lat,lng" in decimal degrees (e.g. 40.6782,-73.9442), or a place name: city, neighborhood, county, state or postal code (e.g. "Brooklyn, NY", "Austin TX", "11216", "SW1A 1AA, UK"). Names are resolved to coordinates and a time zone; the resolved place is echoed in location. Look names up with /api/v1/locations. Default: the exit IP's location.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FetchSERP API","colors":{"primary":"#EAB308","light":"#FBBF24","dark":"#EF4444"},"logo":{"light":"https://mintcdn.com/fetchserp/71i0wk6JQoHP8sOY/logo/light.svg?fit=max\u0026auto=format\u0026n=71i0wk6JQoHP8sOY\u0026q=85\u0026s=eb7283a6a71bf9a1f9a0a1066cff57a2","dark":"https://mintcdn.com/fetchserp/71i0wk6JQoHP8sOY/logo/light.svg?fit=max\u0026auto=format\u0026n=71i0wk6JQoHP8sOY\u0026q=85\u0026s=eb7283a6a71bf9a1f9a0a1066cff57a2"},"favicon":"https://mintcdn.com/fetchserp/71i0wk6JQoHP8sOY/favicon.svg?fit=max\u0026auto=format\u0026n=71i0wk6JQoHP8sOY\u0026q=85\u0026s=2274f471b47f415288d44ede313f0313","appearance":{"default":"dark","strict":true},"background":{"color":{"light":"#ffffff","dark":"#0f172a"}},"navbar":{"links":[{"href":"mailto:contact@fetchserp.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.fetchserp.com/app"}},"footer":{"socials":{"x":"https://x.com/fetchserp","github":"https://github.com/fetchserp","linkedin":"https://linkedin.com/company/fetch-serp"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fetchserp","hasAudioNarration":false,"actualSubdomain":"fetchserp","customDomains":["docs.fetchserp.com"],"gitSource":{"type":"github","owner":"fetchserp-llc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad6d93dad7dc676b7f8346c","collectionId":"06bf2929-bd53-4552-be61-5a28181faa72","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad6d93dad7dc676b7f8346c"},"entitlements":{},"buildId":"6ad6d93dad7dc676b7f8346c","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"API Reference","count":29},{"language":"default","tag":"API Endpoints","count":28},{"language":"default","tag":"Api","count":28},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Integrations","count":3},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"API Documentation","count":1},{"language":"default","tag":"Use Cases","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/api/domain-ranking","slug":"/api-reference/api/domain-ranking","pageMetadata":{"title":"Domain Ranking","description":"For Google, the domain is matched on the result's visible domain, so a ranking is reported even when Google's redirect link could not be resolved (url is then null).","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/ranking","href":"/api-reference/api/domain-ranking","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"For Google, the domain is matched on the result’s visible domain, so a ranking is reported even when Google’s redirect link could not be resolved (url is then null).\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Domain Ranking","description":"For Google, the domain is matched on the result's visible domain, so a ranking is reported even when Google's redirect link could not be resolved (url is then null).","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/ranking","href":"/api-reference/api/domain-ranking","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Api"],"summary":"Domain Ranking","description":"For Google, the domain is matched on the result's visible domain, so a ranking is reported even when Google's redirect link could not be resolved (url is then null).","operationId":"index_api_v1_ranking","parameters":["4e16cf03-db7e-4704-abeb-55ca2e92d66f","fad9324d-13c6-4d5d-b467-eaa538506195","fc8f06de-ea08-44bb-b177-a08e50627ba8","49c5f927-1e28-423c-a9b9-0f1d0dccd0da","f0121488-74c7-46c1-a133-d9f6cb458630","ea6a4400-224d-47fb-826f-584922f02338","4a0320a2-356f-43dd-b21b-6abce891bbf5","66cd6560-d2a6-4952-a925-75f22897d753","65d54821-6be2-45e0-abcc-51c35d6a8b2c","1aafc66d-6f98-41ef-8a14-fd736df5067f"],"responses":{"200":"d2e6d0c5-80e4-45a3-b6a2-6ea18bc41254","401":"aea1bd13-79a7-45cc-93dc-01912b6500b2","403":"db1b8eb0-b46b-4c47-8919-95b13ad46342","422":"f42e972d-25ae-497a-828a-25418460591c","500":"8a87872f-6ddc-4d58-a89f-887407f037fe"},"security":["d8f62417-7268-4b22-9ebf-7570ead84114"],"method":"get","type":"path","servers":["dabea26b-1fc3-4490-b4bc-8cbe1babfa9b"],"path":"/api/v1/ranking","baseUrlOptions":["https://www.fetchserp.com"],"title":"Domain Ranking","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4e16cf03-db7e-4704-abeb-55ca2e92d66f":{"name":"keyword","in":"query","description":"The keyword to search","required":true,"schema":{"type":"string","isRequired":true,"description":"The keyword to search","uniqueKey":"","typeLabel":"string"},"style":"form"},"fad9324d-13c6-4d5d-b467-eaa538506195":{"name":"domain","in":"query","description":"The domain to search","required":true,"schema":{"type":"string","isRequired":true,"description":"The domain to search","uniqueKey":"","typeLabel":"string"},"style":"form"},"fc8f06de-ea08-44bb-b177-a08e50627ba8":{"name":"search_engine","in":"query","description":"The search engine to use. Supported values: google, bing, yahoo and duckduckgo. Default to duckduckgo.","required":false,"schema":{"type":"string","isRequired":false,"description":"The search engine to use. Supported values: google, bing, yahoo and duckduckgo. Default to duckduckgo.","uniqueKey":"","typeLabel":"string"},"style":"form"},"49c5f927-1e28-423c-a9b9-0f1d0dccd0da":{"name":"country","in":"query","description":"The country to search from. Default to us.","required":false,"schema":{"type":"string","isRequired":false,"description":"The country to search from. Default to us.","uniqueKey":"","typeLabel":"string"},"style":"form"},"f0121488-74c7-46c1-a133-d9f6cb458630":{"name":"pages_number","in":"query","description":"The number of pages to search (1-30). Default to 10.","required":false,"schema":{"type":"integer","isRequired":false,"description":"The number of pages to search (1-30). Default to 10.","uniqueKey":"","typeLabel":"integer"},"style":"form"},"ea6a4400-224d-47fb-826f-584922f02338":{"name":"device","in":"query","description":"Google only. desktop or mobile. Default to desktop.","required":false,"schema":{"type":"string","isRequired":false,"description":"Google only. desktop or mobile. Default to desktop.","uniqueKey":"","typeLabel":"string"},"style":"form"},"4a0320a2-356f-43dd-b21b-6abce891bbf5":{"name":"location","in":"query","description":"Google only. Where the search is made from: \"lat,lng\" in decimal degrees (e.g. 40.6782,-73.9442), or a place name: city, neighborhood, county, state or postal code (e.g. \"Brooklyn, NY\", \"Austin TX\", \"11216\", \"SW1A 1AA, UK\"). Names are resolved to coordinates and a time zone; the resolved place is echoed in `location`. Look names up with /api/v1/locations. Default: the exit IP's location.","required":false,"schema":{"type":"string","isRequired":false,"description":"Google only. Where the search is made from: \"lat,lng\" in decimal degrees (e.g. 40.6782,-73.9442), or a place name: city, neighborhood, county, state or postal code (e.g. \"Brooklyn, NY\", \"Austin TX\", \"11216\", \"SW1A 1AA, UK\"). Names are resolved to coordinates and a time zone; the resolved place is echoed in `location`. Look names up with /api/v1/locations. Default: the exit IP's location.","uniqueKey":"","typeLabel":"string"},"style":"form"},"66cd6560-d2a6-4952-a925-75f22897d753":{"name":"timezone","in":"query","description":"Google only, with location. IANA time zone id (e.g. America/New_York). Default: the named location's time zone.","required":false,"schema":{"type":"string","isRequired":false,"description":"Google only, with location. IANA time zone id (e.g. America/New_York). Default: the named location's time zone.","uniqueKey":"","typeLabel":"string"},"style":"form"},"65d54821-6be2-45e0-abcc-51c35d6a8b2c":{"name":"strict","in":"query","description":"Google only. Return 422 instead of results when the page looks poisoned. Default to false.","required":false,"schema":{"type":"boolean","isRequired":false,"description":"Google only. Return 422 instead of results when the page looks poisoned. Default to false.","uniqueKey":"","typeLabel":"boolean"},"style":"form"},"1aafc66d-6f98-41ef-8a14-fd736df5067f":{"name":"max_resamples","in":"query","description":"Google only. Extra captures (0-3) when page 1 looks poisoned. Default to 1.","required":false,"schema":{"type":"integer","isRequired":false,"description":"Google only. Extra captures (0-3) when page 1 looks poisoned. Default to 1.","uniqueKey":"","typeLabel":"integer"},"style":"form"}},"responses":{"d2e6d0c5-80e4-45a3-b6a2-6ea18bc41254":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"keyword":{"type":"string","uniqueKey":"data.keyword","typeLabel":"string"},"domain":{"type":"string","uniqueKey":"data.domain","typeLabel":"string"},"search_engine":{"type":"string","uniqueKey":"data.search_engine","typeLabel":"string"},"country":{"type":"string","uniqueKey":"data.country","typeLabel":"string"},"location":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"data.location.name","typeLabel":"string"},"query":{"type":"string","uniqueKey":"data.location.query","typeLabel":"string"},"type":{"type":"string","uniqueKey":"data.location.type","typeLabel":"string"},"source":{"type":"string","uniqueKey":"data.location.source","typeLabel":"string"},"latitude":{"type":"float","uniqueKey":"data.location.latitude","typeLabel":"float"},"longitude":{"type":"float","uniqueKey":"data.location.longitude","typeLabel":"float"},"timezone":{"type":"string","uniqueKey":"data.location.timezone","typeLabel":"string"},"country_code":{"type":"string","uniqueKey":"data.location.country_code","typeLabel":"string"}},"uniqueKey":"data.location","typeLabel":"object"},"results":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","uniqueKey":"data.results.items.[INDEX].url","typeLabel":"string"},"ranking":{"type":"integer","uniqueKey":"data.results.items.[INDEX].ranking","typeLabel":"integer"},"domain":{"type":"string","uniqueKey":"data.results.items.[INDEX].domain","typeLabel":"string"},"title":{"type":"string","uniqueKey":"data.results.items.[INDEX].title","typeLabel":"string"},"url_resolved":{"type":"boolean","uniqueKey":"data.results.items.[INDEX].url_resolved","typeLabel":"boolean"}},"uniqueKey":"data.results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.results","typeLabel":"object[]"},"quality":{"type":"object","properties":{"score":{"type":"float","uniqueKey":"data.quality.score","typeLabel":"float"},"flags":{"type":"array","items":{"type":"string","uniqueKey":"data.quality.flags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.quality.flags","typeLabel":"string[]"},"suspected_poisoned":{"type":"boolean","uniqueKey":"data.quality.suspected_poisoned","typeLabel":"boolean"},"resampled":{"type":"boolean","uniqueKey":"data.quality.resampled","typeLabel":"boolean"}},"uniqueKey":"data.quality","typeLabel":"object"},"warnings":{"type":"array","items":{"type":"string","uniqueKey":"data.warnings.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.warnings","typeLabel":"string[]"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"keyword":"\u003cstring>","domain":"\u003cstring>","search_engine":"\u003cstring>","country":"\u003cstring>","location":{"name":"\u003cstring>","query":"\u003cstring>","type":"\u003cstring>","source":"\u003cstring>","latitude":"\u003cunknown>","longitude":"\u003cunknown>","timezone":"\u003cstring>","country_code":"\u003cstring>"},"results":[{"url":"\u003cstring>","ranking":123,"domain":"\u003cstring>","title":"\u003cstring>","url_resolved":true}],"quality":{"score":"\u003cunknown>","flags":["\u003cstring>"],"suspected_poisoned":true,"resampled":true},"warnings":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"aea1bd13-79a7-45cc-93dc-01912b6500b2":{"description":"Validation errors","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"db1b8eb0-b46b-4c47-8919-95b13ad46342":{"description":"You are not allowed to access this resource. You do not have the necessary permissions.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"required":["success"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f42e972d-25ae-497a-828a-25418460591c":{"description":"Validation errors","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"8a87872f-6ddc-4d58-a89f-887407f037fe":{"description":"Validation errors","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","uniqueKey":"status","typeLabel":"integer"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":123,"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d8f62417-7268-4b22-9ebf-7570ead84114":{"bearer":{"type":"http","scheme":"bearer","description":"A bearer token that will be supplied within an `Authorization` header as `bearer \u003ctoken>`.","scopes":[],"schemeName":"bearer"}}},"servers":{"dabea26b-1fc3-4490-b4bc-8cbe1babfa9b":{"url":"https://www.fetchserp.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A bearer token that will be supplied within an `Authorization` header as `bearer \u003ctoken>`.","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A bearer token that will be supplied within an `Authorization` header as `bearer \u003ctoken>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"openapi.json"},"subdomain":"fetchserp","siteName":"FetchSERP API","title":"Domain Ranking - FetchSERP API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T03:00:18.542Z","originalFileLocation":"api-reference/api/domain-ranking.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"For Google, the domain is matched on the result\u0026#x27;s visible domain, so a ranking is reported even when Google\u0026#x27;s redirect link could not be resolved (url is then null).\">\u003cmeta data-mint-head name=\"application-name\" content=\"FetchSERP API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Domain Ranking - FetchSERP API\">\u003cmeta data-mint-head property=\"og:description\" content=\"For Google, the domain is matched on the result\u0026#x27;s visible domain, so a ranking is reported even when Google\u0026#x27;s redirect link could not be resolved (url is then null).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FetchSERP API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fetchserp.com/api-reference/api/domain-ranking\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fetchserp.mintlify.app/_mintlify/api/og/v2?division=Api\u0026amp;title=Domain+Ranking\u0026amp;description=For+Google%2C+the+domain+is+matched+on+the+result%27s+visible+domain%2C+so+a+ranking+is+reported+even+when+Google%27s+redirect+link+could+not+be+resolved+%28url+is+then+n\u0026amp;theme=e875551ea5eeeb9d2614315c\u0026amp;signature=2d95ee122db17df31d6b484a0a1df8ef25ffe1683cacd1b61ae79e0186fd2a11\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Domain Ranking - FetchSERP API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"For Google, the domain is matched on the result\u0026#x27;s visible domain, so a ranking is reported even when Google\u0026#x27;s redirect link could not be resolved (url is then null).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fetchserp.mintlify.app/_mintlify/api/og/v2?division=Api\u0026amp;title=Domain+Ranking\u0026amp;description=For+Google%2C+the+domain+is+matched+on+the+result%27s+visible+domain%2C+so+a+ranking+is+reported+even+when+Google%27s+redirect+link+could+not+be+resolved+%28url+is+then+n\u0026amp;theme=e875551ea5eeeb9d2614315c\u0026amp;signature=2d95ee122db17df31d6b484a0a1df8ef25ffe1683cacd1b61ae79e0186fd2a11\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/fetchserp/iqvZef7gjgfkIBzg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FetchSERP API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EAB308\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fetchserp.com/api-reference/api/domain-ranking\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/api/domain-ranking.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fetchserp.com/#organization\",\"name\":\"FetchSERP API\",\"url\":\"https://docs.fetchserp.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fetchserp/71i0wk6JQoHP8sOY/logo/light.svg?fit=max\u0026auto=format\u0026n=71i0wk6JQoHP8sOY\u0026q=85\u0026s=eb7283a6a71bf9a1f9a0a1066cff57a2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fetchserp.com#website\",\"name\":\"FetchSERP API\",\"url\":\"https://docs.fetchserp.com\",\"publisher\":{\"@id\":\"https://docs.fetchserp.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fetchserp.com/api-reference/api/domain-ranking#webpage\",\"url\":\"https://docs.fetchserp.com/api-reference/api/domain-ranking\",\"name\":\"Domain Ranking\",\"description\":\"For Google, the domain is matched on the result's visible domain, so a ranking is reported even when Google's redirect link could not be resolved (url is then null).\",\"dateModified\":\"2026-10-20T03:00:18.542Z\",\"isPartOf\":{\"@id\":\"https://docs.fetchserp.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fetchserp.com/api-reference/api/domain-ranking#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fetchserp.com/api-reference/api/domain-ranking#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://docs.fetchserp.com/api-reference/api/backlinks-for-a-domain\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Api\",\"item\":\"https://docs.fetchserp.com/api-reference/api/backlinks-for-a-domain\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Domain Ranking\",\"item\":\"https://docs.fetchserp.com/api-reference/api/domain-ranking\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fetchserp.com/api-reference/api/domain-ranking#apireference\",\"headline\":\"Domain Ranking\",\"name\":\"Domain Ranking\",\"description\":\"For Google, the domain is matched on the result's visible domain, so a ranking is reported even when Google's redirect link could not be resolved (url is then null).\",\"url\":\"https://docs.fetchserp.com/api-reference/api/domain-ranking\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fetchserp.com/api-reference/api/domain-ranking#webpage\"},\"dateModified\":\"2026-10-20T03:00:18.542Z\",\"publisher\":{\"@id\":\"https://docs.fetchserp.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fetchserp.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FetchSERP API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"FetchSERP API","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"API Overview","href":"/api-reference/introduction"}]},{"group":"API Endpoints","pages":[{"group":"Api","pages":[{"title":"Backlinks for a domain","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/backlinks","href":"/api-reference/api/backlinks-for-a-domain"},{"title":"Emails for a domain","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/domain_emails","href":"/api-reference/api/emails-for-a-domain"},{"title":"Domain Infos (dns, whois, server, ssl)","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/domain_infos","href":"/api-reference/api/domain-infos-dns-whois-server-ssl"},{"title":"Generate social media content","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/generate_social_content","href":"/api-reference/api/generate-social-media-content"},{"title":"Generate WordPress content","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/generate_wordpress_content","href":"/api-reference/api/generate-wordpress-content"},{"title":"Keywords Search Volume","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/keywords_search_volume","href":"/api-reference/api/keywords-search-volume"},{"title":"Keywords Suggestions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/keywords_suggestions","href":"/api-reference/api/keywords-suggestions"},{"title":"Locations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/locations","href":"/api-reference/api/locations"},{"title":"Long-tail keywords generator","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/long_tail_keywords_generator","href":"/api-reference/api/long-tail-keywords-generator"},{"title":"Moz Domain Authority","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/moz","href":"/api-reference/api/moz-domain-authority"},{"title":"Page Indexation Check","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/page_indexation","href":"/api-reference/api/page-indexation-check"},{"title":"Playwright MCP","description":"This endpoint uses GPT-4.1 to remote control a browser via a Playwright MCP server.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/playwright_mcp","href":"/api-reference/api/playwright-mcp"},{"title":"Domain Ranking","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/ranking","href":"/api-reference/api/domain-ranking"},{"title":"Scrape a web page without JS","description":"","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/scrape","href":"/api-reference/api/scrape-a-web-page-without-js"},{"title":"Scrape a domain","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/scrape_domain","href":"/api-reference/api/scrape-a-domain"},{"title":"Scrape a web page with JS","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/scrape_js","href":"/api-reference/api/scrape-a-web-page-with-js"},{"title":"Scrape a web page with JS and proxy","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/scrape_js_with_proxy","href":"/api-reference/api/scrape-a-web-page-with-js-and-proxy"},{"title":"SERP","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/serp","href":"/api-reference/api/serp"},{"title":"SERP AI Overview and AI Mode step 1","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/serp_ai","href":"/api-reference/api/serp-ai-overview-and-ai-mode-step-1"},{"title":"SERP AI Overview and AI Mode step 2","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/serp_ai/{uuid}","href":"/api-reference/api/serp-ai-overview-and-ai-mode-step-2"},{"title":"SERP AI Overview and AI Mode","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/serp_ai_mode","href":"/api-reference/api/serp-ai-overview-and-ai-mode"},{"title":"SERP with HTML content","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/serp_html","href":"/api-reference/api/serp-with-html-content"},{"title":"SERP with AI Overview step 1","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/serp_js","href":"/api-reference/api/serp-with-ai-overview-step-1"},{"title":"SERP with AI Overview step 2","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/serp_js/{uuid}","href":"/api-reference/api/serp-with-ai-overview-step-2"},{"title":"SERP with text content","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/serp_text","href":"/api-reference/api/serp-with-text-content"},{"title":"Current User information","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/user","href":"/api-reference/api/current-user-information"},{"title":"Web Page AI analysis","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/web_page_ai_analysis","href":"/api-reference/api/web-page-ai-analysis"},{"title":"Web Page SEO analysis","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/web_page_seo_analysis","href":"/api-reference/api/web-page-seo-analysis"}]}]}]}]},"basePath":"","title":"Domain Ranking - FetchSERP API","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}