Skip to content
Search & SEO

Keyword Rank Checker

Where a site ranks on Google for a keyword, by country or city.

POST/v1/keyword-rank-checker
30 credits / checkBulk supportedGlobal, down to city level
Request
curl -X POST https://api.1lookup.dev/v1/keyword-rank-checker \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"email verification api","domain":"example.com","country":"us"}'
Response
{
  "success": true,
  "data": {
    "keyword": "email verification api",
    "domain": "example.com",
    "location": {
      "name": "United States",
      "type": "country",
      "country_code": "US"
    },
    "language": "en",
    "found": true,
    "position": 7,
    "ranking_url": "https://example.com/products/email-verification",
    "title": "Email verification API for signup forms",
    "results_checked": 100,
    "serp_features": [
      "ai_overview",
      "people_also_ask",
      "related_searches"
    ],
    "checked_at": "2026-11-19T09:30:11Z"
  },
  "meta": {
    "credits_used": 30,
    "credits_remaining": 999,
    "cached": false,
    "request_id": "req_8f3a2c1e9b7d"
  }
}

Authorization

Authorizationstring<bearer>required

Your API key as a Bearer token. Live keys start with 1lk_live_. Test keys start with 1lk_test_ and return this endpoint's sample response without spending credits. See authentication.

Body

Send the fields as a JSON object with Content-Type: application/json.

keywordstringrequired

Keyword. Example: email verification api

domainstring<domain>required

Domain. The site to find in the results. Example: example.com

countryenum<string>required

Country. One of: us, gb, ca, au, de, fr, in. Example: us

freshboolean

Skip the 7-day cache and run a new lookup. Charged as a normal lookup.

referencestring

Your own identifier, echoed back in meta and shown in lookup history.

Response

A 200 response carries the result in data and the cost of the call in meta. These are the fields most integrations read.

successboolean

true when the lookup ran.

data.foundboolean

Whether the domain appears anywhere in the top 100 results.

data.positionnumber

The domain's highest organic position, from 1 to 100. Null when it is not found.

data.ranking_urlstring

The exact page on the domain that Google ranks for the keyword.

data.titlestring

The title Google shows for that page in the results.

data.serp_featuresarray

Features present on the results page, such as an AI Overview or People Also Ask.

data.location.namestring

The country or city the search was run for.

data.checked_atstring

Timestamp of the reading, for charting positions over time.

meta.credits_usednumber

Credits charged for this call.

meta.credits_remainingnumber

Your balance after the call.

meta.cachedboolean

true when the result came from the 7-day cache.

meta.request_idstring

Quote this when you contact support.

Errors

A failed request returns success: false with an error object, and is never charged. The full list is on the errors page.

HTTPCodeMeaning
401unauthorizedThe key is missing, malformed or revoked.
402insufficient_creditsYour credits are used up and pay as you go is off or at its limit.
422invalid_inputA field is missing or malformed. The field property names it.
429rate_limitedToo many requests for this key. Wait for the Retry-After interval.
500internal_errorSomething failed on our side. Safe to retry.
503source_unavailableAn upstream source did not answer in time. Safe to retry.

Billing

30 credits / check. Charged when the lookup runs and returns a result. Errors are never charged, and repeating the same input within 7 days is served from cache at no charge.

Product overview and use cases