Skip to content
New76 darmowych narzędzi · Wyniki Google na żywo · Bez rejestracji
Citewise

Country Rank Checker API: real Google rankings from a local proxy in any country

One HTTP request checks where a site ranks for up to 10 keywords, searched on Google through a verified residential proxy in the country you choose. You get every organic result and the exact position of your site, as JSON.

  • 18 countries
  • Account and API key required
  • Paid: 1 credit per Google result page
  • 30 to 120 s per run

Your API keys

Sign in with the same account you use for the Citewise Country Rank Checker app. Create keys, revoke them and watch your credit balance here.

Make your first request

Send your key as a Bearer token. Replace cwk_live_YOUR_KEY with a key from the console above.

Endpoint: POST https://seo-tools-jet.vercel.app/api/v1/country-rank

curl
curl -X POST "https://seo-tools-jet.vercel.app/api/v1/country-rank" \
  --max-time 300 \
  -H "Authorization: Bearer cwk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "example.com",
    "keywords": ["seo audit checklist", "technical seo"],
    "country": "de",
    "pages": 1
  }'

Check your credits with GET https://seo-tools-jet.vercel.app/api/v1/balance, using the same header. It does not count against the run limits.

curl
curl "https://seo-tools-jet.vercel.app/api/v1/balance" \
  -H "Authorization: Bearer cwk_live_YOUR_KEY"

# {"ok":true,"data":{"balance":98}}

Request and response

Send a JSON body with Content-Type: application/json. Every response, success or failure, is a JSON envelope.

Request body parameters
ParameterTypeRequiredDescription
urlstringYesThe site to look for: a bare domain (example.com) or an exact page URL. A domain matches any page on it; a URL matches that page only.
keywordsstring[]Yes1 to 10 keywords, each 1 to 200 characters. They are trimmed and de-duplicated case-insensitively, and all are searched through the same proxy session.
countrystringYesTwo-letter country code to search from, in lowercase. See the supported countries.
pages1 | 2 | 3No (default 1)Google result pages to read per keyword, 10 organic results each. keywords × pages must not exceed 15.

Supported countries

Pass the two-letter code as country.

  • us United States
  • gb United Kingdom
  • ca Canada
  • au Australia
  • in India
  • de Germany
  • fr France
  • es Spain
  • it Italy
  • nl Netherlands
  • br Brazil
  • mx Mexico
  • jp Japan
  • sg Singapore
  • ae United Arab Emirates
  • za South Africa
  • ie Ireland
  • nz New Zealand
Successful response (200)Show example

Shortened: results normally lists every organic result on the pages read (10 per page).

200 OK
{
  "ok": true,
  "data": {
    "country": "de",
    "countryName": "Germany",
    "target": { "kind": "domain", "value": "example.com" },
    "keywords": [
      {
        "keyword": "seo audit checklist",
        "status": "ok",
        "pagesChecked": 1,
        "pagesRequested": 1,
        "found": true,
        "best": {
          "rank": 4,
          "page": 1,
          "positionOnPage": 4,
          "title": "SEO audit checklist: 30 checks to run",
          "displayUrl": "https://example.com › blog › seo-audit-checklist",
          "host": "example.com",
          "url": "https://example.com/blog/seo-audit-checklist",
          "match": true
        },
        "matches": [
          {
            "rank": 4,
            "page": 1,
            "positionOnPage": 4,
            "title": "SEO audit checklist: 30 checks to run",
            "displayUrl": "https://example.com › blog › seo-audit-checklist",
            "host": "example.com",
            "url": "https://example.com/blog/seo-audit-checklist",
            "match": true
          }
        ],
        "results": [
          {
            "rank": 3,
            "page": 1,
            "positionOnPage": 3,
            "title": "The complete SEO audit checklist",
            "displayUrl": "https://another-site.example › seo-audit",
            "host": "another-site.example",
            "url": null,
            "match": false
          }
        ]
      }
    ],
    "proxy": {
      "country": "de",
      "ip": "203.0.113.42",
      "attempts": [{ "attempt": 1, "ok": true, "note": "Proxy session opened and Google results loaded." }]
    },
    "summary": { "checked": 1, "found": 1, "notFound": 0, "notChecked": 0, "bestRank": 4 }
  },
  "credits": { "charged": 1, "balance": 99 }
}
Key response fields
FieldMeaning
data.targetHow your url was interpreted: kind (domain or url) and the normalized value.
data.keywords[].statusok: every requested page was read. partial: some were. not_checked: none were (see incompleteReason).
data.keywords[].found / best / matchesWhether your target appears in the pages read, its best (lowest) result, and every matching result.
data.keywords[].resultsEvery organic result on the pages read, with rank, page, title, displayUrl, host and the resolved url (null when it could not be resolved).
data.keywords[].pagesChecked / pagesRequestedPages actually read versus pages you asked for. You are charged for pages read.
data.proxyThe country, exit IP and attempt log of the residential proxy session that produced the results.
data.summaryTotals: checked, found, notFound, notChecked and bestRank (null when nothing matched).
creditscharged (credits spent by this run, after refunds) and balance (credits left).

Credits and limits

One credit per Google result page, refunded when a page can't be read. Credits are added by the team for now, and the balance is shared with the Citewise Country Rank Checker app.

  • Held, then refunded. Credits for every requested page are held when the run starts. Pages that could not be read are refunded, and a run that fails entirely is refunded in full.
  • Example. Reading 3 keywords across 2 pages is up to 6 credits. The response shows what a run charged and your new balance.
API limits
LimitValue
Keywords per run1 to 10
Google result pages read per run15 at most (keywords × pages)
Runs per API key2 per minute and 200 per day
Requests per IP address30 per minute, before authentication
Run timeTypically 30 to 120 seconds; the request stays open until it finishes (5 minutes at most)

Live Google checks also share a daily capacity across all customers. When it is used up you get CAPACITY until it resets at 00:00 UTC.

Error codes

Failures use HTTP status codes plus the same JSON envelope. Switch on error.code, not on the message text.

Error codes
CodeHTTPMeaningWhat to do
INVALID_INPUT400The body failed validation: a missing field, an unknown country, too many keywords, or keywords × pages above 15. details lists the problems.Don't retry unchanged. Fix the request.
UNAUTHENTICATED401The Authorization header is missing, malformed, or the key is unknown or revoked.Don't retry. Check the key or create a new one.
INSUFFICIENT_CREDITS402Your balance is lower than the credits the run needs. details has balance and required.Don't retry until credits are added.
FORBIDDEN403The request was blocked before it ran.Don't retry unchanged. Contact us if it persists.
RATE_LIMITED429You hit a per-key or per-IP limit. The response carries a Retry-After header and retryAfterSec.Wait the number of seconds given, then retry.
UPSTREAM_ERROR502Google or the proxy network failed even after fresh-proxy retries. The run is refunded.Safe to retry after a short delay, with backoff.
CAPACITY503Shared daily capacity for live Google checks is used up, or the service is busy.Retry later; follow Retry-After when present. Daily capacity resets at 00:00 UTC.
TIMEOUT504The run did not finish in time.Retry with fewer keywords or pages.
INTERNAL500An unexpected error on our side. The run is refunded.Retry once after a short delay.
429 Too Many Requests
{
  "ok": false,
  "error": {
    "code": "RATE_LIMITED",
    "message": "Too many runs. Try again shortly.",
    "retryAfterSec": 38
  }
}

Questions

  • Only check sites you own or have permission to check, and keep to Google's terms for your own use of the results.
  • Rankings are what a logged-out searcher in that country sees at that moment. Google personalizes and changes results, so expect small differences from what one person sees.
  • Keep your key on your server, give each deployment its own key and revoke any key that may have leaked.

Want to try a check first?

The free rank checker shows your live Google position for one keyword, no signup.

Country Rank Checker API | Citewise