seo_rank_check

Pack: seo-serp · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/seo_rank_check for the schema, then POST the same URL with its arguments for the data.

Where does <domain> rank on Google for <keyword>, position, ranking URL and title, found flag, SERP features present, and the domains ranking above it. Checks the top 20 results (same live SERP call as seo_serp_google). Example: seo_rank_check({ keyword: “best running shoes”, domain: “runnersworld.com”, gl: “us”, hl: “en”, device: “desktop”, depth: 20 })

Parameters

NameTypeRequiredDescription
keywordstringyesSearch query to check, e.g. “best running shoes”
domainstringyesDomain to find in the results (no protocol), e.g. “runnersworld.com”. Subdomains match.
glstringnoTwo-letter country code, e.g. “us”, “gb”, “de” (default “us”). Ignored when location_code is given.
hlstringnoTwo-letter language code (default “en”)
location_codeintegernoDataForSEO location code; overrides gl
devicestringno”desktop” (default) or “mobile”
depthintegernoHow many results to check (default 20, max 20)
_apiKeystringyesDataForSEO API key = base64(“login:password”) from your dataforseo.com account

Example call

Arguments

{
  "keyword": "best running shoes",
  "domain": "runnersworld.com",
  "gl": "us",
  "device": "desktop",
  "depth": 20
}

curl

curl -X POST https://gateway.pipeworx.io/seo-serp/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"seo_rank_check","arguments":{"keyword":"best running shoes","domain":"runnersworld.com","gl":"us","device":"desktop","depth":20}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('seo_rank_check', {
  "keyword": "best running shoes",
  "domain": "runnersworld.com",
  "gl": "us",
  "device": "desktop",
  "depth": 20
});

Response shape

Always returns: keyword, domain, found

FieldTypeDescription
keywordstringThe search query checked
domainstringNormalised target domain (no protocol, no www)
foundbooleanWhether the domain appears among the organic results checked
positionnumber | nullOrganic rank of the best-ranked match; null when not found
ranking_urlstring | nullURL of the matching result; null when not found or when only a redirect link was returned
ranking_url_is_redirectboolean | nullTrue when the matching result URL is an opaque Google redirect, not the real page
ranking_titlestring | nullTitle of the matching result
displayed_linkstring | nullDisplayed link of the matching result
depth_checkednumberHow many results were requested (max 20)
devicestring”desktop” or “mobile”
glstring | nullCountry code used; null when a custom location_code was given
hlstringLanguage code used
location_codenumberSearch location code used
serp_featuresarrayNon-organic SERP item types present (e.g. ai_overview, people_also_ask)
competitors_abovearrayOrganic results ranking above the domain (all results checked when not found)
checked_atstringISO timestamp of the check
cachedbooleanAlways false; each call is a live SERP fetch
not_found_notestring | nullExplains a not-found result; null when found
Full JSON Schema
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": "string",
      "description": "The search query checked"
    },
    "domain": {
      "type": "string",
      "description": "Normalised target domain (no protocol, no www)"
    },
    "found": {
      "type": "boolean",
      "description": "Whether the domain appears among the organic results checked"
    },
    "position": {
      "type": [
        "number",
        "null"
      ],
      "description": "Organic rank of the best-ranked match; null when not found"
    },
    "ranking_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL of the matching result; null when not found or when only a redirect link was returned"
    },
    "ranking_url_is_redirect": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True when the matching result URL is an opaque Google redirect, not the real page"
    },
    "ranking_title": {
      "type": [
        "string",
        "null"
      ],
      "description": "Title of the matching result"
    },
    "displayed_link": {
      "type": [
        "string",
        "null"
      ],
      "description": "Displayed link of the matching result"
    },
    "depth_checked": {
      "type": "number",
      "description": "How many results were requested (max 20)"
    },
    "device": {
      "type": "string",
      "description": "\"desktop\" or \"mobile\""
    },
    "gl": {
      "type": [
        "string",
        "null"
      ],
      "description": "Country code used; null when a custom location_code was given"
    },
    "hl": {
      "type": "string",
      "description": "Language code used"
    },
    "location_code": {
      "type": "number",
      "description": "Search location code used"
    },
    "serp_features": {
      "type": "array",
      "description": "Non-organic SERP item types present (e.g. ai_overview, people_also_ask)",
      "items": {
        "type": "string"
      }
    },
    "competitors_above": {
      "type": "array",
      "description": "Organic results ranking above the domain (all results checked when not found)",
      "items": {
        "type": "object",
        "properties": {
          "rank": {
            "type": "number",
            "description": "Organic rank"
          },
          "domain": {
            "type": [
              "string",
              "null"
            ],
            "description": "Host of the result"
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "description": "Result title"
          }
        }
      }
    },
    "checked_at": {
      "type": "string",
      "description": "ISO timestamp of the check"
    },
    "cached": {
      "type": "boolean",
      "description": "Always false; each call is a live SERP fetch"
    },
    "not_found_note": {
      "type": [
        "string",
        "null"
      ],
      "description": "Explains a not-found result; null when found"
    }
  },
  "required": [
    "keyword",
    "domain",
    "found"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the seo-serp pack
{
  "mcpServers": {
    "seo-serp": {
      "url": "https://gateway.pipeworx.io/seo-serp/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 2, 2026