Skip to Content
Documentation

Check a domain's rank

Google Rank Checker API · 100 points per successful call

Product overview and demoAll Google API endpointsError codes

GET
/v1/google/rank

Reports where a domain ranks for a query, scanning the whole measured result set — typically 100–250 results. Returns the best position, every appearance of the domain with its exact page, and results_scanned so a null position always names the set it was measured against. Set gl and hl to check a country and language; without them, results use a default locale. Shares its snapshot with /web-search for the same query and locale, so a check right after a search costs nothing extra.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Your API key, sent as a bearer token. In the console on this page you can leave it empty: signed in, calls run on your own plan; otherwise they run on a shared demo key after a quick human check.

Query Parameters

query*string

The search query (keyword) to check rankings in.

Length1 <= length <= 256
domain*string

The domain to look for, without scheme or path.

Match^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+$/i
Length4 <= length <= 253
mode?string

subdomains counts the domain and everything under it; exact counts only the domain itself (www is always treated as the domain).

Default"subdomains"
Value in"exact""subdomains"
gl?string

Country to localize results for, as an ISO 3166-1 alpha-2 code (us, de, gb; case-insensitive).

hl?string

Language of the results, as a language code with an optional region (en, de, pt-BR, zh-TW; case-insensitive).

Response Body

Successful response

application/json
  1. response
meta*
data*
Example Request
curl -X GET 'https://api.endpointry.com/v1/google/rank?query=best+crm+software&domain=pipedrive.com&mode=subdomains&gl=de&hl=de'
Example Response
{
  "meta": {
    "request_id": "req_7729f93d3facf68ff83e5c50",
    "as_of": "2026-07-31T12:00:00.000Z",
    "cache": "MISS"
  },
  "data": {
    "query": "best crm software",
    "domain": "pipedrive.com",
    "mode": "subdomains",
    "position": 2,
    "matches": [
      {
        "position": 2,
        "url": "https://www.pipedrive.com/en/crm/compare/crm-tool",
        "title": "Compare CRM Tools"
      },
      {
        "position": 41,
        "url": "https://www.pipedrive.com/en/blog/crm-comparison",
        "title": "CRM Comparison: Top Tools Reviewed"
      }
    ],
    "results_scanned": 187
  }
}