1. Website Tools
API Documents - GuGuData | Production-Ready APIs Built for Developers
  • GuGuData API documents
  • Metadata
    • DEMO
      • [DEMO] Global QS World University Rankings
      • [DEMO] Global QS World University Rankings
      • [DEMO] Global University
      • [DEMO] Chinese Poem
      • [DEMO] Stock US Symbols
      • [DEMO] Stock HK Symbols
      • [DEMO] US College Institutions Data API
      • [DEMO] US College Programs Data API
      • [DEMO] US CIP Codes
    • Global QS World University Rankings
      GET
    • Global QS World University Rankings
      GET
    • Global University
      GET
    • Chinese Poem
      GET
    • Stock US Symbols
      GET
    • Stock HK Symbols
      GET
    • US College Institutions Search
      GET
    • US College Institution Detail
      GET
    • US College Programs Search
      GET
    • US College Institution Programs
      GET
    • US CIP Codes Search
      GET
    • Chinese Poem
      GET
  • Website Tools
    • DEMO
      • [DEMO] Short Link API
      • [DEMO] Webpage Readable Content Extraction
      • [DEMO] Domain SSL Certificate Information Parsing
      • [DEMO] Domain DNS Information Query
      • [DEMO] Query Website Favicon and Title
      • [DEMO] Format International Phone
      • [DEMO] URL to static HTML
      • [DEMO] URL to Image
      • [DEMO] URL to Markdown
      • [DEMO] Get URL links
      • [DEMO] Website Snapshot
      • [DEMO] Domain Whois
      • [DEMO] IP Address
      • [DEMO] Article Extract
      • [DEMO] Geographic Coordinate System Converter
      • [DEMO] Extract Structured JSON from Webpage
      • [DEMO] Article Content Extraction API
      • [DEMO] Extract Images from Article URL API
      • [DEMO] PageSpeed and SEO Score API
      • [DEMO] Search Visibility API
    • Short Link API
      POST
    • Webpage Readable Content Extraction
      POST
    • Domain SSL Certificate Information Parsing
      GET
    • Domain DNS Information Query
      GET
    • Query Website Favicon and Title
      GET
    • Format International Phone
      GET
    • URL to static HTML
      POST
    • URL to Image
      GET
    • URL to Markdown
      POST
    • Get URL links
      GET
    • Website Snapshot
      POST
    • Domain Whois
      GET
    • IP Address
      GET
    • Article Extract
      POST
    • Geographic Coordinate System Converter
      GET
    • Extract Structured JSON from Webpage
      POST
    • Format International Phone
      GET
    • Article Content Extraction API
      POST
    • Extract Images from Article URL API
      POST
    • PageSpeed and SEO Score API
      GET
    • Search Visibility API
      POST
  • Image Recognition
    • DEMO
      • [DEMO] Convert HTML to Word
      • [DEMO] Convert PPT to PDF
      • [DEMO] HTML to PDF
      • [DEMO] Image OCR
      • [DEMO] PDF to Format
      • [DEMO] PDF Splitting
      • [DEMO] Markdown to PDF
      • [DEMO] PPT to Images
      • [DEMO] PDF to HTML
      • [DEMO] PDF Summary
      • [DEMO] Image Compress
      • [DEMO] Word to HTML
      • [DEMO] OCR API
      • [DEMO] PDF OCR to Text API
      • [DEMO] PDF OCR to Word API
      • [DEMO] Image OCR to Word API
    • Convert HTML to Word
    • Convert PPT to PDF
    • HTML to PDF
    • Image OCR
    • PDF to Format
    • PDF Splitting
    • Markdown to PDF
    • PPT to Images
    • PDF to HTML
    • PDF Summary
    • Image Compress
    • Word to HTML
    • OCR API
    • PDF OCR to Text API
    • PDF OCR to Word API
    • Image OCR to Word API
  • QRcode and Barcode
    • DEMO
      • [DEMO] Decode QR Code from Image
      • [DEMO] QR Code
      • [DEMO] Wifi QR Code
      • [DEMO] Bar Code
    • Decode QR Code from Image
    • QR Code
    • Wifi QR Code
    • Bar Code
  • Text Tools
    • DEMO
      • [DEMO] Detect Text Language
      • [DEMO] ISBN Book Metadata Lookup
      • [DEMO] Simplified and Traditional Chinese Converter
      • [DEMO] Text Similarity Calculator
    • Detect Text Language
    • ISBN Book Metadata Lookup
    • Simplified and Traditional Chinese Converter
    • Text Similarity Calculator
    • Simplified and Traditional Chinese Converter
  • healthcheck
    GET
  1. Website Tools

Search Visibility API

POST
https://api.gugudata.io/v1/websitetools/search-visibility
Last modified:2026-07-09 06:59:58

Search Visibility API
Observe sampled search visibility for one keyword and domain. The API returns organic rank visibility, observed result items, competitor comparison, and credit usage for the request.

Method: POST
Path: /v1/websitetools/search-visibility
Demo: https://api.gugudata.io/v1/websitetools/search-visibility/demo
OpenAPI: https://gugudata.io/assets/openapi/gugudata.openapi.3.1.json

Request Parameters:

  • appkey (string, required): Application key used for request authentication.
  • query (string, required): Keyword or search phrase to observe.
  • domain (string, required): Target domain to match in organic search results.
  • source (string, optional): Search source, such as google_web or baidu_web.
  • maxRank (integer, optional): Maximum organic rank depth. Supported values are 10, 20, and 50.
  • locale (string, optional): Language preference for the observation.
  • region (string, optional): Search region preference.
  • competitors (array, optional): Optional competitor domains to compare.

Response Fields:

  • query (string, required): Keyword observed by the request.
  • domain (string, required): Normalized target domain.
  • creditCost (integer, required): Credits consumed by the completed request. Upstream unavailable responses return 0.
  • remainingCredits (integer, optional): Remaining annual credits when available.
  • metrics.visibilityScore (number, required): Visibility score for the target domain.
  • observedItems (array, required): Observed organic search result items.
  • brandMatches (array, required): Matches for the target domain.
  • competitorMatches (array, required): Matches for competitor domains.
  • searchMetadata.status (string, required): Collection status such as COLLECTED or UPSTREAM_UNAVAILABLE.

Pricing:
The annual plan includes 120,000 search visibility credits for scheduled checks. Each response reports the credit cost before you expand keyword coverage.

HTTP Status Codes:

  • 200: Request processed successfully. Some endpoints expose a separate application-level status field in the response body, such as dataStatus.statusCode.
  • 400: Invalid request parameters or request format. Check required fields, data types, and request body format.
  • 401: Missing or unknown application key. Provide a valid appkey with the request.
  • 403: The application key is recognized but access is not allowed. The key may be expired, inactive, or not permitted for the requested API.
  • 429: Request rate or trial usage limit exceeded. Reduce concurrency or retry after the limit window resets.
  • 500: Internal service error. Retry later or contact support if the error persists.
  • 503: Upstream service unavailable. Retry later; the requested upstream dependency is temporarily unavailable.

Business Status Codes:

  • No endpoint-specific business status codes are documented.

Key Features:

  • Production-ready HTTPS API with stable request and response contracts.

Details:
https://gugudata.io/details/search-visibility

Request

Query Params

Header Params

Body Params application/json

Example
{
    "query": "search visibility api",
    "domain": "gugudata.com",
    "source": "google_web",
    "maxRank": 20,
    "locale": "en",
    "region": "United States",
    "competitors": ["postman.com"]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff 'https://api.gugudata.io/v1/websitetools/search-visibility?appkey=sk-******' \
--header 'Content-Type: application/json' \
--data '{
    "query": "search visibility api",
    "domain": "gugudata.com",
    "source": "google_web",
    "maxRank": 20,
    "locale": "en",
    "region": "United States",
    "competitors": ["postman.com"]
}'

Responses

🟢200成功
application/json
Bodyapplication/json

Example
{}
Modified at 2026-07-09 06:59:58
Previous
PageSpeed and SEO Score API
Next
Image Recognition
Built with